]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix elf/tst-tls9-static build
[glibc.git] / ChangeLog
CommitLineData
0ded08a5
AZ
12014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4 (tst-tlsmod6.so): Likewise.
5
55d4d550
RM
62014-05-09 Roland McGrath <roland@hack.frob.com>
7
8 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9
77d08aca
JM
102014-05-09 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #16064]
13 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14 and <dl-procinfo.h>.
15 (__fegetenv): Save SSE state in envp->__eip if supported.
16 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17 envp->__eip if supported.
18 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19 and <dl-procinfo.h>.
20 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21 __data_offset and __data_selector in environment to 0. Set SSE
22 state if supported.
23 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24 test-fenv-sse.
25 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26 -mfpmath=sse.
27 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28
28162f4d
WN
292014-05-09 Will Newton <will.newton@linaro.org>
30
31 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32 and libc_relro_required for ARM.
33 * sysdeps/arm/preconfigure: Regenerate.
34
5a414ff7
DV
352014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
36 Stefan Liebler <stli@linux.vnet.ibm.com>
37
38 * config.make.in (enable-lock-elision): New Makefile variable.
39 * configure.ac: Likewise.
40 * configure: Regenerate.
41 * sysdeps/s390/configure.ac:
42 Add check for gcc transactions support.
43 * sysdeps/s390/configure: Regenerate.
44 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45 Build elision files if enabled.
46 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47 Add lock elision support for s390.
48 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
50 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
53 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
54 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
55 Likewise.
56 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
57 Likewise.
58 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
59 Likewise.
60 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
61 Likewise.
62 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
63 (__lll_timedlock_elision, __lll_lock_elision)
64 (__lll_unlock_elision, __lll_trylock_elision)
65 (lll_timedlock_elision, lll_lock_elision)
66 (lll_unlock_elision, lll_trylock_elision): Add.
67 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
68 (pthread_mutex_t): Add lock elision support for s390.
69
f63c86fe
WN
702014-05-09 Will Newton <will.newton@linaro.org>
71
72 * sysdeps/arm/armv7/strcmp.S: New file.
73 * NEWS: Mention addition of ARMv7 optimized strcmp.
74
7a1a51b5
RM
752014-05-08 Roland McGrath <roland@hack.frob.com>
76
95afbbe5
RM
77 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
78 look for %.ac rather than %.in.
79
80 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
81 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
82 * sysdeps/mach/hurd/configure: Regenerated.
83 * sysdeps/unix/sysv/linux/configure: Regenerated.
84
7a1a51b5
RM
85 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
86
5057ad3b
SE
872014-05-07 Steve Ellcey <sellcey@mips.com>
88
89 [BZ# 16922]
90 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
91 (LONG_SUB): Ditto.
92 (PTR_SUB): Ditto.
93
8dc97517
AS
942014-05-07 Andreas Schwab <schwab@suse.de>
95
96 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
97 when skipping over non-matching result from nscd.
98
ce0c5b8f
OB
992014-05-07 Ondřej Bílka <neleai@seznam.cz>
100
101 [BZ #16876]
102 * nptl/sockperf.c (client): Check socket return value.
8dc97517 103
a1189263
OB
104 [BZ #16877]
105 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
106 nscd security class.
ce0c5b8f 107
0f58d252
RM
1082014-05-06 Roland McGrath <roland@hack.frob.com>
109
110 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
111 * sysdeps/arm/unwind.h: ... here.
112
83df9ad0
AJ
1132014-05-06 Aurelien Jarno <aurelien@aurel32.net>
114
ce0c5b8f
OB
115 [BZ# 16916]
116 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
117 Define.
83df9ad0 118
f360f94a
VR
1192014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
120
121 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
122 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
123 multiarch strncpy for PPC64.
124 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
125 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
127 multiarch optimizations.
128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
129 (__libc_ifunc_impl_list): Likewise.
130 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
131 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
132 multiarch stpncpy for PPC64.
133 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
134 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
135
978a41c3
AS
1362014-05-06 Andreas Schwab <schwab@suse.de>
137
138 [BZ #16912]
139 * gmon/mcount.c (_MCOUNT_DECL): Use
140 atomic_compare_and_exchange_bool_acq instead of
141 catomic_compare_and_exchange_bool_acq.
142
eb1ed03d
RM
1432014-05-05 Roland McGrath <roland@hack.frob.com>
144
fe658845
RM
145 * elf/Makefile (others, install-bin): Remove pldd.
146 (pldd-modules): Variable removed.
147 ($(objpfx)pldd): Target removed.
148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
149 (others, install-bin): Append pldd here.
150 ($(objpfx)pldd): New target.
151
eb1ed03d
RM
152 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
153 to 0, so the first #if test emitted later doesn't see it undefined.
154 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
155 * sysdeps/gnu/errlist.c: Regenerated.
156
19c4bec0
AZ
1572014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
160 [libc_hidden_builtin_def]: Define to empty value.
161 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
162 [libc_hidden_builtin_def]: Likewise.
163 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
164 [libc_hidden_builtin_def]: Likewise.
165 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
166 [libc_hidden_builtin_def]: Likewise.
167 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
168 __redirect_memcpy and define ifunc as default hidden symbol.
169 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
170 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
171
7776e669
AC
1722014-05-04 Adam Conrad <adconrad@0c3.net>
173
174 * locale/iso-4217.def: Reintroduce XDR currency.
175
d69aeb12
AM
1762014-05-04 Allan McRae <allan@archlinux.org>
177
178 * po/eo.po: Update Esperanto translation from translation project.
179
8f1df5cf
CD
1802014-05-02 Carlos O'Donell <carlos@redhat.com>
181
182 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
183 and FEATURE_INDEX_MAX to 1.
184 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
185
13e402e7
SE
1862014-05-01 Steve Ellcey <sellcey@mips.com>
187
188 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
189 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
190 * iconvdata/big5.c (ONE_DIRECTION): Define.
191 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
192 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
193 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
194 * iconvdata/cp932.c (ONE_DIRECTION): Define.
195 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
196 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
197 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
198 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
199 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
200 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
201 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
202 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
203 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
204 * iconvdata/gbk.c (ONE_DIRECTION): Define.
205 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
206 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
207 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
208 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
209 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
210 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
211 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
212 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
213 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
214 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
215 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
216 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
217 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
218 * iconvdata/iso646.c (ONE_DIRECTION): Define.
219 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
220 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
221 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
222 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
223 * iconvdata/johab.c (ONE_DIRECTION): Define.
224 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
225 * iconvdata/sjis.c (ONE_DIRECTION): Define.
226 * iconvdata/t.61.c (ONE_DIRECTION): Define.
227 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
228 * iconvdata/tscii.c (ONE_DIRECTION): Define.
229 * iconvdata/uhc.c (ONE_DIRECTION): Define.
230 * iconvdata/unicode.c (ONE_DIRECTION): Define.
231 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
232 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
233 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
234
c727f032
RM
2352014-05-01 Roland McGrath <roland@hack.frob.com>
236
8f2f08d0
RM
237 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
238 (_IO_JUMPS_OFFSET): Define to 0.
239
c727f032
RM
240 * nptl/sysdeps/pthread/bits/libc-lock.h
241 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
242 (__libc_lock_define_initialized_recursive): Always define using
243 initializer. Modern compilers treat uninitialized (implicit zero) and
244 explicit zero initializers the same (i.e. put the datum in bss).
245
a849e800
AS
2462014-05-01 Andreas Schwab <schwab@linux-m68k.org>
247
248 * nscd/nscd-client.h: Include <string.h>.
249
5331255b
DM
2502014-05-01 David S. Miller <davem@davemloft.net>
251
252 [BZ #16885]
253 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
254 multiple zero bytes exist at the end of a string.
255 Reported by Aurelien Jarno <aurelien@aurel32.net>
256
257 * string/test-strcmp.c (check): Add explicit test for situations where
258 there are multiple zero bytes after the first.
259
4fdfe821
AS
2602014-05-01 Andreas Schwab <schwab@linux-m68k.org>
261
262 [BZ #16890]
263 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
264 when compiling wprintf.
265 * stdio-common/tstdiomisc.c (t3): New function.
266 (main): Call it.
267
0cdddc25
SE
2682014-05-01 Steve Ellcey <sellcey@mips.com>
269
270 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
271 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
272 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
273 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
274
6426d77e
SE
2752014-05-01 Steve Ellcey <sellcey@mips.com>
276
277 * stdlib/longlong.h: Updated from GCC.
278
6d96f5e4
WN
2792014-05-01 Will Newton <will.newton@linaro.org>
280 Bernard Ogden <bernie.ogden@linaro.org>
281
7470db0c
WN
282 * NEWS: Update fixed bug list.
283
6d96f5e4
WN
284 [BZ #15119]
285 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
286
211d653c
DM
2872014-04-30 David S. Miller <davem@davemloft.net>
288
4fa262fa
DM
289 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
290 (libc_feholdexcept_setround_sparc_ctx): New function.
291 (libc_fesetenv_sparc_ctx): Likewise.
292 (libc_feupdateenv_sparc_ctx): Likewise.
293 (libc_feholdsetround_sparc_ctx): Likewise.
294 (libc_feholdexcept_setround_ctx): Define.
295 (libc_feholdexcept_setroundf_ctx): Likewise.
296 (libc_feholdexcept_setroundl_ctx): Likewise.
297 (libc_fesetenv_ctx): Likewise.
298 (libc_fesetenvf_ctx): Likewise.
299 (libc_fesetenvl_ctx): Likewise.
300 (libc_feupdateenv_ctx): Likewise.
301 (libc_feupdateenvf_ctx): Likewise.
302 (libc_feupdateenvl_ctx): Likewise.
303 (libc_feresetround_ctx): Likewise.
304 (libc_feresetroundf_ctx): Likewise.
305 (libc_feresetroundl_ctx): Likewise.
306 (libc_feholdsetround_ctx): Likewise.
307 (libc_feholdsetroundf_ctx): Likewise.
308 (libc_feholdsetroundl_ctx): Likewise.
309
1d3d93ef
DM
310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
311 with __USE_GNU instead of XOPEN cpp guards.
312
8aa583c3
DM
313 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
314 0.
315
211d653c
DM
316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
317 with XOPEN cpp guards.
318
60c8f1f6
JB
3192014-04-30 Julian Brown <julian@codesourcery.com>
320
321 [BZ #16888]
322 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
323 handling.
324
9a461d46
JM
3252014-04-30 Joseph Myers <joseph@codesourcery.com>
326
d0f5b3f8
JM
327 [BZ #9894]
328 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
329 Change to 2.6.32.
330 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
331 * sysdeps/unix/sysv/linux/configure: Regenerated.
332 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
333 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
334 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
335 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
336 * README: Update reference to required Linux kernel version.
337 * manual/install.texi (Linux): Update reference to required Linux
338 kernel headers version.
339 * INSTALL: Regenerated.
340
9a461d46
JM
341 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
342 header inclusion.
343 [POSIX] (limits.h): Likewise.
344 [POSIX] (math.h): Likewise.
345 [POSIX] (sys/wait.h): Likewise.
346 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
347 function.
348 [POSIX] (stddef.h): Do not allow header inclusion.
349
1775babf
AZ
3502014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
57f41c40 352 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 353
8f630cca
YY
3542014-04-30 Yang Yingliang <yangyingliang@huawei.com>
355
356 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
357 Return immediately after lll_futex_wake.
358
1cdeb237
SP
3592014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
360
bc8f194c
SP
361 [BZ #16791]
362 * nscd/nscd-client.h (datahead_init_common): Initialize entire
363 structure.
364 (datahead_init_pos): Call datahead_init_common early.
365 (datahead_init_neg): Likewise.
366
1cdeb237
SP
367 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
368 datahead_init_neg): New functions.
369 * nscd/aicache.c (addhstaiX): Use them.
370 * nscd/grpcache.c (cache_addgr): Likewise.
371 * nscd/hstcache.c (cache_addhst): Likewise.
372 * nscd/initgrcache.c (addinitgroupsX): Likewise.
373 * nscd/netgroupcache.c (do_notfound): Likewise.
374 (addgetnetgrentX): Likewise.
375 (addinnetgrX): Likewise.
376 * nscd/pwdcache.c (cache_addpw): Likewise.
377 * nscd/servicescache.c (cache_addserv): Likewise.
378
16b293a7
SP
3792014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
380 Atsushi Onoe <atsushi@onoe.org>
381
382 [BZ #14308]
383 [BZ #12994]
384 [BZ #13651]
385 * resolv/res_query.c (__libc_res_nsearch): Return if at least
386 one response is valid.
387 * resolv/res_send.c (send_dg): Check for validity of other
388 response if the current response is a referral.
389
a28a9b94
SE
3902014-04-29 Steve Ellcey <sellcey@mips.com>
391
392 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
393
2ca180e9
SL
3942014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
395
396 [BZ #16823]
397 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
398 Always divide by positive zero when computing -Inf result.
399 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
400 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
401
18f2945a
AZ
4022014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
403
404 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
405 FPSCR if value do not change.
406 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
407 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
408 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
409 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
410 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
411 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
412 function.
413
5abebba4
CD
4142014-05-29 Carlos O'Donell <carlos@systemhalted.org>
415
416 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
417 * sysdeps/unix/sysv/linux/hppa: Move directory from
418 ports/systeps/unix/sysv/linux/hppa.
419 * README: Update listing for hppa-*-linux-gnu.
420
f7ed60c2
OB
4212014-04-28 Ondřej Bílka <neleai@seznam.cz>
422
fff763a5
OB
423 [BZ #16754]
424 * manual/stdio.texi (Hook functions): Fix types of stream hook
425 functions.
f7ed60c2
OB
426 [BZ #16854]
427 * socket/sys/socket.h: Fix typo in comment.
428
df639d73
WD
4292014-04-28 Wilco <wdijkstr@arm.com>
430
f7ed60c2 431 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
432 * sysdeps/arm/math_private.h: New file.
433 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
434
48332d82
L
4352014-04-25 H.J. Lu <hongjiu.lu@intel.com>
436
437 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
438 with __int128_t.
439 (La_x86_64_retval): Likewise.
440
e5e0d9a4
IB
4412014-04-24 Ian Bolton <ian.bolton@arm.com>
442
443 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
444 fpsr if value didn't change.
445 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
446 to fpcr if value didn't change.
447 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
448 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
449 fpsr or fpcr if value didn't change.
450 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
451 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
452 fpcr if value didn't change.
453 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
454 to fpsr if value didn't change.
455
bacc75f7
SP
4562014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
457
458 * nptl/tst-sem3.c: Use test-skeleton.c
459 (main): Rename to do_test. Use return instead of
460 exit.
461 * nptl/tst-sem4.c: Use test-skeleton.c
462 (main): Rename to do_test.
463
a059d359
DM
4642014-04-22 David S. Miller <davem@davemloft.net>
465
466 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
467 (struct sigaction): New struct member __glibc_reserved0, change
468 type of sa_flags to int.
469
ea6c92f3
YZ
4702014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
471
472 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
473 (COUNT_LEADING_ZEROS_0): Define for AArch64.
474
766c4a36
SP
4752014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
476
477 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
478 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
479
140cc7ab
VK
4802014-04-22 Will Newton <will.newton@linaro.org>
481 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
482
483 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
484 (__longjmp): Add longjmp and longjmp_target SystemTap
485 probes.
486 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
487 (__sigsetjmp): Add setjmp SystemTap probe.
488
c54e5cf7
CD
4892014-04-17 Carlos O'Donell <carlos@redhat.com>
490
491 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
492 match manual order.
493
75ffb047
AZ
4942014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
495
496 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
497
2cd925f7
AZ
498 * sysdeps/powerpc/fpu/fenv_private.h
499 (libc_feholdexcept_setroundl_ctx): Define to
500 libc_feholdexcept_setround_ppc_ctx.
501 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
502 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
503 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
504 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
505
39e6cd8d
IB
5062014-04-17 Ian Bolton <ian.bolton@arm.com>
507
508 * sysdeps/aarch64/math-tests.h: New file.
509
f9281df9
SY
5102014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
511
512 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
513 New.
514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
515 Check and set bit_AVX2_Usable.
516 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
517 macro.
518 (bit_AVX2): Likewise.
519 (index_AVX2_Usable): Likewise.
520 (CPUID_AVX2): Likewise.
521 (HAS_AVX2): Likewise.
522
37d35007
WN
5232014-04-17 Will Newton <will.newton@linaro.org>
524
7c677662
WN
525 * manual/setjmp.texi (System V contexts): Add note that
526 calling setcontext on a context created by a call to a
527 signal handler is undefined. Update text to note that
528 setcontext from a signal handler is possible but not
529 recommended.
530
37d35007 531 [BZ #16629]
e04a4e9d
WN
532 * stdlib/tst-setcontext.c: Include signal.h.
533 (main): Check that the signal stack before and
534 after swapcontext is the same.
535
37d35007
WN
536 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
537 Re-implement to restore registers in user code and avoid
538 rt_sigreturn system call.
539
423a7160
W
5402014-04-17 Wilco <wdijkstr@arm.com>
541
542 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
543 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
544 * math/test-fenv.c: Skip exception trap tests on targets which only
545 support non-stop mode.
546
bc93ab29
IB
5472014-04-17 Ian Bolton <ian.bolton@arm.com>
548 Wilco Dijkstra <wilco.dijkstra@arm.com>
549
550 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
551 (libc_feholdsetround_aarch64_ctx)
552 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
553 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
554 (libc_feresetround_ctx, libc_feresetroundf_ctx)
555 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
556 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
557 (libc_feresetround_noexl_ctx): Define.
558
95fc5fa3
RH
5592014-04-16 Richard Henderson <rth@redhat.com>
560
ddb04724
RH
561 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
562
d77c0899
RH
563 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
564 unwind tables.
565
a3df56fc
RH
566 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
567 const from the non-libc, non-ldso copy.
568
95fc5fa3
RH
569 * sysdeps/alpha/libm-test-ulps: Regenerate.
570
7e0b6763
IB
5712014-04-16 Ian Bolton <ian.bolton@arm.com>
572 Wilco Dijkstra <wilco.dijkstra@arm.com>
573
574 * sysdeps/aarch64/fpu/math_private.h: New file.
575
a9ea2e0c
MS
5762014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
577
578 * sysdeps/aarch64/libm-test-ulps: Regenerate.
579
ea8ba7cd
IZ
5802014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
581
582 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
583 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
584 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
585 Intel MPX bound registers before _dl_profile_fixup.
586 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
587 registers after _dl_profile_fixup. Save and restore bound
588 registers bnd0/bnd1 when calling _dl_call_pltexit.
589 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
590 (LR_BND_OFFSET): Likewise.
591 (LRV_BND0_OFFSET): Likewise.
592 (LRV_BND1_OFFSET): Likewise.
593
9f2a4fbc
ST
5942014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
595
596 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
597 to...
598 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
599 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
600 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
601 fields.
9f2a4fbc 602
fd15a59b
ST
6032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
604
605 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
606
f19dfa0a
SL
6072014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
608
609 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
610
4fa8bc3b
SL
6112014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
612
613 [BZ #14770]
614 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
615 * sysdeps/s390/configure: Regenerate.
616
8ea587db
SL
617 [BZ #16824]
618 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
619 Set round-to-nearest internally to reduce error accumulation.
620
aa5f0ff1
AM
6212014-04-16 Alan Modra <amodra@gmail.com>
622
623 [BZ #16740]
624 [BZ #16619]
625 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
626 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 627 * NEWS: Update fixed bug list.
aa5f0ff1 628
bb9c256f
SP
6292014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
630
631 * benchtests/Makefile: Depend on libraries in build directory.
632 (bench-math): Separate out math tests.
633 (bench-pthread): Separate out pthread tests.
634 (bench): Include math and pthread tests.
635
f737dfd0
CD
6362014-04-14 Carlos O'Donell <carlos@redhat.com>
637
638 [BZ #16831]
639 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
640 _dl_debug_initialize.
641
0699f766
CD
642 * configure.ac: Remove SELinux header check.
643 * configure: Regenerate.
644 * nscd/selinux.c (perms): Array of const char* to permission names.
645 (nscd_request_avc_has_perm): Call security_deny_unknown to find
646 default policy. Call string_to_security_class and string_to_av_perm to
647 translate strings. Enforce default policy and call avs_has_perm with
648 results of translated strings.
649
809bd45f
DM
6502014-04-13 David S. Miller <davem@davemloft.net>
651
652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
653
89e691f2
AM
6542014-04-12 Allan McRae <allan@archlinux.org>
655
656 [BZ #16838]
657 * manual/string.texi (Collation Functions): Fix qsort argument
658 order in example.
659 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
660
9c9daaeb
CM
6612014-04-11 Chris Metcalf <cmetcalf@tilera.com>
662
663 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
664 Make the test a no-op if there are no exceptions defined.
665
95561fb9
PP
6662014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
667
fe8d072c 668 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
669 enable-hardcoded-path-in-tests
670
970c602a
WN
6712014-04-11 Will Newton <will.newton@linaro.org>
672
673 * benchtests/Makefile (extra-objs): Add json-lib.o.
674 (bench-func): Tidy up JSON output.
675 * benchtests/bench-skeleton.c: Include json-lib.h.
676 (main): Use JSON library functions to do output of
677 benchmark results.
678 * benchtests/bench-timing-type.c (main): Output the
679 timing type simply, leaving formatting to the user.
680 * benchtests/json-lib.c: New file.
681 * benchtests/json-lib.h: Likewise.
682
36875b06
TR
6832014-04-11 Torvald Riegel <triegel@redhat.com>
684
685 [BZ #15215]
686 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
687 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
688 memory barriers. Add comments.
689 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
690 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
691 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
692 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
693 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
694 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
695
579db35a
SL
6962014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
697
698 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
699 * sysdeps/s390/s390-64/configure.ac: ... this ...
700 * sysdeps/s390/configure.ac: ... to here.
701 * sysdeps/s390/s390-32/configure: Delete file.
702 * sysdeps/s390/s390-64/configure: Delete file.
703 * sysdeps/s390/configure: Regenerate.
704
c12e9f37
JAPH
7052014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
706
707 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
708
439bda32
WN
7092014-04-11 Will Newton <will.newton@linaro.org>
710
711 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
712 to zero if it is not defined elsewhere. (mtrim): Test
713 the value of MALLOC_DEBUG with #if rather than #ifdef.
714
6a5d6ea1
TR
7152014-04-10 Torvald Riegel <triegel@redhat.com>
716
717 * benchtests/pthread_once-inputs: New file.
718 * benchtests/pthread_once-source.c: New file.
719 * benchtests/README: Update documentation.
720
a4c75cfd
IZ
7212014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
722 H.J. Lu <hongjiu.lu@intel.com>
723
724 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
725 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
726 * sysdeps/x86_64/configure: Regenerated.
727 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
728 macro.
729 (REGISTER_SAVE_RAX): Likewise.
730 (REGISTER_SAVE_RCX): Likewise.
731 (REGISTER_SAVE_RDX): Likewise.
732 (REGISTER_SAVE_RSI): Likewise.
733 (REGISTER_SAVE_RDI): Likewise.
734 (REGISTER_SAVE_R8): Likewise.
735 (REGISTER_SAVE_R9): Likewise.
736 (REGISTER_SAVE_BND0): Likewise.
737 (REGISTER_SAVE_BND1): Likewise.
738 (REGISTER_SAVE_BND2): Likewise.
739 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
740 bound registers when calling _dl_fixup.
741
27822ce6
AZ
7422014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
743
744 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
745 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
746 of its definition.
27822ce6
AZ
747 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
748 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
749 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
750 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
751 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
752 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
753 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
754
a88ddc90
PTB
7552014-04-09 Peter Brett <peter@peter-b.co.uk>
756
757 [BZ #15514]
758 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
759 pathconf(_PC_NAME_MAX).
760
01f8eac2
AZ
7612014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762
763 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
764 Remove macro usage.
765 (__PTHREAD_SPINS): Move definition to ...
766 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
767 (__PTHREAD_SPINS): ... here.
768 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
769 (__PTHREAD_SPIN): Likewise.
770 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
771 (__PTHREAD_SPIN): Likewise.
772 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
773 (__PTHREAD_SPIN): Likewise.
774 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
775 (__PTHREAD_SPIN): Likewise.
776 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
777 (__PTHREAD_SPIN): Likewise.
778 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
779 (__PTHREAD_SPIN): Likewise.
780 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
781 (__PTHREAD_SPIN): Likewise.
782 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
783 (__PTHREAD_SPIN): Likewise.
784 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
785 (__PTHREAD_SPIN): Likewise.
786 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
787 (__PTHREAD_SPIN): Likewise.
788 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
789 (__PTHREAD_SPIN): Likewise.
790 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
791 (__PTHREAD_SPIN): Likewise.
792
de21c33c
AZ
793 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
794 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
795 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
796 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
797 imply folder.
798 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
799 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
800 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
801 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
802 correct imply path.
803 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
804 strlen symbol for non multi-arch builds.
805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
806 missing hidden_def and weak_alias.
807
862c472e
CD
8082014-04-08 Carlos O'Donell <carlos@redhat.com>
809
810 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
811
8667f90e
WN
8122014-04-07 Will Newton <will.newton@linaro.org>
813
814 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
815 and contents. [!_LIBC] Remove #ifndef and contents.
816 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
817 * string/memccpy.c (__memccpy): Use ANSI prototype.
818 * string/memfrob.c (memfrob): Likewise.
819 * string/strcoll.c (STRCOLL): Likewise.
820 * string/strlen.c (strlen): Likewise.
821 * string/strtok.c (STRTOK): Likewise.
822 * string/strcat.c: Remove unused #include of memcopy.h.
823 (strcat): Use ANSI prototype.
824 * string/strchr.c: Remove unused #include of memcopy.h.
825 (strchr): Use ANSI prototype.
826 * string/strcmp.c: Remove unused #include of memcopy.h.
827 (strcmp): Use ANSI prototype.
828 * string/strcpy.c: Remove unused #include of memcopy.h.
829 (strcpy): Use ANSI prototype.
830
7ffa9423
AZ
8312014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
832
833 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
834 * config.make.in (config-extra-cppflags): Set it from
835 libc_extra_cppflags.
836 * configure.ac (libc_extra_cflags): Make it accumulate over
837 configure fragments.
838 (libc_extra_cppflags): New flag.
839 * configure. Regenerate.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
841 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
842 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
844
8bd70862
AZ
845 [BZ #16815]
846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
847 result for FE_DOWNWARD rounding mode.
848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
849 Likewise.
850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
851
d42f3448
CM
8522014-04-04 Chris Metcalf <cmetcalf@tilera.com>
853
854 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
855 in function argument name.
856
1c21d115
DS
8572014-04-03 David Svoboda <svoboda@cert.org>
858
859 [BZ #5666]
860 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
861 explicitly.
862
fcccd512
RM
8632014-04-03 Roland McGrath <roland@hack.frob.com>
864
865 * elf/dl-unmap-segments.h: New file.
866 * sysdeps/generic/ldsodefs.h
867 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
868 * elf/dl-close.c: Include <dl-unmap-segments.h>.
869 * elf/dl-fptr.c: Likewise.
870 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
871 * sysdeps/aarch64/tlsdesc.c: Likewise.
872 * sysdeps/arm/tlsdesc.c: Likewise.
873 * sysdeps/i386/tlsdesc.c: Likewise.
874 * sysdeps/tile/dl-runtime.c: Likewise.
875 * sysdeps/x86_64/tlsdesc.c: Likewise.
876 * elf/dl-load.h: New file.
877 * elf/dl-load.c: Include it.
878 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
879 Macros moved to dl-load.h.
880 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
881 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
882 Use _dl_unmap_segments in place of __munmap.
883 Break out segment-mapping loop into ...
884 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
885
f6488e2b
WN
8862014-04-03 Will Newton <will.newton@linaro.org>
887
888 * elf/dl-lookup.c (do_lookup_x): Remove comment
889 referring to nested function and move variable
890 declarations down to before first use.
891
6f05bafe
JM
8922014-04-02 Joseph Myers <joseph@codesourcery.com>
893
a84e78c8
JM
894 [BZ #16799]
895 [BZ #16800]
896 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
897 with 0 numerator.
898 * math/s_catanf.c (__catanf): Likewise.
899 * math/s_catanh.c (__catanh): Likewise.
900 * math/s_catanhf.c (__catanhf): Likewise.
901 * math/s_catanhl.c (__catanhl): Likewise.
902 * math/s_catanl.c (__catanl): Likewise.
903 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
904 by positive zero when computing -Inf result.
905 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
906 (catanh_test): Likewise.
907 * sysdeps/i386/fpu/libm-test-ulps: Update.
908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
909
6f05bafe
JM
910 [BZ #16789]
911 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
912 instead of using underflowing value in computing result.
913 * math/s_clog10.c (__clog10): Likewise.
914 * math/s_clog10f.c (__clog10f): Likewise.
915 * math/s_clog10l.c (__clog10l): Likewise.
916 * math/s_clogf.c (__clogf): Likewise.
917 * math/s_clogl.c (__clogl): Likewise.
918 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
919 (clog10_test): Likewise.
920 * sysdeps/i386/fpu/libm-test-ulps: Update.
921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
922
b0abbc21
AM
9232014-04-02 Alan Modra <amodra@gmail.com>
924
925 [BZ #16739]
926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
927 output when value is near a power of two. Use int64_t for lx and
928 remove casts. Use decimal rather than hex exponent constants.
929 Don't use long double multiplication when double will suffice.
930 * math/libm-test.inc (nextafter_test_data): Add tests.
931 * NEWS: Add 16739 and 16786 to bug list.
932
af6b1797
AM
933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
934
483818d7
AM
935 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
936
f6c55796
WN
9372014-04-01 Will Newton <will.newton@linaro.org>
938
939 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
940 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
941
13f7fe35
FW
9422014-04-01 Florian Weimer <fweimer@redhat.com>
943
944 [BZ #13347]
945 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
946 * nptl/tst-setuid2.c: New file.
947 * nptl/Makefile (xtests): Add tst-setuid2.
948
c859b32e
AM
9492014-04-01 Alan Modra <amodra@gmail.com>
950
951 [BZ #16786]
952 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
953
54fa2475
JM
9542014-03-31 Joseph Myers <joseph@codesourcery.com>
955
8795b4a4
JM
956 [BZ #6803]
957 [BZ #6804]
958 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
959 set errno as appropriate.
960 * math/w_scalbf.c (__scalbf): Likewise.
961 * math/w_scalbl.c (__scalbl): Likewise.
962 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
963 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
964 * math/libm-test.inc (scalb_test_data): Add errno expectations.
965 Add more NaN tests.
966
54fa2475
JM
967 [BZ #16349]
968 * math/w_atan2.c: Include <errno.h>.
969 (__atan2): Set errno for result underflowing to zero.
970 * math/w_atan2f.c: Include <errno.h>.
971 (__atan2f): Set errno for result underflowing to zero.
972 * math/w_atan2l.c: Include <errno.h>.
973 (__atan2l): Set errno for result underflowing to zero.
974 * math/auto-libm-test-in: Don't allow missing errno for some atan2
975 tests.
976 * math/auto-libm-test-out: Regenerated.
977
757d9dd5
AZ
9782014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
979
980 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
981 Encode instruction correctly in little endian.
982 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
983 Likewise.
984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
985 Likewise.
986 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
987 Likewise.
988 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
989 Likewise.
990
d7a68734
JM
9912014-03-31 Joseph Myers <joseph@codesourcery.com>
992
47c5adeb
JM
993 [BZ #9894]
994 * sysdeps/unix/sysv/linux/kernel-features.h
995 [__sparc__ && !__arch64__ && !__sparc_v9__]
996 (__ASSUME_SET_ROBUST_LIST): Do not define.
997 [__sparc__ && !__arch64__ && !__sparc_v9__]
998 (__ASSUME_FUTEX_LOCK_PI): Likewise.
999 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1000 Likewise.
1001 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1002 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1003 (__ASSUME_REQUEUE_PI): Likewise.
1004 (__ASSUME_SET_ROBUST_LIST): Likewise.
1005 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1006 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1007 Undefine.
1008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1009 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1010 Likewise.
1011 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1012 Likewise.
1013 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1014 Likewise.
1015 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1016 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1017 Undefine.
1018 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1019 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1020 Likewise.
1021
d7a68734
JM
1022 [BZ #16648]
1023 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1024 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1025 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1026
c760f5c2
WN
10272014-03-31 Will Newton <will.newton@linaro.org>
1028
1029 * benchtests/Makefile (bench): Add ffs and ffsll to list
1030 of tests.
1031 * benchtests/ffs-inputs: New file.
1032 * benchtests/ffsll-inputs: Likewise.
1033
ea6029b1
JM
10342014-03-29 Joseph Myers <joseph@codesourcery.com>
1035
1036 [BZ #16770]
1037 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1038 too large before casting to int.
1039 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1040 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1041 * math/libm-test.inc (scalb_test_data): Add more tests.
1042
cf806aff
SP
10432014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1044
56737508
SP
1045 * benchtests/Makefile (DETAILED_OPT): New make option.
1046 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1047 set.
1048 * benchtests/bench-skeleton.c: Include stdbool.h.
1049 (main): Store and print timings per input.
1050 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1051 member to each argument value.
1052 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1053 (_print_arg_data): Initialize per-input timing to 0.
1054
cb5e4aad
SP
1055 * benchtests/Makefile (timing-type): New binary.
1056 (bench-clean): Also remove bench-timing-type.
1057 (bench): New target for timing-type.
1058 (bench-func): Print output in JSON format.
1059 * benchtests/bench-skeleton.c (main): Print output in JSON
1060 format.
1061 * benchtests/bench-timing-type.c: New file.
1062 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1063 (TIMING_PRINT_STATS): Remove.
1064 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1065 name separately.
1066
cf806aff
SP
1067 * benchtests/bench-modf.c: Remove.
1068 * benchtests/modf-inputs: New inputs file.
1069
289e0779
JM
10702014-03-28 Joseph Myers <joseph@codesourcery.com>
1071
1072 [BZ #16362]
1073 * math/s_clog10.c (M_PI_LOG10E): New macro.
1074 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1075 imaginary parts are 0.
1076 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1077 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1078 imaginary parts are 0.
1079 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1080 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1081 imaginary parts are 0.
1082 * math/libm-test.inc (clog10_test_data): Update expected results
1083 for when real and imaginary parts are 0.
1084
277ae3f1
PP
10852014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1086
1087 * elf/dl-load.c: Finish conversion of __builtin_expect into
1088 __glibc_{un}likely.
1089
03a7091f
JM
10902014-03-27 Joseph Myers <joseph@codesourcery.com>
1091
1092 [BZ #16348]
1093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1094 1+x for argument with exponent below -67.
1095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1096 Likewise.
1097 * math/auto-libm-test-in: Add more tests of exp.
1098 * math/auto-libm-test-out: Regenerated.
1099
ea7d8b95
SP
11002014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1101
dd3022d7
SP
1102 [BZ #16759]
1103 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1104 (nscd_getnetgrent): Use it.
1105
ea7d8b95
SP
1106 [BZ #16760]
1107 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1108 of stpcpy.
1109
df5b85da
AK
11102014-03-27 Andi Kleen <ak@linux.intel.com>
1111
57f41c40
AS
1112 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1113 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1114 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1115 (lll_robust_unlock): Remove out of line section. Use cfi
1116 intrinsics.
df5b85da 1117 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1118 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1119 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1120 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1121 (lll_robust_unlock): Remove out of line section. Use cfi
1122 intrinsics.
df5b85da
AK
1123 (LLL_STUB_UNWIND_INFO*): Remove.
1124
fbd6b5a4
SP
11252014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1126
1127 [BZ #16758]
1128 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1129 blank values.
1130
1b26b855
PP
11312014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1132
1133 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1134
9be36fb8
JM
11352014-03-26 Joseph Myers <joseph@codesourcery.com>
1136
1137 [BZ #16198]
1138 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1139 fnstenv.
1140 * math/test-fenv-preserve.c: New file.
1141 * math/Makefile (tests): Add test-fenv-preserve.
1142
60a2f3c1
WN
11432014-03-26 Will Newton <will.newton@linaro.org>
1144
1145 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1146
a5e5f1e2
RM
11472014-03-25 Roland McGrath <roland@hack.frob.com>
1148
1149 * scripts/versionlist.awk: Partition the version sets and emit all
1150 GLIBC_* (sorted) before all others (sorted).
1151
00f4012a
JM
11522014-03-25 Joseph Myers <joseph@codesourcery.com>
1153
1154 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1155 GLIBC_2.2.5 version.
1156
7bc5a741
AZ
11572014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158
1159 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1160 calls.
1161
7578473b
AZ
1162 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1163 previous change.
1164
f3f1dab3
AZ
1165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1166
6da36183
AS
11672014-03-25 Andreas Schwab <schwab@suse.de>
1168
1169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1170 label to be used after in6ailist is initialized.
1171
f3f1dab3 11722014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1173
7578473b 1174 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1175 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1176
046651c1
JM
11772014-03-25 Joseph Myers <joseph@codesourcery.com>
1178
1179 [BZ #16357]
1180 [BZ #16599]
1181 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1182 min_plus_half.
1183 (fp_formats): Update initializers.
1184 (init_fp_formats): Initialize new field.
1185 (output_for_one_input_case): Allow underflow for results up to
1186 min_plus_half.
1187 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1188 * math/auto-libm-test-in: Don't mark some underflows from asin and
1189 atanh as spurious.
1190 * math/auto-libm-test-out: Regenerated.
1191 * sysdeps/i386/fpu/libm-test-ulps: Update.
1192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1193
003e49ed
AS
11942014-03-25 Andreas Schwab <schwab@suse.de>
1195
1196 * libio/Makefile (tst-ftell-partial-wide-ENV)
1197 (tst-ftell-active-handler-ENV): Define.
1198
de031874
SL
11992014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1200
1201 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1202
55a81e3b
PP
12032014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1204
1205 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1206
f3426898
JM
12072014-03-24 Joseph Myers <joseph@codesourcery.com>
1208
1209 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1210 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1211 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1212
a42faf59
PP
12132014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1214
1215 [BZ #16634]
a42faf59 1216 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1217 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1218 (open_path): Change from boolean 'secure' to complete flag 'mode'
1219 (_dl_map_object): Adjust.
a42faf59
PP
1220 * elf/Makefile (tests): Add tst-dlopen-aout.
1221 * elf/tst-dlopen-aout.c: New test.
1222
50936127
SL
12232014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1224
1225 [BZ #16714]
1226 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1227 (struct stat): Rename member pad0 to __glibc_reserved0.
1228
26011b5c
SL
1229 [BZ #16712]
1230 * sysdeps/s390/s390-32/bits/wordsize.h
1231 (__WORDSIZE32_SIZE_ULONG): New define.
1232 * sysdeps/s390/s390-64/bits/wordsize.h
1233 (__WORDSIZE32_SIZE_ULONG): Likewise.
1234 * sysdeps/generic/stdint.h (SIZE_MAX):
1235 Define as UL if __WORDSIZE32_SIZE_ULONG.
1236
a2d86bf1
SL
1237 [BZ #16713]
1238 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1239 (__glibc_reserved0): New variable.
1240 (sa_flags): Change type to int.
1241
78b6eebc
SL
1242 * posix/Makefile (before-compile): Use += before-compile instead
1243 of a :=.
1244
f1399b5a
SL
1245 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1246 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1247
a071766e
AS
12482014-03-20 Andreas Schwab <schwab@suse.de>
1249
1250 [BZ #16743]
1251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1252 non-matching result from nscd.
1253
27c673b8
SP
12542014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1255
1256 * scripts/bench.py: Moved to ...
1257 * benchtests/scripts/bench.py: ... here.
1258 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1259
44152e4b
AS
12602014-03-24 Andreas Schwab <schwab@suse.de>
1261
1262 [BZ #16002]
1263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1264 alloca_account and account alloca use for struct in6ailist.
1265
b376a11a
JM
12662014-03-24 Joseph Myers <joseph@codesourcery.com>
1267
1268 [BZ #16284]
1269 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1270 rounding mode to recompute results that overflow to infinity or
1271 underflow to zero.
1272 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1273 bug 16284.
1274 * math/auto-libm-test-out: Regenerated.
1275 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1276 (ccosh_test): Likewise.
1277 (csin_test_data): Use plus_oflow.
1278 (csin_test): Use ALL_RM_TEST.
1279 (csinh_test_data): Use plus_oflow.
1280 (csinh_test): Use ALL_RM_TEST.
1281 * sysdeps/i386/fpu/libm-test-ulps: Update.
1282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1283
f7be7376
JM
12842014-03-21 Joseph Myers <joseph@codesourcery.com>
1285
1ca2d03e
JM
1286 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1287 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1288 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1289
f7be7376
JM
1290 [BZ #16731]
1291 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1292 when x - 1 is zero.
1293 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1294 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1295 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1297 argument is 1.
1298 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1299 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1300 zero.
1301 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1302 * sysdeps/i386/fpu/libm-test-ulps: Update.
1303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1304
fdf4534d
SP
13052014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
df26ea53
SP
1307 * scripts/bench.pl: Remove file.
1308 * scripts/bench.py: New benchmark script.
1309 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1310 * benchtests/README: Mention python dependency.
1311 * scripts/pylintrc: New file.
1312 * scripts/pylint: New file.
1313
fdf4534d
SP
1314 * bits/mathdef.h: Use #ifdef instead of #if.
1315 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1316 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1317 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1318 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1319 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1320 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1321
6f23d093
AZ
13222014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1324
1325 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1327 and strpbrk-ppc64 objects.
1328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1329 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1330 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1331 multiarch strpbrk for POWER7.
1332 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1333 multiarch strpbrk for PPC64.
1334 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1335 ifunc selector.
1336 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1337 strpbrk for POWER7.
1338
8c92dfff
JM
13392014-03-20 Joseph Myers <joseph@codesourcery.com>
1340
1341 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1342 (atan_test): Likewise.
1343 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1344 (atanh_test): Use ALL_RM_TEST.
1345 (atan2_test_data): Likewise.
1346 (cabs_test): Likewise.
1347 (cacosh_test): Likewise.
1348 (carg_test): Likewise.
1349 (casin_test): Likewise.
1350 (casinh_test): Likewise.
1351 (cbrt_test): Likewise.
1352 (csqrt_test): Likewise.
1353 (erf_test): Likewise.
1354 (erfc_test): Likewise.
1355 (pow10_test): Likewise.
1356 (exp2_test): Likewise.
1357 (hypot_test): Likewise.
1358 (j0_test): Likewise.
1359 (j1_test): Likewise.
1360 (lgamma_test): Likewise.
1361 (gamma_test): Likewise.
1362 (sincos_test): Likewise.
1363 (tanh_test): Likewise.
1364 (y0_test): Likewise.
1365 (y1_test): Likewise.
1366 * sysdeps/i386/fpu/libm-test-ulps: Update.
1367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1368
6eaf95cb
AZ
13692014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370
a387428c
SP
1371 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1373 and strcspn-ppc64 objects.
1374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1375 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1376 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1377 multiarch strcspn for POWER7.
1378 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1379 multiarch strcspn for PPC64.
1380 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1381 ifunc selector.
1382 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1383 strcspn for POWER7.
1384
ae3a5dff
JM
13852014-03-20 Joseph Myers <joseph@codesourcery.com>
1386
1387 * math/gen-libm-test.pl (generate_testfile): Expect only function
1388 name as argument to AUTO_TESTS_* and pass results for all rounding
1389 modes to parse_args.
1390 (parse_auto_input): Separate inputs of automatic tests from
1391 outputs before storing in %auto_tests.
1392 * math/libm-test.inc (acos_test_data): Update call to
1393 AUTO_TESTS_f_f.
1394 (acos_test): Use ALL_RM_TEST.
1395 (acos_tonearest_test_data): Remove.
1396 (acos_test_tonearest): Likewise.
1397 (acos_towardzero_test_data): Likewise.
1398 (acos_test_towardzero): Likewise.
1399 (acos_downward_test_data): Likewise.
1400 (acos_test_downward): Likewise.
1401 (acos_upward_test_data): Likewise.
1402 (acos_test_upward): Likewise.
1403 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1404 (asin_test_data): Likewise.
1405 (asin_test): Use ALL_RM_TEST.
1406 (asin_tonearest_test_data): Remove.
1407 (asin_test_tonearest): Likewise.
1408 (asin_towardzero_test_data): Likewise.
1409 (asin_test_towardzero): Likewise.
1410 (asin_downward_test_data): Likewise.
1411 (asin_test_downward): Likewise.
1412 (asin_upward_test_data): Likewise.
1413 (asin_test_upward): Likewise.
1414 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1415 (atan_test_data): Likewise.
1416 (atanh_test_data): Likewise.
1417 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1418 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1419 (carg_test_data): Likewise.
1420 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1421 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1422 (ccosh_test_data): Likewise.
1423 (cexp_test_data): Likewise.
1424 (clog_test_data): Likewise.
1425 (clog10_test_data): Likewise.
1426 (cos_test_data): Update call to AUTO_TESTS_f_f.
1427 (cos_test): Use ALL_RM_TEST.
1428 (cos_tonearest_test_data): Remove.
1429 (cos_test_tonearest): Likewise.
1430 (cos_towardzero_test_data): Likewise.
1431 (cos_test_towardzero): Likewise.
1432 (cos_downward_test_data): Likewise.
1433 (cos_test_downward): Likewise.
1434 (cos_upward_test_data): Likewise.
1435 (cos_test_upward): Likewise.
1436 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1437 (cosh_test): Use ALL_RM_TEST.
1438 (cosh_tonearest_test_data): Remove.
1439 (cosh_test_tonearest): Likewise.
1440 (cosh_towardzero_test_data): Likewise.
1441 (cosh_test_towardzero): Likewise.
1442 (cosh_downward_test_data): Likewise.
1443 (cosh_test_downward): Likewise.
1444 (cosh_upward_test_data): Likewise.
1445 (cosh_test_upward): Likewise.
1446 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1447 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1448 (ctan_test_data): Likewise.
1449 (ctan_test): Use ALL_RM_TEST.
1450 (ctan_tonearest_test_data): Remove.
1451 (ctan_test_tonearest): Likewise.
1452 (ctan_towardzero_test_data): Likewise.
1453 (ctan_test_towardzero): Likewise.
1454 (ctan_downward_test_data): Likewise.
1455 (ctan_test_downward): Likewise.
1456 (ctan_upward_test_data): Likewise.
1457 (ctan_test_upward): Likewise.
1458 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1459 (ctanh_test): Use ALL_RM_TEST.
1460 (ctanh_tonearest_test_data): Remove.
1461 (ctanh_test_tonearest): Likewise.
1462 (ctanh_towardzero_test_data): Likewise.
1463 (ctanh_test_towardzero): Likewise.
1464 (ctanh_downward_test_data): Likewise.
1465 (ctanh_test_downward): Likewise.
1466 (ctanh_upward_test_data): Likewise.
1467 (ctanh_test_upward): Likewise.
1468 (erf_test_data): Update call to AUTO_TESTS_f_f.
1469 (erfc_test_data): Likewise.
1470 (exp_test_data): Likewise.
1471 (exp_test): Use ALL_RM_TEST.
1472 (exp_tonearest_test_data): Remove.
1473 (exp_test_tonearest): Likewise.
1474 (exp_towardzero_test_data): Likewise.
1475 (exp_test_towardzero): Likewise.
1476 (exp_downward_test_data): Likewise.
1477 (exp_test_downward): Likewise.
1478 (exp_upward_test_data): Likewise.
1479 (exp_test_upward): Likewise.
1480 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1481 (exp10_test): Use ALL_RM_TEST.
1482 (exp10_tonearest_test_data): Remove.
1483 (exp10_test_tonearest): Likewise.
1484 (exp10_towardzero_test_data): Likewise.
1485 (exp10_test_towardzero): Likewise.
1486 (exp10_downward_test_data): Likewise.
1487 (exp10_test_downward): Likewise.
1488 (exp10_upward_test_data): Likewise.
1489 (exp10_test_upward): Likewise.
1490 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1491 (expm1_test_data): Likewise.
1492 (expm1_test): Use ALL_RM_TEST.
1493 (expm1_tonearest_test_data): Remove.
1494 (expm1_test_tonearest): Likewise.
1495 (expm1_towardzero_test_data): Likewise.
1496 (expm1_test_towardzero): Likewise.
1497 (expm1_downward_test_data): Likewise.
1498 (expm1_test_downward): Likewise.
1499 (expm1_upward_test_data): Likewise.
1500 (expm1_test_upward): Likewise.
1501 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1502 (fma_test): Use ALL_RM_TEST.
1503 (fma_towardzero_test_data): Remove.
1504 (fma_test_towardzero): Likewise.
1505 (fma_downward_test_data): Likewise.
1506 (fma_test_downward): Likewise.
1507 (fma_upward_test_data): Likewise.
1508 (fma_test_upward): Likewise.
1509 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1510 (j0_test_data): Update call to AUTO_TESTS_f_f.
1511 (j1_test_data): Likewise.
1512 (jn_test_data): Update call to AUTO_TESTS_if_f.
1513 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1514 (log_test_data): Update call to AUTO_TESTS_f_f.
1515 (log10_test_data): Likewise.
1516 (log1p_test_data): Likewise.
1517 (log2_test_data): Likewise.
1518 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1519 (pow_tonearest_test_data): Likewise.
1520 (sin_test_data): Update call to AUTO_TESTS_f_f.
1521 (sin_test): Use ALL_RM_TEST.
1522 (sin_tonearest_test_data): Remove.
1523 (sin_test_tonearest): Likewise.
1524 (sin_towardzero_test_data): Likewise.
1525 (sin_test_towardzero): Likewise.
1526 (sin_downward_test_data): Likewise.
1527 (sin_test_downward): Likewise.
1528 (sin_upward_test_data): Likewise.
1529 (sin_test_upward): Likewise.
1530 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1531 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1532 (sinh_test): Use ALL_RM_TEST.
1533 (sinh_tonearest_test_data): Remove.
1534 (sinh_test_tonearest): Likewise.
1535 (sinh_towardzero_test_data): Likewise.
1536 (sinh_test_towardzero): Likewise.
1537 (sinh_downward_test_data): Likewise.
1538 (sinh_test_downward): Likewise.
1539 (sinh_upward_test_data): Likewise.
1540 (sinh_test_upward): Likewise.
1541 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1542 (sqrt_test): Use ALL_RM_TEST.
1543 (sqrt_tonearest_test_data): Remove.
1544 (sqrt_test_tonearest): Likewise.
1545 (sqrt_towardzero_test_data): Likewise.
1546 (sqrt_test_towardzero): Likewise.
1547 (sqrt_downward_test_data): Likewise.
1548 (sqrt_test_downward): Likewise.
1549 (sqrt_upward_test_data): Likewise.
1550 (sqrt_test_upward): Likewise.
1551 (tan_test_data): Update call to AUTO_TESTS_f_f.
1552 (tan_test): Use ALL_RM_TEST.
1553 (tan_tonearest_test_data): Remove.
1554 (tan_test_tonearest): Likewise.
1555 (tan_towardzero_test_data): Likewise.
1556 (tan_test_towardzero): Likewise.
1557 (tan_downward_test_data): Likewise.
1558 (tan_test_downward): Likewise.
1559 (tan_upward_test_data): Likewise.
1560 (tan_test_upward): Likewise.
1561 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1562 (tgamma_test_data): Likewise.
1563 (y0_test_data): Likewise.
1564 (y1_test_data): Likewise.
1565 (yn_test_data): Update call to AUTO_TESTS_if_f.
1566 (main): Do not call removed functions.
1567
d71aeee8
JM
15682014-03-19 Joseph Myers <joseph@codesourcery.com>
1569
1570 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1571 (ldexp_test_data): Remove.
1572 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1573 scalbn_test_data.
1574 (scalb_test): Use ALL_RM_TEST.
1575
baaf1ded
AS
15762014-03-19 Andreas Schwab <schwab@suse.de>
1577
1578 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1579
b1115e91
JM
15802014-03-19 Joseph Myers <joseph@codesourcery.com>
1581
1582 [BZ #16649]
1583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1584 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1585 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1587 (__ASSUME_PREADV): Undefine.
1588 (__ASSUME_PWRITEV): Likewise.
1589
0283ecca
RM
15902014-03-18 Roland McGrath <roland@hack.frob.com>
1591
7d375303
RM
1592 * bits/mman-linux.h: Add comment about non-Linux use.
1593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1594 bits/mman-linux.h resting place.
1595
0283ecca
RM
1596 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1597 * bits/mman-linux.h: ... here.
1598
aebe1003
AZ
15992014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600
1601 * conform/conformtest.pl: Add standard definition when calling C
1602 preprocessor on data files.
1603 (checknamespace): Remove unused variable.
1604
b29b6bb8
JM
16052014-03-18 Joseph Myers <joseph@codesourcery.com>
1606
1607 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1608 minus_oflow, plus_uflow and minus_uflow in expected results.
1609 * math/libm-test.inc (scalbn_test_data): Add more tests of
1610 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1611 minus_uflow.
1612 (scalbn_test): Use ALL_RM_TEST.
1613 (scalbln_test_data): Add more tests of negative arguments. Use
1614 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1615 (scalbln_test): Use ALL_RM_TEST.
1616
c8f8fa15
RM
16172014-03-18 Roland McGrath <roland@hack.frob.com>
1618
1619 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1620
fede7a5f
WN
16212014-03-18 Will Newton <will.newton@linaro.org>
1622
1623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1624 inaccurate comment.
1625
80cf0a58
JM
16262014-03-18 Joseph Myers <joseph@codesourcery.com>
1627
1628 * Makerules [!subdir] (check-abi): Exit with error status if a
1629 test failed.
1630
b3620862
JM
16312014-03-17 Joseph Myers <joseph@codesourcery.com>
1632
1633 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1634 for rint. Include results for all rounding modes.
1635 (nearbyint_test): Use ALL_RM_TEST.
1636 (rint_test_data): Include all tests used for nearbyint.
1637
788bba36
WN
16382014-03-17 Will Newton <will.newton@linaro.org>
1639
04ec140a
WN
1640 * nptl/sysdeps/pthread/pthread.h: Revert previous
1641 change.
1642
7579d8d5
WN
1643 * sysdeps/generic/ldsodefs.h: Revert previous
1644 change.
1645
c15cf13a
WN
1646 * libio/genops.c: Revert previous change.
1647 * libio/libioP.h: Likewise.
1648 * stdio-common/vfprintf.c: Likewise.
1649
d0ac1324
WN
1650 * sysdeps/generic/math_private.h: Revert previous
1651 change.
1652
9290130a
WN
1653 * sysdeps/generic/math_private.h: Check whether
1654 HAVE_RM_CTX is defined with #ifdef rather
1655 than #if.
1656
afb466fc
WN
1657 * argp/argp-fmtstream.h: Check whether
1658 __STRICT_ANSI__ is defined with #ifdef rather
1659 than #if.
1660 * argp/argp.h: Likewise.
1661
f7efd7c3
WN
1662 * libio/genops.c: Check whether
1663 _IO_JUMPS_OFFSET is defined with #ifdef rather
1664 than #if.
1665 * libio/libioP.h: Likewise.
1666 * stdio-common/vfprintf.c: Likewise.
1667
53f1bed3
WN
1668 * sysdeps/generic/ldsodefs.h: Check whether
1669 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1670 than #if.
1671
788bba36
WN
1672 * nptl/sysdeps/pthread/pthread.h: Check
1673 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1674 its value.
1675
fcd89ebe
SP
16762014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1677
ae42bbc5
SP
1678 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1679 setting O_APPEND.
1680 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1681 test case.
1682
ea33158c
SP
1683 [BZ #16680]
1684 * libio/fileops.c (_IO_file_open): Seek to end of file but
1685 don't cache the offset.
1686 (get_file_offset): Remove function.
1687 (do_ftell): Use cached offset when available.
1688 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1689 don't cache the offset.
1690 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1691 case.
1692 (do_one_test): Call it.
1693 (do_ftell_test): Fix up expected old offset for a+ mode.
1694 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1695 available.
1696
b1dbb426
SP
1697 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1698 up test status with function return status.
1699 (do_write_test): Likewise.
1700 (do_append_test): Likewise.
1701
fcd89ebe
SP
1702 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1703 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1704 Remove.
1705
9962a2d3
JM
17062014-03-17 Joseph Myers <joseph@codesourcery.com>
1707
1708 * math/gen-libm-test.pl (parse_args): Handle results specified for
1709 each rounding mode separately.
1710 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1711 tests and results from lrint_tonearest_test_data,
1712 lrint_towardzero_test_data, lrint_downward_test_data and
1713 lrint_upward_test_data.
1714 (lrint_test): Use ALL_RM_TEST.
1715 (lrint_tonearest_test_data): Remove.
1716 (lrint_test_tonearest): Likewise.
1717 (lrint_towardzero_test_data): Likewise.
1718 (lrint_test_towardzero): Likewise.
1719 (lrint_downward_test_data): Likewise.
1720 (lrint_test_downward): Likewise.
1721 (lrint_upward_test_data): Likewise.
1722 (lrint_test_upward): Likewise.
1723 (llrint_test_data): Merge in per-rounding-mode tests and results
1724 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1725 llrint_downward_test_data and llrint_upward_test_data.
1726 (llrint_test): Use ALL_RM_TEST.
1727 (llrint_tonearest_test_data): Remove.
1728 (llrint_test_tonearest): Likewise.
1729 (llrint_towardzero_test_data): Likewise.
1730 (llrint_test_towardzero): Likewise.
1731 (llrint_downward_test_data): Likewise.
1732 (llrint_test_downward): Likewise.
1733 (llrint_upward_test_data): Likewise.
1734 (llrint_test_upward): Likewise.
1735 (rint_test_data): Merge in per-rounding-mode tests and results
1736 from rint_tonearest_test_data, rint_towardzero_test_data,
1737 rint_downward_test_data and rint_upward_test_data. Add
1738 per-rounding-mode results for tests not in those arrays.
1739 (rint_test): Use ALL_RM_TEST.
1740 (rint_tonearest_test_data): Remove.
1741 (rint_test_tonearest): Likewise.
1742 (rint_towardzero_test_data): Likewise.
1743 (rint_test_towardzero): Likewise.
1744 (rint_downward_test_data): Likewise.
1745 (rint_test_downward): Likewise.
1746 (rint_upward_test_data): Likewise.
1747 (rint_test_upward): Likewise.
1748 (main): Don't call removed functions.
1749
5006148e
RM
17502014-03-14 Roland McGrath <roland@hack.frob.com>
1751
1752 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1753 "Compiled on ..." crapola. It is anti-useful.
1754
d6fe5e58
JM
17552014-03-14 Joseph Myers <joseph@codesourcery.com>
1756
1757 * scripts/evaluate-test.sh: Handle fourth argument to determine
1758 whether test run should stop on failure.
1759 * Makeconfig (stop-on-test-failure): New variable.
1760 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1761 $(stop-on-test-failure).
1762 * Makefile (tests): Give a summary of results from testing and
1763 exit with failure status if they include an ERROR or FAIL.
1764 (xtests): Likewise.
1765 * manual/install.texi (Configuring and compiling): Mention
1766 stop-on-test-failure=y.
1767 * INSTALL: Regenerated.
1768
498a2233
RM
17692014-03-14 Roland McGrath <roland@hack.frob.com>
1770
22dbc19d
RM
1771 * scripts/versionlist.awk: New file.
1772 * Makerules [$(build-shared) = yes]
1773 (postclean-generated): Add Versions.def, not Versions.def.v and
1774 Versions.def.v.i.
1775 ($(common-objpfx)Versions.def.v.i): Target removed.
1776 ($(common-objpfx)Versions.def): New target.
1777 ($(common-objpfx)Versions.all): Depend on that rather that
1778 $(common-objpfx)Versions.def.v.
1779 * Versions.def: File removed.
1780
498a2233
RM
1781 * Makeconfig (+gccwarn): Add -Wundef.
1782 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1783 a dl-sysdep.h breaking its contract.
1784 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1785 * include/stackinfo.h: New file.
1786 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1787 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1788 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1789 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1790 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1791 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1792 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1793 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1794 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1795 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1796 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1797 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1798 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1799 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1800 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1801
c7de5025
AZ
18022014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 [BZ #16707]
1805 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1806 implementation.
1807 * math/libm-test.inc (round_test_data): Add more tests.
1808
98fb27a3
AZ
1809 [BZ #16706]
1810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1811 implementation.
1812 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1813
374f7f61
AZ
1814 [BZ #16701]
1815 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1816 implementation.
1817 * math/libm-test.inc (ceil_test_data): Add more tests.
1818
4655c291
AZ
1819 * math/libm-test.inc (trunc_test_data): Add more tests related to
1820 BZ#16414.
1821
d7329d4b
RM
18222014-03-14 Roland McGrath <roland@hack.frob.com>
1823
1824 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1825 with #if rather than #ifdef.
1826 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1827
aa4de9ce
L
18282014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1831 first. Disable AVX-512 GCC support if assembler doesn't support
1832 it.
1833 * sysdeps/x86_64/configure: Regenerated.
1834
2e03fae7
CD
18352014-03-13 Carlos O'Donell <carlos@redhat.com>
1836
1837 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1838 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1839 (__old_pthread_attr_setstack): Likewise.
1840 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1841 [!_STACK_GROWS_DOWN]: Likewise.
1842
43ca83ec
MF
18432014-03-13 Mike Frysinger <vapier@gentoo.org>
1844
1845 * config.make.in (have-bash2): Delete.
1846 * configure.ac (libc_cv_have_bash2): Delete.
1847 * configure: Regenerate.
1848 * elf/Makefile (common-ldd-rewrite): Rename to ...
1849 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1850 (sh-ldd-rewrite): Delete.
1851 (bash-ldd-rewrite): Delete.
1852 (have-bash2): Delete checks.
57f41c40
AS
1853 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1854 ldd-rewrite.
c66e48b4
MF
1855
1856 * config.make.in (have-ksh): Delete.
1857 (KSH): Delete.
1858 * configure.ac (libc_cv_have_ksh): Delete.
1859 * configure: Regenerate.
1860
b93834ef
MF
1861 * elf/Makefile: Delete $(have-ksh) check.
1862 ($(objpfx)sotruss): Change KSH to BASH.
1863 * elf/sotruss.ksh: Rename to ...
1864 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1865 function style to match POSIX. Drop ksh vim mode setting.
1866
f3a4632a
MF
1867 * manual/time.texi (Specifying the Time Zone with TZ): Change
1868 Tuesday to Thursday.
1869
5896c8bd
MF
1870 * debug/tst-longjmp_chk2.c: Update header comment.
1871 (stackoverflow_handler): Add comment. Call assert on pass value.
1872
2d63a517
IZ
18732014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1874
1875 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1876 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1877 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1878 (La_x86_64_vector): Add zmm.
1879 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1880 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1881 ($(objpfx)tst-audit10): New target.
1882 ($(objpfx)tst-audit10.out): Likewise.
1883 (tst-audit10-ENV): New.
1884 (AVX512-CFLAGS): Likewise.
1885 (CFLAGS-tst-audit10.c): Likewise.
1886 (CFLAGS-tst-auditmod10a.c): Likewise.
1887 (CFLAGS-tst-auditmod10b.c): Likewise.
1888 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1889 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1890 * sysdeps/x86_64/configure: Regenerated.
1891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1892 AVX-512 zmm register support.
1893 (_dl_x86_64_save_sse): Likewise.
1894 (_dl_x86_64_restore_sse): Likewise.
1895 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1896 size vector registers.
1897 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1898 (ZMM_SIZE): Likewise.
1899 * sysdeps/x86_64/tst-audit10.c: New file.
1900 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1901 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1902
44c4e5d5
RM
19032014-03-13 Roland McGrath <roland@hack.frob.com>
1904
1905 * configure.ac (HAVE_EHDR_START): New check.
1906 * configure: Regenerated.
1907 * config.h.in (HAVE_EHDR_START): New #undef.
1908 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1909 assuming the lowest-addressed segment maps the start of the file.
1910
acd6e389
JM
19112014-03-13 Joseph Myers <joseph@codesourcery.com>
1912
1913 * INSTALL: Regenerated.
1914
6f918f36
WN
19152014-03-13 Will Newton <will.newton@linaro.org>
1916
1917 * manual/setjmp.texi (System V contexts): Improve
1918 clarity and grammar of documentation.
1919
798212a0
PP
19202014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1921
1922 [BZ #16381]
798212a0 1923 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1924 (tests-pie): Add tst-pie2.
798212a0
PP
1925 * elf/tst-pie2.c: New file.
1926 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1927 for ET_EXEC.
1928 * elf/rtld.c (map_doit): Load executable as lt_executable.
1929 (dl_main): Likewise.
1930
abe6d90c
JM
19312014-03-12 Joseph Myers <joseph@codesourcery.com>
1932
1933 [BZ #16642]
1934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1935 (__ASSUME_PSELECT): Undefine.
1936
dd3946c6
AZ
19372014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1938
1939 [BZ #16689]
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1941 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1942 static build.
1943 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1944 selector for static builds.
1945
c44496df
SP
19462014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1947
1948 [BZ #16695]
1949 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1950 key in the buffer.
1951
27c7220a
AZ
19522014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953
57f41c40
AS
1954 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1955 IFUNC selector for static builds.
27c7220a 1956
600fa361
JM
19572014-03-11 Joseph Myers <joseph@codesourcery.com>
1958
76c96cf7
JM
1959 * sysdeps/mips/math_private.h [__mips_hard_float]
1960 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1961 libc_feresetround_mips_ctx.
1962 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1963 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1964 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1965
600fa361
JM
1966 [BZ #16677]
1967 * math/s_nextafter.c (__nextafter): Do not return value from
1968 overflowing computation.
1969 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1970 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1972 Likewise.
1973 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1974 Likewise.
1975 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1976 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1977
d7706c32
RM
19782014-03-11 Roland McGrath <roland@hack.frob.com>
1979
1980 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1981 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1982 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1983 the new mov targetting sp.
1984
4facea47
AZ
19852014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986
1987 [BZ #16683]
1988 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1989 Define it for static builds as well.
1990 (NO_BZERO_IMPL): Likewise.
1991
e65caf1f
VR
19922014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1993
1994 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1995 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1996 multiarch strspn for PPC64.
1997 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1998 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2000 (__libc_ifunc_impl_list): Likewise.
2001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2002 multiarch optimizations
2003 * string/strspn.c (strspn): Using macro to redefine symbol name.
2004
ba9cc071
AZ
20052014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2006 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2009 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2010 multiarch strncat for PPC64.
2011 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2012 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2014 (__libc_ifunc_impl_list): Likewise.
2015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2016 multiarch optimizations
2017
8b4ff974
SP
20182014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2019
2020 [BZ #16639]
2021 * nscd/nscd.service: Make service type forking.
2022
54b46a4b
AZ
20232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024
2025 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2026 sign in non default rounding modes.
2027 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2028
e9996ef7
JM
20292014-03-08 Joseph Myers <joseph@codesourcery.com>
2030
2031 * math/libm-test.inc (ALL_RM_TEST): New macro.
2032 (ceil_test): Use ALL_RM_TEST.
2033 (cimag_test): Likewise.
2034 (conj_test): Likewise.
2035 (copysign_test): Likewise.
2036 (cproj_test): Likewise.
2037 (creal_test): Likewise.
2038 (fabs_test): Likewise.
2039 (floor_test): Likewise.
2040 (fmax_test): Likewise.
2041 (fmin_test): Likewise.
2042 (fmod_test): Likewise.
2043 (fpclassify_test): Likewise.
2044 (frexp_test): Likewise.
2045 (ilogb_test): Likewise.
2046 (isfinite_test): Likewise.
2047 (finite_test): Likewise.
2048 (isgreater_test): Likewise.
2049 (isgreaterequal_test): Likewise.
2050 (isinf_test): Likewise.
2051 (isless_test): Likewise.
2052 (islessequal_test): Likewise.
2053 (islessgreater_test): Likewise.
2054 (isnan_test): Likewise.
2055 (isnormal_test): Likewise.
2056 (issignaling_test): Likewise.
2057 (isunordered_test): Likewise.
2058 (logb_test): Likewise.
2059 (logb_downward_test_data): Remove.
2060 (logb_test_downward): Likewise.
2061 (lround_test): Use ALL_RM_TEST.
2062 (llround_test): Likewise.
2063 (modf_test): Likewise.
2064 (nexttoward_test): Likewise.
2065 (remainder_test): Likewise.
2066 (drem_test): Likewise.
2067 (remainder_tonearest_test_data): Likewise.
2068 (remainder_test_tonearest): Likewise.
2069 (drem_test_tonearest): Likewise.
2070 (remainder_towardzero_test_data): Likewise.
2071 (remainder_test_towardzero): Likewise.
2072 (drem_test_towardzero): Likewise.
2073 (remainder_downward_test_data): Likewise.
2074 (remainder_test_downward): Likewise.
2075 (drem_test_downward): Likewise.
2076 (remainder_upward_test_data): Likewise.
2077 (remainder_test_upward): Likewise.
2078 (drem_test_upward): Likewise.
2079 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2080 (round_test): Use ALL_RM_TEST.
2081 (signbit_test): Likewise.
2082 (trunc_test): Likewise.
2083 (significand_test): Likewise.
2084 (main): Don't call removed functions.
2085
bc61d27c
JM
20862014-03-07 Joseph Myers <joseph@codesourcery.com>
2087
5c780849
JM
2088 [BZ #16674]
2089 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2090 || __USE_XOPEN2K8].
2091 (ILL_ILLOPN): Likewise.
2092 (ILL_ILLADR): Likewise.
2093 (ILL_ILLTRP): Likewise.
2094 (ILL_PRVOPC): Likewise.
2095 (ILL_PRVREG): Likewise.
2096 (ILL_COPROC): Likewise.
2097 (ILL_BADSTK): Likewise.
2098 (FPE_INTDIV): Likewise.
2099 (FPE_INTOVF): Likewise.
2100 (FPE_FLTDIV): Likewise.
2101 (FPE_FLTOVF): Likewise.
2102 (FPE_FLTUND): Likewise.
2103 (FPE_FLTRES): Likewise.
2104 (FPE_FLTINV): Likewise.
2105 (FPE_FLTSUB): Likewise.
2106 (SEGV_MAPERR): Likewise.
2107 (SEGV_ACCERR): Likewise.
2108 (BUS_ADRALN): Likewise.
2109 (BUS_ADRERR): Likewise.
2110 (BUS_OBJERR): Likewise.
2111 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2112 (TRAP_TRACE): Likewise.
2113 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2114 __USE_XOPEN2K8].
2115 (CLD_KILLED): Likewise.
2116 (CLD_DUMPED): Likewise.
2117 (CLD_TRAPPED): Likewise.
2118 (CLD_STOPPED): Likewise.
2119 (CLD_CONTINUED): Likewise.
2120 (POLL_IN): Likewise.
2121 (POLL_OUT): Likewise.
2122 (POLL_MSG): Likewise.
2123 (POLL_ERR): Likewise.
2124 (POLL_PRI): Likewise.
2125 (POLL_HUP): Likewise.
2126 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2127 Likewise.
2128 (ILL_ILLOPN): Likewise.
2129 (ILL_ILLADR): Likewise.
2130 (ILL_ILLTRP): Likewise.
2131 (ILL_PRVOPC): Likewise.
2132 (ILL_PRVREG): Likewise.
2133 (ILL_COPROC): Likewise.
2134 (ILL_BADSTK): Likewise.
2135 (FPE_INTDIV): Likewise.
2136 (FPE_INTOVF): Likewise.
2137 (FPE_FLTDIV): Likewise.
2138 (FPE_FLTOVF): Likewise.
2139 (FPE_FLTUND): Likewise.
2140 (FPE_FLTRES): Likewise.
2141 (FPE_FLTINV): Likewise.
2142 (FPE_FLTSUB): Likewise.
2143 (SEGV_MAPERR): Likewise.
2144 (SEGV_ACCERR): Likewise.
2145 (BUS_ADRALN): Likewise.
2146 (BUS_ADRERR): Likewise.
2147 (BUS_OBJERR): Likewise.
2148 (BUS_MCEERR_AR): Likewise.
2149 (BUS_MCEERR_AO): Likewise.
2150 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2151 (TRAP_TRACE): Likewise.
2152 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2153 __USE_XOPEN2K8].
2154 (CLD_KILLED): Likewise.
2155 (CLD_DUMPED): Likewise.
2156 (CLD_TRAPPED): Likewise.
2157 (CLD_STOPPED): Likewise.
2158 (CLD_CONTINUED): Likewise.
2159 (POLL_IN): Likewise.
2160 (POLL_OUT): Likewise.
2161 (POLL_MSG): Likewise.
2162 (POLL_ERR): Likewise.
2163 (POLL_PRI): Likewise.
2164 (POLL_HUP): Likewise.
2165 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2166 (ILL_ILLOPN): Likewise.
2167 (ILL_ILLADR): Likewise.
2168 (ILL_ILLTRP): Likewise.
2169 (ILL_PRVOPC): Likewise.
2170 (ILL_PRVREG): Likewise.
2171 (ILL_COPROC): Likewise.
2172 (ILL_BADSTK): Likewise.
2173 (FPE_INTDIV): Likewise.
2174 (FPE_INTOVF): Likewise.
2175 (FPE_FLTDIV): Likewise.
2176 (FPE_FLTOVF): Likewise.
2177 (FPE_FLTUND): Likewise.
2178 (FPE_FLTRES): Likewise.
2179 (FPE_FLTINV): Likewise.
2180 (FPE_FLTSUB): Likewise.
2181 (SEGV_MAPERR): Likewise.
2182 (SEGV_ACCERR): Likewise.
2183 (BUS_ADRALN): Likewise.
2184 (BUS_ADRERR): Likewise.
2185 (BUS_OBJERR): Likewise.
2186 (BUS_MCEERR_AR): Likewise.
2187 (BUS_MCEERR_AO): Likewise.
2188 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2189 (TRAP_TRACE): Likewise.
2190 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2191 __USE_XOPEN2K8].
2192 (CLD_KILLED): Likewise.
2193 (CLD_DUMPED): Likewise.
2194 (CLD_TRAPPED): Likewise.
2195 (CLD_STOPPED): Likewise.
2196 (CLD_CONTINUED): Likewise.
2197 (POLL_IN): Likewise.
2198 (POLL_OUT): Likewise.
2199 (POLL_MSG): Likewise.
2200 (POLL_ERR): Likewise.
2201 (POLL_PRI): Likewise.
2202 (POLL_HUP): Likewise.
2203 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2204 Likewise.
2205 (ILL_ILLOPN): Likewise.
2206 (ILL_ILLADR): Likewise.
2207 (ILL_ILLTRP): Likewise.
2208 (ILL_PRVOPC): Likewise.
2209 (ILL_PRVREG): Likewise.
2210 (ILL_COPROC): Likewise.
2211 (ILL_BADSTK): Likewise.
2212 (ILL_BADIADDR): Likewise.
2213 (ILL_BREAK): Likewise.
2214 (FPE_INTDIV): Likewise.
2215 (FPE_INTOVF): Likewise.
2216 (FPE_FLTDIV): Likewise.
2217 (FPE_FLTOVF): Likewise.
2218 (FPE_FLTUND): Likewise.
2219 (FPE_FLTRES): Likewise.
2220 (FPE_FLTINV): Likewise.
2221 (FPE_FLTSUB): Likewise.
2222 (FPE_DECOVF): Likewise.
2223 (FPE_DECDIV): Likewise.
2224 (FPE_DECERR): Likewise.
2225 (FPE_INVASC): Likewise.
2226 (FPE_INVDEC): Likewise.
2227 (SEGV_MAPERR): Likewise.
2228 (SEGV_ACCERR): Likewise.
2229 (SEGV_PSTKOVF): Likewise.
2230 (BUS_ADRALN): Likewise.
2231 (BUS_ADRERR): Likewise.
2232 (BUS_OBJERR): Likewise.
2233 (BUS_MCEERR_AR): Likewise.
2234 (BUS_MCEERR_AO): Likewise.
2235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2236 (TRAP_TRACE): Likewise.
2237 (TRAP_BRANCH): Likewise.
2238 (TRAP_HWBKPT): Likewise.
2239 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2240 __USE_XOPEN2K8].
2241 (CLD_KILLED): Likewise.
2242 (CLD_DUMPED): Likewise.
2243 (CLD_TRAPPED): Likewise.
2244 (CLD_STOPPED): Likewise.
2245 (CLD_CONTINUED): Likewise.
2246 (POLL_IN): Likewise.
2247 (POLL_OUT): Likewise.
2248 (POLL_MSG): Likewise.
2249 (POLL_ERR): Likewise.
2250 (POLL_PRI): Likewise.
2251 (POLL_HUP): Likewise.
2252 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2253 (ILL_ILLOPN): Likewise.
2254 (ILL_ILLADR): Likewise.
2255 (ILL_ILLTRP): Likewise.
2256 (ILL_PRVOPC): Likewise.
2257 (ILL_PRVREG): Likewise.
2258 (ILL_COPROC): Likewise.
2259 (ILL_BADSTK): Likewise.
2260 (FPE_INTDIV): Likewise.
2261 (FPE_INTOVF): Likewise.
2262 (FPE_FLTDIV): Likewise.
2263 (FPE_FLTOVF): Likewise.
2264 (FPE_FLTUND): Likewise.
2265 (FPE_FLTRES): Likewise.
2266 (FPE_FLTINV): Likewise.
2267 (FPE_FLTSUB): Likewise.
2268 (SEGV_MAPERR): Likewise.
2269 (SEGV_ACCERR): Likewise.
2270 (BUS_ADRALN): Likewise.
2271 (BUS_ADRERR): Likewise.
2272 (BUS_OBJERR): Likewise.
2273 (BUS_MCEERR_AR): Likewise.
2274 (BUS_MCEERR_AO): Likewise.
2275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2276 (TRAP_TRACE): Likewise.
2277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2278 __USE_XOPEN2K8].
2279 (CLD_KILLED): Likewise.
2280 (CLD_DUMPED): Likewise.
2281 (CLD_TRAPPED): Likewise.
2282 (CLD_STOPPED): Likewise.
2283 (CLD_CONTINUED): Likewise.
2284 (POLL_IN): Likewise.
2285 (POLL_OUT): Likewise.
2286 (POLL_MSG): Likewise.
2287 (POLL_ERR): Likewise.
2288 (POLL_PRI): Likewise.
2289 (POLL_HUP): Likewise.
2290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2291 (ILL_ILLOPN): Likewise.
2292 (ILL_ILLADR): Likewise.
2293 (ILL_ILLTRP): Likewise.
2294 (ILL_PRVOPC): Likewise.
2295 (ILL_PRVREG): Likewise.
2296 (ILL_COPROC): Likewise.
2297 (ILL_BADSTK): Likewise.
2298 (FPE_INTDIV): Likewise.
2299 (FPE_INTOVF): Likewise.
2300 (FPE_FLTDIV): Likewise.
2301 (FPE_FLTOVF): Likewise.
2302 (FPE_FLTUND): Likewise.
2303 (FPE_FLTRES): Likewise.
2304 (FPE_FLTINV): Likewise.
2305 (FPE_FLTSUB): Likewise.
2306 (SEGV_MAPERR): Likewise.
2307 (SEGV_ACCERR): Likewise.
2308 (BUS_ADRALN): Likewise.
2309 (BUS_ADRERR): Likewise.
2310 (BUS_OBJERR): Likewise.
2311 (BUS_MCEERR_AR): Likewise.
2312 (BUS_MCEERR_AO): Likewise.
2313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2314 (TRAP_TRACE): Likewise.
2315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2316 __USE_XOPEN2K8].
2317 (CLD_KILLED): Likewise.
2318 (CLD_DUMPED): Likewise.
2319 (CLD_TRAPPED): Likewise.
2320 (CLD_STOPPED): Likewise.
2321 (CLD_CONTINUED): Likewise.
2322 (POLL_IN): Likewise.
2323 (POLL_OUT): Likewise.
2324 (POLL_MSG): Likewise.
2325 (POLL_ERR): Likewise.
2326 (POLL_PRI): Likewise.
2327 (POLL_HUP): Likewise.
2328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2329 (ILL_ILLOPN): Likewise.
2330 (ILL_ILLADR): Likewise.
2331 (ILL_ILLTRP): Likewise.
2332 (ILL_PRVOPC): Likewise.
2333 (ILL_PRVREG): Likewise.
2334 (ILL_COPROC): Likewise.
2335 (ILL_BADSTK): Likewise.
2336 (FPE_INTDIV): Likewise.
2337 (FPE_INTOVF): Likewise.
2338 (FPE_FLTDIV): Likewise.
2339 (FPE_FLTOVF): Likewise.
2340 (FPE_FLTUND): Likewise.
2341 (FPE_FLTRES): Likewise.
2342 (FPE_FLTINV): Likewise.
2343 (FPE_FLTSUB): Likewise.
2344 (SEGV_MAPERR): Likewise.
2345 (SEGV_ACCERR): Likewise.
2346 (BUS_ADRALN): Likewise.
2347 (BUS_ADRERR): Likewise.
2348 (BUS_OBJERR): Likewise.
2349 (BUS_MCEERR_AR): Likewise.
2350 (BUS_MCEERR_AO): Likewise.
2351 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2352 (TRAP_TRACE): Likewise.
2353 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2354 __USE_XOPEN2K8].
2355 (CLD_KILLED): Likewise.
2356 (CLD_DUMPED): Likewise.
2357 (CLD_TRAPPED): Likewise.
2358 (CLD_STOPPED): Likewise.
2359 (CLD_CONTINUED): Likewise.
2360 (POLL_IN): Likewise.
2361 (POLL_OUT): Likewise.
2362 (POLL_MSG): Likewise.
2363 (POLL_ERR): Likewise.
2364 (POLL_PRI): Likewise.
2365 (POLL_HUP): Likewise.
2366 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2367 (ILL_ILLOPN): Likewise.
2368 (ILL_ILLADR): Likewise.
2369 (ILL_ILLTRP): Likewise.
2370 (ILL_PRVOPC): Likewise.
2371 (ILL_PRVREG): Likewise.
2372 (ILL_COPROC): Likewise.
2373 (ILL_BADSTK): Likewise.
2374 (ILL_DBLFLT): Likewise.
2375 (ILL_HARDWALL): Likewise.
2376 (FPE_INTDIV): Likewise.
2377 (FPE_INTOVF): Likewise.
2378 (FPE_FLTDIV): Likewise.
2379 (FPE_FLTOVF): Likewise.
2380 (FPE_FLTUND): Likewise.
2381 (FPE_FLTRES): Likewise.
2382 (FPE_FLTINV): Likewise.
2383 (FPE_FLTSUB): Likewise.
2384 (SEGV_MAPERR): Likewise.
2385 (SEGV_ACCERR): Likewise.
2386 (BUS_ADRALN): Likewise.
2387 (BUS_ADRERR): Likewise.
2388 (BUS_OBJERR): Likewise.
2389 (BUS_MCEERR_AR): Likewise.
2390 (BUS_MCEERR_AO): Likewise.
2391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2392 (TRAP_TRACE): Likewise.
2393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2394 __USE_XOPEN2K8].
2395 (CLD_KILLED): Likewise.
2396 (CLD_DUMPED): Likewise.
2397 (CLD_TRAPPED): Likewise.
2398 (CLD_STOPPED): Likewise.
2399 (CLD_CONTINUED): Likewise.
2400 (POLL_IN): Likewise.
2401 (POLL_OUT): Likewise.
2402 (POLL_MSG): Likewise.
2403 (POLL_ERR): Likewise.
2404 (POLL_PRI): Likewise.
2405 (POLL_HUP): Likewise.
2406 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2407 (ILL_ILLOPN): Likewise.
2408 (ILL_ILLADR): Likewise.
2409 (ILL_ILLTRP): Likewise.
2410 (ILL_PRVOPC): Likewise.
2411 (ILL_PRVREG): Likewise.
2412 (ILL_COPROC): Likewise.
2413 (ILL_BADSTK): Likewise.
2414 (FPE_INTDIV): Likewise.
2415 (FPE_INTOVF): Likewise.
2416 (FPE_FLTDIV): Likewise.
2417 (FPE_FLTOVF): Likewise.
2418 (FPE_FLTUND): Likewise.
2419 (FPE_FLTRES): Likewise.
2420 (FPE_FLTINV): Likewise.
2421 (FPE_FLTSUB): Likewise.
2422 (SEGV_MAPERR): Likewise.
2423 (SEGV_ACCERR): Likewise.
2424 (BUS_ADRALN): Likewise.
2425 (BUS_ADRERR): Likewise.
2426 (BUS_OBJERR): Likewise.
2427 (BUS_MCEERR_AR): Likewise.
2428 (BUS_MCEERR_AO): Likewise.
2429 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2430 (TRAP_TRACE): Likewise.
2431 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2432 __USE_XOPEN2K8].
2433 (CLD_KILLED): Likewise.
2434 (CLD_DUMPED): Likewise.
2435 (CLD_TRAPPED): Likewise.
2436 (CLD_STOPPED): Likewise.
2437 (CLD_CONTINUED): Likewise.
2438 (POLL_IN): Likewise.
2439 (POLL_OUT): Likewise.
2440 (POLL_MSG): Likewise.
2441 (POLL_ERR): Likewise.
2442 (POLL_PRI): Likewise.
2443 (POLL_HUP): Likewise.
2444 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2445 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2446
bc61d27c
JM
2447 [BZ #16670]
2448 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2449 before #include of <time.h>.
2450 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2451 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2452 (test-xfail-UNIX98/sched.h/conform): Likewise.
2453
302949e2
MS
24542014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2455
2456 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2457 error absence of trapping exception support.
2458 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2459
a00f522a
JM
24602014-03-07 Joseph Myers <joseph@codesourcery.com>
2461
6f99f280
JM
2462 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2463 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2464 * timezone/Makefile (testdata): Move definition above include of
2465 Rules.
2466 (test-zones): New variable.
2467 (tests-special): Add zone files.
2468 (build-testdata): Use $(evaluate-test).
2469
0b20a9e8
JM
2470 * elf/Makefile (tests-special): Rename tests to end with .out.
2471 ($(objpfx)noload-mem): Likewise.
2472 ($(objpfx)tst-leaks1-mem): Likewise.
2473 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2474 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2475 $(objpfx)test-iconvconfig.out.
2476 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2477 set -e inside subshell and redirect output to file.
2478 * iconvdata/Makefile (generated): Rename tests to end with .out.
2479 Correct type.
2480 (tests-special): Rename tests to end with .out.
2481 ($(objpfx)mtrace-tst-loading): Likewise.
2482 * intl/Makefile (generated): Likewise.
2483 (tests-special): Likewise.
2484 ($(objpfx)mtrace-tst-gettext): Likewise.
2485 * misc/Makefile (generated): Likewise.
2486 (tests-special): Likewise.
2487 ($(objpfx)tst-error1-mem): Likewise.
2488 * nptl/Makefile (tests-special): Likewise.
2489 ($(objpfx)tst-stack3-mem): Likewise.
2490 (generated): Likewise.
2491 * posix/Makefile (generated): Likewise.
2492 (tests-special): Likewise.
2493 (xtests-special): Likewise.
2494 ($(objpfx)tst-fnmatch-mem): Likewise.
2495 ($(objpfx)bug-regex2-mem): Likewise.
2496 ($(objpfx)bug-regex14-mem): Likewise.
2497 ($(objpfx)bug-regex21-mem): Likewise.
2498 ($(objpfx)bug-regex31-mem): Likewise.
2499 ($(objpfx)tst-vfork3-mem): Likewise.
2500 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2501 ($(objpfx)tst-pcre-mem): Likewise.
2502 ($(objpfx)tst-boost-mem): Likewise.
2503 ($(objpfx)bug-ga2-mem): Likewise.
2504 ($(objpfx)bug-glob2-mem): Likewise.
2505 * resolv/Makefile (generate): Likewise.
2506 (tests-special): Likewise.
2507 (xtests-special): Likewise.
2508 (generated): Likewise.
2509 ($(objpfx)mtrace-tst-leaks): Likewise.
2510 ($(objpfx)mtrace-tst-leaks2): Likewise.
2511
265d52ab
JM
2512 * scripts/merge-test-results.sh: New file.
2513 * Makefile (tests-special-notdir): New variable.
2514 (tests): Run merge-test-results.sh.
2515 (xtests): Likewise.
2516 * Rules (tests-special-notdir): New variable.
2517 (xtests-special-notdir): Likewise.
2518 (tests): Run merge-test-results.sh
2519 (xtests): Likewise.
2520
54ee292d
JM
2521 * Makeconfig (test-xfail-name): New variable.
2522 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2523 compute variable name for expected failures.
2524 * conform/Makefile (conformtest-headers-data): New variable.
2525 (conformtest-standards): Likewise.
2526 (conformtest-headers-ISO): Likewise.
2527 (conformtest-headers-ISO99): Likewise.
2528 (conformtest-headers-ISO11): Likewise.
2529 (conformtest-headers-POSIX): Likewise.
2530 (conformtest-headers-XPG3): Likewise.
2531 (conformtest-headers-XPG4): Likewise.
2532 (conformtest-headers-UNIX98): Likewise.
2533 (conformtest-headers-XOPEN2K): Likewise.
2534 (conformtest-headers-POSIX2008): Likewise.
2535 (conformtest-headers-XOPEN2K8): Likewise.
2536 (conformtest-header-list-base): Likewise.
2537 (conformtest-header-list-tests): Likewise.
2538 (conformtest-header-base): Likewise.
2539 (conformtest-header-tests): Likewise.
2540 (tests-special): Add $(conformtest-header-list-tests). If
2541 [$(fast-check) && !$(cross-compiling)], add
2542 $(conformtest-header-tests) instead of
2543 $(objpfx)run-conformtest.out.
2544 (generated): Add $(conformtest-header-list-base). If
2545 [$(fast-check) && !$(cross-compiling)], add
2546 $(conformtest-header-base). Remove previous setting.
2547 ($(conformtest-header-list-tests)): New target.
2548 (test-xfail-run-conformtest): Remove variable.
2549 ($(objpfx)run-conformtest.out): Remove target.
2550 (test-xfail-ISO11/complex.h/conform): New variable.
2551 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2552 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2553 (test-xfail-XPG3/varargs.h/conform): Likewise.
2554 (test-xfail-XPG4/varargs.h/conform): Likewise.
2555 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2556 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2557 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2558 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2559 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2560 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2561 (test-xfail-XPG3/ftw.h/conform): Likewise.
2562 (test-xfail-XPG3/grp.h/conform): Likewise.
2563 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2564 (test-xfail-XPG3/limits.h/conform): Likewise.
2565 (test-xfail-XPG3/pwd.h/conform): Likewise.
2566 (test-xfail-XPG3/search.h/conform): Likewise.
2567 (test-xfail-XPG3/signal.h/conform): Likewise.
2568 (test-xfail-XPG3/stdio.h/conform): Likewise.
2569 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2570 (test-xfail-XPG3/string.h/conform): Likewise.
2571 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2572 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2573 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2574 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2575 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2576 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2577 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2578 (test-xfail-XPG3/termios.h/conform): Likewise.
2579 (test-xfail-XPG3/time.h/conform): Likewise.
2580 (test-xfail-XPG3/unistd.h/conform): Likewise.
2581 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2582 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2583 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2584 (test-xfail-XPG4/netdb.h/conform): Likewise.
2585 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2586 (test-xfail-XPG4/signal.h/conform): Likewise.
2587 (test-xfail-XPG4/stdio.h/conform): Likewise.
2588 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2589 (test-xfail-XPG4/stropts.h/conform): Likewise.
2590 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2591 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2592 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2593 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2594 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2595 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2596 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2597 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2598 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2599 (test-xfail-XPG4/termios.h/conform): Likewise.
2600 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2601 (test-xfail-XPG4/unistd.h/conform): Likewise.
2602 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2603 (test-xfail-POSIX/sched.h/conform): Likewise.
2604 (test-xfail-POSIX/signal.h/conform): Likewise.
2605 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2606 (test-xfail-POSIX/tar.h/conform): Likewise.
2607 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2608 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2609 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2610 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2611 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2612 (test-xfail-UNIX98/sched.h/conform): Likewise.
2613 (test-xfail-UNIX98/signal.h/conform): Likewise.
2614 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2615 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2616 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2617 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2618 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2619 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2620 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2621 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2622 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2623 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2624 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2625 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2626 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2627 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2628 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2629 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2630 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2631 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2632 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2633 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2634 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2635 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2636 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2637 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2638 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2639 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2640 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2641 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2642 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2643 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2644 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2645 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2646 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2647 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2648 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2649 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2650 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2651 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2652 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2653 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2654 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2655 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2656 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2657 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2658 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2659 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2660 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2661 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2662 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2663 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2664 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2665 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2666 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2667 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2668 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2669 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2670 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2671 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2672 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2673 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2674 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2675 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2676 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2677 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2678 (conformtest-cc-flags): Likewise.
2679 ($(conformtest-header-tests): New target.
2680 * conform/check-header-lists.sh: New file.
2681 * conform/run-conformtest.sh: Remove.
2682
a00f522a
JM
2683 * conform/conformtest.pl: Allow ' and \ in values given for
2684 constants.
2685 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2686 inclusion.
2687 [POSIX] (sys/types.h): Likewise.
2688 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2689 inclusion.
2690 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2691 inclusion.
2692 * conform/data/signal.h-data (SIGIO): Remove expectation.
2693 [XPG3] (SIGBUS): Do not expect.
2694 [POSIX || XPG3] (SIGPOLL): Likewise.
2695 [POSIX || XPG3] (SIGPROF): Likewise.
2696 [POSIX || XPG3] (SIGSYS): Likewise.
2697 [XPG3] (SIGTRAP): Likewise.
2698 [POSIX || XPG3] (SIGURG): Likewise.
2699 [POSIX || XPG3] (SIGVTALRM): Likewise.
2700 [POSIX || XPG3] (SIGXCPU): Likewise.
2701 [POSIX || XPG3] (SIGXFSZ): Likewise.
2702 [POSIX] (SA_SIGINFO): Expect.
2703 [XPG3] (siginfo_t): Do not expect type or contents.
2704 [POSIX] (si_pid): Do not expect element.
2705 [POSIX] (si_uid): Likewise.
2706 [POSIX] (si_addr): Likewise.
2707 [POSIX] (si_status): Likewise.
2708 [POSIX] (si_band): Likewise.
2709 [XPG4] (si_value): Likewise.
2710 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2711 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2712 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2713 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2714 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2715 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2716 [POSIX || XPG3] (ILL_COPROC): Likewise.
2717 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2718 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2719 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2720 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2721 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2722 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2723 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2724 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2725 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2726 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2727 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2728 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2729 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2730 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2731 [POSIX || XPG3] (CLD_EXITED): Likewise.
2732 [POSIX || XPG3] (CLD_KILLED): Likewise.
2733 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2734 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2735 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2736 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2737 [POSIX || XPG3] (POLL_IN): Likewise.
2738 [POSIX || XPG3] (POLL_OUT): Likewise.
2739 [POSIX || XPG3] (POLL_MSG): Likewise.
2740 [POSIX || XPG3] (POLL_ERR): Likewise.
2741 [POSIX || XPG3] (POLL_PRI): Likewise.
2742 [POSIX || XPG3] (POLL_HUP): Likewise.
2743 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2744 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2745 (SIG*): Do not allow.
2746 [XPG3] (si_*): Likewise.
2747 [XPG3] (SI_*): Likewise.
2748 [XPG3 || XPG4] (sigev_*): Likewise.
2749 [XPG3 || XPG4] (SIGEV_*): Likewise.
2750 [XPG3 || XPG4] (sival_*): Likewise.
2751 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2752 [POSIX || XPG3] (BUS_*): Likewise.
2753 [POSIX || XPG3] (CLD_*): Likewise.
2754 [POSIX || XPG3] (FPE_*): Likewise.
2755 [POSIX || XPG3] (ILL_*): Likewise.
2756 [POSIX || XPG3] (POLL_*): Likewise.
2757 [POSIX || XPG3] (SEGV_*): Likewise.
2758 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2759 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2760 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2761 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2762 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2763 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2764 Specify type and value.
2765 (TVERSLEN): Likewise.
2766 (REGTYPE): Likewise.
2767 (AREGTYPE): Likewise.
2768 (LNKTYPE): Likewise.
2769 (SYMTYPE): Likewise.
2770 (CHRTYPE): Likewise.
2771 (BLKTYPE): Likewise.
2772 (DIRTYPE): Likewise.
2773 (FIFOTYPE): Likewise.
2774 (CONTTYPE): Likewise.
2775 (TSUID): Likewise.
2776 (TSGID): Likewise.
2777 (TSVTX): Likewise.
2778 (TUREAD): Likewise.
2779 (TUWRITE): Likewise.
2780 (TUEXEC): Likewise.
2781 (TGREAD): Likewise.
2782 (TGWRITE): Likewise.
2783 (TGEXEC): Likewise.
2784 (TOREAD): Likewise.
2785 (TOWRITE): Likewise.
2786 (TOEXEC): Likewise.
2787 [POSIX] (TSVTX): Expect constant.
2788
aa97dee1
JM
27892014-03-06 Joseph Myers <joseph@codesourcery.com>
2790
f214606a
JM
2791 * Makefile (tests): Change dependencies to ....
2792 (tests-special): ... additions to this variable.
2793 (tests): Depend on $(tests-special).
2794 * Makerules (check-abi-list): New variable.
2795 (check-abi): Depend on $(check-abi-list).
2796 [$(subdir) = elf] (tests-special): Add
2797 $(objpfx)check-abi-libc.out.
2798 [$(build-shared) = yes && subdir] (tests-special): Add
2799 $(check-abi-list).
2800 [$(build-shared) = yes && subdir] (tests): Do not depend on
2801 check-abi.
2802 * Rules (tests): Depend on $(tests-special).
2803 (xtests): Depend on $(xtests-special).
2804 * catgets/Makefile (tests): Change dependencies to ....
2805 (tests-special): ... additions to this variable.
2806 * conform/Makefile (tests): Change dependencies to ....
2807 (tests-special): ... additions to this variable.
2808 * elf/Makefile (tests): Change dependencies to ....
2809 (tests-special): ... additions to this variable.
2810 * grp/Makefile (tests): Change dependencies to ....
2811 (tests-special): ... additions to this variable.
2812 * iconv/Makefile (xtests): Change dependencies to ....
2813 (xtests-special): ... additions to this variable.
2814 * iconvdata/Makefile (tests): Change dependencies to ....
2815 (tests-special): ... additions to this variable.
2816 * intl/Makefile (tests): Change dependencies to ....
2817 (tests-special): ... additions to this variable. Also add
2818 $(objpfx)tst-gettext.out.
2819 * io/Makefile (tests): Change dependencies to ....
2820 (tests-special): ... additions to this variable.
2821 * libio/Makefile (tests): Change dependencies to ....
2822 (tests-special): ... additions to this variable.
2823 * malloc/Makefile (tests): Change dependencies to ....
2824 (tests-special): ... additions to this variable.
2825 * misc/Makefile (tests): Change dependencies to ....
2826 (tests-special): ... additions to this variable.
2827 * nptl/Makefile (tests): Change dependencies to ....
2828 (tests-special): ... additions to this variable.
2829 * nptl_db/Makefile (tests): Change dependencies to ....
2830 (tests-special): ... additions to this variable.
2831 * posix/Makefile (tests): Change dependencies to ....
2832 (tests-special): ... additions to this variable.
2833 (xtests): Change dependencies to ....
2834 (xtests-special): ... additions to this variable.
2835 * resolv/Makefile (tests): Change dependencies to ....
2836 (tests-special): ... additions to this variable.
2837 (xtests): Change dependencies to ....
2838 (xtests-special): ... additions to this variable.
2839 * stdio-common/Makefile (tests): Change dependencies to ....
2840 (tests-special): ... additions to this variable.
2841 (do-tst-unbputc): Remove target.
2842 (do-tst-printf): Likewise.
2843 * stdlib/Makefile (tests): Change dependencies to ....
2844 (tests-special): ... additions to this variable.
2845 * string/Makefile (tests): Change dependencies to ....
2846 (tests-special): ... additions to this variable.
2847 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2848 (tests-special): ... additions to this variable.
2849
81700b53
JM
2850 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2851 whole file.
2852 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2853 whole file.
2854 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2855 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2856
2ea18461
JM
2857 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2858 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2859 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2860 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2861 * conform/data/libgen.h-data [XPG3]: Likewise.
2862 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2863 * conform/data/ndbm.h-data [XPG3]: Likewise.
2864 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2865 * conform/data/netdb.h-data [XPG3]: Likewise.
2866 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2867 * conform/data/poll.h-data [XPG3]: Likewise.
2868 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2869 * conform/data/strings.h-data [XPG3]: Likewise.
2870 * conform/data/stropts.h-data [XPG3]: Likewise.
2871 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2872 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2873 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2874 Likewise.
2875 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2876 * conform/data/sys/time.h-data [XPG3]: Likewise.
2877 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2878 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2879 * conform/data/sys/un.h-data [XPG3]: Likewise.
2880 * conform/data/syslog.h-data [XPG3]: Likewise.
2881 * conform/data/ucontext.h-data [XPG3]: Likewise.
2882 * conform/data/utmpx.h-data [XPG3]: Likewise.
2883 * conform/data/varargs.h-data [UNIX98]: Enable file.
2884
355bc986
JM
2885 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2886
215db402
JM
2887 * math/libm-test.inc (struct test_f_f_data): Move expected results
2888 into structure for each rounding mode.
2889 (struct test_ff_f_data): Likewise.
2890 (struct test_ff_f_data_nexttoward): Likewise.
2891 (struct test_fi_f_data): Likewise.
2892 (struct test_fl_f_data): Likewise.
2893 (struct test_if_f_data): Likewise.
2894 (struct test_fff_f_data): Likewise.
2895 (struct test_c_f_data): Likewise.
2896 (struct test_f_f1_data): Likewise.
2897 (struct test_fF_f1_data): Likewise.
2898 (struct test_ffI_f1_data): Likewise.
2899 (struct test_c_c_data): Likewise.
2900 (struct test_cc_c_data): Likewise.
2901 (struct test_f_i_data): Likewise.
2902 (struct test_ff_i_data): Likewise.
2903 (struct test_f_l_data): Likewise.
2904 (struct test_f_L_data): Likewise.
2905 (struct test_fFF_11_data): Likewise.
2906 (RM_): New macro.
2907 (RM_FE_DOWNWARD): Likewise.
2908 (RM_FE_TONEAREST): Likewise.
2909 (RM_FE_TOWARDZERO): Likewise.
2910 (RM_FE_UPWARD): Likewise.
2911 (RUN_TEST_LOOP_f_f): Update references to expected results.
2912 (RUN_TEST_LOOP_2_f): Likewise.
2913 (RUN_TEST_LOOP_fff_f): Likewise.
2914 (RUN_TEST_LOOP_c_f): Likewise.
2915 (RUN_TEST_LOOP_f_f1): Likewise.
2916 (RUN_TEST_LOOP_fF_f1): Likewise.
2917 (RUN_TEST_LOOP_fI_f1): Likewise.
2918 (RUN_TEST_LOOP_ffI_f1): Likewise.
2919 (RUN_TEST_LOOP_c_c): Likewise.
2920 (RUN_TEST_LOOP_cc_c): Likewise.
2921 (RUN_TEST_LOOP_f_i): Likewise.
2922 (RUN_TEST_LOOP_f_i_tg): Likewise.
2923 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2924 (RUN_TEST_LOOP_f_b): Likewise.
2925 (RUN_TEST_LOOP_f_b_tg): Likewise.
2926 (RUN_TEST_LOOP_f_l): Likewise.
2927 (RUN_TEST_LOOP_f_L): Likewise.
2928 (RUN_TEST_LOOP_fFF_11): Likewise.
2929 * math/gen-libm-test.pl (parse_args): Output four copies of
2930 expected results for each test.
2931
67737b8f
JM
2932 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2933 (__ASSUME_UTIMES): Remove.
2934 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2935 (__ASSUME_UTIMES): Likewise.
2936
aa97dee1
JM
2937 * math/gen-auto-libm-tests.c: Update comment on output format.
2938 (output_for_one_input_case): Generate before-rounding and
2939 after-rounding information as conditions on output flags not
2940 floating-point format.
2941 * math/auto-libm-test-out: Regenerated.
2942 * math/gen-libm-test.pl (cond_value): New function.
2943 (or_cond_value): Use cond_value.
2944 (generate_testfile): Handle conditional exceptions.
2945
e6b6a857
JM
29462014-03-05 Joseph Myers <joseph@codesourcery.com>
2947
2f0a0f44
JM
2948 * math/libm-test.inc (max_valid_error): New variable.
2949 (init_max_error): Take new argument specifying whether function
2950 results are exactly determined. Set max_valid_error and bound
2951 other variables for errors based on this argument.
2952 (set_max_error): Do not record results above max_valid_error.
2953 (check_float_internal): Only accept errors of up to 0.5ulps if
2954 also at most max_valid_error.
2955 (START): Take new argument EXACT and pass it to init_max_error.
2956 (acos_test): Update call to START.
2957 (acos_test_tonearest): Likewise.
2958 (acos_test_towardzero): Likewise.
2959 (acos_test_downward): Likewise.
2960 (acos_test_upward): Likewise.
2961 (acosh_test): Likewise.
2962 (asin_test): Likewise.
2963 (asin_test_tonearest): Likewise.
2964 (asin_test_towardzero): Likewise.
2965 (asin_test_downward): Likewise.
2966 (asin_test_upward): Likewise.
2967 (asinh_test): Likewise.
2968 (atan_test): Likewise.
2969 (atanh_test): Likewise.
2970 (atan2_test): Likewise.
2971 (cabs_test): Likewise.
2972 (cacos_test): Likewise.
2973 (cacosh_test): Likewise.
2974 (carg_test): Likewise.
2975 (casin_test): Likewise.
2976 (casinh_test): Likewise.
2977 (catan_test): Likewise.
2978 (catanh_test): Likewise.
2979 (cbrt_test): Likewise.
2980 (ccos_test): Likewise.
2981 (ccosh_test): Likewise.
2982 (ceil_test): Likewise.
2983 (cexp_test): Likewise.
2984 (cimag_test): Likewise.
2985 (clog_test): Likewise.
2986 (clog10_test): Likewise.
2987 (conj_test): Likewise.
2988 (copysign_test): Likewise.
2989 (cos_test): Likewise.
2990 (cos_test_tonearest): Likewise.
2991 (cos_test_towardzero): Likewise.
2992 (cos_test_downward): Likewise.
2993 (cos_test_upward): Likewise.
2994 (cosh_test): Likewise.
2995 (cosh_test_tonearest): Likewise.
2996 (cosh_test_towardzero): Likewise.
2997 (cosh_test_downward): Likewise.
2998 (cosh_test_upward): Likewise.
2999 (cpow_test): Likewise.
3000 (cproj_test): Likewise.
3001 (creal_test): Likewise.
3002 (csin_test): Likewise.
3003 (csinh_test): Likewise.
3004 (csqrt_test): Likewise.
3005 (ctan_test): Likewise.
3006 (ctan_test_tonearest): Likewise.
3007 (ctan_test_towardzero): Likewise.
3008 (ctan_test_downward): Likewise.
3009 (ctan_test_upward): Likewise.
3010 (ctanh_test): Likewise.
3011 (ctanh_test_tonearest): Likewise.
3012 (ctanh_test_towardzero): Likewise.
3013 (ctanh_test_downward): Likewise.
3014 (ctanh_test_upward): Likewise.
3015 (erf_test): Likewise.
3016 (erfc_test): Likewise.
3017 (exp_test): Likewise.
3018 (exp_test_tonearest): Likewise.
3019 (exp_test_towardzero): Likewise.
3020 (exp_test_downward): Likewise.
3021 (exp_test_upward): Likewise.
3022 (exp10_test): Likewise.
3023 (exp10_test_tonearest): Likewise.
3024 (exp10_test_towardzero): Likewise.
3025 (exp10_test_downward): Likewise.
3026 (exp10_test_upward): Likewise.
3027 (pow10_test): Likewise.
3028 (exp2_test): Likewise.
3029 (expm1_test): Likewise.
3030 (expm1_test_tonearest): Likewise.
3031 (expm1_test_towardzero): Likewise.
3032 (expm1_test_downward): Likewise.
3033 (expm1_test_upward): Likewise.
3034 (fabs_test): Likewise.
3035 (fdim_test): Likewise.
3036 (floor_test): Likewise.
3037 (fma_test): Likewise.
3038 (fma_test_towardzero): Likewise.
3039 (fma_test_downward): Likewise.
3040 (fma_test_upward): Likewise.
3041 (fmax_test): Likewise.
3042 (fmin_test): Likewise.
3043 (fmod_test): Likewise.
3044 (fpclassify_test): Likewise.
3045 (frexp_test): Likewise.
3046 (hypot_test): Likewise.
3047 (ilogb_test): Likewise.
3048 (isfinite_test): Likewise.
3049 (finite_test): Likewise.
3050 (isgreater_test): Likewise.
3051 (isgreaterequal_test): Likewise.
3052 (isinf_test): Likewise.
3053 (isless_test): Likewise.
3054 (islessequal_test): Likewise.
3055 (islessgreater_test): Likewise.
3056 (isnan_test): Likewise.
3057 (isnormal_test): Likewise.
3058 (issignaling_test): Likewise.
3059 (isunordered_test): Likewise.
3060 (j0_test): Likewise.
3061 (j1_test): Likewise.
3062 (jn_test): Likewise.
3063 (ldexp_test): Likewise.
3064 (lgamma_test): Likewise.
3065 (gamma_test): Likewise.
3066 (lrint_test): Likewise.
3067 (lrint_test_tonearest): Likewise.
3068 (lrint_test_towardzero): Likewise.
3069 (lrint_test_downward): Likewise.
3070 (lrint_test_upward): Likewise.
3071 (llrint_test): Likewise.
3072 (llrint_test_tonearest): Likewise.
3073 (llrint_test_towardzero): Likewise.
3074 (llrint_test_downward): Likewise.
3075 (llrint_test_upward): Likewise.
3076 (log_test): Likewise.
3077 (log10_test): Likewise.
3078 (log1p_test): Likewise.
3079 (log2_test): Likewise.
3080 (logb_test): Likewise.
3081 (logb_test_downward): Likewise.
3082 (lround_test): Likewise.
3083 (llround_test): Likewise.
3084 (modf_test): Likewise.
3085 (nearbyint_test): Likewise.
3086 (nextafter_test): Likewise.
3087 (nexttoward_test): Likewise.
3088 (pow_test): Likewise.
3089 (pow_test_tonearest): Likewise.
3090 (pow_test_towardzero): Likewise.
3091 (pow_test_downward): Likewise.
3092 (pow_test_upward): Likewise.
3093 (remainder_test): Likewise.
3094 (drem_test): Likewise.
3095 (remainder_test_tonearest): Likewise.
3096 (drem_test_tonearest): Likewise.
3097 (remainder_test_towardzero): Likewise.
3098 (drem_test_towardzero): Likewise.
3099 (remainder_test_downward): Likewise.
3100 (drem_test_downward): Likewise.
3101 (remainder_test_upward): Likewise.
3102 (drem_test_upward): Likewise.
3103 (remquo_test): Likewise.
3104 (rint_test): Likewise.
3105 (rint_test_tonearest): Likewise.
3106 (rint_test_towardzero): Likewise.
3107 (rint_test_downward): Likewise.
3108 (rint_test_upward): Likewise.
3109 (round_test): Likewise.
3110 (scalb_test): Likewise.
3111 (scalbn_test): Likewise.
3112 (scalbln_test): Likewise.
3113 (signbit_test): Likewise.
3114 (sin_test): Likewise.
3115 (sin_test_tonearest): Likewise.
3116 (sin_test_towardzero): Likewise.
3117 (sin_test_downward): Likewise.
3118 (sin_test_upward): Likewise.
3119 (sincos_test): Likewise.
3120 (sinh_test): Likewise.
3121 (sinh_test_tonearest): Likewise.
3122 (sinh_test_towardzero): Likewise.
3123 (sinh_test_downward): Likewise.
3124 (sinh_test_upward): Likewise.
3125 (sqrt_test): Likewise.
3126 (sqrt_test_tonearest): Likewise.
3127 (sqrt_test_towardzero): Likewise.
3128 (sqrt_test_downward): Likewise.
3129 (sqrt_test_upward): Likewise.
3130 (tan_test): Likewise.
3131 (tan_test_tonearest): Likewise.
3132 (tan_test_towardzero): Likewise.
3133 (tan_test_downward): Likewise.
3134 (tan_test_upward): Likewise.
3135 (tanh_test): Likewise.
3136 (tgamma_test): Likewise.
3137 (trunc_test): Likewise.
3138 (y0_test): Likewise.
3139 (y1_test): Likewise.
3140 (yn_test): Likewise.
3141 (significand_test): Likewise.
3142
e6b6a857
JM
3143 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3144 individual tests in comment.
3145 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3146 (prev_max_error): New variable.
3147 (prev_real_max_error): Likewise.
3148 (prev_imag_max_error): Likewise.
3149 (compare_ulp_data): Don't refer to test names in comment.
3150 (find_test_ulps): Remove function.
3151 (find_function_ulps): Likewise.
3152 (find_complex_function_ulps): Likewise.
3153 (init_max_error): Take function name as argument. Look up ulps
3154 for that function.
3155 (print_ulps): Remove function.
3156 (print_max_error): Use prev_max_error instead of calling
3157 find_function_ulps.
3158 (print_complex_max_error): Use prev_real_max_error and
3159 prev_imag_max_error instead of calling find_complex_function_ulps.
3160 (check_float_internal): Take max_ulp parameter instead of calling
3161 find_test_ulps. Don't call print_ulps.
3162 (check_float): Update call to check_float_internal.
3163 (check_complex): Update calls to check_float_internal.
3164 (START): Pass argument to init_max_error.
3165 * math/gen-libm-test.pl (%results): Don't include "kind"
3166 information.
3167 (parse_ulps): Don't handle ulps of individual tests.
3168 (print_ulps_file): Likewise.
3169 (output_ulps): Likewise.
3170 * math/README.libm-test: Update.
3171 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3172 individual tests.
3173 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3174 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3175 * sysdeps/arm/libm-test-ulps: Likewise.
3176 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3177 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3178 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3179 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3180 * sysdeps/microblaze/libm-test-ulps: Likewise.
3181 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3182 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3183 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3184 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3185 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3186 * sysdeps/sh/libm-test-ulps: Likewise.
3187 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3188 * sysdeps/tile/libm-test-ulps: Likewise.
3189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3190
45adef3c
JM
31912014-03-04 Joseph Myers <joseph@codesourcery.com>
3192
3193 * math/libm-test.inc (print_complex_max_error): Check separately
3194 whether real and imaginary errors are within allowed range and
3195 pass 0 to print_complex_function_ulps instead of value within
3196 allowed range.
3197
000232b9
SP
31982014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3199
d4b17258
SP
3200 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3201 formatting.
3202 (get_handles_fopen): Likewise.
3203 (do_write_test): Likewise.
3204
091eff71
SP
3205 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3206
fa3cd248
SP
3207 * libio/fileops.c (do_ftell): Use cached offset when
3208 available.
3209 * libio/iofwide.c (do_ftell_wide): Likewise.
3210 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3211 _IO_file_attach.
3212 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3213
000232b9
SP
3214 [BZ #16532]
3215 * libio/libioP.h (get_file_offset): New function.
3216 * libio/fileops.c (get_file_offset): Likewise.
3217 (do_ftell): Likewise.
3218 (_IO_new_file_seekoff): Split out ftell logic.
3219 * libio/wfileops.c (do_ftell_wide): Likewise.
3220 (_IO_wfile_seekoff): Split out ftell logic.
3221 * libio/tst-ftell-active-handler.c: New test case.
3222 * libio/Makefile (tests): Add it.
3223
116f4d1a
RM
32242014-03-03 Roland McGrath <roland@hack.frob.com>
3225
3226 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3227 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3228
532a6035
SP
32292014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3230
3231 [BZ #16639]
3232 * nscd/connections.c (nscd_init): Call do_exit.
3233 (start_threads): Call do_exit and notify_parent.
3234 (begin_drop_privileges): Call do_exit.
3235 (finish_drop_privileges): Likewise.
3236 * nscd/selinux.c (preserve_capabilities): Likewise.
3237 (install_real_capabilities): Likewise.
3238 (nscd_selinux_enabled): Likewise.
3239 (avc_create_thread): Likewise.
3240 (avc_alloc_lock): Likewise.
3241 (nscd_avc_init): Likewise.
3242 * nscd/nscd.c (parent_fd): New static variable.
3243 (main): Create a pipe between parent and child processes.
3244 Skip closing parent_fd.
3245 (monitor_child): New function.
3246 (do_exit): Likewise.
3247 (notify_parent): Likewise.
3248 * nscd/nscd.h (notify_parent): Likewise.
3249 (do_exit): Likewise.
3250
d6285c9f
CD
32512014-03-03 Carlos O'Donell <carlos@redhat.com>
3252
3253 * malloc/malloc.c (__libc_calloc): Revert last change.
3254
2b85d2a0
AZ
32552014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3256
3257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3258
c7debbdf
RS
32592014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3260
3261 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3263 implementation.
3264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3265 (__libc_ifunc_impl_list): Likewise.
3266 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3267 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3268 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3269 * string/strrchr.c: Define STRRCHR.
3270
235eed86
OB
32712014-02-28 Ondřej Bílka <neleai@seznam.cz>
3272
3273 * benchtest/bench-strtok.c (simple_strtok): Delete.
3274 (strtok_string): Use as benchmark.
3275 * string/strtok (STRTOK): New macro.
3276
8e25d1e7
CD
32772014-02-28 Carlos O'Donell <carlos@redhat.com>
3278
ef563f92
CD
3279 * manual/threads.texi: Add header and standard comments to all
3280 functions.
3281
8e25d1e7
CD
3282 * elf/dl-lookup.c (check_match): New function.
3283 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3284 (do_lookup_x): Remove nested function check_match. Use non-nested
3285 function check_match.
3286
ff71cc37
RM
32872014-02-28 Roland McGrath <roland@hack.frob.com>
3288
f08e9a26
RM
3289 * csu/Makefile (generated, before-compile): Use += rather than =.
3290 * catgets/Makefile (generated, generated-dirs): Likewise.
3291 * debug/Makefile (generated): Likewise.
3292 * dlfcn/Makefile (generated): Likewise.
3293 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3294 * iconvdata/Makefile (before-compile, generated): Likewise.
3295 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3296 * libio/Makefile (generated): Likewise.
3297 * malloc/Makefile (generated): Likewise.
3298 * manual/Makefile (generated, generated-dirs): Likewise.
3299 * misc/Makefile (generated): Likewise.
3300 * posix/Makefile (generated): Likewise.
3301 * resolv/Makefile (generated): Likewise.
3302 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3303 * timezone/Makefile (generated, generated-dirs): Likewise.
3304
ff71cc37
RM
3305 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3306
fe13a20c
AZ
33072014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3308
57f41c40
AS
3309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3310 power8 implementation.
3311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3312 file: POWER8 llround ifunc implementation.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3314 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3315 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3316 POWER8 llround implementation.
3317
57f41c40
AS
3318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3319 power8 implementation.
3320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3321 file: POWER8 llrint ifunc implementation.
3322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3323 Add POWER8 implementation.
1ad8950a
AZ
3324 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3325 POWER8 llrint implementation.
3326
57f41c40
AS
3327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3328 power8 implementation.
3329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3330 file: POWER8 finite ifunc implementation.
3331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3332 Add POWER8 implementation.
cac626d6
AZ
3333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3334 Likewise.
3335 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3336 POWER8 finite implementation.
3337 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3338
57f41c40
AS
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3340 power8 implementation.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3342 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3344 POWER8 implementation.
3345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3346 Likewise.
57f41c40
AS
3347 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3348 isinf implementation.
4393fc11
AZ
3349 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3350
57f41c40
AS
3351 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3352 (INIT_ARCH): Add hwcap2 initialization.
3353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3354 power8 implementation.
3355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3356 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3358 POWER8 implementation.
3359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3360 Likewise.
57f41c40
AS
3361 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3362 isnan implementation.
487972ae
AZ
3363 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3364
7d92b787
JY
33652014-02-27 Joey Ye <joey.ye@arm.com>
3366
3367 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3368 (_FP_NANFRAC_Q): Set to zero.
3369
1cadc858
SP
33702014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
3372 [BZ #16623]
3373 * math/auto-libm-test-in: New test inputs.
3374 * math/auto-libm-test-out: Regenerate.
3375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3376 and DA.
3377 (__cos): Likewise.
3378 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3379
f8c17e79
JM
33802014-02-27 Joseph Myers <joseph@codesourcery.com>
3381
3382 * scripts/evaluate-test.sh: Take new argument indicating whether
3383 failure is expected.
3384 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3385 indicating whether failure is expected.
3386 * conform/Makefile (test-xfail-run-conformtest): New variable.
3387 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3388 level.
3389 * posix/Makefile (test-xfail-annexc): New variable.
3390 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3391
a5f891ac
JM
33922014-02-26 Joseph Myers <joseph@codesourcery.com>
3393
3394 * argp/Makefile: Include Makeconfig immediately after defining
3395 subdir.
3396 * assert/Makefile: Likewise.
3397 * benchtests/Makefile: Likewise.
3398 * catgets/Makefile: Likewise.
3399 * conform/Makefile: Likewise.
3400 * crypt/Makefile: Likewise.
3401 * csu/Makefile: Likewise.
3402 (all): Remove target.
3403 * ctype/Makefile: Include Makeconfig immediately after defining
3404 subdir.
3405 * debug/Makefile: Likewise.
3406 * dirent/Makefile: Likewise.
3407 * dlfcn/Makefile: Likewise.
3408 * gmon/Makefile: Likewise.
3409 * gnulib/Makefile: Likewise.
3410 * grp/Makefile: Likewise.
3411 * gshadow/Makefile: Likewise.
3412 * hesiod/Makefile: Likewise.
3413 * hurd/Makefile: Likewise.
3414 (all): Remove target.
3415 * iconvdata/Makefile: Include Makeconfig immediately after
3416 defining subdir.
3417 * inet/Makefile: Likewise.
3418 * intl/Makefile: Likewise.
3419 * io/Makefile: Likewise.
3420 * libio/Makefile: Likewise.
3421 (all): Remove target.
3422 * locale/Makefile: Include Makeconfig immediately after defining
3423 subdir.
3424 * login/Makefile: Likewise.
3425 * mach/Makefile: Likewise.
3426 (all): Remove target.
3427 * malloc/Makefile: Include Makeconfig immediately after defining
3428 subdir.
3429 (all): Remove target.
3430 * manual/Makefile: Include Makeconfig immediately after defining
3431 subdir.
3432 * math/Makefile: Likewise.
3433 * misc/Makefile: Likewise.
3434 * nis/Makefile: Likewise.
3435 * nss/Makefile: Likewise.
3436 * po/Makefile: Likewise.
3437 (all): Remove target.
3438 * posix/Makefile: Include Makeconfig immediately after defining
3439 subdir.
3440 * pwd/Makefile: Likewise.
3441 * resolv/Makefile: Likewise.
3442 * resource/Makefile: Likewise.
3443 * rt/Makefile: Likewise.
3444 * setjmp/Makefile: Likewise.
3445 * shadow/Makefile: Likewise.
3446 * signal/Makefile: Likewise.
3447 * socket/Makefile: Likewise.
3448 * soft-fp/Makefile: Likewise.
3449 * stdio-common/Makefile: Likewise.
3450 * stdlib/Makefile: Likewise.
3451 * streams/Makefile: Likewise.
3452 * string/Makefile: Likewise.
3453 * sunrpc/Makefile: Likewise.
3454 (all): Remove target.
3455 * sysvipc/Makefile: Include Makeconfig immediately after defining
3456 subdir.
3457 * termios/Makefile: Likewise.
3458 * time/Makefile: Likewise.
3459 * timezone/Makefile: Likewise.
3460 (all): Remove target.
3461 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3462 subdir.
3463 * wctype/Makefile: Likewise.
3464
5b456e9d
SE
34652014-02-26 Steve Ellcey <sellcey@mips.com>
3466
3467 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3468 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3469 (libc_feholdexcept_setround_mips): Ditto.
3470 (libc_feholdsetround): New.
3471 (libc_feholdsetroundf): New.
3472 (libc_feholdsetroundl): New.
3473 (libc_feupdateenv_test_mips): New.
3474 (libc_feupdateenv_test): New.
3475 (libc_feupdateenv_testf): New.
3476 (libc_feupdateenv_testl): New.
3477 (libc_feresetround): New.
3478 (libc_feresetroundf): New.
3479 (libc_feresetroundl): New.
3480 (libc_fetestexcept_mips): New.
3481 (libc_fetestexcept): New.
3482 (libc_fetestexceptf): New.
3483 (libc_fetestexceptl): New.
3484 (HAVE_RM_CTX): New.
3485 (libc_feholdexcept_setround_mips_ctx): New.
3486 (libc_feholdexcept_setround_ctx): New.
3487 (libc_feholdexcept_setroundf_ctx): New.
3488 (libc_feholdexcept_setroundl_ctx): New.
3489 (libc_fesetenv_mips_ctx): New.
3490 (libc_fesetenv_ctx): New.
3491 (libc_fesetenv_ctxf): New.
3492 (libc_fesetenv_ctxl): New.
3493 (libc_feupdateenv_mips_ctx): New.
3494 (libc_feupdateenv_ctx): New.
3495 (libc_feupdateenvf_ctx): New.
3496 (libc_feupdateenvl_ctx): New.
3497 (libc_feholdsetround_mips_ctx): New.
3498 (libc_feholdsetround_ctx): New.
3499 (libc_feholdsetroundf_ctx): New.
3500 (libc_feholdsetroundl_ctx): New.
3501 (libc_feresetround_mips_ctx): New.
3502 (libc_feresetround_ctx): New.
3503 (libc_feresetroundf_ctx): New.
3504 (libc_feresetroundl_ctx): New.
3505
085d0e35
CD
35062014-02-26 Carlos O'Donell <carlos@redhat.com>
3507
f067bf1f
CD
3508 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3509
085d0e35
CD
3510 * manual/ipc.texi: New file.
3511 * manual/Makefile (chapters): Add ipc.
3512 * manual/job.texi: Add "Inter-Process Communication" to next.
3513 * manual/process.texi: Add "Inter-Process Communication" to prev.
3514
86e58c08
AZ
35152014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3516
3517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3518
4248f0da
OB
35192014-02-26 Ondřej Bílka <neleai@seznam.cz>
3520
3521 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3522
cf822e3c
OB
3523 * manual/arith.texi: Fix spaces after sentences.
3524 * manual/charset.texi: Likewise.
3525 * manual/errno.texi: Likewise.
3526 * manual/install.texi: Likewise.
3527 * manual/llio.texi: Likewise.
3528 * manual/locale.texi: Likewise.
3529 * manual/maint.texi: Likewise.
3530 * manual/math.texi: Likewise.
3531 * manual/memory.texi: Likewise.
3532 * manual/message.texi: Likewise.
3533 * manual/probes.texi: Likewise.
3534 * manual/resource.texi: Likewise.
3535 * manual/signal.texi: Likewise.
3536 * manual/socket.texi: Likewise.
3537 * manual/stdio.texi: Likewise.
3538 * manual/string.texi: Likewise.
3539 * manual/time.texi: Likewise.
3540 * manual/users.texi: Likewise.
3541
ade40b10
CD
35422014-02-25 Carlos O'Donell <carlos@redhat.com>
3543
3544 [BZ #16632]
3545 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3546 _DEFAULT_SOURCE is defined.
3547
d0503676
CD
35482014-02-25 Ulrich Drepper <drepper@gmail.com>
3549 Carlos O'Donell <carlos@redhat.com>
3550
3551 [BZ #16613]
3552 * elf/dl-tls.c (_dl_count_modids): New function.
3553 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3554 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3555 audit library and increment generation counter.
3556 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3557 * elf/tst-audit9.c: New file.
3558 * elf/tst-auditmod9a.c: New file.
3559 * elf/tst-auditmod9b.c: New file.
3560 * elf/Makefile: Add rules to build and run tst-audit9.
3561
4cbf380c
FW
35622014-02-25 Florian Weimer <fweimer@redhat.com>
3563
3564 [BZ #15347]
3565 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3566
80a56cc3
WN
35672014-02-25 Will Newton <will.newton@linaro.org>
3568
3569 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3570 (__longjmp): Restore sp and lr before restoring callee
3571 saved registers. Add longjmp and longjmp_target
3572 SystemTap probe point.
3573 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3574 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3575 Define to zero to match jmpbuf layout.
3576 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3577 (__sigsetjmp): Save sp and lr before saving callee
3578 saved registers. Add setjmp SystemTap probe point.
3579
3ea0f74e
SL
35802014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3581
3582 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3583
b04acb26
AS
35842014-02-24 Andreas Schwab <schwab@suse.de>
3585
3586 [BZ #15804]
3587 * elf/pldd.c (wait_for_ptrace_stop): New function.
3588 (main): Call it after attaching.
3589
098ad55c
RM
35902014-02-22 Roland McGrath <roland@hack.frob.com>
3591
d4ec6ae1
RM
3592 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3593 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3594 Versions files is now verboten.
3595 * hurd/Versions (libc: GLIBC_2.0):
3596 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3597 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3598 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3599 * mach/Versions: Likewise.
3600
098ad55c
RM
3601 * csu/Versions: Remove unused %include.
3602 * resolv/Versions: Likewise.
3603
acd7f096
JM
36042014-02-21 Joseph Myers <joseph@codesourcery.com>
3605
f0881698
JM
3606 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3607 ($(objpfx)check-local-headers.out): Likewise.
3608 ($(objpfx)begin-end-check.out): Likewise.
3609 * Makerules (check-abi-%.out): Likewise.
3610 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3611 ($(objpfx)test2.cat): Likewise.
3612 ($(objpfx)de/libc.cat): Likewise.
3613 ($(objpfx)test-gencat.out): Likewise.
3614 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3615 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3616 ($(objpfx)noload-mem): Likewise.
3617 ($(objpfx)tst-pathopt.out): Likewise.
3618 ($(objpfx)tst-rtld-load-self.out): Likewise.
3619 ($(objpfx)tst-array1-cmp.out): Likewise.
3620 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3621 ($(objpfx)tst-array2-cmp.out): Likewise.
3622 ($(objpfx)tst-array3-cmp.out): Likewise.
3623 ($(objpfx)tst-array4-cmp.out): Likewise.
3624 ($(objpfx)tst-array5-cmp.out): Likewise.
3625 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3626 ($(objpfx)check-textrel.out): Likewise.
3627 ($(objpfx)check-execstack.out): Likewise.
3628 ($(objpfx)check-localplt.out): Likewise.
3629 ($(objpfx)order2-cmp.out): Likewise.
3630 ($(objpfx)tst-leaks1-mem): Likewise.
3631 ($(objpfx)tst-leaks1-static-mem): Likewise.
3632 ($(objpfx)tst-initorder-cmp.out): Likewise.
3633 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3634 ($(objpfx)tst-unused-dep.out): Likewise.
3635 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3636 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3637 * iconv/Makefile (test-iconvconfig): Likewise.
3638 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3639 ($(objpfx)iconv-test.out): Likewise.
3640 ($(objpfx)tst-tables.out): Likewise.
3641 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3642 ($(objpfx)tst-gettext.out): Likewise.
3643 ($(objpfx)tst-translit.out): Likewise.
3644 ($(objpfx)tst-gettext2.out): Likewise.
3645 ($(objpfx)tst-gettext4.out): Likewise.
3646 ($(objpfx)tst-gettext6.out): Likewise.
3647 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3648 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3649 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3650 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3651 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3652 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3653 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3654 ($(objpfx)wordexp-tst.out): Likewise.
3655 ($(objpfx)annexc.out): Likewise.
3656 ($(objpfx)tst-fnmatch-mem): Likewise.
3657 ($(objpfx)bug-regex2-mem): Likewise.
3658 ($(objpfx)bug-regex14-mem): Likewise.
3659 ($(objpfx)bug-regex21-mem): Likewise.
3660 ($(objpfx)bug-regex31-mem): Likewise.
3661 ($(objpfx)tst-vfork3-mem): Likewise.
3662 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3663 ($(objpfx)tst-pcre-mem): Likewise.
3664 ($(objpfx)tst-boost-mem): Likewise.
3665 ($(objpfx)tst-getconf.out): Likewise.
3666 ($(objpfx)bug-ga2-mem): Likewise.
3667 ($(objpfx)bug-glob2-mem): Likewise.
3668 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3669 ($(objpfx)mtrace-tst-leaks2): Likewise.
3670 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3671 ($(objpfx)tst-printf.out): Likewise.
3672 ($(objpfx)tst-setvbuf1.out): Likewise.
3673 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3674 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3675 ($(objpfx)tst-fmtmsg.out): Likewise.
3676 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3677 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3678
acd7f096
JM
3679 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3680 * bits/sigaction.h [__USE_MISC]: Likewise.
3681 * bits/waitstatus.h: Update #endif comments.
3682 * ctype/ctype.h: Likewise.
3683 * dirent/dirent.h: Likewise.
3684 [__USE_MISC]: Remove redundant conditionals.
3685 * grp/grp.h: Update #endif comments.
3686 [__USE_GNU]: Remove redundant conditionals.
3687 [__USE_MISC]: Likewise.
3688 * inet/netinet/in.h [__USE_GNU]: Likewise.
3689 * io/sys/stat.h [__USE_MISC]: Likewise.
3690 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3691 * libio/bits/stdio.h: Update #endif comments.
3692 [__USE_MISC]: Remove redundant conditionals.
3693 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3694 * libio/stdio.h: Update #endif comments.
3695 [__USE_MISC]: Remove redundant conditionals.
3696 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3697 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3698 * math/math.h: Update #else and #endif comments.
3699 [__USE_MISC]: Remove redundant conditionals.
3700 * misc/sys/uio.h: Update #endif comments.
3701 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3702 * posix/glob.h [__USE_MISC]: Likewise.
3703 * posix/sys/types.h: Update #endif comments.
3704 [__USE_MISC]: Remove redundant conditionals.
3705 * posix/sys/wait.h: Update #endif comments.
3706 [__USE_MISC]: Remove redundant conditionals.
3707 * posix/unistd.h: Update #endif comments.
3708 [__USE_MISC]: Remove redundant conditionals.
3709 * pwd/pwd.h [__USE_GNU]: Likewise.
3710 [__USE_MISC]: Likewise.
3711 * resolv/netdb.h [__USE_GNU]: Likewise.
3712 * signal/signal.h: Update #endif comments.
3713 [__USE_MISC]: Remove redundant conditionals.
3714 * stdlib/stdlib.h: Update #else and #endif comments.
3715 [__USE_MISC]: Remove redundant conditionals.
3716 [__USE_GNU]: Likewise.
3717 * string/bits/string2.h [__USE_MISC]: Likewise.
3718 * string/string.h: Update #endif comments.
3719 [__USE_MISC]: Remove redundant conditionals.
3720 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3721 Likewise.
3722 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3723 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3724 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3725 Likewise.
3726 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3727 Likewise.
3728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3729 comments.
3730 [__USE_MISC]: Remove redundant conditionals.
3731 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3732 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3733 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3734 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3735 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3736 Likewise.
3737 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3738 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3739 Likewise.
3740 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3742 Likewise.
3743 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3746 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3747 Likewise.
3748 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3749 Likewise.
3750 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3751 * sysdeps/x86/bits/string.h: Update #endif comments.
3752 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3753 conditionals.
3754 * time/sys/time.h: Update #endif comments.
3755 * time/time.h: Likewise.
3756 [__USE_MISC]: Remove redundant conditionals.
3757
a5d82e4e
YG
37582014-02-21 Yury Gribov <y.gribov@samsung.com>
3759
3760 [BZ #16600]
3761 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3762
9a80491d
AS
37632014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3764
3765 * Versions.def (librt): Add GLIBC_2.17.
3766
105fa381
AC
37672014-02-21 Adam Conrad <adconrad@0c3.net>
3768
3769 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3770 synonym for _SYS_AUXV_H to allow direct inclusion.
3771 * sysdeps/sparc/bits/hwcap.h: Likewise.
3772 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3773 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3774 * sysdeps/sparc/sysdep.h: Likewise.
3775
b8cd1c4e
SP
37762014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3777
3778 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3779
bd939d23
RS
37802014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3781
3782 * benchtests/bench-strrchr.c: Print length instead of position.
3783
5d7b57ca
JM
37842014-02-20 Joseph Myers <joseph@codesourcery.com>
3785
bc688c10
JM
3786 [BZ #16611]
3787 * sysdeps/unix/sysv/linux/kernel-features.h
3788 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3789 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3790 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3791 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3792 Likewise.
3793 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3794 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3795 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3796 (__ASSUME_SENDMMSG): Define instead of using previous
3797 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3798 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3799 (__ASSUME_SENDMMSG_SYSCALL): Define.
3800 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3801 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3802 Likewise.
3803 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3804 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3805 Likewise.
3806 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3807 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3808 Likewise.
3809 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3810 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3811 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3812 [__ASSUME_SENDMMSG]: Change conditionals to
3813 [__ASSUME_SENDMMSG_SOCKETCALL].
3814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3815 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3816 Define.
3817 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3818 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3819 Likewise.
3820 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3821 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3822 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3823 [!__ASSUME_SENDMMSG]: Change conditional to
3824 [!__ASSUME_SENDMMSG_SOCKETCALL].
3825 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3826 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3827 Define.
3828
0e31b18c
JM
3829 [BZ #16610]
3830 * sysdeps/unix/sysv/linux/kernel-features.h
3831 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3832 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3833 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3834 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3835 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3836 [__i386__ || __sparc__]
3837 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3838 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3839 (__ASSUME_RECVMMSG): Define instead of using previous
3840 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3841 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3842 (__ASSUME_RECVMMSG_SYSCALL): Define.
3843 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3844 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3845 Likewise.
3846 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3847 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3848 Likewise.
3849 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3850 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3851 Likewise.
3852 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3853 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3854 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3855 [__ASSUME_RECVMMSG]: Change condition to
3856 [__ASSUME_RECVMMSG_SOCKETCALL].
3857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3858 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3859 Define.
3860 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3862 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3863 Likewise.
3864 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3865 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3866 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3867 [!__ASSUME_RECVMMSG]: Change condition to
3868 [!__ASSUME_RECVMMSG_SOCKETCALL].
3869 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3870 (__ASSUME_RECVMMSG_SYSCALL): Define.
3871
dd481ccf
JM
3872 [BZ #16609]
3873 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3874 __powerpc__ || __s390__ || __sh__ || __sparc__]
3875 (__ASSUME_SOCKETCALL): Define.
3876 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3877 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3878 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3879 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3880 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3881 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3882 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3883 (__ASSUME_ACCEPT4): Define instead of using previous
3884 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3885 __powerpc__ || __sparc__ || __s390__)] condition.
3886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3887 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3888 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3889 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3890 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3891 [!__ASSUME_ACCEPT4]: Change condition to
3892 [!__ASSUME_ACCEPT4_SOCKETCALL].
3893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3894 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3895 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3897 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3898 __ASSUME_ACCEPT4_SYSCALL.
3899 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3900 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3902 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3903 __ASSUME_ACCEPT4_SYSCALL.
3904 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3905 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3906 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3907 [__ASSUME_ACCEPT4]: Change condition to
3908 [__ASSUME_ACCEPT4_SOCKETCALL].
3909 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3910 (__ASSUME_SOCKETCALL): Define.
3911 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3912 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3913 (__ASSUME_SOCKETCALL): Define.
3914 (__ASSUME_ACCEPT4): Remove.
3915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3916 Define.
3917 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3918 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3919 Likewise.
3920 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3921 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3922
5d7b57ca
JM
3923 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3924 macro.
3925 (HWCAP_ARM_LPAE): Likewise.
3926 (HWCAP_ARM_EVTSTRM): Likewise.
3927 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3928 Add vpfd32, lpae and evtstrm.
3929 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3930 Increase to 22.
3931
63689d61
JM
39322014-02-19 Joseph Myers <joseph@codesourcery.com>
3933
3934 * math/auto-libm-test-in: Add tests of clog10.
3935 * math/auto-libm-test-out: Regenerated.
3936 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939
ab09bf61
AS
39402014-02-18 Andreas Schwab <schwab@suse.de>
3941
3942 [BZ #16574]
3943 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3944 Store non-zero if the second buffer was newly allocated.
3945 (send_dg): Likewise.
3946 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3947 to send_vc and send_dg.
3948 (res_nsend): Pass NULL for ansp2_malloced.
3949 * resolv/res_query.c (__libc_res_nquery): Add parameter
3950 answerp2_malloced and pass it down to __libc_res_nsend.
3951 (res_nquery): Pass additional NULL to __libc_res_nquery.
3952 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3953 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3954 second answer buffer if answerp2_malloced was set.
3955 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3956 (__libc_res_nquerydomain): Add parameter
3957 answerp2_malloced and pass it down to __libc_res_nquery.
3958 (res_nquerydomain): Pass additional NULL to
3959 __libc_res_nquerydomain.
3960 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3961 additional NULL to __libc_res_nsend and __libc_res_nquery.
3962 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3963 additional NULL to __libc_res_nsearch.
3964 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3965 parameter of __libc_res_nsearch to check for separately allocated
3966 second buffer.
3967 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3968 __libc_res_nquery.
3969 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3970 additional NULL to __libc_res_nquery.
3971 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3972 __libc_res_nsearch.
3973 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3974 * include/resolv.h: Update prototypes of __libc_res_nquery,
3975 __libc_res_nsearch, __libc_res_nsend.
3976
a4fb7861
JM
39772014-02-18 Joseph Myers <joseph@codesourcery.com>
3978
c6af2d89
JM
3979 * math/auto-libm-test-in: Add tests of fma.
3980 * math/auto-libm-test-out: Regenerated.
3981 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3982 (fma_towardzero_test_data): Likewise.
3983 (fma_downward_test_data): Likewise.
3984 (fma_upward_test_data): Likewise.
3985 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3986 mpc_mode.
3987 (rounding_modes): Add values for new field.
3988 (func_calc_method): Add value mpfr_fff_f.
3989 (func_calc_desc): Add mpfr_fff_f union field.
3990 (test_function): Add field exact_args.
3991 (FUNC): Add macro argument EXACT_ARGS.
3992 (FUNC_mpfr_f_f): Update call to FUNC.
3993 (FUNC_mpfr_f_f): Likewise.
3994 (FUNC_mpfr_ff_f): Likewise.
3995 (FUNC_mpfr_if_f): Likewise.
3996 (FUNC_mpc_c_f): Likewise.
3997 (FUNC_mpc_c_c): Likewise.
3998 (test_functions): Add fma. Update calls to FUNC.
3999 (handle_input_arg): Add argument exact_args.
4000 (add_test): Update call to handle_input_arg.
4001 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4002 (output_for_one_input_case): Update call to calc_generic_results.
4003 Recalculate exact zero results in each rounding mode.
4004
a4fb7861
JM
4005 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4006 non-negative before setting low bit.
4007 * math/auto-libm-test-in: Mark one asin test possibly having
4008 spurious underflow.
4009 * math/auto-libm-test-out: Regenerated.
4010 * sysdeps/i386/fpu/libm-test-ulps: Update.
4011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4012
ef114eaf
DH
40132014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4014
2b7f4f2c
SP
4015 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4016 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4017 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4018 * README: Add missing listing for microblaze*-*-linux-gnu.
4019
c70a4b1d
MF
40202014-02-16 Mike Frysinger <vapier@gentoo.org>
4021
4022 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4023 * sysdeps/unix/sysv/linux/ia64: Move directory from
4024 ports/sysdeps/unix/sysv/linux/ia64.
4025 * README: Update listing for ia64-*-linux-gnu.
4026
591aeaf7
TD
40272014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4028 Joseph Myers <joseph@codesourcery.com>
4029
4030 * Makeconfig (test-name): New variable.
4031 (evaluate-test): Likewise.
4032 * Makerules (do-test-clean): Remove .test-result files.
4033 (common-mostlyclean): Likewise.
4034 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4035 * scripts/evaluate-test.sh: New file.
4036
6e89caf1
JM
40372014-02-14 Joseph Myers <joseph@codesourcery.com>
4038
7f98f180
JM
4039 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4040 separate $(objpfx)tst-fopenloc-cmp.out and
4041 $(objpfx)tst-fopenloc-mem.out targets.
4042 (tests): Update dependencies.
4043 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4044 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4045 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4046 (tst-rxspencer-no-utf8-ARGS): New variable.
4047 (tst-rxspencer-no-utf8-ENV): Likewise.
4048 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4049 instead of $(objpfx)tst-rxspencer-mem.
4050 ($(objpfx)tst-rxspencer-mem): Change target to
4051 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4052 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4053 * posix/tst-rxspencer-no-utf8.c: New file.
4054
6e89caf1
JM
4055 * elf/Makefile ($(objpfx)order.out): Remove rule.
4056 [$(run-built-tests) = yes] (tests): Depend on
4057 $(objpfx)order-cmp.out.
4058 ($(objpfx)order-cmp.out): New rule.
4059 [$(run-built-tests) = yes] (tests): Depend on
4060 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4061 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4062 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4063 $(objpfx)tst-array5-static-cmp.out.
4064 ($(objpfx)tst-array1.out): Remove rule.
4065 ($(objpfx)tst-array1-cmp.out): New rule.
4066 ($(objpfx)tst-array1-static.out): Remove rule.
4067 ($(objpfx)tst-array1-static-cmp.out): New rule.
4068 ($(objpfx)tst-array2.out): Remove rule.
4069 ($(objpfx)tst-array2-cmp.out): New rule.
4070 ($(objpfx)tst-array3.out): Remove rule.
4071 ($(objpfx)tst-array3-cmp.out): New rule.
4072 ($(objpfx)tst-array4.out): Remove rule.
4073 ($(objpfx)tst-array4-cmp.out): New rule.
4074 ($(objpfx)tst-array5.out): Remove rule.
4075 ($(objpfx)tst-array5-cmp.out): New rule.
4076 ($(objpfx)tst-array5-static.out): Remove rule.
4077 ($(objpfx)tst-array5-static-cmp.out): New rule.
4078 [$(run-built-tests) = yes] (tests): Depend on
4079 $(objpfx)order2-cmp.out.
4080 ($(objpfx)order2.out): Remove rule.
4081 ($(objpfx)order2-cmp.out): New rule.
4082 ($(objpfx)tst-initorder.out): Remove rule.
4083 [$(run-built-tests) = yes] (tests): Depend on
4084 $(objpfx)tst-initorder-cmp.out.
4085 ($(objpfx)tst-initorder-cmp.out): New rule.
4086 ($(objpfx)tst-initorder2.out): Remove rule.
4087 [$(run-built-tests) = yes] (tests): Depend on
4088 $(objpfx)tst-initorder2-cmp.out.
4089 ($(objpfx)tst-initorder2-cmp.out): New rule.
4090 [$(run-built-tests) = yes] (tests): Depend on
4091 $(objpfx)tst-unused-dep-cmp.out.
4092 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4093 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4094 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4095 on $(objpfx)tst-setvbuf1-cmp.out.
4096 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4097 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4098 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4099 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4100 ($(objpfx)tst-svc.out): Remove rule.
4101 ($(objpfx)tst-svc-cmp.out): New rule.
4102
ed9a38e2
JM
41032014-02-13 Joseph Myers <joseph@codesourcery.com>
4104
4105 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4106 * ctype/ctype.h [__USE_MISC]: Likewise.
4107 * dirent/dirent.h [__USE_MISC]: Likewise.
4108 * grp/grp.h [__USE_MISC]: Likewise.
4109 * io/fcntl.h [__USE_MISC]: Likewise.
4110 * io/sys/stat.h [__USE_MISC]: Likewise.
4111 * libio/stdio.h [__USE_MISC]: Likewise.
4112 * posix/unistd.h [__USE_MISC]: Likewise.
4113 * pwd/pwd.h [__USE_MISC]: Likewise.
4114 * stdlib.h [__USE_MISC]: Likewise.
4115 * string/bits/string2.h [__USE_MISC]: Likewise.
4116 * string/string.h [__USE_MISC]: Likewise.
4117 * time/time.h [__USE_MISC]: Likewise.
4118
d6680619
AS
41192014-02-13 Andreas Schwab <schwab@suse.de>
4120
4121 [BZ #16574]
4122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4123 second answer buffer if it was separately allocated.
4124
ace614b8
JM
41252014-02-12 Joseph Myers <joseph@codesourcery.com>
4126
743151ae
JM
4127 * sysdeps/mips/math-tests.h: Include <features.h>.
4128 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4129 (ROUNDING_TESTS_long_double): Do not define.
4130 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4131 (EXCEPTION_TESTS_long_double): Likewise.
4132 * sysdeps/mips/mips64/libm-test-ulps: Update.
4133
498afc54
JM
4134 * include/features.h (__USE_BSD): Remove macro definitions.
4135 (__USE_SVID): Likewise.
4136 (_BSD_SOURCE): Likewise.
4137 (_SVID_SOURCE): Likewise.
4138 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4139 from definition of _DEFAULT_SOURCE.
4140 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4141 [_DEFAULT_SOURCE].
4142 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4143 * bits/mman.h [__USE_BSD]: Likewise.
4144 * bits/termios.h [__USE_BSD]: Likewise.
4145 * bits/waitstatus.h [__USE_BSD]: Likewise.
4146 * ctype/ctype.h [__USE_SVID]: Likewise.
4147 * dirent/dirent.h [__USE_BSD]: Likewise.
4148 * grp/grp.h [__USE_SVID]: Likewise.
4149 [__USE_BSD]: Likewise.
4150 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4151 * io/fcntl.h [__USE_BSD]: Likewise.
4152 * io/ftw.h [__USE_BSD]: Likewise.
4153 * io/sys/stat.h [__USE_BSD]: Likewise.
4154 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4155 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4156 * libio/stdio.h [__USE_SVID]: Likewise.
4157 [__USE_BSD]: Likewise.
4158 * math/math.h [__USE_SVID]: Likewise.
4159 [__USE_BSD]: Likewise.
4160 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4161 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4162 * misc/search.h [__USE_SVID]: Likewise.
4163 * misc/sys/mman.h [__USE_BSD]: Likewise.
4164 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4165 * misc/sys/uio.h [__USE_BSD]: Likewise.
4166 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4167 * posix/glob.h [__USE_BSD]: Likewise.
4168 * posix/regex.h [__USE_BSD]: Likewise.
4169 * posix/sys/types.h [__USE_BSD]: Likewise.
4170 [__USE_SVID]: Likewise.
4171 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4172 * posix/sys/wait.h [__USE_BSD]: Likewise.
4173 [__USE_SVID]: Likewise.
4174 * posix/unistd.h [__USE_BSD]: Likewise.
4175 [__USE_SVID]: Likewise.
4176 * pwd/pwd.h [__USE_SVID]: Likewise.
4177 * resolv/netdb.h [__USE_BSD]: Likewise.
4178 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4179 * signal/signal.h [__USE_BSD]: Likewise.
4180 [__USE_SVID]: Likewise.
4181 * socket/sys/socket.h [__USE_BSD]: Likewise.
4182 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4183 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4184 [__USE_SVID]: Likewise.
4185 * string/bits/string2.h [__USE_BSD]: Likewise.
4186 [__USE_SVID]: Likewise.
4187 * string/bits/string3.h [__USE_BSD]: Likewise.
4188 * string/endian.h [__USE_BSD]: Likewise.
4189 * string/string.h [__USE_SVID]: Likewise.
4190 [__USE_BSD]: Likewise.
4191 * string/strings.h [__USE_BSD]: Likewise.
4192 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4193 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4194 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4195 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4196 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4197 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4198 Likewise.
4199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4200 Likewise.
4201 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4202 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4203 Likewise.
4204 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4205 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4210 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4212 Likewise.
4213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4214 Likewise.
4215 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4216 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4217 * termios/termios.h [__USE_BSD]: Likewise.
4218 * time/sys/time.h [__USE_BSD]: Likewise.
4219 * time/time.h [__USE_BSD]: Likewise.
4220 [__USE_SVID]: Likewise.
4221
dd7b064c
JM
4222 * Makefile (subdir_targets): Remove subdir_lint.out.
4223
a2c4c199
JM
4224 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4225 (do-tst-printf): Likewise.
4226 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4227 $(objpfx)tst-printf.out.
4228
8756f740
JM
4229 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4230
1b6dd3f1
JM
4231 * Makerules (check-abi-%): Change target to
4232 $(objpfx)check-abi-%.out.
4233 (check-abi target): Update dependencies.
4234 (check-abi-pattern variable): Redirect output of diff to $@.
4235 (check-abi variable): Likewise.
4236 * elf/Makefile (check-abi): Update dependencies.
4237
ace614b8
JM
4238 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4239 unused.
4240 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4241 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4242 subnormal range.
4243 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4244 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4245 value has largest subnormal exponent.
4246 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4247 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4248 * sysdeps/aarch64/soft-fp/sfp-machine.h
4249 (_FP_TININESS_AFTER_ROUNDING): New macro.
4250 * sysdeps/alpha/soft-fp/sfp-machine.h
4251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4252 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4253 Likewise.
4254 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4255 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4256 * sysdeps/mips/soft-fp/sfp-machine.h
4257 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4258 * sysdeps/powerpc/soft-fp/sfp-machine.h
4259 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4260 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4261 Likewise.
4262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4263 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4264 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4265 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4266 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4267 Likewise.
4268
fbfdf9cb
DAS
42692014-02-12 Dylan Alex Simon <dylan@dylex.net>
4270
4271 [BZ #16545]
4272 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4273 model 1.
4274
68b7efaa
RH
42752014-02-12 Richard Henderson <rth@redhat.com>
4276
c70a4b1d 4277 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4278 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4279 * sysdeps/unix/sysv/linux/alpha: Move directory from
4280 ports/sysdeps/unix/sysv/linux/alpha.
4281 * README: Update listing for alpha-*-linux-gnu.
4282
cb4a2928
JM
42832014-02-11 Joseph Myers <joseph@codesourcery.com>
4284
c941736c
JM
4285 * include/features.h: Update comment documenting feature test
4286 macros.
4287 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4288 _DEFAULT_SOURCE.
4289 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4290 (_SVID_SOURCE): Likewise.
4291 (_DEFAULT_SOURCE): Update description of default features.
4292 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4293 with _GNU_SOURCE.
4294 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4295 (S_ISVTX): Likewise.
4296 * manual/math.texi (Mathematical Constants): Likewise.
4297 * manual/signal.texi (Interrupted Primitives): Likewise.
4298 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4299 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4300 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4301 Don't refer to _SVID_SOURCE in warning text.
4302
e8d8d7ec
JM
4303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4304
cb4a2928
JM
4305 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4306 already defined.
4307 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4308 * sysdeps/mips/dl-lookup.c: Remove.
4309 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4310
7e6424e3
AK
43112014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4312
4313 [BZ #16447]
4314 * math/auto-libm-test-in: Add testcase for expl.
4315 * math/auto-libm-test-out: Regenerate.
4316 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4317 calculation of unsafe.
4318 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4319
75eff3fe
MS
43202014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4321
4322 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4323 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4324 ports/sysdeps/unix/sysv/linux/aarch64.
4325 * README: Update listing for aarch64*-*-linux-gnu.
4326
d35f1e80
WN
43272014-02-11 Will Newton <will.newton@linaro.org>
4328
4329 * manual/probes.texi (Mathematical Function Probes): Use
4330 "triggered" instead of "hit".
4331
7b3436d4
WN
4332 * manual/probes.texi (Internal Probes): Add documentation
4333 of setjmp, longjmp and longjmp_target probes.
4334
b4f12ca3
WN
4335 * include/stap-probe.h: Add comment about probe argument
4336 format.
4337
c13a72b7
WN
4338 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4339 definition. (tr_where, tr_freehook, tr_mallochook,
4340 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4341
195b8165
DM
43422014-02-11 David S. Miller <davem@davemloft.net>
4343
4344 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4345 processing int_tests.
4346
2ad7600b
JM
43472014-02-10 Joseph Myers <joseph@codesourcery.com>
4348
4349 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4350 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4351 * sysdeps/unix/sysv/linux/mips: Move directory from
4352 ports/sysdeps/unix/sysv/linux/mips.
4353 * README: Update listing for mips-*-linux-gnu and
4354 mips64-*-linux-gnu.
4355
73588a72
AS
43562014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4357
4358 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4359 * sysdeps/unix/sysv/linux/m68k: Move directory from
4360 ports/sysdeps/unix/sysv/linux/m68k.
4361 * README: Update listing for m68k-*-linux-gnu.
4362
4372980f
CM
43632014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4364
4365 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4366 * sysdeps/unix/sysv/linux/generic: Move directory from
4367 ports/sysdeps/unix/sysv/linux/generic.
4368 * sysdeps/unix/sysv/linux/tile: Move directory from
4369 ports/sysdeps/unix/sysv/linux/tile.
4370 * README: Update listing for tile*-*-linux-gnu.
4371
a1ffb40e
OB
43722014-02-10 Ondřej Bílka <neleai@seznam.cz>
4373
57f41c40
AS
4374 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4375 __builtin_expect.
a1ffb40e
OB
4376 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4377 * catgets/open_catalog.c (__open_catalog): Likewise.
4378 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4379 * debug/confstr_chk.c: Likewise.
4380 * debug/fread_chk.c (__fread_chk): Likewise.
4381 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4382 * debug/getgroups_chk.c: Likewise.
4383 * debug/mbsnrtowcs_chk.c: Likewise.
4384 * debug/mbsrtowcs_chk.c: Likewise.
4385 * debug/mbstowcs_chk.c: Likewise.
4386 * debug/memcpy_chk.c: Likewise.
4387 * debug/memmove_chk.c: Likewise.
4388 * debug/mempcpy_chk.c: Likewise.
4389 * debug/memset_chk.c: Likewise.
4390 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4391 * debug/strcat_chk.c (__strcat_chk): Likewise.
4392 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4393 * debug/strncat_chk.c (__strncat_chk): Likewise.
4394 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4395 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4396 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4397 * debug/wcpncpy_chk.c: Likewise.
4398 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4399 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4400 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4401 * debug/wcsncpy_chk.c: Likewise.
4402 * debug/wcsnrtombs_chk.c: Likewise.
4403 * debug/wcsrtombs_chk.c: Likewise.
4404 * debug/wcstombs_chk.c: Likewise.
4405 * debug/wmemcpy_chk.c: Likewise.
4406 * debug/wmemmove_chk.c: Likewise.
4407 * debug/wmempcpy_chk.c: Likewise.
4408 * debug/wmemset_chk.c: Likewise.
4409 * dirent/scandirat.c (SCANDIRAT): Likewise.
4410 * dlfcn/dladdr1.c (dladdr1): Likewise.
4411 * dlfcn/dladdr.c (dladdr): Likewise.
4412 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4413 * dlfcn/dlerror.c (__dlerror): Likewise.
4414 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4415 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4416 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4417 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4418 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4419 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4420 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4421 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4422 Likewise.
4423 * elf/dl-conflict.c: Likewise.
4424 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4425 * elf/dl-dst.h: Likewise.
4426 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4427 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4429 * elf/dl-init.c (call_init, _dl_init): Likewise.
4430 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4431 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4432 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4433 Likewise.
a1ffb40e
OB
4434 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4435 Likewise.
4436 * elf/dl-minimal.c (__libc_memalign): Likewise.
4437 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4438 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4439 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4440 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4441 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4442 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4443 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4444 * elf/dl-writev.h (_dl_writev): Likewise.
4445 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4446 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4447 (dl_main): Likewise.
a1ffb40e
OB
4448 * elf/setup-vdso.h (setup_vdso): Likewise.
4449 * grp/compat-initgroups.c (compat_call): Likewise.
4450 * grp/fgetgrent.c (fgetgrent): Likewise.
4451 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4452 * grp/putgrent.c (putgrent): Likewise.
4453 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4454 Likewise.
4455 * hurd/hurdinit.c: Likewise.
4456 * iconvdata/8bit-gap.c (struct): Likewise.
4457 * iconvdata/ansi_x3.110.c : Likewise.
4458 * iconvdata/big5.c : Likewise.
4459 * iconvdata/big5hkscs.c : Likewise.
4460 * iconvdata/cp1255.c: Likewise.
4461 * iconvdata/cp1258.c : Likewise.
4462 * iconvdata/cp932.c : Likewise.
4463 * iconvdata/euc-cn.c: Likewise.
4464 * iconvdata/euc-jisx0213.c : Likewise.
4465 * iconvdata/euc-jp.c: Likewise.
4466 * iconvdata/euc-jp-ms.c : Likewise.
4467 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4468 * iconvdata/gb18030.c : Likewise.
4469 * iconvdata/gbbig5.c (const): Likewise.
4470 * iconvdata/gbgbk.c: Likewise.
4471 * iconvdata/gbk.c : Likewise.
4472 * iconvdata/ibm1364.c : Likewise.
4473 * iconvdata/ibm930.c : Likewise.
4474 * iconvdata/ibm932.c: Likewise.
4475 * iconvdata/ibm933.c : Likewise.
4476 * iconvdata/ibm935.c : Likewise.
4477 * iconvdata/ibm937.c : Likewise.
4478 * iconvdata/ibm939.c : Likewise.
4479 * iconvdata/ibm943.c: Likewise.
4480 * iconvdata/iso_11548-1.c: Likewise.
4481 * iconvdata/iso-2022-cn.c : Likewise.
4482 * iconvdata/iso-2022-cn-ext.c : Likewise.
4483 * iconvdata/iso-2022-jp-3.c: Likewise.
4484 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4485 * iconvdata/iso-2022-kr.c : Likewise.
4486 * iconvdata/iso646.c (gconv_end): Likewise.
4487 * iconvdata/iso_6937-2.c : Likewise.
4488 * iconvdata/iso_6937.c : Likewise.
4489 * iconvdata/iso8859-1.c: Likewise.
4490 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4491 * iconvdata/shift_jisx0213.c : Likewise.
4492 * iconvdata/sjis.c : Likewise.
4493 * iconvdata/t.61.c : Likewise.
4494 * iconvdata/tcvn5712-1.c : Likewise.
4495 * iconvdata/tscii.c: Likewise.
4496 * iconvdata/uhc.c : Likewise.
4497 * iconvdata/unicode.c (gconv_end): Likewise.
4498 * iconvdata/utf-16.c (gconv_end): Likewise.
4499 * iconvdata/utf-32.c (gconv_end): Likewise.
4500 * iconvdata/utf-7.c (base64): Likewise.
4501 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4502 * iconv/gconv_close.c (__gconv_close): Likewise.
4503 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4504 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4505 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4506 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4507 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4508 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4509 * iconv/iconv.c (iconv): Likewise.
4510 * iconv/iconv_close.c: Likewise.
4511 * iconv/loop.c (SINGLE): Likewise.
4512 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4513 * include/atomic.h: Likewise.
4514 * inet/inet6_option.c (option_alloc): Likewise.
4515 * intl/bindtextdom.c (set_binding_values): Likewise.
4516 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4517 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4518 * intl/localealias.c (read_alias_file): Likewise.
4519 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4520 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4521 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4522 * libio/fmemopen.c (fmemopen): Likewise.
4523 * libio/iofgets.c (_IO_fgets): Likewise.
4524 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4525 * libio/iofgetws.c (fgetws): Likewise.
4526 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4527 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4528 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4529 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4530 * locale/findlocale.c (_nl_find_locale): Likewise.
4531 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4532 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4533 Likewise.
4534 * locale/setlocale.c (setlocale): Likewise.
4535 * login/programs/pt_chown.c (main): Likewise.
4536 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4537 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4538 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4539 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4540 * math/e_exp2l.c: Likewise.
4541 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4542 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4543 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4544 * math/s_catan.c (__catan): Likewise.
4545 * math/s_catanf.c (__catanf): Likewise.
4546 * math/s_catanh.c (__catanh): Likewise.
4547 * math/s_catanhf.c (__catanhf): Likewise.
4548 * math/s_catanhl.c (__catanhl): Likewise.
4549 * math/s_catanl.c (__catanl): Likewise.
4550 * math/s_ccosh.c (__ccosh): Likewise.
4551 * math/s_ccoshf.c (__ccoshf): Likewise.
4552 * math/s_ccoshl.c (__ccoshl): Likewise.
4553 * math/s_cexp.c (__cexp): Likewise.
4554 * math/s_cexpf.c (__cexpf): Likewise.
4555 * math/s_cexpl.c (__cexpl): Likewise.
4556 * math/s_clog10.c (__clog10): Likewise.
4557 * math/s_clog10f.c (__clog10f): Likewise.
4558 * math/s_clog10l.c (__clog10l): Likewise.
4559 * math/s_clog.c (__clog): Likewise.
4560 * math/s_clogf.c (__clogf): Likewise.
4561 * math/s_clogl.c (__clogl): Likewise.
4562 * math/s_csin.c (__csin): Likewise.
4563 * math/s_csinf.c (__csinf): Likewise.
4564 * math/s_csinh.c (__csinh): Likewise.
4565 * math/s_csinhf.c (__csinhf): Likewise.
4566 * math/s_csinhl.c (__csinhl): Likewise.
4567 * math/s_csinl.c (__csinl): Likewise.
4568 * math/s_csqrt.c (__csqrt): Likewise.
4569 * math/s_csqrtf.c (__csqrtf): Likewise.
4570 * math/s_csqrtl.c (__csqrtl): Likewise.
4571 * math/s_ctan.c (__ctan): Likewise.
4572 * math/s_ctanf.c (__ctanf): Likewise.
4573 * math/s_ctanh.c (__ctanh): Likewise.
4574 * math/s_ctanhf.c (__ctanhf): Likewise.
4575 * math/s_ctanhl.c (__ctanhl): Likewise.
4576 * math/s_ctanl.c (__ctanl): Likewise.
4577 * math/w_pow.c: Likewise.
4578 * math/w_powf.c: Likewise.
4579 * math/w_powl.c: Likewise.
4580 * math/w_scalb.c (sysv_scalb): Likewise.
4581 * math/w_scalbf.c (sysv_scalbf): Likewise.
4582 * math/w_scalbl.c (sysv_scalbl): Likewise.
4583 * misc/error.c (error_tail): Likewise.
4584 * misc/pselect.c (__pselect): Likewise.
4585 * nis/nis_callback.c (__nis_create_callback): Likewise.
4586 * nis/nis_call.c (__nisfind_server): Likewise.
4587 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4588 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4589 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4590 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4591 * nis/nis_lookup.c (nis_lookup): Likewise.
4592 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4593 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4594 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4595 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4596 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4597 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4598 * nis/nss_compat/compat-initgroups.c (add_group)
4599 (internal_getgrent_r): Likewise.
4600 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4601 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4602 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4603 (internal_getspnam_r): Likewise.
4604 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4605 (_nss_nis_getaliasbyname_r): Likewise.
4606 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4607 (_nss_nis_getntohost_r): Likewise.
4608 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4609 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4610 (_nss_nis_getgrgid_r): Likewise.
4611 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4612 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4613 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4614 (_nss_nis_gethostbyname4_r): Likewise.
4615 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4616 (initgroups_netid): Likewise.
a1ffb40e 4617 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4618 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4619 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4620 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4621 (_nss_nis_getprotobynumber_r): Likewise.
4622 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4623 (_nss_nis_getsecretkey): Likewise.
4624 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4625 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4626 (_nss_nis_getpwuid_r): Likewise.
4627 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4628 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4629 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4630 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4631 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4632 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4633 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4634 Likewise.
57f41c40
AS
4635 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4636 (_nss_nisplus_getntohost_r): Likewise.
4637 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4638 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4639 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4640 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4641 Likewise.
57f41c40
AS
4642 * nis/nss_nisplus/nisplus-initgroups.c
4643 (_nss_nisplus_initgroups_dyn): Likewise.
4644 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4645 (_nss_nisplus_getnetbyaddr_r): Likewise.
4646 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4647 (_nss_nisplus_getprotobynumber_r): Likewise.
4648 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4649 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4650 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4651 Likewise.
57f41c40
AS
4652 * nis/nss_nisplus/nisplus-service.c
4653 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4654 (_nss_nisplus_getservbyport_r): Likewise.
4655 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4656 (_nss_nisplus_getspnam_r): Likewise.
4657 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4658 Likewise.
a1ffb40e
OB
4659 * nscd/aicache.c (addhstaiX): Likewise.
4660 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4661 * nscd/connections.c (register_traced_file, send_ro_fd)
4662 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4663 (main_loop_epoll): Likewise.
a1ffb40e
OB
4664 * nscd/grpcache.c (addgrbyX): Likewise.
4665 * nscd/hstcache.c (addhstbyX): Likewise.
4666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4667 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4668 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4669 (addinnetgrX): Likewise.
4670 * nscd/nscd-client.h (__nscd_acquire_maplock)
4671 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4672 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4673 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4674 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4675 Likewise.
4676 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4678 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4679 (__nscd_get_map_ref): Likewise.
a1ffb40e 4680 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4681 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4682 Likewise.
a1ffb40e
OB
4683 * nscd/pwdcache.c (addpwbyX): Likewise.
4684 * nscd/selinux.c (preserve_capabilities): Likewise.
4685 * nscd/servicescache.c (addservbyX): Likewise.
4686 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4687 * posix/fnmatch.c (fnmatch): Likewise.
4688 * posix/getopt.c (_getopt_internal_r): Likewise.
4689 * posix/glob.c (glob, glob_in_dir): Likewise.
4690 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4692 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4693 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4694 * resolv/res_init.c: Likewise.
4695 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4696 * resolv/res_query.c (__libc_res_nquery): Likewise.
4697 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4698 Likewise.
4699 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4700 * stdio-common/perror.c (perror): Likewise.
4701 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4702 * stdio-common/tmpnam.c (tmpnam): Likewise.
4703 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4704 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4705 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4706 Likewise.
a1ffb40e
OB
4707 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4708 * stdlib/putenv.c (putenv): Likewise.
4709 * stdlib/setenv.c (__add_to_environ): Likewise.
4710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4711 * stdlib/strtol_l.c (INTERNAL): Likewise.
4712 * string/memmem.c (memmem): Likewise.
4713 * string/strerror.c (strerror): Likewise.
4714 * string/strnlen.c (__strnlen): Likewise.
4715 * string/test-memmem.c (simple_memmem): Likewise.
4716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4717 * sunrpc/pm_getport.c (__get_socket): Likewise.
4718 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4719 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4720 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4721 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4722 Likewise.
4723 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4724 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4725 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4726 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4727 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4728 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4729 Likewise.
4730 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4731 Likewise.
a1ffb40e
OB
4732 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4733 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4735 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4736 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4738 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4739 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4740 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4741 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4742 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4743 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4744 Likewise.
4745 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4746 Likewise.
4747 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4748 Likewise.
4749 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4752 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4753 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4754 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4755 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4764 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4765 Likewise.
a1ffb40e
OB
4766 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4767 Likewise.
4768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4769 Likewise.
4770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4771 Likewise.
4772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4774 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4775 Likewise.
4776 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4777 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4778 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4779 * sysdeps/posix/sleep.c: Likewise.
4780 * sysdeps/posix/tempname.c: Likewise.
4781 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4782 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4783 Likewise.
57f41c40
AS
4784 * sysdeps/powerpc/powerpc32/dl-machine.h
4785 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4788 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4789 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4790 Likewise.
4791 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4793 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4795 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4796 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4797 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4798 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4799 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4800 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4802 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4803 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4805 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4806 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4807 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4808 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4809 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4810 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4811 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4812 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4814 Likewise.
4815 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4816 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4817 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4818 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4819 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4820 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4821 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4822 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4823 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4824 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4825 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4826 Likewise.
4827 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4828 (__posix_fallocate64_l64): Likewise.
4829 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4830 (posix_fallocate): Likewise.
57f41c40
AS
4831 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4832 Likewise.
a1ffb40e 4833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4834 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4835 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4836 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4837 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4838 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4839 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4840 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4841 (__posix_fallocate64_l64): Likewise.
4842 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4843 Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4845 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4846 (__get_clockfreq): Likewise.
a1ffb40e
OB
4847 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4848 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4849 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4852 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4853 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4854 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4855 Likewise.
4856 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4857 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4858 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4861 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4862 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4863 Likewise.
4864 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4865 (posix_fallocate): Likewise.
4866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4867 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4868 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4869 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4870 (elf_machine_rela, elf_machine_rela_relative)
4871 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4872 * time/asctime.c (asctime_internal): Likewise.
4873 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4874 * time/tzset.c (__tzset_parse_tz): Likewise.
4875 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4876 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4877 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4878 * wcsmbs/wcsmbsload.h: Likewise.
4879
f3d338c9
OB
4880 [BZ #15894]
4881 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4882
57f41c40
AS
4883 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4884 (arena_get2): Remove THREAD_STATS conditionals.
4885 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4886 (__malloc_stats, int): Likewise.
bdfe308a 4887
d674667c
MF
48882014-02-08 Mike Frysinger <vapier@gentoo.org>
4889
4890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4891 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4892
6349768c
MF
4893 * manual/setjmp.texi: Fix typos/grammar errors.
4894
0b7c7473
MF
4895 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4896 Only return early when n is <= 0. Delete unused return statement.
4897
ac8cc9e3
MF
4898 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4899 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4900 * debug/tst-longjmp_chk3.c: New file.
4901
c5bb8e23
MF
4902 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4903 (test_main): Replace code with set_fortify_handler call.
4904 * debug/test-strcpy_chk.c: Likewise.
4905 * debug/tst-chk1.c: Likewise.
4906 * debug/tst-longjmp_chk.c: Likewise.
4907 * test-skeleton.c: Include fcntl.h & paths.h
4908 (set_fortify_handler): Define.
4909
10444e42
MF
4910 * debug/tst-longjmp_chk.c: Add header comment and include
4911 ../test-skeleton.c.
4912 (do_test): Mark static.
4913 (TEST_FUNCTION): Define.
4914
1e805e8d
MF
4915 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4916 (IP_PMTUDISC_INTERFACE): Likewise.
4917 (IP_MULTICAST_IF): Likewise.
4918 (IP_MULTICAST_TTL): Likewise.
4919 (IP_MULTICAST_LOOP): Likewise.
4920 (IP_ADD_MEMBERSHIP): Likewise.
4921 (IP_DROP_MEMBERSHIP): Likewise.
4922 (IP_UNBLOCK_SOURCE): Likewise.
4923 (IP_BLOCK_SOURCE): Likewise.
4924 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4925 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4926 (IP_MSFILTER): Likewise.
4927 (MCAST_JOIN_GROUP): Likewise.
4928 (MCAST_BLOCK_SOURCE): Likewise.
4929 (MCAST_UNBLOCK_SOURCE): Likewise.
4930 (MCAST_LEAVE_GROUP): Likewise.
4931 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4932 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4933 (MCAST_MSFILTER): Likewise.
4934 (IP_MULTICAST_ALL): Likewise.
4935 (IP_UNICAST_IF): Likewise.
4936
73f79bb7
MF
4937 * timezone/Makefile: Delete $(have-ksh) check.
4938 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4939 * timezone/tzselect.ksh: Add +x mode bits.
4940
8da79b60
MF
4941 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4942 (ANON_INODE_FS_MAGIC): Likewise.
4943 (BDEVFS_MAGIC): Likewise.
4944 (BINFMTFS_MAGIC): Likewise.
4945 (BTRFS_TEST_MAGIC): Likewise.
4946 (CRAMFS_MAGIC_WEND): Likewise.
4947 (DEBUGFS_MAGIC): Likewise.
4948 (ECRYPTFS_SUPER_MAGIC): Likewise.
4949 (EXT3_SUPER_MAGIC): Likewise.
4950 (EXT4_SUPER_MAGIC): Likewise.
4951 (FUTEXFS_SUPER_MAGIC): Likewise.
4952 (HOSTFS_SUPER_MAGIC): Likewise.
4953 (HUGETLBFS_MAGIC): Likewise.
4954 (MINIX3_SUPER_MAGIC): Likewise.
4955 (MTD_INODE_FS_MAGIC): Likewise.
4956 (NILFS_SUPER_MAGIC): Likewise.
4957 (OPENPROM_SUPER_MAGIC): Likewise.
4958 (PIPEFS_MAGIC): Likewise.
4959 (PSTOREFS_MAGIC): Likewise.
4960 (QNX6_SUPER_MAGIC): Likewise.
4961 (RAMFS_MAGIC): Likewise.
4962 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4963 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4964 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4965 (SECURITYFS_MAGIC): Likewise.
4966 (SELINUX_MAGIC): Likewise.
4967 (SMACK_MAGIC): Likewise.
4968 (SOCKFS_MAGIC): Likewise.
4969 (SQUASHFS_MAGIC): Likewise.
4970 (STACK_END_MAGIC): Likewise.
4971 (TMPFS_MAGIC): Likewise.
4972 (USBDEVICE_SUPER_MAGIC): Likewise.
4973 (V9FS_MAGIC): Likewise.
4974 (XENFS_SUPER_MAGIC): Likewise.
4975 (CRAMFS_MAGIC): Fix typo in comment.
4976 (EXT2_SUPER_MAGIC): Update comment.
4977 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4978
464263cc
JM
49792014-02-08 Joseph Myers <joseph@codesourcery.com>
4980
c6bfe5c4
JM
4981 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4982 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4983 * sysdeps/unix/sysv/linux/arm: Move directory from
4984 ports/sysdeps/unix/sysv/linux/arm.
4985 * README: Update listing for arm-*-linux-gnueabi.
4986
464263cc
JM
4987 * README: Remove mention of am33.
4988
32749f6c
RM
49892014-02-07 Roland McGrath <roland@hack.frob.com>
4990
4991 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4992 than the comma operator, to avoid "rhs of comma has no effect"
4993 compiler warnings.
4994 (__sigfillset, __sigandset, __sigorset): Likewise.
4995 * include/signal.h (__sigemptyset): Likewise.
4996 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4997
d5b396c1
AM
49982014-02-07 Allan McRae <allan@archlinux.org>
4999
5000 * version.h (RELEASE): Set to "development".
5001 (VERSION): Set to "2.19.90"
5002 * NEWS: Add 2.20 section.
5003
3bfff2ed
CD
50042014-02-06 Carlos O'Donell <carlos@redhat.com>
5005
5006 [BZ #16529]
5007 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5008
ee7cc385
SP
50092014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5010
5011 * manual/contrib.texi: Update entry for Carlos O'Donell,
5012 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5013
f877c4f2
CD
50142014-02-05 Carlos O'Donell <carlos@rehdat.com>
5015
27e839f6
CD
5016 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5017
f877c4f2
CD
5018 * sysdeps/unix/sysv/linux/kernel-features.h
5019 [__LINUX_KERNEL_VERSION >= 0x020621]
5020 (__ASSUME_PROC_PID_TASK_COMM): Define.
5021
68159946
SP
50222014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5023
ba17cdbd
SP
5024 [BZ #16398]
5025 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5026 conversion when destination buffer does not have enough space.
5027 * libio/tst-ftell-partial-wide.c: New test case.
5028 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5029
68159946
SP
5030 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5031 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5032 Leonard and Allan McRae.
5033
2b528732
DM
50342014-02-04 David S. Miller <davem@davemloft.net>
5035
5036 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5037 32-bit.
5038
0ff82463
AZ
50392014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5040
57f41c40
AS
5041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5042 New file
c01603f7
AZ
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5044 New file
57f41c40
AS
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5046 New file.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5048 New file.
c01603f7
AZ
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5050 New file.
57f41c40
AS
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5052 New file.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5054 New file.
c01603f7
AZ
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5056 New file.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5058 New file.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5060 New file.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5062 New file.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5064 New file.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5066 New file.
5067
50682014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5069
0ff82463
AZ
5070 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5071 * shlib-versions: Likewise.
5072
1695c773
AZ
50732014-02-04 Roland McGrath <roland@hack.frob.com>
5074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5075
5076 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5077 (abilist-pattern): New variable, set to %-le.abilist.
5078
5079 * Makerules (abilist-pattern): New variable.
5080 (vpath): Use $(abilist-pattern) in place of %.abilist.
5081 (check-abi-% pattern rule): Likewise.
5082 (check-abi, update-abi): Likewise.
5083
6c0ce4b4
EW
50842014-02-04 Eric Wong <normalperson@yhbt.net>
5085
5086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5087
481e3524
CD
50882014-02-03 Carlos O'Donell <carlos@redhat.com>
5089
5090 * manual/startup.texi: Add next, previous, and top entries for
5091 the `Program Arguments' and `Environment Variables' nodes.
5092
375592d3
AO
50932014-02-03 Alexandre Oliva <aoliva@redhat.com>
5094
5095 * manual/macros.texi: Add comments before MTASC-safety macros.
5096
f54838ba
AO
5097 * manual/users.texi: Document MTASC-safety properties.
5098
57f41c40
AS
5099 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5100 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5101 @deftypefun, and add @safety note.
5102 * manual/signal.texi: Move comments that analyze the above
5103 functions to their home place.
5104
fd3daba4
AM
51052014-02-03 Allan McRae <allan@archlinux.org>
5106
5107 * po/sl.po: Update Slovenian translation from translation project.
5108
597636d7
AO
51092014-02-02 Alexandre Oliva <aoliva@redhat.com>
5110
5111 * manual/time.texi (timegm): Add missing blank after @c.
5112 Reported by Joseph Myers <joseph@codesourcery.com>.
5113
ee196e3c
AO
51142014-02-01 Alexandre Oliva <aoliva@redhat.com>
5115
5116 * manual/check-safety.sh: New.
5117 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5118
f8d529d5
AO
5119 * manual/terminal.texi: Document MTASC-safety properties.
5120
de55fdf4
AO
5121 * manual/filesys.texi: Document MTASC-safety properties.
5122
c3299c08
AO
5123 * manual/errno.texi: Document MTASC-safety properties.
5124
06e90b14
AO
5125 * manual/intro.texi: Document safety identifiers and
5126 conditionals.
5127
1acd4371
AO
5128 * manual/string.texi (wcstok): Fix prototype.
5129 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5130
23e5b8cb
AO
5131 * manual/time.texi: Document MTASC-safety properties.
5132
11087373
AO
5133 * manual/string.texi: Document MTASC-safety properties.
5134
5da2c93d
AO
5135 * manual/threads.texi: Document MTASC-safety properties.
5136
171e9210
AO
5137 * manual/stdio.texi: Document MTASC-safety properties.
5138
d9e02532
AO
5139 * manual/syslog.texi: Document MTASC-safety properties.
5140
6af8bab7
AO
5141 * manual/sysinfo.texi: Document MTASC-safety properties.
5142
663b02d7
AO
5143 * manual/startup.texi: Document MTASC-safety properties.
5144
973f180b
AO
5145 * manual/socket.texi: Document MTASC-safety properties.
5146
8f3c25c8
AO
5147 * manual/signal.texi: Document MTASC-safety properties.
5148
542210fb
AO
51492014-01-31 Alexandre Oliva <aoliva@redhat.com>
5150
5151 * manual/setjmp.texi: Document MTASC-safety properties.
5152
433c45a2
AO
5153 * manual/search.texi: Document MTASC-safety properties.
5154
c8ce789c
AO
5155 * manual/resource.texi: Document MTASC-safety properties.
5156
19f5d29c
AO
5157 * manual/process.texi: Document MTASC-safety properties.
5158
e2dfb7f4
AO
5159 * manual/platform.texi: Document MTASC-safety properties.
5160
8c1413f5
AO
5161 * manual/pipe.texi: Document MTASC-safety properties.
5162
03483ada
AO
5163 * manual/pattern.texi: Document MTASC-safety properties.
5164
29e7e2df
AO
5165 * manual/message.texi: Document MTASC-safety properties.
5166
9f529d7c
AO
5167 [BZ #12751]
5168 * manual/memory.texi: Document MTASC-safety properties.
5169
27aaa791
AO
5170 * manual/math.texi: Document MTASC-safety properties.
5171
f2d58726
AO
5172 * manual/locale.texi: Document MTASC-safety properties.
5173
2cc3615c
AO
5174 * manual/llio.texi: Document MTASC-safety properties.
5175
d9f0ec97
AO
5176 * manual/libdl.texi: New.
5177
e7c4409a
AO
5178 * manual/lang.texi: Document MTASC-safety properties.
5179
27bdc63c
AO
5180 * manual/job.texi: Document MTASC-safety properties.
5181
a7b90ea9
AO
5182 * manual/getopt.texi: Document MTASC-safety properties.
5183
c49130e3
AO
5184 * manual/ctype.texi: Document MTASC-safety properties.
5185
0d23a5c1
MR
51862014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5187
5188 [BZ #16046]
5189 * csu/libc-tls.c (static_map): Remove variable.
5190 (__libc_setup_tls): Use main executable's link map for TLS data.
5191 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5192 casing for LM_ID_BASE and GL(dl_nns).
5193 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5194 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5195 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5196 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5197 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5198 member.
5199 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5200 l_phnum members.
5201
0037bb60
AO
52022014-01-30 Alexandre Oliva <aoliva@redhat.com>
5203
5204 * manual/debug.texi: Document MTASC-safety properties.
5205
409e00bd
L
52062014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5207
5208 [BZ #16510]
5209 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5210 of __x86_64__ when disabling x87 inline functions.
5211
86e60666
AO
52122014-01-29 Alexandre Oliva <aoliva@redhat.com>
5213
5214 * manual/charset.texi: Document MTASC-safety properties.
5215
76167637
AO
5216 * manual/crypt.texi: Document MTASC-safety properties.
5217
e567f2a0
AO
5218 * manual/conf.texi: Document MTASC-safety properties.
5219
b719dafd
AO
5220 * manual/arith.texi: Document MTASC-safety properties.
5221
4a16c662
AO
5222 * manual/argp.texi: Document MTASC-safety properties.
5223
0a57b83e
AO
5224 * manual/macros.texi: Introduce macros to document multi
5225 thread, asynchronous signal and asynchronous cancellation
5226 safety properties.
5227 * manual/intro.texi: Introduce the properties themselves.
5228
feab2397
KK
52292014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5230
5231 * sysdeps/sh/sh4/Makefile: New file.
5232
1c0d11bc
AS
52332014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5234
5235 * math/gen-libm-test.pl ($srcdir): New variable.
5236 ($auto_input): Use it.
5237
af37a8a3
SP
52382014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5239
d7b00f98
SP
5240 [BZ #16506]
5241 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5242 access beyond array bounds when parsing netgroups file.
5243
af37a8a3
SP
5244 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5245 the old buffer before realloc.
5246
0c00f062
AM
52472014-01-27 Allan McRae <allan@archlinux.org>
5248
5249 * po/fr.po: Update French translation from translation project.
5250
7d69a1b0
KK
52512014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5252
5253 * sysdeps/sh/libm-test-ulps: Regenerate.
5254
6e697ff7
DM
52552014-01-24 David S. Miller <davem@davemloft.net>
5256
5257 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5258
9cadb35c
KK
52592014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5260
5261 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5262 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5263
5d41dadf
SP
52642013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5265
5266 [BZ #16474]
5267 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5268 string pointers after reallocation.
5269
0bad441c
KK
52702014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5271
5272 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5273 __SH4A__ instead of __SH_FPU_ANY__.
5274
7007c661
KK
52752014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5276
5277 * sysdeps/sh/fpu_control.h: New file.
5278 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5279 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5280 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5281 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5282 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5283 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5284 * sysdeps/sh/sys/ucontext.h: Remove.
5285 * sysdeps/sh/sys: Remove directory.
5286
0f0c35e4
AK
52872014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5288
5289 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5290 s390/sys/ucontext.h.
5291 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5292 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5293
4959e284
L
52942014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5295
5296 [BZ #15605]
5297 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5298
d98720e0
AZ
52992014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5300
5301 [BZ#16431]
5302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5303 Adjust the vDSO correctly for internal calls.
5304 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5305
91cbd0bc
AM
53062014-01-20 Allan McRae <allan@archlinux.org>
5307
5308 * po/ca.po: Update Catalan translation from translation project.
5309
7a02cfad
MF
53102014-01-16 Mike Frysinger <vapier@gentoo.org>
5311
5312 * sysdeps/s390/sotruss-lib.c: New file.
5313
736c304a
AZ
53142014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315
5316 [BZ#16430]
6e077ee5 5317 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5318 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5319 local calls issues by not having a PLT stub required for IFUNC calls.
5320 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5321
94d0cea0
JM
53222014-01-16 Joseph Myers <joseph@codesourcery.com>
5323
5324 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5325 * math/test-fpucw-static.c: Likewise.
5326
980cb518
SP
53272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5328
5329 [BZ #16453]
5330 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5331
2393fc01
AZ
53322014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5333
5334 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5335 implementation for powerpc.
5336
d359bcc2
OB
53372014-01-15 Ondřej Bílka <neleai@seznam.cz>
5338
5339 [BZ #14782]
5340 * sysdeps/posix/system.c (__libc_system): Do not enable
5341 asynchronous cancellation.
5342
7beb48cb
AK
53432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5344
5345 [BZ #16427]
5346 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5347 handling only for numbers special also in the IEEE case.
5348
c20d5bf5
AK
53492014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5350
5351 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5352
e83bd4ee
AM
53532014-01-11 Allan McRae <allan@archlinux.org>
5354
76d0ea69
AM
5355 * po/bg.po: Update Bulgarian translation from translation project.
5356
e83bd4ee
AM
5357 * po/de.po: Update German translation from translation project.
5358
bc2ba20a
RM
53592014-01-10 Roland McGrath <roland@hack.frob.com>
5360
5361 * sysdeps/generic/gcc-compat.h: New file.
5362
649ecea2
SP
53632014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5364
5365 * benchtests/asin-inputs: Correct slow inputs.
5366 * benchtests/acos-inputs: Likewise.
5367
1b19c006
AM
53682014-01-10 Allan McRae <allan@archlinux.org>
5369
a46dab08
AM
5370 * po:sv.po: Update Swedish translation from translation project.
5371
421df74a
AM
5372 * po/vi.po: Update Vietnamese translation from translation project.
5373
d61c51a7
AM
5374 * po/eo.po: Update Esperanto translation from translation project.
5375
0339a319
AM
5376 * po/cs.po: Update Czech translation from translation project.
5377
94ad3e99
AM
5378 * po/nl.po: Update Dutch translation from translation project.
5379
e349ca71
AM
5380 * po/pl.po: Update Polish translation from translation project.
5381
ddf930c1
AM
5382 * po/ru.po: Update Russian translation from translation project.
5383
1b19c006
AM
5384 * po/uk.po: Update Ukrainian translation from translation project.
5385
9f236c49
BM
53862014-01-08 Brooks Moses <bmoses@google.com>
5387
5388 * elf/dl-load.c: Fix comment typo.
5389
cd6701cf
CD
53902014-01-08 Carlos O'Donell <carlos@redhat.com>
5391
5392 * po/header.pot: Rename to...
5393 * po/pot.header: ... this.
5394 * po/Makefile: Use pot.header.
5395
66671c84
YK
53962014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5397 Maxim Kuvyrkov <maxim@kugelworks.com>
5398
5399 [BZ #16394]
cd6701cf
CD
5400 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5401 SRC and DEST against LEN.
66671c84 5402
38f34581
AZ
54032014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5404
5405 [BZ #16414]
5406 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5407 implementation.
5408 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5409
54102014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5411
5412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5413
4c327f2a
JM
54142014-01-08 Joseph Myers <joseph@codesourcery.com>
5415
5416 [BZ #16408]
5417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5418 for large positive arguments.
5419
b821f414
JM
54202014-01-07 Joseph Myers <joseph@codesourcery.com>
5421
1f0f2067
JM
5422 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5423
a5a326f6
JM
5424 * math/auto-libm-test-in: Mark various tests with
5425 xfail-rounding:ldbl-128ibm.
5426 * math/auto-libm-test-out: Regenerated.
5427
b821f414
JM
5428 [BZ #16407]
5429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5430 Increase overflow threshold.
5431
94c8a4bc
OB
54322014-01-07 Ondřej Bílka <neleai@seznam.cz>
5433
5434 [BZ #14286]
5435 * stdio-common/vfprintf.c: Check for integer overflow.
5436
87ded0c3
AK
54372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5438
5439 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5440 the first argument and return value of __tls_get_addr_internal.
5441
c5eebdd0
AK
54422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5443
5444 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5445 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5446
05d138ef
AK
54472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5448
5449 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5450 * sysdeps/s390/rtld-global-offsets.sym: New file.
5451 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5452 GLIBC_2.19 symbol.
5453 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5454 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5455 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5456 ... this.
5457 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5458 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5459 ... this.
5460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5461 Regenerate.
5462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5463 Regenerate.
5464 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5465 halfs of GPRs for high_gprs contexts.
5466 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5467 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5468 field.
5469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5470 uc_flags field.
5471 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5472 64 bit versions:
5473 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5474 for high GPRs (uc_high_gprs) and for future extensions
5475 (__reserved).
5476 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5477 for future extensions (__reserved).
5478 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5479 64 bit versions:
5480 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5481 SC_HIGHGPRS offset definition.
5482 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5483 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5484
93a45ff1
AK
5485 * Versions.def: Add GLIBC_2.19 for libpthread.
5486 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5487 siglongjmp for libpthread with GLIBC_2.19 symver.
5488 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5489 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5490 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5491 * sysdeps/s390/__longjmp.c: New file.
5492 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5493 * sysdeps/s390/longjmp.c: New file.
5494 * sysdeps/s390/setjmp.S: New file.
5495 * sysdeps/s390/sigjmp.S: New file.
5496 * sysdeps/s390/v1-longjmp.c: New file.
5497 * sysdeps/s390/v1-setjmp.h: New file.
5498 * sysdeps/s390/v1-sigjmp.c: New file.
5499 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5500 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5501 GLIBC_2.19 version.
5502 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5503 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5504 versioned symbols for ____longjmp_chk.
5505 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5506 Likewise.
5507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5508 Regenerate.
5509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5510 Regenerate.
5511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5512 Regenerate.
5513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5514 Regenerate.
5515 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5516 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5517 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5518 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5519 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5520 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5521 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5522 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5523 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5524 * sysdeps/s390/rtld-__longjmp.c: New file.
5525 * sysdeps/s390/rtld-setjmp.S: New file.
5526
eb3fc44b
JM
55272014-01-06 Joseph Myers <joseph@codesourcery.com>
5528
5529 [BZ #16400]
5530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5531 Return -__logl (x) for small positive arguments without evaluating
5532 a polynomial.
5533
9341dde4
MF
55342014-01-06 Mike Frysinger <vapier@gentoo.org>
5535
5536 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5537 Rename to ...
5538 (__ptrace_peeksiginfo_args): ... this.
5539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5542
4cff0293
AM
55432014-01-06 Allan McRae <allan@archlinux.org>
5544
5545 * inet/netinet/in.h: Fix typo in comment.
5546
75595dcf
AJ
55472014-01-05 Andreas Jaeger <aj@suse.de>
5548
5549 * sysdeps/i386/fpu/libm-test-ulps: Update.
5550
79c1e109
AM
55512014-01-05 Allan McRae <allan@archlinux.org>
5552
dd804818
AM
5553 * po/libc.pot: Regenerated.
5554
79c1e109
AM
5555 * malloc/memusagestat.c: Fix gettext call formatting.
5556
0c813d1f
SK
55572014-01-04 Sami Kerola <kerolasa@iki.fi>
5558
5559 * nscd/nscd.c: Improve usage() output.
5560
20f4a8d9
MF
55612014-01-04 Mike Frysinger <vapier@gentoo.org>
5562
5563 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5564 * sysdeps/unix/sysv/linux/configure: Regenerated.
5565 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5566 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5567
22562bb2
JM
55682014-01-03 Joseph Myers <joseph@codesourcery.com>
5569
5570 [BZ #16390]
5571 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5572 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5573
d7ad2d9b
AZ
55742014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5575
5576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5577 extra tokens at end of #undef directive.
5578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5579 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5581
7dd009d8
JM
55822014-01-03 Joseph Myers <joseph@codesourcery.com>
5583
24db925a
JM
5584 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5585
7dd009d8
JM
5586 * math/auto-libm-test-in: Mark various tests with
5587 xfail-rounding:ldbl-128ibm.
5588 * math/auto-libm-test-out: Regenerated.
5589
396e3ecf
JM
55902014-01-02 Joseph Myers <joseph@codesourcery.com>
5591
819e5d50
JM
5592 [BZ #16386]
5593 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5594 numbers with subnormal high part when calculating exponent.
5595
90b6a1e5
JM
5596 [BZ #16385]
5597 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5598 fabs.
5599
396e3ecf
JM
5600 [BZ #16384]
5601 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5602 M_LN2l.
5603 (__ieee754_acoshl): Use __log1pl not __log1p.
5604
6c8dbf00
OB
56052013-01-02 Ondřej Bílka <neleai@seznam.cz>
5606
57f41c40
AS
5607 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5608 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5609 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5610 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5611 (reused_arena, arena_get2): Convert to GNU style.
5612 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5613 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5614 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5615 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5616 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5617 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5618 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5619 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5620 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5621 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5622 * malloc/malloc.h: Likewise.
57f41c40
AS
5623 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5624 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5625 * malloc/mcheck.h: Likewise.
57f41c40
AS
5626 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5627 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5628 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5629 * malloc/morecore.c (__default_morecore): Likewise.
5630 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5631 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5632 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5633 (print_and_abort): Likewise.
6c8dbf00
OB
5634 * malloc/obstack.h: Likewise.
5635 * malloc/set-freeres.c (__libc_freeres): Likewise.
5636 * malloc/tst-mallocstate.c (main): Likewise.
5637 * malloc/tst-mtrace.c (main): Likewise.
5638 * malloc/tst-realloc.c (do_test): Likewise.
5639
d4124212
SP
56402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5641
9a3c6a6f
SP
5642 [BZ #16366]
5643 * nscd/netgroupcache.c (do_notfound): New function.
5644 (addgetnetgrentX): Use it.
5645
d4124212
SP
5646 [BZ # 16365]
5647 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5648 NSS_STATUS_NOTFOUND.
5649
97b9a009
JM
56502014-01-01 Joseph Myers <joseph@codesourcery.com>
5651
5652 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5654
d4697bc9
AM
56552014-01-01 Allan McRae <allan@archlinux.org>
5656
ddb3687f
AM
5657 * scripts/update-copyrights: Update configure input file suffix.
5658
88726d48
AM
5659 * NEWS: Update copyright year.
5660 * catgets/gencat.c: Likewise.
5661 * csu/version.c: Likewise.
5662 * debug/catchsegv.sh: Likewise.
5663 * debug/pcprofiledump.c: Likewise.
5664 * debug/xtrace.sh: Likewise.
5665 * elf/ldconfig.c: Likewise.
5666 * elf/ldd.bash.in: Likewise.
5667 * elf/pldd.c: Likewise.
5668 * elf/sotruss.ksh: Likewise.
5669 * elf/sprof.c: Likewise.
5670 * iconv/iconv_prog.c: Likewise.
5671 * iconv/iconvconfig.c: Likewise.
5672 * locale/programs/locale.c: Likewise.
5673 * locale/programs/localedef.c: Likewise.
5674 * login/programs/pt_chown.c: Likewise.
5675 * malloc/memusage.sh: Likewise.
5676 * malloc/memusagestat.c: Likewise.
5677 * malloc/mtrace.pl: Likewise.
5678 * manual/libc.texinfo: Likewise.
5679 * nscd/nscd.c: Likewise.
5680 * nss/getent.c: Likewise.
5681 * nss/makedb.c: Likewise.
5682 * posix/getconf.c: Likewise.
5683 * scripts/test-installation.pl: Likewise.
5684
d4697bc9
AM
5685 * All files with FSF copyright notices: Update copyright dates
5686 using scripts/update-copyrights.
5687 * intl/plural.c: Regenerated.
5688 * locale/programs/charmap-kw.h: Likewise.
5689 * locale/programs/locfile-kw.h: Likewise.
5690
c8590f9d
MF
56912013-12-31 Mike Frysinger <vapier@gentoo.org>
5692
5693 * sysdeps/unix/sysv/linux/configure: Regenerated.
5694 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5695 the linux/fanotify.h header.
5696 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5697 HAVE_LINUX_FANOTIFY_H is defined.
5698
b19221b9
SP
56992013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5700
dd1d85e5
SP
5701 * benchtests/cos-inputs: New inputs.
5702 * benchtests/sin-inputs: Likewise.
5703
1acbb90f
SP
5704 * benchtests/atan-inputs: New inputs. Fix name of multiple
5705 precision fallback inputs.
5706
4c012ed3
SP
5707 * benchtests/atanh-inputs: New inputs.
5708 * benchtests/tanh-inputs: Likewise.
5709
eff98324
SP
5710 * benchtests/acosh-inputs: New inputs.
5711 * benchtests/asinh-inputs: Likewise.
5712
ce641152
SP
5713 * benchtests/cosh-inputs: New inputs.
5714 * benchtests/sinh-inputs: Likewise.
5715
b19221b9
SP
5716 * benchtests/acos-inputs: Add more inputs.
5717 * benchtests/asin-inputs: Likewise.
5718
030a4976 57192013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5720
030a4976 5721 [BZ #16375]
9dcc8f11
VS
5722 * manual/arith.texi: Fix spelling.
5723 * manual/charset.texi: Likewise.
5724 * manual/errno.texi: Likewise.
5725 * manual/filesys.texi: Likewise.
5726 * manual/lang.texi: Likewise.
5727 * manual/llio.texi: Likewise.
5728 * manual/locale.texi: Likewise.
5729 * manual/message.texi: Likewise.
5730 * manual/resource.texi: Likewise.
5731 * manual/search.texi: Likewise.
5732 * manual/setjmp.texi: Likewise.
5733 * manual/stdio.texi: Likewise.
5734 * manual/string.texi: Likewise.
5735 * manual/sysinfo.texi: Likewise.
5736 * manual/time.texi: Likewise.
5737
11520a57
CD
57382013-12-27 Carlos O'Donell <carlos@redhat.com>
5739
5740 * po/sl.po: New file.
5741
471103ae
MF
57422013-12-27 Mike Frysinger <vapier@gentoo.org>
5743
5744 * .gitignore: Add core/.gdbinit/.gdb_history.
5745
6c9642ed
AM
57462013-12-27 Allan McRae <allan@archlinux.org>
5747
5748 [BZ #16369]
5749 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5750 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5751
3f637079
BM
57522013-12-24 Brooks Moses <bmoses@google.com>
5753
5754 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5755 all compilers that claim C++98 compliance, not just GCC.
5756 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5757 Likewise.
5758
abc26e99
MK
57592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5760
5761 * NEWS: Restore accidentally deleted bug-fix entries.
5762
362b47fe
MK
57632013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5764 Ondřej Bílka <neleai@seznam.cz>
5765
5766 [BZ #15073]
5767 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5768 have_lock.
362b47fe 5769
b9bcbbcb
OB
57702013-12-23 Ondřej Bílka <neleai@seznam.cz>
5771
5772 [BZ #12986]
5773 * manual/stdio.texi (String Input Conversions): Clarify that character
5774 classes are not supported.
5775
fb55fcd2
AZ
57762013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777
5778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5779
ef7344f0
JM
57802013-12-22 Joseph Myers <joseph@codesourcery.com>
5781
4f40e4b3
JM
5782 [BZ #16337]
5783 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5784 Calculate results for small negative arguments directly rather
5785 than using reflection formula with special underflow handling.
5786
ef7344f0
JM
5787 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5788 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5789 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5790 (fchflags): Likewise.
5791 (revoke): Likewise.
5792 (setlogin): Likewise.
5793 (sigaltstack): Likewise.
5794 (wait4): Likewise.
5795 (sigblock): Remove.
5796 (sigsetmask): Likewise.
5797 (wait3): Likewise.
5798 (waitpid): Likewise.
5799 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5800 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5801 file.
5802 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5803 * sysdeps/unix/bsd/Makefile: ... here.
5804 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5805 * sysdeps/unix/bsd/Versions: ... here.
5806 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5807 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5808 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5809 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5810 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5811 * sysdeps/unix/bsd/sigblock.c: ... here.
5812 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5813 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5814 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5815 * sysdeps/unix/bsd/sigvec.c: ... here.
5816 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5817 * sysdeps/unix/bsd/tcdrain.c: ... here.
5818 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5819 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5820 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5821 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5822 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5823 * sysdeps/unix/bsd/wait.c: ... here.
5824 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5825 * sysdeps/unix/bsd/wait3.c: ... here.
5826 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5827 * sysdeps/unix/bsd/waitpid.c: ... here.
5828
5b0626b9
JM
58292013-12-21 Joseph Myers <joseph@codesourcery.com>
5830
5831 [BZ #16356]
5832 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5833 round-to-nearest for [!USE_AS_EXPM1L].
5834 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5835 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5836 more tests of exp and exp10. Expect some exp10 tests to miss
5837 exceptions or fail in directed rounding modes.
5838 * math/auto-libm-test-out: Regenerated.
5839 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5840 (exp10_test_tonearest): New function.
5841 (exp10_towardzero_test_data): New array.
5842 (exp10_test_towardzero): New function.
5843 (exp10_downward_test_data): New array.
5844 (exp10_test_downward): New function.
5845 (exp10_upward_test_data): New array.
5846 (exp10_test_upward): New function.
5847 (main): Call the new functions.
5848 * sysdeps/i386/fpu/libm-test-ulps: Update.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5850
7fda5682
JM
58512013-12-20 Joseph Myers <joseph@codesourcery.com>
5852
31e3a405
JM
5853 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5854 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5855 * math/auto-libm-test-out: Regenerated.
5856 * math/libm-test.inc (acosh_test_data): Add more tests.
5857 (atanh_test_data): Likewise.
5858 (ceil_test_data): Likewise.
5859 (copysign_test_data): Likewise.
5860 * sysdeps/i386/fpu/libm-test-ulps: Update.
5861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5862
85bff96a
JM
5863 * timezone/checktab.awk: Update from tzcode 2013i.
5864 * timezone/private.h: Likewise.
5865 * timezone/scheck.c: Likewise.
5866 * timezone/tzfile.h: Likewise.
5867 * timezone/tzselect.ksh: Likewise.
5868 * timezone/zdump.c: Likewise.
5869 * timezone/zic.c: Likewise.
5870
b7867a3b
JM
5871 * math/auto-libm-test-in: Add tests of cpow.
5872 * math/auto-libm-test-out: Regenerated.
5873 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5874 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5875 mpc_cc_c.
5876 (func_calc_desc): Add mpc_cc_c union field.
5877 (test_functions): Add cpow.
5878 (special_fill_2pi): New function.
5879 (special_real_inputs): Add 2pi.
5880 (calc_generic_results): Handle mpc_cc_c.
5881 * sysdeps/i386/fpu/libm-test-ulps: Update.
5882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883
7fda5682
JM
5884 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5885 csqrt, ctan and ctanh.
5886 * math/auto-libm-test-out: Regenerated.
5887 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5888 (TEST_COND_x86): Likewise.
5889 (ccos_test_data): Use AUTO_TESTS_c_c.
5890 (ccosh_test_data): Likewise.
5891 (cexp_test_data): Likewise.
5892 (clog_test_data): Likewise.
5893 (csqrt_test_data): Likewise.
5894 (ctan_test_data): Likewise.
5895 (ctan_tonearest_test_data): Likewise.
5896 (ctan_towardzero_test_data): Likewise.
5897 (ctan_downward_test_data): Likewise.
5898 (ctan_upward_test_data): Likewise.
5899 (ctanh_test_data): Likewise.
5900 (ctanh_tonearest_test_data): Likewise.
5901 (ctanh_towardzero_test_data): Likewise.
5902 (ctanh_downward_test_data): Likewise.
5903 (ctanh_upward_test_data): Likewise.
5904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5905 mpc_c_c.
5906 (func_calc_desc): Add mpc_c_c union field.
5907 (FUNC_mpc_c_c): New macro.
5908 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5909 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5910 ctanh.
5911 (special_fill_min_subnorm_p120): New function.
5912 (special_real_inputs): Add min_subnorm_p120.
5913 (calc_generic_results): Handle mpc_c_c.
5914 * sysdeps/i386/fpu/libm-test-ulps: Update.
5915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5916
5ff8d60e
SP
59172013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5918
57f41c40
AS
5919 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5920 (do_sin_slow): New functions.
5921 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5922 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5923
84ba214c
SP
5924 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5925 Use M to change sign of result instead of X. Assume X is
5926 positive.
5927 (csloww1): Likewise.
5928 (__sin): Adjust.
5929 (__cos): Adjust.
5930
975195e4
SP
5931 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5932 arguments A and DA.
5933 (__sin): Adjust.
5934 (__cos): Likewise.
5935
5ff8d60e
SP
5936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5937 (__cos): Likewise.
5938 (sloww1): Don't adjust sign of DX.
5939 (csloww1): Likewise.
5940 (sloww2): Use X directly and don't adjust sign of DX.
5941 (csloww2): Likewise.
5942
eb983568
JM
59432013-12-19 Joseph Myers <joseph@codesourcery.com>
5944
64a17f1a
JM
5945 * math/auto-libm-test-in: Add tests of cabs and carg.
5946 * math/auto-libm-test-out: Regenerated.
5947 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5948 (carg_test_data): Likewise.
5949 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5950 mpc_c_f.
5951 (func_calc_desc): Add mpc_c_f union field.
5952 (test_functions): Add cabs and carg.
5953 (calc_generic_results): Handle mpc_c_f.
5954
eb983568
JM
5955 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5956 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5957 as a macro and a compat symbol.
5958 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5959 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5960 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5961 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5962 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5964 not use .hidden.
5965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5966 Likewise.
5967 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5968 Likewise.
5969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5970 Likewise.
5971 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5972 Likewise.
5973 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5974 Likewise.
5975 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5976 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5977 from GLIBC_2.3.2.
5978
6eeb678a
AZ
59792013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5980
5981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5982
6f6fc482
JM
59832013-12-19 Joseph Myers <joseph@codesourcery.com>
5984
21fea2e2
JM
5985 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5986 trailing whitespace removed.
5987 * scripts/config.guess: Update to version 2013-11-29.
5988 * scripts/config.sub: Update to version 2013-10-01.
5989
6f6fc482
JM
5990 * math/auto-libm-test-in: Add tests of sincos.
5991 * math/auto-libm-test-out: Regenerated.
5992 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5994 mpfr_f_11.
5995 (func_calc_desc): Add mpfr_f_11 union field.
5996 (test_functions): Add sincos.
5997 (calc_generic_results): Handle mpfr_f_11.
5998 * sysdeps/i386/fpu/libm-test-ulps: Update.
5999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6000
83f5c32d
AS
60012013-12-19 Andreas Schwab <schwab@suse.de>
6002
6003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6004 CALL_MCOUNT.
6005 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6006 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6007 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6008
c688b419
JM
60092013-12-19 Joseph Myers <joseph@codesourcery.com>
6010
335ee092
JM
6011 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6012 * sysdeps/i386/fpu/libm-test-ulps: Update.
6013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6014
f88acd39
JM
6015 [BZ #16293]
6016 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6017 round-to-nearest mode when using frndint.
6018 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6019 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6021 Likewise.
6022 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6023 sinh test to fail.
6024 * math/auto-libm-test-out: Regenerated.
6025 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6026 (TEST_COND_x86): Likewise.
6027 (expm1_tonearest_test_data): New array.
6028 (expm1_test_tonearest): New function.
6029 (expm1_towardzero_test_data): New array.
6030 (expm1_test_towardzero): New function.
6031 (expm1_downward_test_data): New array.
6032 (expm1_test_downward): New function.
6033 (expm1_upward_test_data): New array.
6034 (expm1_test_upward): New function.
6035 (main): Run the new test functions.
6036 * sysdeps/i386/fpu/libm-test-ulps: Update.
6037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6038
c688b419
JM
6039 * include/features.h: Update comment documenting feature test
6040 macros. Mention _DEFAULT_SOURCE in comment.
6041 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6042 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6043 _BSD_SOURCE and _SVID_SOURCE.
6044 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6045 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6046 !_SVID_SOURCE]: Likewise.
6047 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6048 (__USE_POSIX_IMPLICITLY): Define.
6049 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6050 (_POSIX_SOURCE): Undefine and redefine.
6051 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6052 (_POSIX_C_SOURCE): Likewise.
6053 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6054 (Feature Test Macros): Update documentation of default features.
6055
9f6e964c
RS
60562013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6057
6058 * benchtests/Makefile: Add bench-strtok.
6059 * benchtests/bench-strtok.c: New file: strtok benchtest.
6060
ee0a148a
AM
60612013-12-19 Allan McRae <allan@archlinux.org>
6062
6063 * manual/install.texi: Suppress menu for plain text output.
6064 * INSTALL: Regenerated.
6065
b9ab448f
BM
60662013-12-18 Brooks Moses <bmoses@google.com>
6067
6068 [BZ #15846]
6069 * misc/getauxval.c: Include errno.h.
6070 (__getauxval): Set errno to ENOENT if the requested type is not
6071 found.
6072 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6073 don't declare with __attribute_const__.
6074 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6075 * manual/startup.texi: Document that getauxval sets errno.
6076
23776487
JM
60772013-12-18 Joseph Myers <joseph@codesourcery.com>
6078
f889953b
JM
6079 * math/auto-libm-test-in: Add tests of jn and yn.
6080 * math/auto-libm-test-out: Regenerated.
6081 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6082 (yn_test_data): Likewise.
6083 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6084 mpfr_if_f.
6085 (func_calc_desc): Add mpfr_if_f union field.
6086 (FUNC_mpfr_if_f): New macro.
6087 (test_functions): Add jn and yn.
6088 (calc_generic_results): Assert type of second input for
6089 mpfr_ff_f. Handle mpfr_if_f.
6090 (output_for_one_input_case): Disable all checking for arguments
6091 fitting floating-point types in case of an integer argument.
6092 * sysdeps/i386/fpu/libm-test-ulps: Update.
6093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6094
23776487
JM
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6096 Don't expect fegetround reference in libm.so.
6097
cb756c6d
MS
60982013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6099
6100 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6101 $(config-cflags-nofma).
6102
2dec468f
JM
61032013-12-18 Joseph Myers <joseph@codesourcery.com>
6104
5953eb3a
JM
6105 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6106 * math/auto-libm-test-out: Regenerated.
6107
2dec468f
JM
6108 [BZ #16338]
6109 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6110 to determine exponent and adjust argument to have exponent of -1.
6111 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6112 log2.
6113 * math/auto-libm-test-out: Regenerated.
6114 * sysdeps/i386/fpu/libm-test-ulps: Update.
6115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6116
4d84e6ad
OB
61172013-12-18 Ondřej Bílka <neleai@seznam.cz>
6118
6119 * manual/probes.texi: Remove cases when per-thread arenas are
6120 disabled.
6121
1818483b
AS
61222013-12-18 Andreas Schwab <schwab@suse.de>
6123
6124 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6125 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6126 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6127 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6128 * sysdeps/i386/i686/multiarch/Makefile: Update.
6129 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6130
25de95bf
JM
61312013-12-17 Joseph Myers <joseph@codesourcery.com>
6132
6133 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6134 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6135
674762d9
PE
61362013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6137
ed27ed83 6138 [BZ #15968]
0748546f
PE
6139 Support TZ transition times < 00:00:00.
6140 This is needed for version-3 tz-format files; it supports time
6141 stamps past 2037 for America/Godthab (the only entry in the tz
6142 database for which this change is relevant).
6143 * manual/time.texi (TZ Variable): Document transition times
6144 from -167:59:59 through -00:00:01.
6145 * time/tzset.c (tz_rule): Time of day is now signed.
6146 (__tzset_parse_tz): Parse negative time of day.
6147
4480e934
PE
6148 Document TZ transition times >= 25:00:00.
6149 * manual/time.texi (TZ Variable): Document transition times from
6150 25:00:00 through 167:59:59. These are already supported, and this
6151 support will help with version-3 tz-format files.
6152
69947401
PE
6153 * manual/time.texi (TZ Variable): Modernize North America example
6154 to reflect current (i.e., 2007-and-later) daylight saving rules.
6155
674762d9
PE
6156 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6157
7011c262
JM
61582013-12-17 Joseph Myers <joseph@codesourcery.com>
6159
2fc6557e
JM
6160 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6161 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6164 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6165 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6166 * sysdeps/unix/bsd/clock.c: Likewise.
6167 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6168 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6169 * sysdeps/unix/bsd/init-posix.c: Likewise.
6170 * sysdeps/unix/bsd/poll.c: Likewise.
6171 * sysdeps/unix/bsd/ptsname.c: Likewise.
6172 * sysdeps/unix/bsd/seekdir.c: Likewise.
6173 * sysdeps/unix/bsd/setegid.c: Likewise.
6174 * sysdeps/unix/bsd/seteuid.c: Likewise.
6175 * sysdeps/unix/bsd/setgid.c: Likewise.
6176 * sysdeps/unix/bsd/setrgid.c: Likewise.
6177 * sysdeps/unix/bsd/setruid.c: Likewise.
6178 * sysdeps/unix/bsd/setsid.c: Likewise.
6179 * sysdeps/unix/bsd/setuid.c: Likewise.
6180 * sysdeps/unix/bsd/sigaction.c: Likewise.
6181 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6182 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6183 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6184 * sysdeps/unix/bsd/telldir.c: Likewise.
6185 * sysdeps/unix/bsd/times.c: Likewise.
6186 * sysdeps/unix/bsd/usleep.c: Likewise.
6187
029c7b25
JM
6188 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6189 ($(objpfx)libbsd-compat.a): Remove rule.
6190
7011c262
JM
6191 * include/features.h (__FAVOR_BSD): Do not define.
6192 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6193 features conflicting with POSIX.
6194 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6195 (_BSD_SOURCE): Remove description of not being a subset of other
6196 feature test macros.
6197 * manual/job.texi (getpgrp): Do not document BSD version.
6198 (getpgid): Do not document by reference to BSD getpgrp.
6199 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6200 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6201 * signal/signal.h [__FAVOR_BSD]: Likewise.
6202 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6203 instead of making contents conditional on [__FAVOR_BSD].
6204 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6205
affb6f78
AZ
62062013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207
6208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6209
c88769dd
JM
62102013-12-17 Joseph Myers <joseph@codesourcery.com>
6211
6432a540
JM
6212 [BZ #16314]
6213 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6214 values below 2**-450, not 2**-500.
6215 * math/auto-libm-test-in: Don't allow spurious underflow from
6216 hypot.
6217 * math/auto-libm-test-out: Regenerated.
6218
c88769dd
JM
6219 [BZ #16316]
6220 [BZ #16330]
6221 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6222 values of ha and hb and sort them after adjusting subnormal
6223 arguments.
6224 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6225 Likewise.
6226 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6227 values of ea and eb and sort them after adjusting subnormal
6228 arguments.
6229 * math/auto-libm-test-in: Do not expect some hypot tests of
6230 subnormals to fail. Add more hypot tests.
6231 * math/auto-libm-test-out: Regenerated.
6232
29618f6b
KK
62332013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6234
6235 [BZ #13304]
6236 * sysdeps/sh/s_fma.c: New file.
6237 * sysdeps/sh/s_fmaf.c: New file.
6238 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6239 version.
6240 * sysdeps/sh/Implies: Add sh/soft-fp.
6241
eacfdfbf
RM
62422013-12-16 Roland McGrath <roland@hack.frob.com>
6243
6244 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6245 level of indirection to members `objname', `errstring', `malloced'.
6246 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6247 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6248 it as the __longjmp argument (just pass 1 instead).
6249 (_dl_catch_error): Initialize C with argument pointers and address of
6250 volatile local ERRCODE rather than copying values out of C at return.
6251
ff362e5b
JM
62522013-12-16 Joseph Myers <joseph@codesourcery.com>
6253
6254 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6255 * math/auto-libm-test-out: Regenerated.
6256 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6257 (hypot_test_data): Likewise.
6258 (pow_test_data): Likewise.
6259 (pow_tonearest_test_data): Likewise.
6260 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6261 mpfr_ff_f.
6262 (func_calc_desc): Add mpfr_ff_f union field.
6263 (FUNC_mpfr_ff_f): New macro.
6264 (test_functions): Add atan2, hypot and pow.
6265 (special_fill_min): New function.
6266 (special_fill_minus_min): Likewise.
6267 (special_fill_min_subnorm): Likewise.
6268 (special_fill_minus_min_subnorm): Likewise.
6269 (special_real_inputs): Add min, -min, min_subnorm and
6270 -min_subnorm.
6271 (calc_generic_results): Handle mpfr_ff_f.
6272 * sysdeps/i386/fpu/libm-test-ulps: Update.
6273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6274
5764c27f
WN
62752013-12-16 Will Newton <will.newton@linaro.org>
6276
6277 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6278 (Aligned Memory Blocks): Add documentation for aligned_alloc
6279 and suggest it as an alternative to posix_memalign.
6280 (Hooks for Malloc): Document __memalign_hook is also called
6281 for aligned_alloc. (Summary of Malloc): Add summary for
6282 aligned alloc. Document __memalign_hook is also called
6283 for aligned_alloc.
6284
0a096e44
WN
62852013-12-16 Will Newton <will.newton@linaro.org>
6286
6287 * manual/memory.texi (Malloc Examples): Clarify default
6288 alignment documentation. Suggest posix_memalign rather
6289 than memalign or valloc.
6290 (Aligned Memory Blocks): Remove suggestion to use memalign
6291 or valloc. Remove obsolete comment about BSD.
6292 Document memalign errno values and mark the function obsolete.
6293 Document posix_memalign returned error codes. Mark valloc
6294 as obsolete. (Hooks for Malloc): __memalign_hook is also
6295 called for posix_memalign and valloc.
6296 (Summary of Malloc): Add posix_memalign to function summary.
6297 __memalign_hook is also called for posix_memalign and valloc.
6298
8d561986
SP
62992013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6300
6301 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6302 TAYLOR_SIN.
6303 (__sin): Adjust.
6304 (__cos): Likewise.
6305 (sloww): Use mynumber union. Expand ternary operator into
6306 if-else statements.
6307 (cslow): use mynumber union.
6308
73616a74
AM
63092013-12-16 Allan McRae <allan@archlinux.org>
6310
9e8ac24b
AM
6311 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6312 * configure: Regenerated.
6313
6f8e37eb
AM
6314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6315
8894bad3
AM
6316 [BZ #14120]
6317 * configure.ac: Added --enable-maintainer-mode. Check for
6318 autoconf when enabled.
6319 * configure: Regenerated.
6320
73616a74
AM
6321 * nscd/nscd.service: New file.
6322 * nscd/nscd.tmpfiles: New file.
6323
584b18eb
OB
63242013-12-14 Ondřej Bílka <neleai@seznam.cz>
6325
6326 [BZ #12100]
6327 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6328 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6329 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6330 (strstr): Add __strstr_sse2_unaligned ifunc.
6331 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6332 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6333 (strcasestr): Remove __strcasestr_sse42 ifunc.
6334 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6337
8a5c7897
KK
63382013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6339
6340 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6341 * sysdeps/sh/bits/fenv.h: ... here.
6342 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6343
fd712ef3
AZ
63442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345
6346 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6347
42fcb46c
AZ
6348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6349 hypotf multiarch implementations.
6350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6353 multiarch hypot for PPC64.
6354 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6357 multiarch hypotf for PPC64.
6358
83efded4
AZ
6359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6360 modff multiarch implementations.
6361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6364 multiarch modf for PPC64.
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6368 multiarch modff for PPC64.
6369
43e246d2
AZ
6370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6371 and logl multiarch implementations.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6375 multiarch logb for PPC64.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6379 multiarch logb for PPC64.
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6383 multiarch logb for PPC64.
6384
8fdad123
AZ
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6386 isinff multiarch implementation.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6388 file.
6389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6391 multiarch isinf for PPC64.
6392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6393 file.
6394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6395 multiarch isinff for PPC64.
6396
1481d706
AZ
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6398 finitef multiarch implementation.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6400 file.
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6403 multiarch finite for PPC64.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6405 file.
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6407 multiarch finitef for PPC64.
6408
5ccd5fc8
AZ
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6410 lrint multiarch implementation.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6412 file.
6413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6415 multiarch llrint for PPC64.
6416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6417 multiarch lrint for PPC64.
6418
2568f3fa
AZ
6419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6420 copysignf multiarch implementation.
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6422 file.
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6424 file.
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6426 multiarch copysign for PPC64.
6427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6428 multiarch copysignf for PPC64.
6429
1cb341fd
AZ
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6431 multiarch implementation.
6432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6433 file.
6434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6435 file.
6436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6437 file.
6438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6439 file.
6440 multiarch llround for PPC64.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6442 multiarch trunc for PPC64.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6444 multiarch truncf for PPC64.
6445
59a3e194
AZ
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6447 multiarch implementation.
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6449 file.
6450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6451 file.
6452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6453 file.
6454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6455 file.
6456 multiarch llround for PPC64.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6458 multiarch round for PPC64.
6459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6460 multiarch roundf for PPC64.
6461
357fd3b4
AZ
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6463 multiarch implementation.
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6465 file.
6466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6467 file.
6468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6469 file.
6470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6471 file.
6472 multiarch llround for PPC64.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6474 multiarch floor for PPC64.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6476 multiarch floorf for PPC64.
6477
96770f12
AZ
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6479 multiarch implementation.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6481 file.
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6483 file.
6484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6485 file.
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6487 file.
6488 multiarch llround for PPC64.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6490 multiarch ceil for PPC64.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6492 multiarch ceilf for PPC64.
6493
c3627f6e
AZ
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6495 multiarch implementation.
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6497 file.
6498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6499 file.
6500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6501 file.
6502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6503 multiarch llround for PPC64.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6505 multiarch lround for PPC64.
6506
b2284ad7
AZ
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6508 multiarch implementation.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6512 file.
6513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6516 multiarch isnan for PPC64.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6518 multiarch isnanf for PPC64.
6519
69bbc63d
AZ
6520 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6521 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6522 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6523 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6524 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6526
c24517c9
AZ
6527 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6528 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6531
a52374e8
AZ
6532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6533 multiarch implementations.
6534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6535 (__libc_ifunc_impl_list): Likewise.
6536 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6538 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6539 multiarch stpcpy for PPC64.
6540
7f5ec113
AZ
6541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6542 multiarch implementations.
6543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6544 (__libc_ifunc_impl_list): Likewise.
6545 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6546 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6547 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6548 multiarch strcpy for PPC64.
6549
e28bcd42
AZ
6550 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6551 redefine function name.
6552 (_wordcopy_fwd_dest_aligned): Likewise.
6553 (_wordcopy_bwd_aligned): Likewise.
6554 (_wordcopy_bwd_dest_aligned): Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6556 multiarch implementations.
6557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6558 (__libc_ifunc_impl_list): Likewise.
6559 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6560 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6561 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6562 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6563 multiarch wcscpy for PPC64.
6564
92cacfce
AZ
6565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6566 multiarch implementations.
6567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6568 (__libc_ifunc_impl_list): Likewise.
6569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6571 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6572 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6573 multiarch wcscpy for PPC64.
6574
7b714620
AZ
6575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6576 multiarch implementations.
6577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6578 (__libc_ifunc_impl_list): Likewise.
6579 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6581 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6582 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6583 multiarch wcsrchr for PPC64.
6584
16fd2ae3
AZ
6585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6586 multiarch implementations.
6587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6588 (__libc_ifunc_impl_list): Likewise.
6589 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6590 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6591 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6592 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6593 multiarch wcschr for PPC64.
6594
9ee2969b
AZ
6595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6596 multiarch implementations.
6597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6598 (__libc_ifunc_impl_list): Likewise.
6599 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6600 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6601 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6602 multiarch strchrnul for PPC64.
6603
372dc060
AZ
6604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6605 implementations.
6606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6607 (__libc_ifunc_impl_list): Likewise.
6608 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6609 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6610 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6611 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6612 strchr for PPC64.
6613
24c2c3b9
AZ
6614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6615 implementations.
6616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6617 (__libc_ifunc_impl_list): Likewise.
6618 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6621 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6622 strncmp for PPC64.
6623
1c92d9a0
AZ
6624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6625 multiarch implementations.
6626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6627 (__libc_ifunc_impl_list): Likewise.
6628 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6629 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6630 strncasecmp for PPC64.
6631 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6632 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6633 multiarch strncasecmp_l for PPC64.
6634
17de3ee3
AZ
6635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6636 multiarch implementations.
6637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6638 (__libc_ifunc_impl_list): Likewise.
6639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6641 multiarch strcasecmp for PPC64.
6642 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6643 file.
6644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6645 multiarch strcasecmp_l for PPC64.
6646
62982bf9
AZ
6647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6648 implementations.
6649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6650 (__libc_ifunc_impl_list): Likewise.
6651 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6653 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6654 strnlen for PPC64.
6655
a65f4904
AZ
6656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6657 implementations.
6658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6659 (__libc_ifunc_impl_list): Likewise.
6660 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6661 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6662 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6663 strlen for PPC64.
6664
1fd005ad
AZ
6665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6666 implementations.
6667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6668 (__libc_ifunc_impl_list): Likewise.
6669 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6670 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6671 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6672 rawmemrchr for PPC64.
6673
cd05ba91
AZ
6674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6675 implementation.
6676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6677 (__libc_ifunc_impl_list): Likewise.
6678 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6679 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6680 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6681 memrchr for PPC64.
6682
870f8676
AZ
6683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6684 implementation.
6685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6686 (__libc_ifunc_impl_list): Likewise.
6687 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6688 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6689 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6690 memchr for PPC64.
6691
f00be62b
AZ
6692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6693 implementation.
6694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6695 (__libc_ifunc_impl_list): Likewise.
6696 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6697 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6698 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6699 mempcpy for PPC64.
6700
8a29a3d0
AZ
6701 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6702 avoid cretion of __bzero symbol.
6703 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6704 Likewise.
6705 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6706 Likewise.
6707 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6708 Likewise.
6709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6710 multiarch implementations.
6711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6712 (__libc_ifunc_impl_list): Likewise.
6713 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6715 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6716 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6717 bzero for PPC32.
6718 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6719 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6720 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6721 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6722 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6723 memset for PPC64.
6724 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6725
07253fcf
AZ
6726 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6728 implementations.
6729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6730 (__libc_ifunc_impl_list): Likewise.
6731 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6732 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6733 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6734 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6735 memcmp for PPC64.
6736
b5beafbc
AZ
6737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6738 multiarch for POWER/PPC64.
6739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6740 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6747 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6748 memcpy for PPC64.
6749
5e6a4d4b
AZ
6750 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6751 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6752 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6753 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6754 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6755 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6756 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6757 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6758 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6759 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6760 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6761 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6762 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6763 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6764 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6772
ddfab6dc
KK
67732013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6774
6775 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6776
19b5525e
SP
67772013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6778
6779 * benchtests/Makefile (bench): Add exp2 and log2.
6780 (LDLIBS-bench-exp2): Add -lm.
6781 (LDLIBS-bench-log2): Likewise.
6782 * benchtests/exp2-inputs: New inputs file.
6783 * benchtests/log2-inputs: New inputs file.
6784 * benchtests/log-inputs: Add new inputs.
6785 * benchtests/tan-inputs: Likewise.
6786
196f7f5d
SP
67872013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6788
7a74607f
SP
6789 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6790 definition...
57f41c40
AS
6791 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6792 (csloww2): ... from here.
7a74607f 6793
196f7f5d
SP
6794 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6795 instead of structures.
6796 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6797 (POLYNOMIAL): Likewise.
6798 (TAYLOR_SLOW): Likewise.
6799 (__sin): Likewise.
6800 (__cos): Likewise.
6801 (slow1): Likewise.
6802 (slow2): Likewise.
6803 (sloww): Likewise.
6804 (sloww1); Likewise.
6805 (sloww2): Likewise.
6806 (bsloww1): Likewise.
6807 (bsloww2): Likewise.
6808 (cslow2): Likewise.
6809 (csloww): Likewise.
6810 (csloww1): Likewise.
6811 (csloww2): Likewise.
6812
0dfa665c
OB
68132013-12-10 Ondřej Bílka <neleai@seznam.cz>
6814
6815 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6816 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6817 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6818 * malloc/hooks.c (realloc_check): Likewise.
6819
5782a80f
OB
6820 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6821 * malloc/arena.c: Remove PER_THREAD conditional.
6822 [!PER_THREAD]: Remove code.
6823 (ptmalloc_unlock_all2): Likewise.
6824 (ptmalloc_init): Likewise.
6825 (_int_new_arena): Likewise.
6826 (arena_get2): Likewise.
6827 * malloc/hooks.c (__malloc_get_state): Likewise.
6828 (__malloc_set_state): Likewise.
6829 * malloc/malloc.c: Likewise.
6830 (struct malloc_state): Likewise.
6831 (struct malloc_par): Likewise.
6832 (__libc_realloc): Likewise.
6833 (__libc_mallopt): Likewise.
6834
aeb95445
AZ
68352013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6836
6837 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6838
e8349efd
OB
68392013-12-09 Ondřej Bílka <neleai@seznam.cz>
6840
6841 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6842 macro to a function. Check for zero perturb_byte.
6843 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6844
f3eeb3fc 6845 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6846 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6847 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6848 force_reg by atomic_forced_read.
6849 * malloc/arena.c (ptmalloc_init): Likewise.
6850 * malloc/hooks.c (top_check): Likewise.
6851
be2f9009
AZ
68522013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6853
6854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6855
e7b914bd
MT
68562013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6857
6858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6859
9f0be4f8
JM
68602013-12-08 Joseph Myers <joseph@codesourcery.com>
6861
6862 * math/auto-libm-test-in: Add tests of lgamma.
6863 * math/auto-libm-test-out: Regenerated.
6864 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6865 (M_LOG_2_SQRT_PIl): Likewise.
6866 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6867 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6868 mpfr_f_f1.
6869 (func_calc_desc): Add mpfr_f_f1 union field.
6870 (ARGS1): New macro.
6871 (ARGS2): Likewise.
6872 (ARGS3): Likewise.
6873 (ARGS4): Likewise.
6874 (RET1): Likewise.
6875 (RET2): Likewise.
6876 (CALC): Likewise.
6877 (FUNC): Likewise.
6878 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6879 (test_functions): Add lgamma.
6880 (calc_generic_results): Handle mpfr_f_f1.
6881 * sysdeps/i386/fpu/libm-test-ulps: Update.
6882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6883
24eeafdb
AZ
68842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6885
6886 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6887 __mpn_add_n for PowerPC64/POWER7.
6888 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6889 __mpn_sub_n for PowerPC64/POWER7.
6890
4a2c0fd4
AZ
6891 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6892 __mpn_addmul_1 for PowerPC64.
6893 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6894 __mpn_submul_1 for PowerPC64.
6895 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6896 for PowerPC64.
6897 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6898 for PowerPC64.
6899
4b5b548c
FS
69002013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6901
6902 [BZ #15089]
6903 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6904
0a3ac0aa
AZ
69052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6908
ccdc8438
AZ
6909 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6910 add multiarch folders.
6911 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6912 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6913 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6914 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6915 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6916 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6917 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6918 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6919 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6920 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6921 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6928
2e973d99
AZ
6929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6930 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6932 New file.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6934 New file.
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6936 multiarch __ieee754_hypot for PowerPC32.
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6938 New file.
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6940 New file.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6942 multiarch __ieee754_hypotf for PowerPC32.
6943
2d9470b2
AZ
6944 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6945 long_double_symbol only if __logbl is defined.
6946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6947 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6949 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6951 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6953 path for implementation.
6954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6957 logb, and logbl multiarch implementations for PowerPC32.
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6959 file.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6961 file.
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6963 multiarch logb for PowerPC32.
6964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6965 file.
6966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6967 file.
6968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6969 multiarch logbf for PowerPC32.
6970 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6972 file.
6973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6974 multiarch logbl implementation for PowerPC32.
6975
5212ffce
AZ
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6977 and modff multiarch implementations.
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6979 New file.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6981 New file.
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6983 multiarch modf for PowerPC32.
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6985 New file.
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6987 New file.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6989 multiarch modff for PowerPC32.
6990
79dccf31
AZ
6991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6992 and lrintf multiarch implementations.
6993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6994 New file.
6995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6996 New file.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6998 multiarch lrint for PowerPC32.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7000 file: multiarch lrintf for PowerPC32.
7001
deb66480
AZ
7002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7003 and lroundf multiarch implementations.
7004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7005 New file.
7006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7007 New file.
7008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7009 New file.
7010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7011 multiarch lround for PowerPC32.
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7013 file: multiarch lroundf for PowerPC32.
7014
264b036b
AZ
7015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7016 copysign and copysignf multiarch implementations.
7017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7018 New file.
7019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7020 New file.
7021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7022 file: multiarch copysign for PowerPC32.
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7024 file: multiarch copysignf for PowerPC32.
7025
d47db6c9
AZ
7026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7027 and truncf multiarch implementations.
7028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7029 New file.
7030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7031 file.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7033 multiarch trunc for PowerPC32.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7035 New file.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7037 New file.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7039 multiarch truncf for PowerPC32.
7040
ddb60b5a
AZ
7041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7042 and roundf multiarch implementations.
7043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7044 New file.
7045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7046 file.
7047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7048 multiarch round for PowerPC32.
7049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7050 New file.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7052 New file.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7054 multiarch roundf for PowerPC32.
7055
bedcf49b
AZ
7056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7057 and floorf multiarch implementations.
7058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7059 New file.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7061 file.
7062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7063 multiarch floor for PowerPC32.
7064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7065 New file.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7067 New file.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7069 multiarch floorf for PowerPC32.
7070
35ae5b40
AZ
7071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7072 and ceilf multiarch implementations.
7073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7074 New file.
7075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7076 file.
7077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7078 multiarch ceil for PowerPC32.
7079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7080 New file.
7081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7082 file.
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7084 multiarch ceilf for PowerPC32.
7085
ae1a4cd9
AZ
7086 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7087 is defined.
7088 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7089 FINITEF is defined.
7090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7091 and finitef multiarch implementations.
7092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7093 New file.
7094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7095 file.
7096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7097 multiarch finite for PowerPC32.
7098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7099 New file.
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7101 file: multiarch finitef for PowerPC32.
7102
64fffd65
AZ
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7104 and isinff multiarch implementations.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7106 file.
7107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7108 file.
7109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7110 multiarch isinf for PowerPC32.
7111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7112 New file.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7114 multiarch isinff for PowerPC32.
7115
8e4e7ba2
AZ
7116 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7117 alias when __isnan is defined.
7118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7119 and isnanf multiarch implementations.
7120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7121 file.
7122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7123 file.
7124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7125 file.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7127 file.
7128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7129 multiarch isnan for PowerPC32.
7130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7131 New file.
7132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7133 New file.
7134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7135 multiarch isnanf for PowerPC32.
7136
ddba588e
AZ
7137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7138 and sqrtf multiarch implementations.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7140 file.
7141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7142 file.
7143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7144 multiarch sqrt for PowerPC32.
7145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7146 file.
7147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7148 file.
7149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7150 multiarch sqrtf for PowerPC32.
7151
0f96a2f0
AZ
7152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7153 and llroundf multiarch implementations.
7154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7155 New file.
7156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7157 New file.
7158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7159 New file.
7160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7161 file: multiarch llround for PowerPC32.
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7163 file: multiarch llroundf for PowerPC32.
7164
c9b5d79e
AZ
7165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7166 multiarch PowerPC32 fpu implementations.
7167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7168 New file.
7169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7170 New file.
7171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7172 multiarch llrint for PowerPC32.
7173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7174 New file.
7175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7176 New file.
7177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7178 file.
7179
9cbb3aab
AZ
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7181
ea5a72f8
AZ
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7183 file.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7185 file.
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7187 file.
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7189 multiarch wordcopy for PPC32.
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7191 wordcopy objects.
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7193 (__libc_ifunc_impl_list): Likewise.
7194 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7195 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7196 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7197 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7198 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7199 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7200
93be09e7
AZ
7201 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7203 file.
7204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7205 file.
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7207 file.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7209 multiarch wcscpy for PPC32.
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7211 multiarch objects.
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7213 (__libc_ifunc_impl_list): Likewise.
7214 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7215 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7216 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7217 sysdeps/powerpc/power6/wcscpy.c.
7218
bb04e529
AZ
7219 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7221 file.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7223 file.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7225 file.
7226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7227 multiarch wcsrchr for PPC32.
7228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7229 multiarch objects.
7230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7231 (__libc_ifunc_impl_list): Likewise.
7232 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7233 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7234 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7235 sysdeps/powerpc/power6/wcsrchr.c.
7236
05b5cd1c
AZ
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7238 file.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7240 file.
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7243 multiarch wcschr for PPc32.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7245 multiarch objects.
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7247 (__libc_ifunc_impl_list): Likewise.
7248 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7249 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7250 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7251 sysdeps/powerpc/power6/wcschr.c.
7252
ba964147
AZ
7253 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7255 file.
7256 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7257 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7258 file: multiarch strchr for PPC32.
7259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7260 multiarch objects.
7261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7262 (__libc_ifunc_impl_list): Likewise.
7263
31c81aaa
AZ
7264 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7265 name.
7266 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7267 file.
7268 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7269 file.
7270 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7271 multiarch strchrnul for PPC32.
7272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7273 multiarch objects.
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7275 (__libc_ifunc_impl_list): Likewise.
7276
0d0607d9
AZ
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7278 file.
7279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7280 multiarch strncasecmp for PPC32.
7281 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7282 file.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7284 multiarch strncasecmp_l for PPC32.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7286 strncasecmp multiarch objects.
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7288 (__libc_ifunc_impl_list): Likewise.
7289
4dfd5c86
AZ
7290 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7291 file.
7292 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7293 multiarch strncasecmp for PPC32.
7294 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7295 New file.
7296 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7297 multiarch strcasecmp_l for PPC32.
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7299 multiarch objects.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7301 (__libc_ifunc_impl_list): Likewise.
7302
a19e01a3
AZ
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7304 file.
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7306 file.
7307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7308 multiarch strncmp for PPC32.
7309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7310 multiarch objects.
7311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7312 (__libc_ifunc_impl_list): Likewise.
7313
ae9cf7a2
AZ
7314 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7315 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7316 file.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7318 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7320 multiarch objects.
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7322 (__libc_ifunc_impl_list): Likewise.
7323
3148bb7d
AZ
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7325 file.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7327 file.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7330 multiarch objects.
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7332 (__libc_ifunc_impl_list): Likewise.
7333
7af8b946
AZ
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7335 file.
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7337 file.
7338 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7339 multiarch rawmemchr for PPC32.
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7341 multiarch objects.
7342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7343 (__libc_ifunc_impl_list): Likewise.
7344
03a6aa6a
AZ
7345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7346 file.
7347 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7348 file.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7350 file: memrchr multiarch for PPC32.
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7352 multiarch objects.
7353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7354 (__libc_ifunc_impl_list): Likewise.
7355
1c62e6d9
AZ
7356 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7358 file.
7359 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7360 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7361 multiarch memchr for PPC32.
7362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7363 multiarch objects.
7364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7365 (__libc_ifunc_impl_list): Likewise.
7366
87da8bdb
AZ
7367 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7369 file.
7370 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7371 file.
7372 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7373 file: multiarch mempcpy for PPC32.
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7375 multiarch objects.
7376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7377 (__libc_ifunc_impl_list): Likewise.
7378
20ed4714
AZ
7379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7382 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7383 multiarch bzero for PPC32.
7384 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7385 file.
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7387 file.
7388 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7389 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7390 file: multiarch memset for PPC32.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7393 memset multiarch objects.
7394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7395 (__libc_ifunc_impl_list): Likewise.
7396
ab3e3a46
AZ
7397 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7398 file.
7399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7401 memcmp for PPC32.
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7404 multiarch objects.
7405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7406 (__libc_ifunc_impl_list): Likewise.
7407
930de6f0
AZ
7408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7411 file.
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7413 file.
7414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7415 file.
7416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7417 multiarch memcpy for PPC32.
7418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7419 multiarch objects.
7420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7421 (__libc_ifunc_impl_list): Likewise.
7422
4c628e00
AZ
7423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7424 support multiarch for POWER/PPC32.
7425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7426 Likewise.
7427 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7429 Implies file to make multiarch folder appers before the fpu and
7430 default folder for power4 configuration.
7431
f4479220
SP
74322013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7433
7434 * scripts/bench.pl: Append volatile keyword to type.
7435
8517800f
KK
74362013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7437
7438 * sysdeps/sh/sotruss-lib.c: New file.
7439 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7440
180138f1
AZ
74412013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7442
7443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7444
bbf37bdc
JM
74452013-12-05 Joseph Myers <joseph@codesourcery.com>
7446
e47cc4e0
JM
7447 [BZ #6810]
7448 * math/w_tgamma.c: Include <errno.h>.
7449 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7450 * math/w_tgammaf.c: Include <errno.h>.
7451 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7452 * math/w_tgammal.c: Include <errno.h>.
7453 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7454 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7455 underflow. Add more tgamma tests.
7456 * math/auto-libm-test-out: Regenerated.
7457 * sysdeps/i386/fpu/libm-test-ulps: Update.
7458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459
bbf37bdc
JM
7460 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7461 sin, sinh, tan, tanh, tgamma, y0 and y1.
7462 * math/auto-libm-test-out: Regenerated.
7463 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7464 (TEST_COND_x86): Likewise.
7465 (M_E2l): Remove macro.
7466 (M_E3l): Likewise.
7467 (M_2_SQRT_PIl): Likewise.
7468 (M_SQRT_PIl): Likewise.
7469 (M_1_DIV_El): Likewise.
7470 (log_test_data): Use AUTO_TESTS_f_f.
7471 (log10_test_data): Likewise.
7472 (log1p_test_data): Likewise.
7473 (log2_test_data): Likewise.
7474 (sin_test_data): Likewise.
7475 (sin_tonearest_test_data): Likewise.
7476 (sin_towardzero_test_data): Likewise.
7477 (sin_downward_test_data): Likewise.
7478 (sin_upward_test_data): Likewise.
7479 (sinh_test_data): Likewise.
7480 (sinh_tonearest_test_data): Likewise.
7481 (sinh_towardzero_test_data): Likewise.
7482 (sinh_downward_test_data): Likewise.
7483 (sinh_upward_test_data): Likewise.
7484 (tan_test_data): Likewise.
7485 (tan_tonearest_test_data): Likewise.
7486 (tan_towardzero_test_data): Likewise.
7487 (tan_downward_test_data): Likewise.
7488 (tan_upward_test_data): Likewise.
7489 (tanh_test_data): Likewise.
7490 (tgamma_test_data): Likewise.
7491 (y0_test_data): Likewise.
7492 (y1_test_data): Likewise.
7493 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7494 (special_real_inputs): Add pi/4.
7495 * sysdeps/i386/fpu/libm-test-ulps: Update.
7496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7497
eb5ad6b9
AZ
74982013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7499
7500 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7501 "longjmp_target" static probes.
7502 (__longjmp): Rename to __longjmp_symbol.
7503 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7504 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7505 on which longjmp to generate.
7506 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7507 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7508 probe.
7509 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7510 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7511 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7512 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7513 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7514 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7516 __longjmp_symbol based on which __longjmp to generate.
7517 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7518 probe.
7519 (setjmp): Rename to setjmp_symbol.
7520 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7521 (_setjmp): Rename to _setjmp_symbol.
7522 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7523 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7524 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7525 which setjmp to generate.
7526 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7527 "longjmp_target" static probes.
7528
d136c6dc
SP
75292013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7530
9298ecba
SP
7531 * benchtests/README: Add note about output arguments.
7532 * benchtests/bench-sincos.c: Remove file.
7533 * benchtests/sincos-inputs: New file.
7534 * scripts/bench.pl: Identify output arguments and define
7535 static variables for them.
7536
232983e9
SP
7537 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7538
d136c6dc
SP
7539 [BZ #15941]
7540 * Makefile (INSTALL): Add install-plain.texi as the primary
7541 dependency.
7542 * manual/install-plain.texi: New file.
7543 * manual/install.texi: Include node directive only for
7544 non-plaintext output.
7545
699ff837
JM
75462013-12-04 Joseph Myers <joseph@codesourcery.com>
7547
ab07cea8
JM
7548 * stdlib/longlong.h: Update from GCC.
7549
699ff837
JM
7550 [BZ #6807]
7551 [BZ #15901]
7552 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7553 * math/w_j0f.c (y0f): Likewise.
7554 * math/w_j0l.c (__y0l): Likewise.
7555 * math/w_j1.c (y1): Likewise.
7556 * math/w_j1f.c (y1f): Likewise.
7557 * math/w_j1l.c (__y1l): Likewise
7558 * math/w_jn.c (yn): Likewise.
7559 * math/w_jnf.c (ynf): Likewise.
7560 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7561 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7562 value for Bessel function domain errors outside _SVID_ mode.
7563 Adjust sign of return value for yn (negative integer, 0).
7564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7565 by zero in return for negative x and set sign appropriately for
7566 negative n.
7567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7568 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7569 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7570 expectations in error cases.
7571 (y1_test_data): Likewise.
7572 (yn_test_data): Likewise.
7573 * sysdeps/i386/fpu/libm-test-ulps: Update.
7574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7575
5b118558
UW
75762013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7577
7578 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7579 "64" to "64-v1". Add "64-v2".
7580 (abi-64-options): Rename to ...
7581 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7582 (abi-64-condition): Rename to ...
7583 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7584 (abi-64-ld-soname): Rename to ...
7585 (abi-64-v1-ld-soname): ... this.
7586 (abi-64-v2-options): Define.
7587 (abi-64-v2-condition): Likewise.
7588 (abi-64-v2-ld-soname): Likewise.
7589 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7590 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7594
61cd8fe4
UW
75952013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7596 Alan Modra <amodra@gmail.com>
7597
7598 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7599 New versions for use with the ELFv2 ABI.
7600 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7601 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7602 declaration.
7603 (struct La_ppc64v2_retval): Likewise.
7604 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7605 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7606 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7607 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7608 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7609 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7610 Do not save or restore CR.
7611 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7612 (_dl_profile_resolve): Do no save or restore CR. Support extended
7613 return values for ELFv2 ABI. Fix location of FPR return registers.
7614 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7615 updated values for _CALL_ELF == 2.
7616 (La_regs, La_retval, int_retval): Likewise.
7617
8b8a692c
UW
76182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7619
7620 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7621 (FRAME_MIN_SIZE_PARM): Likewise.
7622 (FRAME_BACKCHAIN): Likewise.
7623 (FRAME_CR_SAVE): Likewise.
7624 (FRAME_LR_SAVE): Likewise.
7625 (FRAME_TOC_SAVE): Likewise.
7626 (FRAME_PARM_SAVE): Likewise.
7627 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7628 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7629 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7630 (call_mcount_parm_offset): New macro.
7631 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7632 (PROF): Use symbolic stack frame offsets.
7633 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7634 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7635 Redefine in terms of FRAME_MIN_SIZE.
7636 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7637 (_dl_profile_resolve): Likewise. Update comment.
7638 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7639 symbols stack frame offsets.
7640 (__sigsetjmp): Likewise.
7641 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7642 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7643 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7644 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7645
7646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7647 (FRAME_BACKCHAIN): Remove.
7648 (FRAME_CR_SAVE): Likewise.
7649 (FRAME_LR_SAVE): Likewise.
7650 (FRAME_COMPILER_DW): Likewise.
7651 (FRAME_LINKER_DW): Likewise.
7652 (FRAME_TOC_SAVE): Likewise.
7653 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7654 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7655 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7656 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7658 (CHECK_SP): Use symbolic stack frame offsets.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7660 zone" instead of caller's parameter save area for temp storage.
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7662 Likewise. Also, use symbolic stack frame offsets.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7664 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7665 our own stack frame instead of the caller's.
7666 (__socket): Use symbolic stack frame offsets.
7667
122b66de
UW
76682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7669 Alan Modra <amodra@gmail.com>
7670
7671 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7672 Define.
57f41c40
AS
7673 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7674 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7675 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7676 New function.
7677 (elf_machine_fixup_plt): Call it.
7678 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7679 reloc arguments.
7680 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7681 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7682 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7683 r2 before calling target.
7684
696caf1d
UW
76852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7686 Alan Modra <amodra@gmail.com>
7687
7688 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7689 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7690 versions of macros to support ELFv2 ABI.
7691 (LOCALENTRY): New macro.
7692 (ENTRY, EALIGN): Use it.
7693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7694 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7695 fall through into ENTRY entry point.
7696 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7697 Only define if _CALL_ELF != 2.
7698
7699 (elf_machine_matches_host): Verify ABI version matches.
7700 (RTLD_START): Use LOCALENTRY.
7701 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7702 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7703 (PLT_ENTRY_WORDS): New macro.
7704 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7705 (elf_machine_runtime_setup): Support ELFv2 ABI.
7706 (elf_machine_fixup_plt): Likewise.
7707 (elf_machine_plt_conflict): Likewise.
7708 (resolve_ifunc): Likewise.
7709 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7710 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7711 Likewise.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7713 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7715 (makecontext): Support ELFv2 ABI.
7716 * elf/elf.h (EF_PPC64_ABI): Define.
7717
d31beafa
UW
77182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7719
57f41c40
AS
7720 * sysdeps/powerpc/powerpc64/sysdep.h
7721 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7722 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7723 (ENTRY) [ASSEMBLER]: ... but instead here ...
7724 (EALIGN) [ASSEMBLER]: ... and here.
7725 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7726 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7727 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7728 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7729 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7731 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7734 Use PPC64_LOAD_FUNCPTR.
7735
b525166b
UW
7736 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7737
7ec07d9a
AM
77382013-12-04 Alan Modra <amodra@gmail.com>
7739
7740 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7741 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7742 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7743 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7744
7745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7746 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7747 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7748 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7749 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7750 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7751
5162e7dd
UW
77522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7753
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7755 (__makecontext): Fix incorrect CFI when backtracing out of
7756 context created via makecontext.
7757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7758 (__setcontext): Fix incorrect CFI during switch to new context.
7759 (__novec_setcontext): Likewise.
7760
19e3372b
OB
77612013-12-04 Ondřej Bílka <neleai@seznam.cz>
7762
7763 [BZ #4772]
7764 * time/strptime_l.c (__strptime_internal): Allow modifiers
7765 in strptime.
7766 * time/tst-strptime.c (day_tests): Add testcase.
7767
ecaf142d
SP
77682013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7769
7770 * scripts/bench.pl: Skip over blank lines.
7771
fbf964ae
PE
77722013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7773
7774 [BZ #926]
7775 * manual/time.texi (Calendar Time): Clarify what timezone functions
7776 use.
7777
fa60a674
AZ
77782013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7779
7780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7781
d674f0ef
OB
77822013-12-04 Ondřej Bílka <neleai@seznam.cz>
7783
7784 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7785 implementation.
7786 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7787 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7788 * debug/memset_chk.c (__memset_chk): Likewise.
7789 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7790 * debug/strncpy_chk.c: Likewise.
7791
17dea188
JM
77922013-12-03 Joseph Myers <joseph@codesourcery.com>
7793
749008ff
JM
7794 [BZ #15268]
7795 [BZ #15425]
7796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7797 (__ieee754_exp): For possibly underflowing results, check size of
7798 result and force underflow exception if required.
7799 * math/auto-libm-test-in: Add more tests of exp.
7800 * math/auto-libm-test-out: Regenerated.
7801 * sysdeps/i386/fpu/libm-test-ulps: Update.
7802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7803
17dea188
JM
7804 [BZ #16283]
7805 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7806 * math/w_exp2f.c (__exp2f): Likewise.
7807 * math/w_exp2l.c (__exp2l): Likewise.
7808 * math/auto-libm-test-in: Do not allow missing errno on exp2
7809 underflow.
7810 * math/auto-libm-test-out: Regenerated.
7811
b20de2c3
OB
78122013-12-03 Ondřej Bílka <neleai@seznam.cz>
7813
7814 [BZ #16274]
7815 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7816 handle filename validation.
7817 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7818 (do_open): Delete.
7819
d8e2dbe3
JM
78202013-12-03 Joseph Myers <joseph@codesourcery.com>
7821
34e16df5
JM
7822 [BZ #6786]
7823 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7824 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7825 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7826 <float.h>.
7827 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7828 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7829 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7831 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7833 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7834 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7835 Add more erfc tests.
7836 * math/auto-libm-test-out: Regenerated.
7837 * sysdeps/i386/fpu/libm-test-ulps: Update.
7838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7839
d8e2dbe3
JM
7840 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7841 exp2, expm1, j0 and j1.
7842 * math/auto-libm-test-out: Regenerated.
7843 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7844 (erfc_test_data): Likewise.
7845 (exp_test_data): Likewise.
7846 (exp_tonearest_test_data): Likewise.
7847 (exp_towardzero_test_data): Likewise.
7848 (exp_downward_test_data): Likewise.
7849 (exp_upward_test_data): Likewise.
7850 (exp10_test_data): Likewise.
7851 (exp2_test_data): Likewise.
7852 (expm1_test_data): Likewise.
7853 (j0_test_data): Likewise.
7854 (j1_test_data): Likewise.
7855 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7856 (input_flag_type): Add flag_xfail_rounding.
7857 (input_flags): Add xfail-rounding.
7858 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7859 (output_for_one_input_case): Handle flag_xfail_rounding.
7860 * sysdeps/i386/fpu/libm-test-ulps: Update.
7861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7862
18d14251
AJ
78632013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7864
3d2e6075 7865 [BZ #16289]
18d14251
AJ
7866 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7867 division by 0.
7868
520d437b
SP
78692013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 [BZ #16195]
7872 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7873 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7874 (STAP_PROBE0): New macro.
7875 (STAP_PROBE1): Likewise.
7876 (STAP_PROBE2): Likewise.
7877 (STAP_PROBE3): Likewise.
7878 (STAP_PROBE4): Likewise.
7879
416e0145
OB
78802013-12-02 Ondřej Bílka <neleai@seznam.cz>
7881
7882 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7883
9d17796a
SE
78842013-12-02 Steve Ellcey <sellcey@mips.com>
7885
7886 * benchtests/Makefile (bench): Add sqrt.
7887 (LDLIBS-bench-sqrt): New.
7888 * benchtests/sqrt-input: New.
7889
f524d6a8
PS
78902013-12-02 Pavel Simerda <psimerda@redhat.com>
7891
639a0ef8
PS
7892 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7893 (GAIH_EAI): Likewise.
7894 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7895 (gaih_inet): Likewise.
7896 (getaddrinfo): Don't use GAIH_EAI.
7897
f524d6a8
PS
7898 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7899 (struct gaih): Remove definition.
7900
df3aedaf
SP
79012013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7902
7903 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7904 Use HERRNOP directly.
7905
1ab19dec
AZ
79062013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7907
b42ad38d 7908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7909
176b0c79
JM
79102013-11-30 Joseph Myers <joseph@codesourcery.com>
7911
7912 * math/gen-auto-libm-tests.c (test_functions): Add more
7913 single-argument functions.
7914 (special_fill_pi_2): New function.
7915 (special_fill_minus_pi_2): Likewise.
7916 (special_fill_pi_6): Likewise.
7917 (special_fill_minus_pi_6): Likewise.
7918 (special_fill_pi_3): Likewise.
7919 (special_fill_2pi_3): Likewise.
7920 (special_fill_e): Likewise.
7921 (special_fill_1_e): Likewise.
7922 (special_fill_e_minus_1): Likewise.
7923 (special_real_inputs): Add more special inputs.
7924 (output_for_one_input_case): Do not require ERANGE on underflow to
7925 zero if round-to-nearest result does not underflow to zero, unless
7926 exact results required.
7927 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7928 atan, atanh, cbrt, cos and cosh.
7929 * math/auto-libm-test-out: Regenerated.
7930 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7931 (acos_tonearest_test_data): Likewise.
7932 (acos_towardzero_test_data): Likewise.
7933 (acos_downward_test_data): Likewise.
7934 (acos_upward_test_data): Likewise.
7935 (acosh_test_data): Likewise.
7936 (asin_test_data): Likewise.
7937 (asin_tonearest_test_data): Likewise.
7938 (asin_towardzero_test_data): Likewise.
7939 (asin_upward_test_data): Likewise.
7940 (asinh_test_data): Likewise.
7941 (atan_test_data): Likewise.
7942 (atanh_test_data): Likewise.
7943 (cbrt_test_data): Likewise.
7944 (cos_test_data): Likewise.
7945 (cos_tonearest_test_data): Likewise.
7946 (cos_towardzero_test_data): Likewise.
7947 (cos_downward_test_data): Likewise.
7948 (cos_upward_test_data): Likewise.
7949 (cosh_test_data): Likewise.
7950 (cosh_tonearest_test_data): Likewise.
7951 (cosh_towardzero_test_data): Likewise.
7952 (cosh_downward_test_data): Likewise.
7953 (cosh_upward_test_data): Likewise.
7954 * sysdeps/i386/fpu/libm-test-ulps: Update.
7955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7956
ffb536d0
JM
79572013-11-29 Joseph Myers <joseph@codesourcery.com>
7958
2a77a467
JM
7959 [BZ #6787]
7960 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7961 * math/w_exp10f.c (__exp10f): Likewise.
7962 * math/w_exp10l.c (__exp10l): Likewise.
7963 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7964 errno settings in existing tests.
7965
ea3bc4e8
JM
7966 [BZ #14032]
7967 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7968 precision control set to double precision.
7969 * sysdeps/i386/fpu/w_sqrt.c: New file.
7970 * math/auto-libm-test-in: Add more tests.
7971 * math/auto-libm-test-out: Update.
7972
0712c9d8
JM
7973 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7974 (sqrt_test_tonearest): New function.
7975 (sqrt_towardzero_test_data): New variable.
7976 (sqrt_test_towardzero): New function.
7977 (sqrt_downward_test_data): New variable.
7978 (sqrt_test_downward): New function.
7979 (sqrt_upward_test_data): New variable.
7980 (sqrt_test_upward): New function.
7981 (main): Call the new functions.
7982
ffb536d0
JM
7983 * math/gen-auto-libm-tests.c: New file.
7984 * math/auto-libm-test-in: Likewise.
7985 * math/auto-libm-test-out: New generated file.
7986 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7987 variables.
7988 (%beautify): Add generated representations of zero.
7989 (top level): Set $auto_input and call parse_auto_input.
7990 (beautify): Remove trailing "f" from hex float constants.
7991 (parse_args): Handle XFAIL_TEST.
7992 (convert_condition): New function.
7993 (or_value): Likewise.
7994 (or_cond_value): Likewise.
7995 (generate_testfile): Handle AUTO_TESTS_* lines.
7996 (parse_auto_input): New function.
7997 * math/libm-test.inc (XFAIL_TEST): New macro.
7998 (ERRNO_UNCHANGED): Update value.
7999 (ERRNO_EDOM): Likewise.
8000 (ERRNO_ERANGE): Likewise.
8001 (IGNORE_RESULT): Likewise.
8002 (TEST_COND_flt_32): New macro.
8003 (TEST_COND_dbl_64): Likewise.
8004 (TEST_COND_ldbl_96_intel): Likewise.
8005 (TEST_COND_ldbl_96_m68k): Likewise.
8006 (TEST_COND_ldbl_128): Likewise.
8007 (TEST_COND_ldbl_128ibm): Likewise.
8008 (TEST_COND_long32): Likewise.
8009 (TEST_COND_long64): Likewise.
8010 (TEST_COND_before_rounding): Likewise.
8011 (TEST_COND_after_rounding): Likewise.
8012 (enable_test): Handle XFAIL_TEST flag.
8013 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8014 with finite results.
8015 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8016 auto-libm-test-out.
8017
acd98a8e
AK
80182013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8019 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8020
8021 [BZ #16214]
8022 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8023 __tls_get_addr_internal instead of __tls_get_offset in order to
8024 avoid GOT pointer dependency. Make rtld export
8025 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8026 __tls_get_addr since we are a __tls_get_offset platform.
8027 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8028 GOT pointer being set up before.
8029 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8030
3c1c46a6
JM
80312013-11-28 Joseph Myers <joseph@codesourcery.com>
8032
7475aef5
JM
8033 * manual/math.texi (Errors in Math Functions): Document accuracy
8034 goals.
8035
8bca7cd8
JM
8036 [BZ #15004]
8037 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8038 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8039 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8040 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8041 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8042 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8043 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8045 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8049 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8051 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8053
91a1f3fe
JM
8054 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8055 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8056 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8057 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8058 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8059 Likewise.
8060 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8061 Likewise.
8062 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8063 Likewise.
8064 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8066 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8067 atomic-feupdateenv and flt-rounds.
8068 * sysdeps/powerpc/nofpu/Versions (libc): Add
8069 __atomic_feholdexcept, __atomic_feclearexcept,
8070 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8071 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8072 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8073 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8074 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8075 here.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8077 Update.
8078
c5df7609
JM
8079 * manual/arith.texi (FP Exceptions): Document that exceptions may
8080 not be raised when matherr is used.
8081 (Math Error Reporting): Document overflow in directed rounding
8082 modes. Document that errno may not be set when finite values are
8083 returned on overflow. Document intent to set errno on underflow
8084 only for underflow to zero.
8085
3c1c46a6
JM
8086 [BZ #16271]
8087 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8088 round-to-nearest then adjust result for other rounding modes.
8089 * include/fenv.h (fegetround): Use libm_hidden_proto.
8090 * math/fegetround.c (fegetround): Use libm_hidden_def.
8091 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8092 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8093 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8095 Likewise.
8096 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8097 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8098 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8099 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8100
5a4c6d53
SP
81012013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8102
8103 [BZ #16077]
8104 * nss/Versions (libnss_files): Add
8105 _nss_files_gethostbyname3_r.
8106 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8107 New function.
8108 (HOST_DB_LOOKUP): Remove macro.
8109 (_nss_files_gethostbyname_r): Implement function without the
8110 HOST_DB_LOOKUP macro.
8111 (_nss_files_gethostbyname2_r): Likewise.
8112
897b98ba
OB
81132013-11-28 Ondřej Bílka <neleai@seznam.cz>
8114
8115 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8116
6f476861
UB
81172013-11-26 Uros Bizjak <ubizjak@gmail.com>
8118
8119 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8120 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8121 warning.
8122
bd12ab55
AZ
81232013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8124
8125 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8126 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8127 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8128 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8129 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8130 __fe_nomask_env_priv and attribute_hidden.
8131 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8132 (libc_feupdateenv_test_ppc): Likewise.
8133 (libc_feresetround_ppc): Likewise.
8134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8135 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8136 compat_symbol macro.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8138 (__fe_nomask_env): Likewise.
8139 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8140
52bb6543
OB
81412013-11-26 Ondřej Bílka <neleai@seznam.cz>
8142
8143 * string/Makefile: Remove ifunc tests.
8144 * string/test-string.h: Define TEST_IFUNC.
8145 * string/test-bcopy-ifunc.c: Remove.
8146 * string/test-bzero-ifunc.c: Likewise.
8147 * string/test-memccpy-ifunc.c: Likewise.
8148 * string/test-memchr-ifunc.c: Likewise.
8149 * string/test-memcmp-ifunc.c: Likewise.
8150 * string/test-memcpy-ifunc.c: Likewise.
8151 * string/test-memmem-ifunc.c: Likewise.
8152 * string/test-memmove-ifunc.c: Likewise.
8153 * string/test-mempcpy-ifunc.c: Likewise.
8154 * string/test-memrchr-ifunc.c: Likewise.
8155 * string/test-memset-ifunc.c: Likewise.
8156 * string/test-rawmemchr-ifunc.c: Likewise.
8157 * string/test-stpcpy-ifunc.c: Likewise.
8158 * string/test-stpncpy-ifunc.c: Likewise.
8159 * string/test-strcasecmp-ifunc.c: Likewise.
8160 * string/test-strcasestr-ifunc.c: Likewise.
8161 * string/test-strcat-ifunc.c: Likewise.
8162 * string/test-strchr-ifunc.c: Likewise.
8163 * string/test-strchrnul-ifunc.c: Likewise.
8164 * string/test-strcmp-ifunc.c: Likewise.
8165 * string/test-strcpy-ifunc.c: Likewise.
8166 * string/test-strcspn-ifunc.c: Likewise.
8167 * string/test-strlen-ifunc.c: Likewise.
8168 * string/test-strncasecmp-ifunc.c: Likewise.
8169 * string/test-strncat-ifunc.c: Likewise.
8170 * string/test-strncmp-ifunc.c: Likewise.
8171 * string/test-strncpy-ifunc.c: Likewise.
8172 * string/test-strnlen-ifunc.c: Likewise.
8173 * string/test-strpbrk-ifunc.c: Likewise.
8174 * string/test-strrchr-ifunc.c: Likewise.
8175 * string/test-strspn-ifunc.c: Likewise.
8176 * string/test-strstr-ifunc.c: Likewise.
8177
ab260039 81782013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8179
8180 * benchtests/Makefile: Remove ifunc tests.
8181 * benchtests/bench-string.h: Define TEST_IFUNC.
8182 * benchtests/bench-bcopy-ifunc.c: Remove.
8183 * benchtests/bench-bzero-ifunc.c: Likewise.
8184 * benchtests/bench-memccpy-ifunc.c: Likewise.
8185 * benchtests/bench-memchr-ifunc.c: Likewise.
8186 * benchtests/bench-memcmp-ifunc.c: Likewise.
8187 * benchtests/bench-memcpy-ifunc.c: Likewise.
8188 * benchtests/bench-memmem-ifunc.c: Likewise.
8189 * benchtests/bench-memmove-ifunc.c: Likewise.
8190 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8191 * benchtests/bench-memrchr-ifunc.c: Likewise.
8192 * benchtests/bench-memset-ifunc.c: Likewise.
8193 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8194 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8195 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8196 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8197 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8198 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8199 * benchtests/bench-strcat-ifunc.c: Likewise.
8200 * benchtests/bench-strchr-ifunc.c: Likewise.
8201 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8202 * benchtests/bench-strcmp-ifunc.c: Likewise.
8203 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8204 * benchtests/bench-strcpy-ifunc.c: Likewise.
8205 * benchtests/bench-strcspn-ifunc.c: Likewise.
8206 * benchtests/bench-strlen-ifunc.c: Likewise.
8207 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8208 * benchtests/bench-strncat-ifunc.c: Likewise.
8209 * benchtests/bench-strncmp-ifunc.c: Likewise.
8210 * benchtests/bench-strncpy-ifunc.c: Likewise.
8211 * benchtests/bench-strnlen-ifunc.c: Likewise.
8212 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8213 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8214 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8215 * benchtests/bench-strspn-ifunc.c: Likewise.
8216 * benchtests/bench-strstr-ifunc.c: Likewise.
8217
82182013-11-26 Ondřej Bílka <neleai@seznam.cz>
8219
ab260039
OB
8220 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8221
d1d9eaf4 82222013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8223
d1d9eaf4
OB
8224 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8225 * rt/aio.h: Likewise.
8226 * sysdeps/gnu/bits/utmp.h: Likewise.
8227 * sysdeps/gnu/bits/utmpx.h: Likewise.
8228 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8229 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8230 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8231 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8232 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8233 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8234 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8235 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8236 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8237 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8238 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8239 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8240 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8242 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8243 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8244 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8245 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8246 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8247 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8248 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8249 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8250 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8251 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8252 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8254 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8255 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8256 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8257 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8258 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8259 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8260 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8261 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8262 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8263 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8264 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8265 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8266 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8267 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8268 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8269 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8270
a7624ed9
CD
82712013-11-25 Carlos O'Donell <carlos@redhat.com>
8272
8273 [BZ #16245]
8274 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8275 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8276
63cfe52b
JM
82772013-11-25 Joseph Myers <joseph@codesourcery.com>
8278
8279 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8280 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8281 Likewise.
8282
41e8926a
AZ
82832013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8284
8285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8286 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8287 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8288 (__fesetround): Remove define.
8289 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8290 rounding and exceptions handling.
8291 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8292 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8293 (__fe_nomask_env): Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8295 __fegetround instead of fegetround.
8296 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8297 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8298
6851bd4d
RM
82992013-11-21 Roland McGrath <roland@hack.frob.com>
8300
070906ff
RM
8301 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8302 it's there.
8303
6851bd4d
RM
8304 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8305
84ae135d
MI
83062013-11-21 Meador Inge <meadori@codesourcery.com>
8307
8308 [BZ #11157]
8309 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8310 (encrypt_r): Likewise.
8311 * malloc/obstack.h (obstack_free): Likewise.
8312 * posix/unistd.h (encrypt): Likewise.
8313
daf75146
GM
83142013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8315
8316 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8317 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8318 DL_CALL_DT_FINI() that call the functions directly.
8319 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8320 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8321 * elf/dl-fini.c: Likewise.
8322
10ad46bc
OB
83232013-11-20 Ondřej Bílka <neleai@seznam.cz>
8324
8325 * malloc/hooks.c (memalign_check): Add alignment rounding.
8326 * malloc/malloc.c (_mid_memalign): New function.
8327 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8328 Implement by calling _mid_memalign.
8329 * manual/probes.texi (Memory Allocation Probes): Remove
8330 memory_valloc_retry and memory_pvalloc_retry.
8331
f3fd2628
SP
83322013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8333
4712799f
SP
8334 * locale/programs/locarchive.c (open_archive): Add const
8335 qualifier to ARCHIVEFNAME and copy default fname to
8336 DEFAULT_FNAME.
8337
0417b20f
SP
8338 [BZ #15601]
8339 * libio/tst-widetext.input: Rename Oriya to Odia.
8340 * locale/iso-639.def: Likewise.
8341
f3fd2628
SP
8342 * manual/probes.texi (Mathematical Function Probes): Add
8343 documentation for sin, cos, asin and acos probes.
8344 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8345 (__sin32): Add slowasin probe.
8346 (__cos32): Add slowacos probe.
8347 (__mpsin): Add slowsin probe.
8348 (__mpcos): Add slowcos probe.
8349
73c1ce4f
JM
83502013-11-19 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #15483]
8353 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8354 thread-local __sim_exceptions_thread and global
8355 __sim_exceptions_global.
8356 (__sim_disabled_exceptions): Change to thread-local
8357 __sim_disabled_exceptions_thread and global
8358 __sim_disabled_exceptions_global.
8359 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8360 and global __sim_round_mode_global.
8361 (__simulate_exceptions): Use thread-local floating-point state and
8362 set global state from it as needed.
8363 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8364 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8365 __sim_round_mode_thread.
8366 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8367 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8368 and global __sim_exceptions_global.
8369 (__sim_disabled_exceptions): Change to thread-local
8370 __sim_disabled_exceptions_thread and global
8371 __sim_disabled_exceptions_global.
8372 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8373 and global __sim_round_mode_global.
8374 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8375 (SIM_SET_GLOBAL): Likewise.
8376 * sysdeps/powerpc/soft-fp/sfp-machine.h
8377 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8378 __sim_round_mode_thread.
8379 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8380 __sim_disabled_exceptions_thread.
8381 (__sim_exceptions): Change to __sim_exceptions_thread.
8382 (__sim_disabled_exceptions): Change to
8383 __sim_disabled_exceptions_thread.
8384 (__sim_round_mode): Change to __sim_round_mode_thread.
8385 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8386 thread-local floating-point state and set global state from it as
8387 needed.
8388 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8389 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8390 (__sim_disabled_exceptions): Remove extern declaration.
8391 (feenableexcept): Use thread-local floating-point state and set
8392 global state from it as needed.
8393 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8394 extern declaration.
8395 (__sim_disabled_exceptions): Likewise.
8396 (__sim_round_mode): Likewise.
8397 (__fegetenv): Use thread-local floating-point state.
8398 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8399 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8400 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8401 floating-point state and set global state from it as needed.
8402 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8403 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8404 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8405 Likewise.
8406 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8407 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8408 Likewise.
8409 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8410 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8411 Use __sim_round_mode_thread.
8412 * math/test-fenv-tls.c: New file.
8413 * math/Makefile (tests): Add test-fenv-tls.
8414 ($(objpfx)test-fenv-tls): Depend on
8415 $(common-objpfx)nptl/libpthread.so.
8416
b5449b12
AS
84172013-11-19 Andreas Schwab <schwab@suse.de>
8418
8419 * locale/programs/locale.c (show_info): Decode wordarray elements.
8420 * locale/categories.def (LC_MONETARY): Add element for
8421 _NL_MONETARY_CRNCYSTR.
8422 * locale/C-monetary.c (conversion_rate): New variable.
8423 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8424 element.
8425
e186536b
CM
84262013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8427
8428 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8429 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8430
5c349950
PP
84312013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8432
8433 * elf/Makefile (tst-auxv): New test.
8434 * elf/tst-auxv.c: New
8435 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8436
699df45b
JM
84372013-11-18 Joseph Myers <joseph@codesourcery.com>
8438
8439 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8440 (hidden_proto): Caller changed.
8441 (hidden_tls_proto): New macro.
8442 (libc_hidden_tls_proto): Likewise.
8443 (rtld_hidden_tls_proto): Likewise.
8444 (libm_hidden_tls_proto): Likewise.
8445 (libresolv_hidden_tls_proto): Likewise.
8446 (librt_hidden_tls_proto): Likewise.
8447 (libdl_hidden_tls_proto): Likewise.
8448 (libnss_files_hidden_tls_proto): Likewise.
8449 (libnsl_hidden_tls_proto): Likewise.
8450 (libnss_nisplus_hidden_tls_proto): Likewise.
8451 (libutil_hidden_tls_proto): Likewise.
8452
b7589107
OB
84532013-11-18 Ondřej Bílka <neleai@seznam.cz>
8454
8455 [BZ #10253]
8456 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8457 (decompose_rpath): Defer expansion to fillin_rpath.
8458 (_dl_init_paths): Pass linkmap to fillin_rpath.
8459
250c23bd
RS
84602013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8461
8462 * benchtests/Makefile: Add strsep.
8463 * benchtests/bench-strsep.c: New file: strsep benchtest.
8464 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8465
a7931fcf
AS
84662013-11-18 Andreas Schwab <schwab@suse.de>
8467
8468 * locale/programs/locale.c (show_info) [case byte]: Check for
8469 '\377' instead of '\177'.
8470 * locale/C-monetary.c (not_available): Always use "\377".
8471 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8472 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8473 detect unavailable sign_posn locale elements.
8474 * locale/localeconv.c (__localeconv): For grouping and
8475 mon_grouping handle "\177" and "\377" like no grouping.
8476 (INT_ELEM): New macro. Use it to set all numeric members.
8477 * locale/programs/ld-monetary.c (monetary_read)
8478 <tok_mon_grouping>: Normalize single -1 to the empty string.
8479 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8480 Likewise.
8481
728dab0e
OB
84822013-11-07 Ondřej Bílka <neleai@seznam.cz>
8483
8484 [BZ #16055]
8485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8486 when we match (nil).
8487 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8488
66294491
JM
84892013-11-16 Joseph Myers <joseph@codesourcery.com>
8490
ce665817
JM
8491 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8492 (NO_TEST_INLINE): Update value.
8493 (ERRNO_UNCHANGED): Likewise.
8494 (ERRNO_EDOM): Likewise.
8495 (ERRNO_ERANGE): Likewise.
8496 (IGNORE_RESULT): Likewise.
8497 (check_float_internal): Check signs of NaN results if
8498 TEST_NAN_SIGN used.
8499 (check_complex): Pass TEST_NAN_SIGN flag through to second
8500 check_float_internal call.
8501 (copysign_test_data): Add tests with quiet NaNs as second
8502 argument. Use TEST_NAN_SIGN.
8503 (fabs_test_data): Add test of negative quiet NaN argument. Use
8504 TEST_NAN_SIGN.
8505 (signbit_test_data): Add tests of quiet NaN argument.
8506 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8507
ee1466a9
JM
8508 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8509 $ignore_result.
8510 (parse_args): Handle function results specified as IGNORE.
8511 * math/libm-test.inc (IGNORE_RESULT): New macro.
8512 (check_float_internal): Do not check numerical result if flag
8513 IGNORE_RESULT set.
8514 (check_complex): Pass through IGNORE_RESULT to second
8515 check_float_internal call.
8516 (check_int): Do not check numerical result if flag IGNORE_RESULT
8517 set.
8518 (check_long): Likewise.
8519 (check_bool): Likewise.
8520 (check_longlong): Likewise.
8521 (lrint_test_data): Add tests of infinite and NaN arguments.
8522 (lrint_tonearest_test_data): Likewise.
8523 (lrint_towardzero_test_data): Likewise.
8524 (lrint_downward_test_data): Likewise.
8525 (lrint_upward_test_data): Likewise.
8526 (llrint_test_data): Likewise.
8527 (llrint_tonearest_test_data): Likewise.
8528 (llrint_towardzero_test_data): Likewise.
8529 (llrint_downward_test_data): Likewise.
8530 (llrint_upward_test_data): Likewise.
8531 (lround_test_data): Likewise.
8532 (llround_test_data): Likewise.
8533
14407b7e
JM
8534 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8535 (ERRNO_UNCHANGED): Update value.
8536 (ERRNO_EDOM): Likewise.
8537 (ERRNO_ERANGE): Likewise.
8538 (NO_TEST_INLINE_FLOAT): New macro.
8539 (NO_TEST_INLINE_DOUBLE): Likewise.
8540 (enable_test): New function.
8541 (RUN_TEST_f_f): Check enable_test before running test.
8542 (RUN_TEST_2_f): Likewise.
8543 (RUN_TEST_fff_f): Likewise.
8544 (RUN_TEST_c_f): Likewise.
8545 (RUN_TEST_f_f1): Likewise.
8546 (RUN_TEST_fF_f1): Likewise.
8547 (RUN_TEST_fI_f1): Likewise.
8548 (RUN_TEST_ffI_f1): Likewise.
8549 (RUN_TEST_c_c): Likewise.
8550 (RUN_TEST_cc_c): Likewise.
8551 (RUN_TEST_f_i): Likewise.
8552 (RUN_TEST_f_i_tg): Likewise.
8553 (RUN_TEST_ff_i_tg): Likewise.
8554 (RUN_TEST_f_b): Likewise.
8555 (RUN_TEST_f_b_tg): Likewise.
8556 (RUN_TEST_f_l): Likewise.
8557 (RUN_TEST_f_L): Likewise.
8558 (RUN_TEST_fFF_11): Likewise.
8559 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8560 conditionals.
8561 (cosh_test_data): Likewise.
8562 (exp_test_data): Likewise.
8563 (expm1_test_data): Likewise.
8564 (hypot_test_data): Likewise.
8565 (pow_test_data): Likewise.
8566 (sinh_test_data): Likewise.
8567 (tanh_test_data): Likewise.
8568 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8569 flags argument.
8570
ca07f197
JM
8571 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8572 tests with quiet NaN input and output.
8573 (acosh_test_data): Likewise.
8574 (asin_test_data): Likewise.
8575 (asinh_test_data): Likewise.
8576 (atan_test_data): Likewise.
8577 (atanh_test_data): Likewise.
8578 (atan2_test_data): Likewise.
8579 (cbrt_test_data): Likewise.
8580 (cos_test_data): Likewise.
8581 (cosh_test_data): Likewise.
8582 (erf_test_data): Likewise.
8583 (erfc_test_data): Likewise.
8584 (exp_test_data): Likewise.
8585 (exp10_test_data): Likewise.
8586 (exp2_test_data): Likewise.
8587 (expm1_test_data): Likewise.
8588 (hypot_test_data): Likewise.
8589 (j0_test_data): Likewise.
8590 (j1_test_data): Likewise.
8591 (jn_test_data): Likewise.
8592 (lgamma_test_data): Likewise.
8593 (log_test_data): Likewise.
8594 (log10_test_data): Likewise.
8595 (log1p_test_data): Likewise.
8596 (log2_test_data): Likewise.
8597 (pow_test_data): Likewise.
8598 (scalb_test_data): Likewise.
8599 (sin_test_data): Likewise.
8600 (sincos_test_data): Likewise.
8601 (sinh_test_data): Likewise.
8602 (tan_test_data): Likewise.
8603 (tanh_test_data): Likewise.
8604 (tgamma_test_data): Likewise.
8605 (y0_test_data): Likewise.
8606 (y1_test_data): Likewise.
8607 (yn_test_data): Likewise.
8608
66294491
JM
8609 [BZ #16167]
8610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8611 argument being NaN and avoid computations with second argument in
8612 that case.
8613 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8614 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8615 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8616
1820b143
CL
86172013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8618
8619 * locale/iso-639.def: Add Chitwani Tharu (the).
8620
714bd261
AS
86212013-11-14 Andreas Schwab <schwab@suse.de>
8622
8623 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8624 word instead of empty string.
8625
7ab44563
AZ
86262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8627
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8629 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8631 (__fe_nomask_env): Likewise.
8632
e8470ea2
SE
86332013-11-13 Steve Ellcey <sellcey@mips.com>
8634
8635 * benchtests/bench-timing.h: Include time.h.
8636
17c1d9f0
L
86372013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8638
8639 [BZ #15997]
8640 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8641 to 3.4.0 for x32.
8642 * sysdeps/unix/sysv/linux/configure: Regenerated.
8643
9310c284
JM
86442013-11-13 Joseph Myers <joseph@codesourcery.com>
8645
8646 [BZ #16151]
8647 * stdlib/strtod_l.c (round_and_return): Do not consider
8648 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8649 exponent one less than half the least subnormal exponent.
8650 * stdlib/test-strtod-round-data: Add more tests.
8651 * stdlib/tst-strtod-round.c (tests): Regenerated.
8652
7a2ad8cf
AZ
86532013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8654
8655 [BZ #14143]
8656 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8657 (__fe_mask_env): Likewise.
8658 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8659 libm_hidden_proto and add function prototype.
8660 (__fe_mask_env): Add function prototype.
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8662 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8664 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8666 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8667
50727aa7
MS
86682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8669
b2f386c1 8670 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8671 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8672
a615be46
MS
86732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8674
8675 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8676 of htab_find_slot().
8677
7ddace62
DM
86782013-11-11 David S. Miller <davem@davemloft.net>
8679
8680 [BZ #16150]
8681 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8682 symbol in the non-vis3 case in static builds.
8683 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8684 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8685 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8686 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8687
9182aa67
JK
86882013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 [BZ #387]
8691 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8692 it is empty.
8693
450a2e2d
AZ
86942013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8695
b2f386c1
SP
8696 * benchtests/Makefile: Add bench-strtod.
8697 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8698
8ec3f656
AS
86992013-11-11 Andreas Schwab <schwab@suse.de>
8700
8701 [BZ #16153]
8702 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8703 terminating NUL in key length.
8704
76a9b998
AZ
87052013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8706
8707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8708 Add artificial ODP entry for vDSO symbol for PPC64.
8709 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8710 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8711
e4368156
OB
87122013-11-07 Ondřej Bílka <neleai@seznam.cz>
8713
8714 [BZ #15374]
8715 * nss/getent.c (services_keys): Recognize services starting with digit.
8716
8d6bb57c
DM
87172013-11-06 David S. Miller <davem@davemloft.net>
8718
8719 [BZ #15985]
8720 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8721 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8722
e256c421
WN
87232013-11-06 Will Newton <will.newton@linaro.org>
8724
8725 * manual/memory.texi (Malloc Examples): Remove register
8726 keyword from examples.
8727
f6e12daa 87282013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8729
f6e12daa 8730 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8731
9d880655
AS
87322013-11-04 Joseph Myers <joseph@codesourcery.com>
8733
fd2f9486 8734 [BZ #6981]
9d880655
AS
8735 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8736 depending on [__GCC_IEC_559 > 0].
8737 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8738 depending on [__GCC_IEC_559_COMPLEX > 0].
8739
ae129d3c
CL
87402013-11-03 Chris Leonard <cjl@sugarlabs.org>
8741
8742 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8743 to iso-639.def.
8744
4a15c2a4 87452013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8746
8747 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8748
8b35e35d
OB
87492013-11-01 Ondřej Bílka <neleai@seznam.cz>
8750
8751 [BZ #16112]
8752 * malloc/malloc (malloc_info): Do not handle first bin as
8753 special case.
8754
1d70fd6c
CL
87552013-11-01 Chris Leonard <cjl@sugarlabs.org>
8756
8757 * locale/iso-639.def: Add Central Nahuatl (nhn).
8758
8c5c2600
BH
87592013-11-01 Bruno Haible <bruno@clisp.org>
8760
8761 [BZ #7003]
8762 * manual/math.texi (BSD Random): Specify range upper bound as
8763 in POSIX.
8764
da5579c2
CL
87652013-10-31 Chris Leonard <cjl@sugarlabs.org>
8766
8767 * locale/iso-639.def: Add Meadow Mari (mhr).
8768
5d30d853
OB
87692013-10-31 Ondřej Bílka <neleai@seznam.cz>
8770
8771 [BZ #14752], [BZ #15763]
8772 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8773 Validate name.
8774 * rt/tst_shm.c: Add test for escaping directory.
8775
a4966c61
AS
87762013-10-31 Andreas Schwab <schwab@suse.de>
8777
8a43e768 8778 [BZ #15917]
a4966c61
AS
8779 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8780 followed by 'x' as part of digit sequence.
8781 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8782
28d708c4
MAP
87832013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8784
8785 [BZ #16037]
8786 * configure.ac: allow GNU Make 4.0 and greater.
8787 * configure: Regenerated.
8788
a56ee40b
WN
87892013-10-30 Will Newton <will.newton@linaro.org>
8790
8791 [BZ #16038]
8792 * malloc/hooks.c (memalign_check): Limit alignment to the
8793 maximum representable power of two.
8794 * malloc/malloc.c (__libc_memalign): Likewise.
8795 * malloc/tst-memalign.c (do_test): Add test for very
8796 large alignment values.
8797 * malloc/tst-posix_memalign.c (do_test): Likewise.
8798
c6e4925d
OB
87992013-10-30 Ondřej Bílka <neleai@seznam.cz>
8800
8801 [BZ #11087]
8802 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8803 (munmap_chunk): Likewise.
8804 (mremap_chunk): Likewise.
8805
88062013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8807
8a43e768 8808 [BZ #15799]
bbea82f7
OB
8809 * stdlib/div.c (div): Remove obsolete code.
8810 * stdlib/ldiv.c (ldiv): Likewise.
8811 * stdlib/lldiv.c (lldiv): Likewise.
8812
977f4b31
SP
88132013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8814
8815 [BZ #16071]
8816 * nss/nss_files/files-XXX.c (get_contents_ret): New
8817 enumerator.
8818 (get_contents): New function.
8819 (internal_getent): Use it. Expand size of LINEBUFLEN.
8820
cb8a6dbd
MF
88212013-10-30 Mike Frysinger <vapier@gentoo.org>
8822
8823 * configure.in: Moved to ...
8824 * configure.ac: ... here. Change reference to configure.in
8825 to configure.ac.
8826 * sysdeps/arm/preconfigure.ac: ... here.
8827 configure.in to configure.ac.
8828 * sysdeps/gnu/configure.in: Moved to ...
8829 * sysdeps/gnu/configure.ac: ... here.
8830 * sysdeps/i386/configure.in: Moved to ...
8831 * sysdeps/i386/configure.ac: ... here.
8832 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8833 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8834 * sysdeps/mach/configure.in: Moved to ...
8835 * sysdeps/mach/configure.ac: ... here.
8836 * sysdeps/mach/hurd/configure.in: Moved to ...
8837 * sysdeps/mach/hurd/configure.ac: ... here.
8838 * sysdeps/powerpc/configure.in: Moved to ...
8839 * sysdeps/powerpc/configure.ac: ... here.
8840 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8841 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8842 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8843 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8844 * sysdeps/s390/s390-32/configure.in: Moved to ...
8845 * sysdeps/s390/s390-32/configure.ac: ... here.
8846 * sysdeps/s390/s390-64/configure.in: Moved to ...
8847 * sysdeps/s390/s390-64/configure.ac: ... here.
8848 * sysdeps/sh/configure.in: Moved to ...
8849 * sysdeps/sh/configure.ac: ... here.
8850 * sysdeps/sparc/configure.in: Moved to ...
8851 * sysdeps/sparc/configure.ac: ... here.
8852 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8853 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8854 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8855 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8856 * sysdeps/x86_64/configure.in: Moved to ...
8857 * sysdeps/x86_64/configure.ac: ... here.
8858 * sysdeps/x86_64/preconfigure.in: Moved to ...
8859 * sysdeps/x86_64/preconfigure.ac: ... here.
8860 * aclocal.m4: Change reference to configure.in to configure.ac.
8861 * config.h.in: Likewise.
8862 * manual/install.texi: Likewise.
8863 * manual/maint.texi: Likewise.
8864 * Makefile: Likewise.
8865 * malloc/Makefile: Likewise.
8866 * nscd/Makefile: Likewise.
8867 * Makeconfig: Change reference to configure.in and
8868 preconfigure.in to configure.ac and preconfigure.ac
8869 respectively.
8870 * INSTALL: Regenerated.
8871 * configure: Likewise.
8872 * sysdeps/gnu/configure: Likewise.
8873 * sysdeps/i386/configure: Likewise.
8874 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8875 * sysdeps/mach/configure: Likewise.
8876 * sysdeps/mach/hurd/configure: Likewise.
8877 * sysdeps/powerpc/configure: Likewise.
8878 * sysdeps/powerpc/powerpc32/configure: Likewise.
8879 * sysdeps/powerpc/powerpc64/configure: Likewise.
8880 * sysdeps/s390/s390-32/configure: Likewise.
8881 * sysdeps/s390/s390-64/configure: Likewise.
8882 * sysdeps/sh/configure: Likewise.
8883 * sysdeps/sparc/configure: Likewise.
8884 * sysdeps/unix/sysv/linux/configure: Likewise.
8885 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8886 * sysdeps/x86_64/configure: Likewise.
8887 * sysdeps/x86_64/preconfigure: Likewise.
8888
36a4953a
AS
88892013-10-29 Andreas Schwab <schwab@suse.de>
8890
8891 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8892
c79a1204
SP
88932013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8894
dfa1b402
SP
8895 * benchtests/pow-inputs: Add new inputs.
8896
54f73d9c
SP
8897 * benchtests/exp-inputs: Add new inputs.
8898
c79a1204
SP
8899 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8900 conditional check for return value.
8901 (__cos32): Likewise.
8902
67beb545 89032013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8904
8905 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8906 to provide a boost for large inputs with word alignment.
8907 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8908 implementation based on optimized PPC64 strcpy.
8909 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8910 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8911 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8912 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8913
151659f6
OB
89142013-10-25 Ondřej Bílka <neleai@seznam.cz>
8915
482a077e 8916 [BZ #2801]
151659f6
OB
8917 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8918
10b0f26b
OB
89192013-10-25 Ondřej Bílka <neleai@seznam.cz>
8920
8921 [BZ #14876]
8922 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8923 * time/tst-strptime.c (day_tests): Add testcase.
8924
ca42d35e
OB
89252013-10-25 Ondřej Bílka <neleai@seznam.cz>
8926
482a077e 8927 [BZ #14029]
ca42d35e
OB
8928 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8929
52e6d801
FB
89302013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8931
8932 [BZ #16074]
8933 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8934 MAP_FAILED on error.
8935
7cbcdb36
SP
89362013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8937
8938 [BZ #16072]
8939 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8940 heap for large requests.
8941
894f3f10
AM
89422013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8943
8944 [BZ #9954]
8945 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8946 result if the result has no associated interface.
8947 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8948 interface for all 127.X.Y.Z addresses.
8949
b85545a6
CL
89502013-10-24 Chris Leonard <cjl@sugarlabs.org>
8951
8952 * locale/iso-639.def: Add Ligurian (lij)
8953
d1f23d46
OB
89542013-10-21 Ondřej Bílka <neleai@seznam.cz>
8955
8956 [BZ #15825]
8957 * sunrpc/rpc_main.c: Document rpcgen -5.
8958
4db5b08f
MS
89592013-10-19 Michael Stahl <mstahl@redhat.com>
8960
8961 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8962
a471e96a
OB
89632013-10-19 Ondřej Bílka <neleai@seznam.cz>
8964
d1f23d46 8965 [BZ #10278]
a471e96a
OB
8966 * posix/glob.c: Match only directories when trailing slash is present.
8967 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8968 (main): Add testcase.
8969
45c30c61
OB
89702013-10-19 Ondřej Bílka <neleai@seznam.cz>
8971
8972 [BZ #15670]
8973 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8974
484c12fb
CD
89752013-10-18 Carlos O'Donell <carlos@redhat.com>
8976
3d7dc513
CD
8977 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8978 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8979 AUTH_DES and cindex for FIPS 140-2.
8980 (DES Encryption): Add cindex FIPS 46-3.
8981
484c12fb
CD
8982 * locale/locarchive.h (struct locarhandle): Add fname.
8983 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8984 if an optional argument was specified to --list-archive,
8985 otherwise NULL.
8986 * locale/programs/locarchive.c (show_archive_content): Take new
8987 argument fname and pass it via ah.fname to open_archive.
8988 * locale/programs/localedef.h: Update decl.
8989 (open_archive): If AH->fname is non-null, open that file
8990 rather than the default file name, and don't ignore ENOENT.
8991 (create_archive): Set AH.fname to NULL.
8992 (delete_locales_from_archive): Likewise.
8993 (add_locales_to_archive): Likewise.
8994 * locale/programs/locfile.c (write_all_categories): Likewise.
8995
3c8325fb
JM
89962013-10-18 Joseph Myers <joseph@codesourcery.com>
8997 Aldy Hernandez <aldyh@redhat.com>
8998
8999 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9000 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9001 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9002 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9003 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9004 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9005 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9006 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9007 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9008 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9009 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9010 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9011 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9012 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9013 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9014 Likewise.
9015 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9016 Likewise.
9017 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9018 Likewise.
9019 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9020 Likewise.
9021 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9022 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9023 Likewise.
9024 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9025 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9026 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9027 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9028 Likewise.
9029 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9030 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9031 * sysdeps/powerpc/preconfigure: Likewise.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9033 Likewise.
9034 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9035 Replace contents of file by #include of <fenv_libc.h>.
9036 * sysdeps/powerpc/soft-fp/sfp-machine.h
9037 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9038 and <sys/prctl.h>.
9039 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9052 Allow copysignl PLT reference to be missing.
9053
5abe0682
RS
90542013-10-18 Richard Sandiford <richard@codesourcery.com>
9055 Joseph Myers <joseph@codesourcery.com
9056
9057 [BZ #15948]
9058 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9059 single character.
9060 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9061
c7738d08
SP
90622013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9063
9064 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9065 * elf/tst-tls1.c: Likewise.
9066 * elf/tst-tls10.h: Likewise.
9067 * elf/tst-tls14.c: Likewise.
9068 * elf/tst-tls2.c: Likewise.
9069 * elf/tst-tls3.c: Likewise.
9070 * elf/tst-tls4.c: Likewise.
9071 * elf/tst-tls5.c: Likewise.
9072 * elf/tst-tls6.c: Likewise.
9073 * elf/tst-tls7.c: Likewise.
9074 * elf/tst-tls8.c: Likewise.
9075 * elf/tst-tls9.c: Likewise.
9076 * elf/tst-tlsmod1.c: Likewise.
9077 * elf/tst-tlsmod13.c: Likewise.
9078 * elf/tst-tlsmod13a.c: Likewise.
9079 * elf/tst-tlsmod14a.c: Likewise.
9080 * elf/tst-tlsmod16a.c: Likewise.
9081 * elf/tst-tlsmod16b.c: Likewise.
9082 * elf/tst-tlsmod2.c: Likewise.
9083 * elf/tst-tlsmod3.c: Likewise.
9084 * elf/tst-tlsmod4.c: Likewise.
9085 * elf/tst-tlsmod5.c: Likewise.
9086 * elf/tst-tlsmod6.c: Likewise.
9087
0bfcf2c7
OB
90882013-10-18 Ondřej Bílka <neleai@seznam.cz>
9089
9090 [BZ #12486]
9091 * malloc/malloc.c: remove checks for statistics.
9092
264aad1e
OB
90932013-10-17 Ondřej Bílka <neleai@seznam.cz>
9094
9095 [BZ #15277]
9096 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9097 * inet/tst-network.c: Add testcase.
9098
b957ced8
AS
90992013-10-17 Andreas Schwab <schwab@suse.de>
9100
9101 [BZ #15218]
9102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9103 to determine canonical name.
9104
c5d5d574
OB
91052013-10-17 Ondřej Bílka <neleai@seznam.cz>
9106
9107 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9108 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9131 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9132 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9165
e5c2c2d0
JM
91662013-10-17 Joseph Myers <joseph@codesourcery.com>
9167
9168 [BZ #16041]
9169 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9170 make result into a quiet NaN.
9171
51ca9e29
JM
91722013-10-16 Joseph Myers <joseph@codesourcery.com>
9173
9174 * soft-fp/adddf3.c: Fix horizontal whitespace.
9175 * soft-fp/addsf3.c: Likewise.
9176 * soft-fp/addtf3.c: Likewise.
9177 * soft-fp/divdf3.c: Likewise.
9178 * soft-fp/divsf3.c: Likewise.
9179 * soft-fp/divtf3.c: Likewise.
9180 * soft-fp/double.h: Likewise.
9181 * soft-fp/eqdf2.c: Likewise.
9182 * soft-fp/eqsf2.c: Likewise.
9183 * soft-fp/eqtf2.c: Likewise.
9184 * soft-fp/extenddftf2.c: Likewise.
9185 * soft-fp/extended.h: Likewise.
9186 * soft-fp/extendsfdf2.c: Likewise.
9187 * soft-fp/extendsftf2.c: Likewise.
9188 * soft-fp/extendxftf2.c: Likewise.
9189 * soft-fp/fixdfdi.c: Likewise.
9190 * soft-fp/fixdfsi.c: Likewise.
9191 * soft-fp/fixdfti.c: Likewise.
9192 * soft-fp/fixsfdi.c: Likewise.
9193 * soft-fp/fixsfsi.c: Likewise.
9194 * soft-fp/fixsfti.c: Likewise.
9195 * soft-fp/fixtfdi.c: Likewise.
9196 * soft-fp/fixtfsi.c: Likewise.
9197 * soft-fp/fixtfti.c: Likewise.
9198 * soft-fp/fixunsdfdi.c: Likewise.
9199 * soft-fp/fixunsdfsi.c: Likewise.
9200 * soft-fp/fixunsdfti.c: Likewise.
9201 * soft-fp/fixunssfdi.c: Likewise.
9202 * soft-fp/fixunssfsi.c: Likewise.
9203 * soft-fp/fixunssfti.c: Likewise.
9204 * soft-fp/fixunstfdi.c: Likewise.
9205 * soft-fp/fixunstfsi.c: Likewise.
9206 * soft-fp/fixunstfti.c: Likewise.
9207 * soft-fp/floatdidf.c: Likewise.
9208 * soft-fp/floatdisf.c: Likewise.
9209 * soft-fp/floatditf.c: Likewise.
9210 * soft-fp/floatsidf.c: Likewise.
9211 * soft-fp/floatsisf.c: Likewise.
9212 * soft-fp/floatsitf.c: Likewise.
9213 * soft-fp/floattidf.c: Likewise.
9214 * soft-fp/floattisf.c: Likewise.
9215 * soft-fp/floattitf.c: Likewise.
9216 * soft-fp/floatundidf.c: Likewise.
9217 * soft-fp/floatundisf.c: Likewise.
9218 * soft-fp/floatunditf.c: Likewise.
9219 * soft-fp/floatunsidf.c: Likewise.
9220 * soft-fp/floatunsisf.c: Likewise.
9221 * soft-fp/floatunsitf.c: Likewise.
9222 * soft-fp/floatuntidf.c: Likewise.
9223 * soft-fp/floatuntisf.c: Likewise.
9224 * soft-fp/floatuntitf.c: Likewise.
9225 * soft-fp/fmadf4.c: Likewise.
9226 * soft-fp/fmasf4.c: Likewise.
9227 * soft-fp/fmatf4.c: Likewise.
9228 * soft-fp/gedf2.c: Likewise.
9229 * soft-fp/gesf2.c: Likewise.
9230 * soft-fp/getf2.c: Likewise.
9231 * soft-fp/ledf2.c: Likewise.
9232 * soft-fp/lesf2.c: Likewise.
9233 * soft-fp/letf2.c: Likewise.
9234 * soft-fp/muldf3.c: Likewise.
9235 * soft-fp/mulsf3.c: Likewise.
9236 * soft-fp/multf3.c: Likewise.
9237 * soft-fp/negdf2.c: Likewise.
9238 * soft-fp/negsf2.c: Likewise.
9239 * soft-fp/negtf2.c: Likewise.
9240 * soft-fp/op-1.h: Likewise.
9241 * soft-fp/op-2.h: Likewise.
9242 * soft-fp/op-4.h: Likewise.
9243 * soft-fp/op-8.h: Likewise.
9244 * soft-fp/op-common.h: Likewise.
9245 * soft-fp/quad.h: Likewise.
9246 * soft-fp/single.h: Likewise.
9247 * soft-fp/soft-fp.h: Likewise.
9248 * soft-fp/sqrtdf2.c: Likewise.
9249 * soft-fp/sqrtsf2.c: Likewise.
9250 * soft-fp/sqrttf2.c: Likewise.
9251 * soft-fp/subdf3.c: Likewise.
9252 * soft-fp/subsf3.c: Likewise.
9253 * soft-fp/subtf3.c: Likewise.
9254 * soft-fp/truncdfsf2.c: Likewise.
9255 * soft-fp/trunctfdf2.c: Likewise.
9256 * soft-fp/trunctfsf2.c: Likewise.
9257 * soft-fp/trunctfxf2.c: Likewise.
9258 * soft-fp/unorddf2.c: Likewise.
9259 * soft-fp/unordsf2.c: Likewise.
9260 * soft-fp/unordtf2.c: Likewise.
9261
9ebb0332
JM
92622013-10-15 Joseph Myers <joseph@codesourcery.com>
9263
9264 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9265 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9266
4b1a6d8b
OB
92672013-10-15 Ondřej Bílka <neleai@seznam.cz>
9268
9269 * elf/dl-libc.c: Clear initfini list after freeing.
9270
1e145589
JM
92712013-10-14 Joseph Myers <joseph@codesourcery.com>
9272
9273 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9274 * soft-fp/addsf3.c: Likewise.
9275 * soft-fp/addtf3.c: Likewise.
9276 * soft-fp/divdf3.c: Likewise.
9277 * soft-fp/divsf3.c: Likewise.
9278 * soft-fp/divtf3.c: Likewise.
9279 * soft-fp/double.h: Likewise.
9280 * soft-fp/eqdf2.c: Likewise.
9281 * soft-fp/eqsf2.c: Likewise.
9282 * soft-fp/eqtf2.c: Likewise.
9283 * soft-fp/extenddftf2.c: Likewise.
9284 * soft-fp/extended.h: Likewise.
9285 * soft-fp/extendsfdf2.c: Likewise.
9286 * soft-fp/extendsftf2.c: Likewise.
9287 * soft-fp/extendxftf2.c: Likewise.
9288 * soft-fp/fixdfdi.c: Likewise.
9289 * soft-fp/fixdfsi.c: Likewise.
9290 * soft-fp/fixdfti.c: Likewise.
9291 * soft-fp/fixsfdi.c: Likewise.
9292 * soft-fp/fixsfsi.c: Likewise.
9293 * soft-fp/fixsfti.c: Likewise.
9294 * soft-fp/fixtfdi.c: Likewise.
9295 * soft-fp/fixtfsi.c: Likewise.
9296 * soft-fp/fixtfti.c: Likewise.
9297 * soft-fp/fixunsdfdi.c: Likewise.
9298 * soft-fp/fixunsdfsi.c: Likewise.
9299 * soft-fp/fixunsdfti.c: Likewise.
9300 * soft-fp/fixunssfdi.c: Likewise.
9301 * soft-fp/fixunssfsi.c: Likewise.
9302 * soft-fp/fixunssfti.c: Likewise.
9303 * soft-fp/fixunstfdi.c: Likewise.
9304 * soft-fp/fixunstfsi.c: Likewise.
9305 * soft-fp/fixunstfti.c: Likewise.
9306 * soft-fp/floatdidf.c: Likewise.
9307 * soft-fp/floatdisf.c: Likewise.
9308 * soft-fp/floatditf.c: Likewise.
9309 * soft-fp/floatsidf.c: Likewise.
9310 * soft-fp/floatsisf.c: Likewise.
9311 * soft-fp/floatsitf.c: Likewise.
9312 * soft-fp/floattidf.c: Likewise.
9313 * soft-fp/floattisf.c: Likewise.
9314 * soft-fp/floattitf.c: Likewise.
9315 * soft-fp/floatundidf.c: Likewise.
9316 * soft-fp/floatundisf.c: Likewise.
9317 * soft-fp/floatunsidf.c: Likewise.
9318 * soft-fp/floatunsisf.c: Likewise.
9319 * soft-fp/floatuntidf.c: Likewise.
9320 * soft-fp/floatuntisf.c: Likewise.
9321 * soft-fp/floatuntitf.c: Likewise.
9322 * soft-fp/fmadf4.c: Likewise.
9323 * soft-fp/fmasf4.c: Likewise.
9324 * soft-fp/fmatf4.c: Likewise.
9325 * soft-fp/gedf2.c: Likewise.
9326 * soft-fp/gesf2.c: Likewise.
9327 * soft-fp/getf2.c: Likewise.
9328 * soft-fp/ledf2.c: Likewise.
9329 * soft-fp/lesf2.c: Likewise.
9330 * soft-fp/letf2.c: Likewise.
9331 * soft-fp/muldf3.c: Likewise.
9332 * soft-fp/mulsf3.c: Likewise.
9333 * soft-fp/multf3.c: Likewise.
9334 * soft-fp/negdf2.c: Likewise.
9335 * soft-fp/negsf2.c: Likewise.
9336 * soft-fp/negtf2.c: Likewise.
9337 * soft-fp/op-1.h: Likewise.
9338 * soft-fp/op-2.h: Likewise.
9339 * soft-fp/op-4.h: Likewise.
9340 * soft-fp/op-8.h: Likewise.
9341 * soft-fp/op-common.h: Likewise.
9342 * soft-fp/quad.h: Likewise.
9343 * soft-fp/single.h: Likewise.
9344 * soft-fp/soft-fp.h: Likewise.
9345 * soft-fp/sqrtdf2.c: Likewise.
9346 * soft-fp/sqrtsf2.c: Likewise.
9347 * soft-fp/sqrttf2.c: Likewise.
9348 * soft-fp/subdf3.c: Likewise.
9349 * soft-fp/subsf3.c: Likewise.
9350 * soft-fp/subtf3.c: Likewise.
9351 * soft-fp/truncdfsf2.c: Likewise.
9352 * soft-fp/trunctfdf2.c: Likewise.
9353 * soft-fp/trunctfsf2.c: Likewise.
9354 * soft-fp/trunctfxf2.c: Likewise.
9355 * soft-fp/unorddf2.c: Likewise.
9356 * soft-fp/unordsf2.c: Likewise.
9357 * soft-fp/unordtf2.c: Likewise.
9358
17c48a60
OB
93592013-10-14 Ondřej Bílka <neleai@seznam.cz>
9360
9361 [BZ #15672]
9362 * misc/error.c (error_tail): Fix possible buffer overflow.
9363
cabba934
OB
93642013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9365
9366 [BZ #13028]
9367 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9368 address.
9369
94bf958a
PM
93702013-10-14 P. J. McDermott <pj@pehjota.net>
9371
9372 [BZ #832]
9373 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9374 testing pipefail option.
9375
71b4dea7
JM
93762013-10-12 Joseph Myers <joseph@codesourcery.com>
9377
9378 * soft-fp/double.h: Indent preprocessor directives inside #if.
9379 * soft-fp/extended.h: Likewise.
9380 * soft-fp/op-2.h: Likewise.
9381 * soft-fp/op-4.h: Likewise.
9382 * soft-fp/op-common.h: Likewise.
9383 * soft-fp/quad.h: Likewise.
9384 * soft-fp/single.h: Likewise.
9385 * soft-fp/soft-fp.h: Likewise.
9386
55602758
YC
93872013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9388
9389 * iconv/iconv_prog.c: Fix typos.
9390 * stdio-common/psiginfo-data.h: Likewise.
9391
9cd83302
RT
93922013-10-12 Reuben Thomas <rrt@sc3d.org>
9393
9394 [BZ #15764]
9395 * locale/setlocale.c: Fix typo.
9396
99fd9f47
JM
93972013-10-12 Joseph Myers <joseph@codesourcery.com>
9398
b7ea74f0
JM
9399 [BZ #16036]
9400 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9401 signaling NaN arguments.
9402 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9403 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9404
8a509447
JM
9405 [BZ #14910]
9406 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9407 unordered operands.
9408 * soft-fp/gesf2.c (__gesf2): Likewise.
9409 * soft-fp/getf2.c (__getf2): Likewise.
9410 * soft-fp/ledf2.c (__ledf2): Likewise.
9411 * soft-fp/lesf2.c (__lesf2): Likewise.
9412 * soft-fp/letf2.c (__letf2): Likewise.
9413
98998e9f
JM
9414 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9415 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9416 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9417 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9418 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9419 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9420 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9421 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9422 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9423 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9424 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9425 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9426 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9427 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9428 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9429 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9430 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9431 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9432 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9433 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9434 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9435 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9436 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9437 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9438 * soft-fp/floattidf.c (__floattidf): Likewise.
9439 * soft-fp/floattisf.c (__floattisf): Likewise.
9440 * soft-fp/floattitf.c (__floattitf): Likewise.
9441 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9442 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9443 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9444 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9445 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9446 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9447 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9448 * soft-fp/gesf2.c (__gesf2): Likewise.
9449 * soft-fp/getf2.c (__getf2): Likewise.
9450 * soft-fp/ledf2.c (__ledf2): Likewise.
9451 * soft-fp/lesf2.c (__lesf2): Likewise.
9452 * soft-fp/letf2.c (__letf2): Likewise.
9453
8edc4a11
JM
9454 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9455 Undefine and redefine.
9456 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9457 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9458 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9459 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9460 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9461 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9462 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9463 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9464 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9465 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9466 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9467 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9468 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9469 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9470 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9471
8399acaf
JM
9472 [BZ #16032]
9473 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9474 without decrementing exponent if mantissa >= that for the
9475 denominator, not >.
9476 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9477 denominator, not >. Decrement exponent in < case instead of
9478 incrementing in >= case.
9479 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9480 without decrementing exponent if mantissa >= that for the
9481 denominator, not >.
9482
99fd9f47
JM
9483 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9484 computing saturated result for unsigned overflow.
9485
10e1cf6b
SP
94862013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9487 Jeff Law <law@redhat.com>
9488
9489 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9490 (atan2Mp): Add systemtap probe marker.
9491 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9492 (__ieee754_log): Add systemtap probe marker.
9493 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9494 (atanMp): Add systemtap probe marker.
9495 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9496 (tanMp): Add systemtap probe marker.
9497 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9498 (__slowexp): Add systemtap probe marker.
9499 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9500 (__slowpow): Add systemtap probe marker.
9501 * manual/probes.texi: Document probes.
9502
3d110c7c
EB
95032013-10-11 Eric Biggers <ebiggers3@gmail.com>
9504
9505 [BZ #15362]
9506 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9507 written.
9508 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9509 written.
9510 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9511 written to buffer but not flushed.
9512 * libio/iofwrite_u.c: Likewise.
9513 * libio/iopadn.c: Return bytes returned even if EOF was
9514 encountered.
9515 * libio/iowpadn.c: Likewise.
9516 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9517 if _IO_padn does not write the whole buffer.
9518 [!COMPILE_WPRINTF] (PAD): Likewise.
9519
75b4202a
DM
95202013-10-10 David S. Miller <davem@davemloft.net>
9521
9522 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9523 directory block.
9524
6c6352e6
JM
95252013-10-10 Joseph Myers <joseph@codesourcery.com>
9526
33b853c3
JM
9527 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9528 instead of FSF address.
9529 * soft-fp/fixdfti.c: Likewise.
9530 * soft-fp/fixsfti.c: Likewise.
9531 * soft-fp/fixtfti.c: Likewise.
9532 * soft-fp/fixunsdfti.c: Likewise.
9533 * soft-fp/fixunssfti.c: Likewise.
9534 * soft-fp/fixunstfti.c: Likewise.
9535 * soft-fp/floattidf.c: Likewise.
9536 * soft-fp/floattisf.c: Likewise.
9537 * soft-fp/floattitf.c: Likewise.
9538 * soft-fp/floatuntidf.c: Likewise.
9539 * soft-fp/floatuntisf.c: Likewise.
9540 * soft-fp/floatuntitf.c: Likewise.
9541 * soft-fp/trunctfxf2.c: Likewise.
9542
6c6352e6
JM
9543 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9544 * soft-fp/fixdfti.c: Likewise.
9545 * soft-fp/fixsfti.c: Likewise.
9546 * soft-fp/fixtfti.c: Likewise.
9547 * soft-fp/fixunsdfti.c: Likewise.
9548 * soft-fp/fixunssfti.c: Likewise.
9549 * soft-fp/fixunstfti.c: Likewise.
9550 * soft-fp/floattidf.c: Likewise.
9551 * soft-fp/floattisf.c: Likewise.
9552 * soft-fp/floattitf.c: Likewise.
9553 * soft-fp/floatuntidf.c: Likewise.
9554 * soft-fp/floatuntisf.c: Likewise.
9555 * soft-fp/floatuntitf.c: Likewise.
9556 * soft-fp/trunctfxf2.c: Likewise.
9557
3bf78b71
DM
95582013-10-10 David S. Miller <davem@davemloft.net>
9559
9560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9561
6f10289e
JM
95622013-10-10 Joseph Myers <joseph@codsourcery.com>
9563
bd878fc0
JM
9564 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9565 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9566 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9567 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9568 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9569 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9570 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9571
6f10289e
JM
9572 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9573 for NaNs before doing comparisons on argument.
9574 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9575 Likewise.
9576
321e2684
WN
95772013-10-10 Will Newton <will.newton@linaro.org>
9578
9579 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9580 passed to _int_memalign does not overflow.
9581
40fefba1
TR
95822013-10-10 Torvald Riegel <triegel@redhat.com>
9583
9584 * scripts/bench.pl: Add include-sources directive.
9585 * benchtests/README: Update documentation.
9586
2ae21ed2
JM
95872013-10-10 Joseph Myers <joseph@codesourcery.com>
9588
dcc2dd3f
JM
9589 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9590 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9591 instead of FP_INIT_ROUNDMODE.
9592 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9593 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9594
2ae21ed2
JM
9595 [BZ #16034]
9596 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9597 copy class of input value.
9598 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9599 not handle exceptions.
9600 * soft-fp/negsf2.c (__negsf2): Likewise.
9601 * soft-fp/negtf2.c (__negtf2): Likewise.
9602 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9603
cb8f9562
JM
96042013-10-09 Joseph Myers <joseph@codesourcery.com>
9605
9606 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9607 semicolon. From Linux kernel.
9608
5b60c59d
AB
96092013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9610
9611 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9612
b86835ca
YC
96132013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9614
9615 [BZ #156]
9616 * manual/socket.texi: Added statement about buffer
9617 for gethostbyname2_r.
9618
e7044ea7
OB
96192013-10-08 Ondřej Bílka <neleai@seznam.cz>
9620
9621 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9622 Use .p2align directive instead, throughout.
9623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9624 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9625 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9627 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9628 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9629 * sysdeps/x86_64/strchr.S: Likewise.
9630 * sysdeps/x86_64/strrchr.S: Likewise.
9631
09544cbc
SP
96322013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9633
88576635
SP
9634 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9635
e7b2d1dd
SP
9636 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9637
09544cbc
SP
9638 * sysdeps/generic/math_private.h (__mpsin1): Remove
9639 declaration.
9640 (__mpcos1): Likewise.
9641 (__mpsin): New argument __range_reduce.
9642 (__mpcos): Likewise.
9643 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9644 (slow): Use __mpsin and __mpcos.
9645 (slow1): Likewise.
9646 (slow2): Likewise.
9647 (sloww): Likewise.
9648 (sloww1): Likewise.
9649 (sloww2): Likewise.
9650 (bsloww): Likewise.
9651 (bsloww1): Likewise.
9652 (bsloww2): Likewise.
9653 (cslow2): Likewise.
9654 (csloww): Likewise.
9655 (csloww1): Likewise.
9656 (csloww2): Likewise.
9657 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9658 range_reduce. Merge in __mpsin1.
9659 (__mpcos): Likewise.
9660 (__mpsin1): Remove.
9661 (__mpcos1): Likewise.
9662
7602d070
JM
96632013-10-07 Joseph Myers <joseph@codesourcery.com>
9664
9665 * locale/loadlocale.c (_nl_intern_locale_data): Use
9666 LOCFILE_ALIGNED_P.
9667 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9668 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9669 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9670 obstack data is appropriately aligned.
9671 (obstack_int32_grow_fast): Likewise.
9672 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9673 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9674 (add_locale_uint32_array): Likewise.
9675
a357259b
SP
96762013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9677
9678 * benchtests/Makefile: Remove ARGLIST and RET variables.
9679 ($(objpfx)bench-%.c): Pass only function name to the script.
9680 * benchtests/README: Update documentation.
9681 * benchtests/acos-inputs: Add new directives.
9682 * benchtests/acosh-inputs: Likewise.
9683 * benchtests/asin-inputs: Likewise.
9684 * benchtests/asinh-inputs: Likewise.
9685 * benchtests/atan-inputs: Likewise.
9686 * benchtests/atanh-inputs: Likewise.
9687 * benchtests/cos-inputs: Likewise.
9688 * benchtests/cosh-inputs: Likewise.
9689 * benchtests/exp-inputs: Likewise.
9690 * benchtests/log-inputs: Likewise.
9691 * benchtests/pow-inputs: Likewise.
9692 * benchtests/rint-inputs: Likewise.
9693 * benchtests/sin-inputs: Likewise.
9694 * benchtests/sinh-inputs: Likewise.
9695 * benchtests/tan-inputs: Likewise.
9696 * benchtests/tanh-inputs: Likewise.
9697 * scripts/bench.pl: Add support for new directives.
9698
9ec1b13d
AM
96992013-10-07 Alan Modra <amodra@gmail.com>
9700
9701 * README: Fix careless merge.
9702
8b7d57cd
AM
97032013-10-05 Alan Modra <amodra@gmail.com>
9704
9705 * NEWS: Mention powerpc64le support and bugs fixed.
9706 * README: Both big-endian and little-endian powerpc64 supported.
9707
7b7bab13
ST
97082013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9709
57f41c40
AS
9710 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9711 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9712 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9713 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9714
d39baad1
RA
97152013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9716
9717 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9718 match prototype.
9719
cd78f7e7
JM
97202013-10-04 Joseph Myers <joseph@codesourcery.com>
9721
29d73d86
JM
9722 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9723 Move -mhard-float appending from
9724 ports/sysdeps/powerpc/powerpc32/Makefile.
9725 [$(with-fp) = yes] (ASFLAGS): Likewise.
9726 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9727 * sysdeps/powerpc/nofpu: Move directory from
9728 ports/sysdeps/powerpc/nofpu.
9729 * sysdeps/powerpc/soft-fp: Move directory from
9730 ports/sysdeps/powerpc/soft-fp.
9731 * sysdeps/powerpc/powerpc32/405: Move directory from
9732 ports/sysdeps/powerpc/powerpc32/405.
9733 * sysdeps/powerpc/powerpc32/440: Move directory from
9734 ports/sysdeps/powerpc/powerpc32/440.
9735 * sysdeps/powerpc/powerpc32/464: Move directory from
9736 ports/sysdeps/powerpc/powerpc32/464.
9737 * sysdeps/powerpc/powerpc32/476: Move directory from
9738 ports/sysdeps/powerpc/powerpc32/476.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9740 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9742 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9744 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9746 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9748 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9749 * README: Update for powerpc-*-linux-gnu software floating point
9750 support in libc.
9751
e246b347
JM
9752 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9753 case to powerpc/powerpc32*.
9754 * sysdeps/unix/sysv/linux/configure: Regenerated.
9755
89c2003e
JM
9756 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9757 (_FPU_MASK_OM): Define as 0x04.
9758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9760 0x00c10080.
9761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9762 0x0000003c.
9763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9764
cd78f7e7
JM
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9766 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9767 getcontext_e500.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9769 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9770 setcontext_e500.
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9772 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9773 and setcontext_e500.
9774
c755294d
CL
97752013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9776
9777 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9778
e16d221c
SP
97792013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9780
9781 * manual/threads.texi (Default Thread Attributes): Fix typo.
9782
215c7d43
WN
97832013-10-04 Will Newton <will.newton@linaro.org>
9784
9785 * malloc/Makefile: Add tst-memalign.
9786 * malloc/tst-memalign.c: New file.
9787
27d0461b
WN
9788 * malloc/tst-posix_memalign.c: Add comments.
9789 (do_test): Add comments and call free on all potentially
9790 allocated pointers. Add space after cast.
9791
1bc92709
WN
9792 * malloc/tst-pvalloc.c: Add comments.
9793 (do_test): Add comments and call free on all potentially
9794 allocated pointers. Remove duplicate check for NULL pointer.
9795 Add space after cast.
9796
66a9be9d
WN
9797 * malloc/tst-valloc.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
4cb81307
AM
98022013-10-04 Alan Modra <amodra@gmail.com>
9803
9804 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9805 Use stdint types in rather than __attribute__((mode())).
9806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9807
f8e3e9f3
AM
98082013-10-04 Alan Modra <amodra@gmail.com>
9809
9810 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9811 Correct handling of unaligned relocs for little-endian.
9812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9813
8f9ebb08
AM
98142013-10-04 Alan Modra <amodra@gmail.com>
9815
9816 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9817 * configure: Regenerate.
9818 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9819 * shlib-versions: Likewise.
9820
0edf96c2
AM
98212013-10-04 Alan Modra <amodra@gmail.com>
9822
9823 * string/tester.c (test_memrchr): Increment reported test cycle.
9824
e0f7a380
AM
98252013-10-04 Alan Modra <amodra@gmail.com>
9826
9827 * string/test-memcpy.c (do_one_test): When reporting errors, print
9828 string address and don't overrun end of string.
9829
466b0393
AM
98302013-10-04 Alan Modra <amodra@gmail.com>
9831
9832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9833 insrdi. Make better use of reg selection to speed exit slightly.
9834 Schedule entry path a little better. Remove useless "are we done"
9835 checks on entry to main loop. Handle wrapping around zero address.
9836 Correct main loop count. Handle single left-over word from main
9837 loop inline rather than by using loop_small. Remove extra word
9838 case in loop_small caused by wrong loop count. Add little-endian
9839 support.
9840 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9842 cache hint.
9843 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9844 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9845 support. Avoid rlwimi.
9846 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9847
3be87c77
AM
98482013-10-04 Alan Modra <amodra@gmail.com>
9849
9850 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9851 insrdi. Formatting.
3be87c77
AM
9852 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9853 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9854 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9855 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9856 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9857 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9858
759cfef3
AM
98592013-10-04 Alan Modra <amodra@gmail.com>
9860
9861 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9864 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9865 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9866 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9867 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9868 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9869 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9870 use of regs. Use power7 mtocrf. Tidy function tails.
9871
fe6e95d7
AM
98722013-10-04 Alan Modra <amodra@gmail.com>
9873
9874 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9875 Formatting. Consistently use rXXX register defines or rN defines.
9876 Use early exit labels that avoid restoring unused non-volatile regs.
9877 Make cr field use more consistent with rWORDn compares. Rename
9878 regs used as shift registers for unaligned loop, using rN defines
9879 for short lifetime/multiple use regs.
9880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9881 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9882 addi 1,1,64 to pop stack frame. Simplify return value code.
9883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9884
664318c3
AM
98852013-10-04 Alan Modra <amodra@gmail.com>
9886
9887 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9888 support. Correct typos, formatting. Optimize tail. Use insrdi
9889 rather than rlwimi.
9890 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9891 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9892 little-endian support. Correct typos.
9893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9894 rather than rlwimi.
9895 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9896 in loop and entry code to keep "and." results.
9897 (strchr): Add little-endian support. Comment. Move cntlzd
9898 earlier in tail.
9899 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9900
43b84013
AM
99012013-10-04 Alan Modra <amodra@gmail.com>
9902
9903 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9904 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9905 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9906 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9907
8a7413f9
AM
99082013-10-04 Alan Modra <amodra@gmail.com>
9909
9910 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9911 (rTMP): Define as r11.
9912 (strcmp): Add little-endian support. Optimise tail.
9913 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9914 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9915 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9916 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9917 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9919 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9920
33ee81de
AM
99212013-10-04 Alan Modra <amodra@gmail.com>
9922
9923 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9924 little-endian support. Remove unnecessary "are we done" tests.
9925 Handle "s" wrapping around zero and extremely large "size".
9926 Correct main loop count. Handle single left-over word from main
9927 loop inline rather than by using small_loop. Correct comments.
9928 Delete "zero" tail, use "end_max" instead.
9929 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9930
db9b4570
AM
99312013-10-04 Alan Modra <amodra@gmail.com>
9932
9933 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9934 support. Don't branch over align.
9935 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9936 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9937 support. Rearrange tmp reg use to suit. Comment.
9938 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9939
f7c399cf
AM
99402013-10-04 Alan Modra <amodra@gmail.com>
9941
9942 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9943
0b2c2ace
AM
99442013-10-04 Alan Modra <amodra@gmail.com>
9945
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9947 conditional form of branch and link when obtaining pc.
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9949
02f04a6c
AM
99502013-10-04 Alan Modra <amodra@gmail.com>
9951
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9953 HIWORD/LOWORD.
9954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9956
9b874b2f
AM
99572013-10-04 Alan Modra <amodra@gmail.com>
9958
9959 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9960 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9961 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9962 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9963 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9964 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9965 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9966 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9967 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9968 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9969
be1e5d31
AB
99702013-10-04 Anton Blanchard <anton@au1.ibm.com>
9971 Alistair Popple <alistair@ozlabs.au.ibm.com>
9972 Alan Modra <amodra@gmail.com>
9973
9974 [BZ #15723]
9975 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9977 _dl_hwcap access for little-endian.
9978 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9979 destroy vmx regs when saving unaligned.
9980 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9981 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9982 destroy vmx regs when saving unaligned.
9983
fef13a78
AM
99842013-10-04 Alan Modra <amodra@gmail.com>
9985
9986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9987 Don't use a union to pack hi/low value.
9988
76a66d51
AB
99892013-10-04 Anton Blanchard <anton@au1.ibm.com>
9990
9991 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9992 for little-endian.
9993 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9995 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9996 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9997 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9998
6a31fe7f
AM
99992013-10-04 Alan Modra <amodra@gmail.com>
10000
10001 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10002 constants to usual value for .cst8 section, and remove redundant
10003 high address load.
10004 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10005 constant for 0x1p52. Load little-endian words of double from
10006 correct stack offsets.
10007
7b88401f
AM
100082013-10-04 Alan Modra <amodra@gmail.com>
10009
10010 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10011 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10012 words of double from correct stack offsets.
10013 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10014 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10015 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10018 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10020 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10021 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10022 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10023 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10024 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10025 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10026 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10027 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10028 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10029 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10030
9c008155
AM
100312013-10-04 Alan Modra <amodra@gmail.com>
10032
10033 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10034 64-bit int/double union.
10035 (_FPU_SETCW): Likewise.
10036 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10037 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10038
da13146d
AM
100392013-10-04 Alan Modra <amodra@gmail.com>
10040
10041 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10042 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10043
603e8410
AM
100442013-10-04 Alan Modra <amodra@gmail.com>
10045
10046 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10047 use vector int constants.
10048 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10049
4a28b3ca
AB
100502013-10-04 Anton Blanchard <anton@au1.ibm.com>
10051
10052 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10053 array with long long.
10054 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10055 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10056 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10057 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10058 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10059 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10060 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10062 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10063 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10064 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10065 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10066 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10067
2ca85d2b
AB
100682013-10-04 Anton Blanchard <anton@au1.ibm.com>
10069
10070 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10071 (__signbit): Likewise. Correct for little-endian.
10072 (__signbitl): Call __signbit.
10073 (lrint): Correct for little-endian.
10074 (lrintf): Call lrint.
10075
62a728ae
AM
100762013-10-04 Alan Modra <amodra@gmail.com>
10077
10078 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10079 union 32-bit int array member with 64-bit int array.
10080 (t515, tm256): Double rather than long double.
10081 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10082
32c301df
AM
100832013-10-04 Alan Modra <amodra@gmail.com>
10084
10085 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10086 Delete.
10087 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10089 version of math_ldbl.h.
10090
650ef4bd
AM
100912013-10-04 Alan Modra <amodra@gmail.com>
10092
10093 [BZ #15734], [BZ #15735]
10094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10095 all uses of ieee875 long double macros and unions. Simplify test
10096 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10097 ldbl_extract_mantissa value for ix,iy exponents. Properly
10098 normalize after ldbl_extract_mantissa, and don't add hidden bit
10099 already handled. Don't treat low word of ieee854 mantissa like
10100 low word of IBM long double and mask off bit when testing for
10101 zero.
10102 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10103 all uses of ieee875 long double macros and unions. Simplify tests
10104 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10105 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10106 two1022, instead use their values. Recognise that tests for large
10107 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10108 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10109 Rewrite all uses of ieee875 long double macros and unions. Simplify
10110 test for 0.0L and nan. Correct negation.
10111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10112 ieee875 long double macros and unions. Correct output for large
10113 magnitude x. Correct absolute value calculation.
10114 (__erfcl): Likewise.
10115 * math/libm-test.inc: Add tests for errors discovered in IBM long
10116 double versions of fmodl, remainderl, erfl and erfcl.
10117
765714ca
AM
101182013-10-04 Alan Modra <amodra@gmail.com>
10119
10120 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10121 all uses of ieee854 long double macros and unions. Simplify tests
10122 for long doubles that are fully specified by the high double.
10123 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10124 Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10126 Remove dead code too.
10127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10128 (__ieee754_ynl): Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10132 Remove dead code too.
10133 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10135 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10137 Simplify.
10138 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10139 Simplify.
10140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10142 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10143 Comment on variable precision.
10144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10146 Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10151 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10152
4ebd120c
AM
101532013-10-04 Alan Modra <amodra@gmail.com>
10154
10155 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10157 all uses of ieee854 long double macros and unions.
10158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10162 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10164 Likewise.
10165 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10171 Simplify sign and nan test too.
10172 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10174 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10175 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10176 Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10179 Likewise.
10180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10181 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10182 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10186
1b6adf88
AM
101872013-10-04 Alan Modra <amodra@gmail.com>
10188
10189 * stdio-common/printf_size.c (__printf_size): Don't use
10190 union ieee854_long_double in fpnum union.
10191 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10192 signbit macro to retrieve sign from long double.
10193 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10194 retrieve sign from long double.
10195 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10196 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10197 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10198 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10199 * math/test-misc.c (main): Don't use union ieee854_long_double.
10200
4cf69995
AM
102012013-10-04 Alan Modra <amodra@gmail.com>
10202
10203 [BZ #15680]
10204 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10205 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10206 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10207 calculation. Remove unnecessary test for denormal exponent.
10208 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10209 Correct handling of denormals. Avoid undefined shift behaviour.
10210 Correct normalisation of low mantissa when low double is denormal.
10211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10212 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10213 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10214 Correct normalisation of low mantissa. Test for overflow of high
10215 mantissa and normalise.
10216 (ldbl_nearbyint): Use more readable constant for two52.
10217 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10218 (__mpn_construct_long_double): Fix test for overflow of high
10219 mantissa and correct normalisation. Avoid undefined shift.
10220
9605ca6c
AM
102212013-10-04 Alan Modra <amodra@gmail.com>
10222
10223 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10224 (union ibm_extended_long_double): Define as an array of ieee754_double.
10225 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10227 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10228 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10236
975569d0
JM
102372013-10-03 Joseph Myers <joseph@codesourcery.com>
10238
d3d23756
JM
10239 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10240 page size instead of calling getpagesize.
10241
975569d0
JM
10242 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10243 (LOCFILE_ALIGN_MASK): Likewise.
10244 (LOCFILE_ALIGN_UP): Likewise.
10245 (LOCFILE_ALIGNED_P): Likewise.
10246 * locale/programs/ld-collate.c (collate_output): Use the new
10247 macros instead of __alignof__ (int32_t).
10248 * locale/weight.h (findidx): Likewise.
10249
b1fe1f2b
OB
102502013-10-03 Ondřej Bílka <neleai@seznam.cz>
10251
10252 [BZ #431]
10253 * manual/string.texi: Fix strncat and wcsncat.
10254
5f855e35
BM
102552013-10-03 Brooks Moses <bmoses@google.com>
10256
10257 [BZ #15915]
10258 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10259 * Makerules: ...here, and adjust associated comments.
10260
3cef6009
WN
102612013-10-02 Will Newton <will.newton@linaro.org>
10262
10263 * malloc/Makefile: Add tst-pvalloc.
10264 * malloc/tst-pvalloc.c: New file.
10265
7815420b
WN
102662013-10-02 Will Newton <will.newton@linaro.org>
10267
10268 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10269 improve test coverage.
10270
4868b204
WN
102712013-10-02 Will Newton <will.newton@linaro.org>
10272
10273 * malloc/Makefile: Add tst-posix_memalign.
10274 * malloc/tst-posix_memalign.c: New file.
10275
29c793b3
EB
102762013-10-01 Eric Blake <eblake@redhat.com>
10277
10278 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10279 Use __THROWNL rather than __THROW on static functions.
10280
fd967522
PM
102812013-09-30 Petr Machata <pmachata@redhat.com>
10282
10283 * elf/elf.h (R_AARCH64_ABS16): New macro.
10284 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10285 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10286 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10287 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10288 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10289 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10290 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10291 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10292 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10293 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10294 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10295 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10296 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10297 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10298 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10299 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10300 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10301 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10302 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10303 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10304 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10305 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10306 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10307 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10308 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10309 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10310 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10311 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10312 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10313 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10314 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10315 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10316 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10317 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10318 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10319 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10320 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10321 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10322 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10323 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10324 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10325 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10326 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10327 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10328 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10329 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10330 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10331 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10332 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10333 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10334 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10335 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10336 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10337 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10338 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10339 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10340 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10341 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10342 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10343 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10344 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10345 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10346 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10347 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10348 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10349 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10350 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10351 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10352 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10353 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10354 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10355 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10356 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10357 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10358 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10359 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10360 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10361 (R_AARCH64_TLSDESC_LDR): Likewise.
10362 (R_AARCH64_TLSDESC_ADD): Likewise.
10363 (R_AARCH64_TLSDESC_CALL): Likewise.
10364
b2179107
AS
103652013-09-30 Andreas Schwab <schwab@suse.de>
10366
10367 [BZ #15048]
10368 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10369 the nss database lookup.
10370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10372
47f28d0a
MF
103732013-09-28 Mike Frysinger <vapier@gentoo.org>
10374
10375 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10376
103772013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10378
10379 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10380 ${Bash-specific parameter/pattern/string} parameter expansion.
10381 * sysdeps/unix/make-syscalls.sh: Likewise.
10382
f4518a17
KK
103832013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10384
10385 * sysdeps/sh/stackguard-macros.h: New file.
10386
dc1a95c7
OB
103872013-09-26 Ondřej Bílka <neleai@seznam.cz>
10388
10389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10391 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10392 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10393 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10394 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10395
5ebbff8f
AZ
103962013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10397
10398 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10399 Fix thread ID register.
10400
4fd2cf9f
JM
104012013-09-25 Joseph Myers <joseph@codesourcery.com>
10402
10403 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10404 [POSIX || UNIX98]: Require rather than permitting all symbols from
10405 <time.h>.
10406 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10407 element of struct sched_param.
10408 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10409 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10410 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10411 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10412 constant.
10413
12c22bc4
OL
104142013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10415
10416 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10417 argument calculation.
10418
a03d8ea7
JM
104192013-09-24 Joseph Myers <joseph@codesourcery.com>
10420
10421 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10422 Expect macro.
10423 [POSIX] (pthread_attr_t): Do not require type.
10424 [POSIX] (pthread_cond_t): Likewise.
10425 [POSIX] (pthread_condattr_t): Likewise.
10426 [POSIX] (pthread_key_t): Likewise.
10427 [POSIX] (pthread_mutex_t): Likewise.
10428 [POSIX] (pthread_mutexattr_t): Likewise.
10429 [POSIX] (pthread_once_t): Likewise.
10430 [POSIX] (pthread_t): Likewise.
10431 [POSIX-based standards] (pthread_atfork): Expect function.
10432
6055173a
JM
104332013-09-24 Joseph Myers <joseph@codesourcery.com>
10434 Richard Sandiford <richard@codesourcery.com>
10435
10436 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10437 (swap_endianness_p): New extern variable.
10438 (set_big_endian): New inline function.
10439 (maybe_swap_uint32): Likewise.
10440 (maybe_swap_uint32_array): Likewise.
10441 (maybe_swap_uint32_obstack): Likewise.
10442 * locale/programs/locfile.c: Include <stdbool.h>.
10443 (swap_endianness_p): New variable.
10444 (add_locale_uint32): Call maybe_swap_uint32.
10445 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10446 (write_locale_data): Call maybe_swap_uint32_array.
10447 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10448 maybe_swap_uint32.
10449 (obstack_int32_grow_fast): Likewise.
10450 (output_weightwc): Call maybe_swap_uint32_obstack.
10451 (collate_output): Likewise.
10452 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10453 (OPT_LITTLE_ENDIAN): Likewise.
10454 (options): Add --little-endian and --big-endian options.
10455 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10456 * locale/programs/locarchive.c: Include "locfile.h".
10457 (GET): New macro.
10458 (SET): Likewise.
10459 (INC): Likewise.
10460 (create_archive): Use the new macros to access fields of
10461 structures directly mapped from or written to locale archives.
10462 (oldlocrecentcmp): Likewise.
10463 (enlarge_archive): Likewise.
10464 (insert_name): Likewise.
10465 (add_alias): Likewise.
10466 (add_locale): Likewise.
10467 (delete_locales_from_archive): Likewise.
10468 (show_archive_content): Likewise.
10469 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10470 locale data.
10471
39bf0bb4
RM
104722013-09-24 Roland McGrath <roland@hack.frob.com>
10473
10474 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10475 http://www.gnu.org/doc/freemanuals.texi.
10476 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10477
f02eed10
WN
104782013-09-24 Will Newton <will.newton@linaro.org>
10479
10480 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10481 macro.
10482
a3a6c312
JM
104832013-09-23 Joseph Myers <joseph@codesourcery.com>
10484
10485 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10486 unsigned char.
10487
107375ac
MR
104882013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10489
10490 * manual/threads.texi (POSIX Threads): Fix a typo.
10491
141f3a77
SP
104922013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10493
303e567a
SP
10494 [BZ #14547]
10495 * string/tst-strcoll-overflow.c: New test case.
10496 * string/Makefile (xtests): Add tst-strcoll-overflow.
10497 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10498 cache if string sizes may cause integer overflow.
10499
141f3a77
SP
10500 [BZ #14547]
10501 * string/strcoll_l.c (coll_seq): New members rule, idx,
10502 save_idx and back_us.
10503 (get_next_seq_nocache): New function.
10504 (do_compare_nocache): New function.
10505 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10506 when malloc fails.
10507
c61b4d41
CD
105082013-09-23 Carlos O'Donell <carlos@redhat.com>
10509
0b1f8e35
CD
10510 [BZ #15754]
10511 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10512 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10513 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10514
c61b4d41
CD
10515 [BZ #15754]
10516 * elf/Makefile (tests): Add tst-ptrguard1.
10517 (tests-static): Add tst-ptrguard1-static.
10518 (tst-ptrguard1-ARGS): Define.
10519 (tst-ptrguard1-static-ARGS): Define.
10520 * elf/tst-ptrguard1.c: New file.
10521 * elf/tst-ptrguard1-static.c: New file.
10522 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10523 * sysdeps/i386/stackguard-macros.h: Likewise.
10524 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10525 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10526 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10527 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10528 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10529 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10530
105312013-09-23 Hector Marco <hecmargi@upv.es>
10532 Ismael Ripoll <iripoll@disca.upv.es>
10533 Carlos O'Donell <carlos@redhat.com>
10534
10535 [BZ #15754]
10536 * sysdeps/generic/stackguard-macros.h: Define
10537 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10538 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10539 Define __pointer_chk_guard_local.
10540 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10541 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10542
f5f4e7b4
VV
105432013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10544
10545 [BZ #15859]
10546 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10547
5bb43a43
AS
105482013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10549
10550 * include/string.h (__ffs): Declare as hidden.
10551 * string/ffs.c (__ffs): Define as hidden.
10552 * sysdeps/i386/ffs.c (__ffs): Likewise.
10553 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10554 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10555 * sysdeps/s390/ffs.c (__ffs): Likewise.
10556 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10557
3ea5be54
AO
105582013-09-20 Alexandre Oliva <aoliva@redhat.com>
10559
ffb89e53
AO
10560 * NEWS: Mention malloc probes.
10561
322dea08
AO
10562 * malloc/arena.c (new_heap): New memory_heap_new probe.
10563 (grow_heap): New memory_heap_more probe.
10564 (shrink_heap): New memory_heap_less probe.
10565 (heap_trim): New memory_heap_free probe.
10566 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10567 (systrim): New memory_sbrk_less probe.
10568 * manual/probes.texi: Document them.
10569
655673f3
AO
10570 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10571 * manual/probes.texi: Document it.
10572
35fed6f1
AO
10573 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10574 (__libc_realloc): Add memory_realloc_retry probe.
10575 (__libc_memalign): Add memory_memalign_retry probe.
10576 (__libc_valloc): Add memory_valloc_retry probe.
10577 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10578 (__libc_calloc): Add memory_calloc_retry probe.
10579 * manual/probes.texi: Document them.
10580
6999d38c
AO
10581 * malloc/arena.c (get_free_list): Add probe
10582 memory_arena_reuse_free_list.
10583 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10584 and memory_arena_reuse.
10585 (arena_get2) [!PER_THREAD]: Likewise.
10586 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10587 memory_arena_reuse_realloc.
10588 * manual/probes.texi: Document them.
10589
0653427f
AO
10590 * malloc/malloc.c (__libc_free): Add
10591 memory_mallopt_free_dyn_thresholds probe.
10592 (__libc_mallopt): Add multiple memory_mallopt probes.
10593 * manual/probes.texi: Document them.
10594
3ea5be54
AO
10595 * malloc/malloc.c: Include stap-probe.h.
10596 (__libc_mallopt): Add memory_mallopt probe.
10597 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10598 * manual/probes.texi: New.
10599 * manual/Makefile (chapters): Add probes.
10600 * manual/threads.texi: Set next node.
10601
e35696c3 106022013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10603
e35696c3
CL
10604 [BZ #15963, #13985]
10605 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10606 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10607 Add `Chinese' to `nan' entry name.
10608
4aafb73c
SP
106092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10610
10611 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10612 (POLYNOMIAL): Likewise.
10613 (TAYLOR_SINCOS): Likewise.
10614 (TAYLOR_SLOW): Likewise.
10615 (__sin): Use TAYLOR_SINCOS.
10616 (__cos): Likewise.
10617 (slow): Use TAYLOR_SLOW.
10618 (sloww): Likewise.
10619 (bsloww): Likewise.
10620 (csloww): Likewise.
10621
d84f25c7
LD
106222013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10623
10624 * stdlib/strtod_l.c: Fix buffer overrun.
10625
5eea0404
SP
106262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10627
7849ff93
SP
10628 * benchtests/Makefile (bench): Add sincos.
10629 * benchtests/bench-sincos.c: New file.
10630
cfa3c886
SP
10631 * math/libm-test.inc (cos_test_data): New test inputs.
10632 (sin_test_data): Likewise.
10633
b348e1e3
SP
10634 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10635 macro.
10636 (__sin): Use it.
10637 (__cos): Likewise.
10638 (slow1): Likewise.
10639 (slow2): Likewise.
10640 (sloww1): Likewise.
10641 (sloww2): Likewise.
10642 (bsloww1): Likewise.
10643 (bsloww2): Likewise.
10644 (cslow2): Likewise.
10645 (csloww1): Likewise.
10646 (csloww2): Likewise.
10647
6cce25f8
SP
10648 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10649 function.
10650 (__sin): Use it.
10651 (__cos): Likewise.
10652
5eea0404
SP
10653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10654 gotos.
10655 (__cos): Likewise.
10656
9c21573c
MR
106572013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10658
10659 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10660 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10661 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10662 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10663 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10664 * elf/cache.c (print_entry): Handle the new cache flags.
10665
24d22e65
JM
106662013-09-18 Joseph Myers <joseph@codesourcery.com>
10667 Aldy Hernandez <aldyh@redhat.com>
10668
10669 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10670 Change condition to [_SOFT_FLOAT].
10671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10683 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10686 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10687 declaration.
10688
d13ef066
JM
106892013-09-18 Joseph Myers <joseph@codesourcery.com>
10690
2e071de0
JM
10691 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10692 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10693 (__longjmp): Use LOAD_GP to load saved GPRs.
10694 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10695 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10696 (__sigsetjmp): Use SAVE_GP to save GPRs.
10697
d13ef066
JM
10698 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10699 Do not append -msoft-float.
10700 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10701
97a0650b
SP
107022013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10703
10704 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10705
11ca09e9
JM
107062013-09-17 Joseph Myers <joseph@codesourcery.com>
10707
10708 [BZ #15966]
10709 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10710 (_FPU_GETCW): Use initial "__" on variable and field names but not
10711 on macro parameter name.
10712 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10713 parentheses around reference to macro parameter.
10714
08ffcf34
RS
107152013-09-13 Richard Sandiford <richard@codesourcery.com>
10716
10717 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10718 prototype.
10719 (ctype_startup): Use uint32_t in cast and sizeof for
10720 ctype->charnames.
10721
ae7080d3
JL
107222013-09-11 Jia Liu <proljc@gmail.com>
10723
10724 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10725 __daddr_t_defined.
10726 [__FreeBSD__]: Likewise.
10727
5905e7b3
OB
107282013-09-11 Ondřej Bílka <neleai@seznam.cz>
10729
10730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10731 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10732 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10733 (strchr): Remove __strchr_sse42 ifunc selection.
10734 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10735 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10736
b987c776
WN
107372013-09-11 Will Newton <will.newton@linaro.org>
10738
10739 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10740 parameter to RES. Remove hardcoded 1000 value.
10741 * benchtests/bench-skeleton.c (main): Pass RES parameter
10742 to TIMING_INIT and multiply result by 1000.
10743
ddf985af
AZ
107442013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10745
10746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10747
ffdd3181
AS
107482013-09-11 Andreas Schwab <schwab@suse.de>
10749
10750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10751 if not defined.
10752 (O_TMPFILE) [__USE_GNU]: Define.
10753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10754 Define.
10755
b73ed247
WN
107562013-09-11 Will Newton <will.newton@linaro.org>
10757
10758 [BZ #15857]
10759 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10760 does not overflow.
10761
55e17aad
WN
107622013-09-11 Will Newton <will.newton@linaro.org>
10763
10764 [BZ #15856]
10765 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10766 does not overflow.
10767
1159a193
WN
107682013-09-11 Will Newton <will.newton@linaro.org>
10769
10770 [BZ #15855]
10771 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10772 does not overflow.
10773
5905e7b3 107742013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10775
10776 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10777 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10781
cdfc721b
AM
107822013-09-10 Allan McRae <allan@archlinux.org>
10783
aa04af00
AM
10784 [BZ #15748]
10785 * manual/arith.texi (Parsing of Floats): Clarify
10786 cross-reference.
10787
cdfc721b
AM
10788 [BZ #15849]
10789 * manual/install.texi (Running make install): Mention
10790 --enable-pt-chown.
10791 * INSTALL: Regenerated.
10792
95e7cf29
MR
107932013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10794
10795 * csu/init-first.c (_init): Remove the !SHARED condition around
10796 FPU control word initialization.
10797 * elf/dl-support.c (_dl_fpu_control): New variable.
10798 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10799 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10800 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10801 * math/test-fpucw-static.c: New file.
10802 * math/test-fpucw-ieee.c: New file.
10803 * math/test-fpucw-ieee-static.c: New file.
10804 * math/Makefile (tests): Add `test-fpucw-ieee' and
10805 `$(tests-static)'.
10806 (tests-static): New variable.
10807 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10808 dependency to...
10809 [($(build-shared),yes)]
10810 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10811 ... this.
10812 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10813 New dependency.
10814
83e43bf0
AM
108152013-09-09 Allan McRae <allan@archlinux.org>
10816
a9f5ce09
AM
10817 [BZ #15939]
10818 * manual/string.texi (Collation Functions): Fix typo in
10819 strcoll example.
10820 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10821
34829bc2
AM
10822 [BZ #15893]
10823 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10824
3932737d
AM
10825 [BZ #15892]
10826 * libio/memstream.c (open_memstream): Fix memory leak.
10827 * libio/wmemstream.c (open_wmemstream): Likewise.
10828
83e43bf0
AM
10829 [BZ #15895]
10830 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10831
0c66b8e9
WN
108322013-09-09 Will Newton <will.newton@linaro.org>
10833
10834 * malloc/Makefile: Add tst-realloc to tests.
10835 * malloc/tst-realloc.c: New file.
10836
f6b00fd1
AM
108372013-09-09 Allan McRae <allan@archlinux.org>
10838
10839 [BZ #15844]
10840 * COPYING: Update from GNU website to fix FSF address.
10841 * COPYING.LIB: Likewise.
10842
eec55e16
DM
108432013-09-06 David S. Miller <davem@davemloft.net>
10844
10845 * po/zh_TW.po: Update Chinese (traditional) translation from
10846 translation project.
10847
1ecbb381
RS
108482013-09-06 Richard Sandiford <richard@codesourcery.com>
10849 Joseph Myers <joseph@codesourcery.com>
10850
10851 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10852 "localeinfo.h".
10853 (obstack_chunk_alloc): New macro.
10854 (obstack_chunk_free): Likewise.
10855 (record_offset): New function.
10856 (init_locale_data): Likewise.
10857 (align_locale_data): Likewise.
10858 (add_locale_empty): Likewise.
10859 (add_locale_raw_data): Likewise.
10860 (add_locale_raw_obstack): Likewise.
10861 (add_locale_string): Likewise.
10862 (add_locale_wstring): Likewise.
10863 (add_locale_uint32): Likewise.
10864 (add_locale_uint32_array): Likewise.
10865 (add_locale_char): Likewise.
10866 (start_locale_structure): Likewise.
10867 (end_locale_structure): Likewise.
10868 (start_locale_prelude): Likewise.
10869 (end_locale_prelude): Likewise.
10870 (write_locale_data): Take locale_file structure rather than an
10871 iovec.
10872 * locale/programs/locfile.h: Include "obstack.h".
10873 (struct locale_file): Change to store locale file contents instead
10874 of header.
10875 (init_locale_data): New prototype.
10876 (align_locale_data): Likewise.
10877 (add_locale_empty): Likewise.
10878 (add_locale_raw_data): Likewise.
10879 (add_locale_raw_obstack): Likewise.
10880 (add_locale_string): Likewise.
10881 (add_locale_wstring): Likewise.
10882 (add_locale_uint32): Likewise.
10883 (add_locale_uint32_array): Likewise.
10884 (add_locale_char): Likewise.
10885 (start_locale_structure): Likewise.
10886 (end_locale_structure): Likewise.
10887 (start_locale_prelude): Likewise.
10888 (end_locale_prelude): Likewise.
10889 (write_locale_data): Update prototype.
10890 * locale/programs/3level.h (struct TABLE): Remove result field.
10891 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10892 Use new locale_file interface.
10893 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10894 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10895 * locale/programs/ld-address.c (address_output): Use new
10896 locale_file interface.
10897 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10898 NO_ADD_LOCALE.
10899 (collate_finish): Don't call collseq_table_finalize.
10900 (collate_output): Use new locale_file interface.
10901 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10902 in file.
10903 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10904 (TABLE): Move defines earlier in file.
10905 (ELEMENT): Likewise.
10906 (DEFAULT): Likewise.
10907 (wctrans_table_add): Move macro and inline function earlier in
10908 file.
10909 (struct wctype_table): Move type earlier in file.
10910 (add_locale_wctype_table): New static prototype.
10911 (struct locale_ctype_t): Use logical types instead of struct iovec
10912 pointers for members.
10913 (ctype_output): Use new locale_file interface.
10914 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10915 new locale_file interface.
10916 (allocate_arrays): Update for use of new locale_file interface.
10917 * locale/programs/ld-identification.c (identification_output): Use
10918 new locale_file interface.
10919 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10920 * locale/programs/ld-messages.c (messages_output): Likewise.
10921 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10922 * locale/programs/ld-name.c (name_output): Likewise.
10923 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10924 * locale/programs/ld-paper.c (paper_output): Likewise.
10925 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10926 * locale/programs/ld-time.c (time_output): Likewise.
10927
e029e2e5
AZ
109282013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10929
10930 * benchtests/Makefile: Add memrchr benchmark.
10931 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10932 benchmark as memrchr.
10933 * benchtests/bench-memrchr-ifunc.c: New file.
10934 * benchtests/bench-memrchr.c: New file.
10935
bbf6e8e4
WN
109362013-09-06 Will Newton <will.newton@linaro.org>
10937
10938 * benchtests/Makefile (string-bench): Add memcpy.
10939
6c82a2f8
CD
109402013-09-05 Carlos O'Donell <carlos@redhat.com>
10941 Cong Wang <amwang@redhat.com>
10942
e732c5f0 10943 [BZ #15850]
6c82a2f8
CD
10944 * sysdeps/unix/sysv/linux/bits/in.h
10945 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10946 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10947 before __USE_KERNEL_IPV6_DEFS uses.
10948 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10949 IPPROTO_BEETPH.
10950 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10951 sockaddr_in6, or ipv6_mreq.
10952
5430fc65
AZ
109532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10954
10955 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10956 memory access for final bytes in some large inputs.
10957 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10958
4660856c
AZ
109592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10960
10961 * string/test-memrchr.c: New file.
10962 * string/test-memrchr-ifunc.c: New file.
10963 * string/Makefile: Add new memrchr testcase.
10964
bb8ea713
MF
109652013-09-05 Mike Frysinger <vapier@gentoo.org>
10966
10967 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10968 fanotify_init returns EPERM.
10969
b92a20b5
JM
109702013-09-04 Joseph Myers <joseph@codesourcery.com>
10971
10972 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10973 errors.
10974 (top level): Treat second token from macro or constant entries for
10975 allowed headers as allowed.
10976 * include/complex.h: Condition internal declarations on
10977 [!_ISOMAC].
10978 * include/fenv.h: Condition include of <stdbool.h> and internal
10979 declarations on [!_ISOMAC].
7447ccd9
CL
10980
109812013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10982
3e181dda 10983 [BZ #15923]
7447ccd9
CL
10984 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10985
3f2e46a4
JM
109862013-09-04 Joseph Myers <joseph@codesourcery.com>
10987
10988 * configure.in (--enable-versioning): Remove configure option.
10989 (libc_cv_asm_symver_directive): Remove configure test.
10990 (libc_cv_ld_version_script_option): Likewise.
10991 (VERSIONING): Remove variable and AC_SUBST.
10992 (DO_VERSIONING): Remove AC_DEFINE.
10993 * configure: Regenerated.
10994 * config.h.in (DO_VERSIONING): Remove macro.
10995 * Makerules [$(versioning) = yes]: Change conditionals to
10996 [$(build-shared) = yes].
10997 * config.make.in (versioning): Remove variable.
10998 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10999 [$(build-shared) = yes].
11000 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11001 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11002 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11003 [$(build-shared) = yes].
11004 * extra-lib.mk [$(versioning) = yes]: Likewise.
11005 * hurd/Makefile [$(versioning) = yes]: Likewise.
11006 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11007 [SHARED].
11008 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11009 [SHARED].
11010 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11011 [SHARED && !NO_HIDDEN].
11012 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11013 [SHARED].
11014 [SHARED && DO_VERSIONING]: Likewise..
11015 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11016 [$(build-shared) = yes].
11017 * manual/install.texi (--disable-versioning): Remove
11018 documentation.
11019 * INSTALL: Regenerated.
11020 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11021 to [SHARED].
11022 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11023 [$(build-shared) = yes].
11024 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11025 * sysdeps/i386/i686/multiarch/strstr-c.c
11026 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11027 [SHARED && !NO_HIDDEN].
11028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11029 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11030 * sysdeps/powerpc/powerpc32/dl-machine.c
11031 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11032 * sysdeps/powerpc/powerpc32/sysdep.h
11033 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11034 to [SHARED && PIC && !NO_HIDDEN].
11035 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11036 conditional to [SHARED].
11037
44558701
WN
110382013-09-04 Will Newton <will.newton@linaro.org>
11039
11040 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11041 * benchtests/bench-string.h: Include bench-timing.h instead
11042 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11043 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11044 call to HP_TIMING_DIFF_INIT.
11045 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11046 instead of hp-timing.h macros.
11047 * benchtests/bench-memchr.c: Likewise.
11048 * benchtests/bench-memcmp.c: Likewise.
11049 * benchtests/bench-memcpy.c: Likewise.
11050 * benchtests/bench-memmem.c: Likewise.
11051 * benchtests/bench-memmove.c: Likewise.
11052 * benchtests/bench-memset.c: Likewise.
11053 * benchtests/bench-rawmemchr.c: Likewise.
11054 * benchtests/bench-strcasecmp.c: Likewise.
11055 * benchtests/bench-strcasestr.c: Likewise.
11056 * benchtests/bench-strcat.c: Likewise.
11057 * benchtests/bench-strchr.c: Likewise.
11058 * benchtests/bench-strcmp.c: Likewise.
11059 * benchtests/bench-strcpy.c: Likewise.
11060 * benchtests/bench-strcpy_chk.c: Likewise.
11061 * benchtests/bench-strlen.c: Likewise.
11062 * benchtests/bench-strncasecmp.c: Likewise.
11063 * benchtests/bench-strncat.c: Likewise.
11064 * benchtests/bench-strncmp.c: Likewise.
11065 * benchtests/bench-strncpy.c: Likewise.
11066 * benchtests/bench-strnlen.c: Likewise.
11067 * benchtests/bench-strpbrk.c: Likewise.
11068 * benchtests/bench-strrchr.c: Likewise.
11069 * benchtests/bench-strspn.c: Likewise.
11070 * benchtests/bench-strstr.c: Likewise.
11071
cae16d66
WN
110722013-09-04 Will Newton <will.newton@linaro.org>
11073
11074 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11075
ffa3cd7f
JM
110762013-09-03 Joseph Myers <joseph@codesourcery.com>
11077
11078 [BZ #15427]
11079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11080 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11081 * math/libm-test.inc (lgamma_test_data): Add more tests.
11082 * sysdeps/i386/fpu/libm-test-ulps: Update.
11083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11084
8f02859f
OB
110852013-09-03 Ondřej Bílka <neleai@seznam.cz>
11086
11087 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11089 Add ifunc.
11090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11091 Add strcmp-sse2-unaligned
11092 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11093
18d43716
MF
110942013-09-02 Mike Frysinger <vapier@gentoo.org>
11095
11096 * Versions.def (libc): Add GLIBC_2.19.
11097
ac444012
MF
110982013-09-02 Mike Frysinger <vapier@gentoo.org>
11099
11100 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11101 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11102
b7835e32
JM
111032013-09-02 Joseph Myers <joseph@codesourcery.com>
11104
11105 [BZ #14155]
11106 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11107 intermediate calculations in recurrence.
11108 (__ieee754_ynf): Likewise.
11109 * math/libm-test.inc (jn_test_data): Do not allow spurious
11110 underflow exception. Add more tests.
11111 (yn_test_data): Add more tests.
11112 * sysdeps/i386/fpu/libm-test-ulps: Update.
11113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11114
8220f4f0
OB
111152013-09-02 Ondřej Bílka <neleai@seznam.cz>
11116
11117 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11118
f24a6d08
OB
111192013-08-30 Ondřej Bílka <neleai@seznam.cz>
11120
11121 * csu/init-first.c: Fix then/than typos.
11122 * locale/programs/ld-collate.c: Likewise.
11123 * locale/programs/linereader.h: Likewise.
11124 * manual/charset.texi: Likewise.
11125 * manual/filesys.texi: Likewise.
11126 * manual/stdio.texi: Likewise.
11127 * manual/string.texi: Likewise.
11128 * stdlib/fmtmsg.c: Likewise.
11129 * sysdeps/i386/stpncpy.S: Likewise.
11130 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11131 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11132 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11133 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11134
382466e0
OB
111352013-08-30 Ondřej Bílka <neleai@seznam.cz>
11136
11137 * elf/dl-open.c: Fix typos.
11138 * iconvdata/gbbig5.c: Likewise.
11139 * iconvdata/iso-2022-jp.c: Likewise.
11140 * iconv/gconv_int.h: Likewise.
11141 * iconv/loop.c: Likewise.
11142 * nis/rpcsvc/nis.h: Likewise.
11143 * resolv/ns_name.c: Likewise.
11144 * stdio-common/vfscanf.c: Likewise.
11145 * streams/stropts.h: Likewise.
11146 * sunrpc/rpc_thread.c: Likewise.
11147 * sysdeps/i386/strpbrk.S: Likewise.
11148 * sysdeps/ieee754/k_standard.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11151 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11152 * sysdeps/mach/hurd/profil.c: Likewise.
11153 * sysdeps/s390/dl-procinfo.h: Likewise.
11154 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11155 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11156 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11157 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11158 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11159
0186c6e9
OB
111602013-08-30 Ondřej Bílka <neleai@seznam.cz>
11161
11162 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11163 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11164
d4e16af1
OB
111652013-08-29 Ondřej Bílka <neleai@seznam.cz>
11166
11167 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11168 aix specific files.
11169 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11171 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11172 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11173 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11174 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11176 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11177
88335980
TS
111782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11179 Roland McGrath <roland@hack.frob.com>
11180
11181 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11182 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11183
ed479b02
ST
111842013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11185
11186 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11187 __executable_start symbol instead of _start.
11188
f1cc4c86
TS
111892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11190
d821f07c
TS
11191 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11192 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11193 Move macros to...
11194 * sysdeps/gnu/ldsodefs.h: ... this new file.
11195
c54290cf
TS
11196 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11197 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11198 instead of ELFOSABI_LINUX.
11199
0007fc9b 11200 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11201 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11202 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11203 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11204 Likewise.
11205 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11206 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11208 Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11210 (ibm_extended_long_double): Add ieee_nan member.
11211 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11212 (do_test): New function.
11213
f1cc4c86
TS
11214 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11215 TEST_TRUNC.
11216 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11217 functions, renamed from truncdfsf_test, trunctfsf_test,
11218 trunctfdf_test.
11219 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11220 functions.
11221 (do_test): Run all these.
11222
6f65e668
OB
112232013-08-29 Ondřej Bílka <neleai@seznam.cz>
11224
11225 * argp/argp-help.c: Fix typos.
11226 * argp/argp-parse.c: Likewise.
11227 * debug/backtracesyms.c: Likewise.
11228 * elf/elf.h: Likewise.
11229 * malloc/malloc.c: Likewise.
11230 * nis/nis_print.c: Likewise.
11231 * resolv/res_comp.c: Likewise.
11232 * stdlib/stdlib.h: Likewise.
11233 * sunrpc/clnt_tcp.c: Likewise.
11234 * sunrpc/clnt_udp.c: Likewise.
11235 * sunrpc/clnt_unix.c: Likewise.
11236 * sysdeps/unix/bsd/ptsname.c: Likewise.
11237 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11240 Likewise.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11242 Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11244 Likewise.
6f65e668
OB
11245 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11246
3a309239
SP
112472013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11248
11249 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11251
3b813b29
MF
112522013-08-27 Mike Frysinger <vapier@gentoo.org>
11253
11254 [BZ #15897]
11255 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11256 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11257 ($(objpfx)bug-dl-leaf): New rule.
11258 ($(objpfx)bug-dl-leaf.so): Likewise.
11259 ($(objpfx)bug-dl-leaf.out): Likewise.
11260 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11261 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11262 * dlfcn/bug-dl-leaf.c: New test.
11263 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11264 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11265 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11266 (dlclose): Likewise.
11267 (dlmopen): Likewise.
11268
8cc3269f
RM
112692013-08-27 Roland McGrath <roland@hack.frob.com>
11270
7f9d0034
RM
11271 * include/netdb.h [!_ISOMAC]:
11272 Don't include <tls.h>.
11273 (h_errno, __libc_h_errno): Move declaration and macros out of
11274 [_LIBC_REENTRANT].
11275
fb431262
RM
11276 * include/resolv.h [_RESOLV_H_]:
11277 Don't include <tls.h>.
11278 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11279 * resolv/res_libc.c: Don't include <tls.h>.
11280 (_res): Use __attribute__ ((nocommon)) in place of
11281 __attribute__ ((section (".bss"))).
11282
bd81123a
RM
11283 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11284 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11285
c4e42566
RM
11286 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11287
f890a59b
RM
11288 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11289 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11290
11291 * resolv/res_mkquery.c: Include <sys/time.h>.
11292
5d1f0a09
RM
11293 * inet/ifreq.c: Moved to ...
11294 * sysdeps/unix/ifreq.c: ... here.
11295 * inet/ifreq.c: New file, true stub version.
11296
6fcf28b3
RM
11297 * socket/sa_len.c: New file.
11298 * socket/Makefile (aux): Add it.
11299 * sysdeps/unix/sysv/linux/Makefile
11300 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11301 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11302 and #include <socket/sa_len.c>.
11303 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11304 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11305
e041fb8b
RM
11306 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11307 * bits/socket.h: ... here.
11308
8cc3269f
RM
11309 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11310 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11311 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11312
5d228a43
AS
113132013-08-27 Andreas Schwab <schwab@suse.de>
11314
45b8accc
AS
11315 [BZ #15736]
11316 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11317 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11318 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11319 * string/test-strcasecmp.c (test_main): Run tests in several
11320 locales.
11321 * string/test-strncasecmp.c (test_main): Likewise.
11322
5d228a43
AS
11323 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11324 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11325 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11327 (__strncasecmp_ssse3) [PIC]: Likewise.
11328
59d112a4
RM
113292013-08-26 Roland McGrath <roland@hack.frob.com>
11330
53234cc3
RM
11331 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11332
59d112a4
RM
11333 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11334 instead of explicitly declaring xdecrypt.
11335 * nis/nss_nis/nis-publickey.c: Likewise.
11336
595aba70
SP
113372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11338
11339 [BZ #15890]
11340 * nscd/aicache.c: Include res_hconf.h.
11341 (addhstaiX): Initialize res_hconf.
11342
ffabd393
AS
113432013-08-26 Andreas Schwab <schwab@suse.de>
11344
11345 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11346 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11347
e0a69f5c
SP
113482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11349
11350 * nscd/aicache.c (addhstaiX): Fix indentation.
11351
8c12f01d
MF
113522013-08-25 Mike Frysinger <vapier@gentoo.org>
11353
11354 * configure.ac: Quote $build_pt_chown test.
11355 * configure: Regenerated.
11356
8fe89494
JM
113572013-08-23 Joseph Myers <joseph@codesourcery.com>
11358
11359 [BZ #15532]
11360 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11361 * math/s_cexpf.c (__cexpf): Likewise.
11362 * math/s_cexpl.c (__cexpl): Likewise.
11363 * math/libm-test.inc (cexp_test_data): Correct expected return
11364 value for NaN + i0. Add another test.
11365
75b181d6
DM
113662013-08-22 David S. Miller <davem@davemloft.net>
11367
11368 * po/ca.po: Update Catalan translation from translation project.
936241e4 11369 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11370
acd06bb1
JM
113712013-08-21 Joseph Myers <joseph@codesourcery.com>
11372
11373 [BZ #15797]
11374 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11375 is infinite, not alongside NaN test.
11376 * math/s_fdimf.c (__fdimf): Likewise.
11377 * math/s_fdiml.c (__fdiml): Likewise.
11378 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11379 errno is unchanged.
11380
c0c3f78a
OB
113812013-08-21 Ondřej Bílka <neleai@seznam.cz>
11382
11383 * argp/argp-help.c: Fix typos.
11384 * crypt/speeds.c: Likewise.
11385 * csu/check_fds.c: Likewise.
11386 * elf/dl-load.c: Likewise.
11387 * elf/dl-open.c: Likewise.
11388 * elf/reldep3.c: Likewise.
11389 * elf/reldep.c: Likewise.
11390 * elf/sprof.c: Likewise.
11391 * iconv/iconv_charmap.c: Likewise.
11392 * iconv/skeleton.c: Likewise.
11393 * iconv/strtab.c: Likewise.
11394 * io/lockf64.c: Likewise.
11395 * libio/libioP.h: Likewise.
11396 * resolv/gai_notify.c: Likewise.
11397 * resolv/ns_name.c: Likewise.
11398 * resolv/ns_samedomain.c: Likewise.
11399 * resolv/res_send.c: Likewise.
11400 * stdlib/random.c: Likewise.
11401 * sunrpc/rpc/xdr.h: Likewise.
11402 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11403 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11404 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11405 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11406 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11410 * sysdeps/mach/hurd/check_fds.c: Likewise.
11411 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11412 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11414 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11415 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11416 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11417 * sysdeps/pthread/aio_notify.c: Likewise.
11418 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11419 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11422 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11423
46ed1038
LD
114242013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11425
11426 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11427 version if bit_Slow_SSE4_2 is set.
11428 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11430
d400dcac
AZ
114312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11432
11433 [BZ #15867]
11434 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11435 trampoline stack frame information.
11436 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11438 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11439 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11440 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11441 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11442 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11443 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11444 sa_flags value.
11445 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11446 interrupting a syscall and set with option SA_SIGINFO.
11447
42c8fdd8
JM
114482013-08-20 Joseph Myers <joseph@codesourcery.com>
11449
c980f2f4
JM
11450 [BZ #15531]
11451 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11452 argument is infinite.
11453 * math/s_cprojf.c (__cprojf): Likewise.
11454 * math/s_cprojl.c (__cprojl): Likewise.
11455 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11456 * math/libm-test.inc (cproj_test_data): Add more tests.
11457
0716c4fc
JM
11458 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11459
42c8fdd8
JM
11460 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11461 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11462 size. Use __ffs to determine corresponding shift.
11463
b31469d0
JM
114642013-08-20 Joseph Myers <joseph@codesourcery.com>
11465 Roland McGrath <roland@hack.frob.com>
11466
11467 * Makefile (INSTALL): Remove trailing blank lines from output of
11468 makeinfo.
11469
4e39af6e
AK
114702013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11471
11472 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11473 Align 32 bit compat elf_greg to 8 bytes.
11474
f315524e
AA
114752013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11476
11477 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11478
1326ba1a
SP
114792013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11480
11481 * string/strcoll_l.c (coll_seq): New structure.
11482 (get_next_seq_cached): New function.
11483 (get_next_seq): New function.
11484 (do_compare): New function.
11485 (STRCOLL): Use GNU style definition. Simplify implementation
11486 by using get_next_seq, get_next_seq_cached and do_compare.
11487
91ce4085
FW
114882013-08-16 Florian Weimer <fweimer@redhat.com>
11489
11490 [BZ #14699]
11491 CVE-2013-4237
11492 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11493 member.
11494 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11495 member.
11496 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11497 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11498 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11499 conditional.
11500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11501 GETDENTS_64BIT_ALIGNED.
11502 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11503 * manual/filesys.texi (Reading/Closing Directory): Document
11504 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11505 strongly.
11506 * manual/conf.texi (Limits for Files): Add portability note to
11507 NAME_MAX, PATH_MAX.
11508 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11509
ca0a6bc4
AS
115102013-08-13 Andreas Schwab <schwab@suse.de>
11511
11512 [BZ #15749]
11513 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11514 of fabs.
11515 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11516 LDBL_MAX_EXP >= 16384]: Add tests for it.
11517
6c1fd795
DM
115182013-08-12 David S. Miller <davem@davemloft.net>
11519
11520 * version.h (RELEASE): Set to "development".
11521 (VERSION): Set to "2.18.90".
11522 * NEWS: Add 2.19 section.
11523
31ad488d
DM
115242013-08-03 David S. Miller <davem@davemloft.net>
11525
11526 * po/ko.po: Update Korean translation from translation project.
11527
db24e684
DM
115282013-08-01 David S. Miller <davem@davemloft.net>
11529
11530 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11531 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11532 Bilka.
11533
f723285b
DM
115342013-07-30 David S. Miller <davem@davemloft.net>
11535
11536 * po/fr.po: Update French translation from translation project.
11537
3cbc52db
DM
115382013-07-28 David S. Miller <davem@davemloft.net>
11539
30bbc0cc
DM
11540 * po/cs.po: Update Czech translation from translation project.
11541
3cbc52db
DM
11542 * po/sv.po: Update Swedish translation from translation project.
11543
d492e6d0
DM
115442013-07-27 David S. Miller <davem@davemloft.net>
11545
f1a7f492
DM
11546 * po/eo.po: Update Esperanto translation from translation project.
11547
90e62a4a
DM
11548 * po/vi.po: Update Vietnamese translation from translation project.
11549
d492e6d0
DM
11550 * po/de.po: Update German translation from translation project.
11551
d4baa62d
DM
115522013-07-26 David S. Miller <davem@davemloft.net>
11553
641aa7b4
DM
11554 * po/bg.po: Update Bulgarian translation from translation project.
11555
d4baa62d
DM
11556 * po/nl.po: Update Dutch translation from translation project.
11557 * po/pl.po: Update Polish translation from translation project.
11558 * po/ru.po: Update Russian translation from translation project.
11559
61a9dcb9
DM
115602013-07-24 David S. Miller <davem@davemloft.net>
11561
11562 * po/libc.pot: Update.
11563
7b1f8b58
AZ
115642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11565
11566 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11567 variable page size.
11568 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11570 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11571
a8fc7a03
AK
115722013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11573
11574 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11575
e4608715
CD
115762013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11577 Andreas Schwab <schwab@suse.de>
11578 Roland McGrath <roland@hack.frob.com>
11579 Joseph Myers <joseph@codesourcery.com>
11580 Carlos O'Donell <carlos@redhat.com>
11581
11582 [BZ #15755]
11583 * config.h.in: Define HAVE_PT_CHOWN.
11584 * config.make.in (build-pt-chown): New variable.
11585 * configure.in (--enable-pt_chown): New configure option.
11586 * configure: Regenerate.
11587 * login/Makefile: Include Makeconfig. Build pt_chown only if
11588 build-pt-chown is enabled.
11589 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11590 pt_chown to fix pty ownership.
11591 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11592 CLOSE_ALL_FDS.
11593 * manual/install.texi (Configuring and compiling): Mention
11594 --enable-pt_chown. Add @findex for grantpt.
11595 * INSTALL: Regenerate.
11596
da2d62df
DM
115972013-07-20 David S. Miller <davem@davemloft.net>
11598
11599 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11600 difference between 32-bit and 64-bit.
11601
d7e06450
CD
116022013-07-15 Carlos O'Donell <carlos@redhat.com>
11603
11604 [BZ #15711]
11605 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11606 Avoid system header dependency with -ffreestanding.
11607 ($(objpfx)bits/syscall%d): Likewise.
11608
f959cfd7
DM
116092013-07-13 David S. Miller <davem@davemloft.net>
11610
11611 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11612 underflows from atanl/atan2l due to bug 15319.
11613 (casinh_test_data): Likewise.
11614
c61f8513
DM
116152013-07-07 David S. Miller <davem@davemloft.net>
11616
11617 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11618
72c90ed0
JA
116192013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11620
11621 * sysdeps/i386/fpu/libm-test-ulps: Update.
11622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11623
52dfbe13
SP
116242013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11625
11626 * configure.in (--enable-lock-elision): Fix message text.
11627 * INSTALL: Regenerate.
11628 * configure: Regenerate.
11629
3f169543
AZ
116302013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11631
11632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11633
521c6785
AJ
116342013-07-03 Andreas Jaeger <aj@suse.de>
11635
11636 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11637 define.
11638 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11639 (ptrace_peeksiginfo_args): Add.
11640 (__ptrace_peeksiginfo_flags): Add.
11641 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11644
d2cc15cb
AM
116452013-07-03 Allan McRae <allan@archlinux.org>
11646
11647 * sysdeps/i386/fpu/libm-test-ulps: Update.
11648
3aaeeca7
DM
116492013-07-02 David S. Miller <davem@davemloft.net>
11650
11651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11652
5314ed1a
MT
116532013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11654
11655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11656
67338156
JM
116572013-07-02 Joseph Myers <joseph@codesourcery.com>
11658
11659 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11661
1717da59
AK
116622013-07-02 Andi Kleen <ak@linux.intel.com>
11663
11664 * config.h.in (ENABLE_LOCK_ELISION): Add.
11665 * configure.in (--enable-lock-elision): Add option.
11666 * manual/install.texi: Document --enable lock elision.
11667 * configure: Regenerate
11668 * INSTALL: Regenerate.
11669
1c81621c
L
116702013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11671
11672 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11673 SSE4.2 strcasecmp for libc.a.
11674 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11675
77f01ab5
JM
116762013-07-02 Joseph Myers <joseph@codesourcery.com>
11677
11678 [BZ #13304]
11679 * soft-fp/op-common.h (_FP_FMA): New macro.
11680 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11681 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11682 (_FP_MUL_MEAT_1_imm): ... here.
11683 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11684 (_FP_MUL_MEAT_1_wide): ... here.
11685 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11686 (_FP_MUL_MEAT_1_hard): ... here.
11687 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11688 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11689 (_FP_MUL_MEAT_2_wide): ... here.
11690 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11691 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11692 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11693 (_FP_MUL_MEAT_2_gmp): ... here.
11694 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11695 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11696 (_FP_MUL_MEAT_4_wide): ... here.
11697 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11698 (_FP_MUL_MEAT_4_gmp): ... here.
11699 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11700 (_FP_WFRACBITS_DW_S): Likewise.
11701 (_FP_WFRACXBITS_DW_S): Likewise.
11702 (_FP_HIGHBIT_DW_S): Likewise.
11703 (FP_FMA_S): Likewise.
11704 (_FP_FRAC_HIGH_DW_S): Likewise.
11705 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11706 (_FP_WFRACBITS_DW_D): Likewise.
11707 (_FP_WFRACXBITS_DW_D): Likewise.
11708 (_FP_HIGHBIT_DW_D): Likewise.
11709 (FP_FMA_D): Likewise.
11710 (_FP_FRAC_HIGH_DW_D): Likewise.
11711 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11712 (_FP_WFRACBITS_DW_E): Likewise.
11713 (_FP_WFRACXBITS_DW_E): Likewise.
11714 (_FP_HIGHBIT_DW_E): Likewise.
11715 (FP_FMA_E): Likewise.
11716 (_FP_FRAC_HIGH_DW_E): Likewise.
11717 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11718 (_FP_WFRACBITS_DW_Q): Likewise.
11719 (_FP_WFRACXBITS_DW_Q): Likewise.
11720 (_FP_HIGHBIT_DW_Q): Likewise.
11721 (FP_FMA_Q): Likewise.
11722 (_FP_FRAC_HIGH_DW_Q): Likewise.
11723 * soft-fp/fmasf4.c: New file.
11724 * soft-fp/fmadf4.c: Likewise.
11725 * soft-fp/fmatf4.c: Likewise.
11726
6308fd9a
LD
117272013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11728
11729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11730 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11731 Silvermont.
11732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11733 macro.
11734 (index_Slow_SSE4_2): Likewise.
11735 (index_Prefer_PMINUB_for_stringop): Likewise.
11736 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11737 bit_Slow_SSE4_2 is set.
11738 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11740
89cd9569
RA
117412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11742
11743 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11744 rtld_global._dl_hwcap2.
11745 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11746 POWER8.
11747 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11748 POWER8 feature descriptions defined in _dl_hwcap2.
11749 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11750 string handling for POWER8 feature bits.
11751 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11752 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11753 _dl_powerpc_cap_flags.
11754 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11755 * sysdeps/powerpc/rtld-global-offsets.sym
11756 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11757 _dl_hwcap2 in the rtld_global_ro structure.
11758
1ae8bfe0
RA
117592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11760
11761 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11762 hardware capabilities in support of AT_HWCAP2.
11763 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11764 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11765 GLRO(dl_hwcap2).
11766 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11767 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11768 explicitly the unknown a_type display mechanism is used.
11769 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11770 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11771 struct member.
11772 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11773 to macro prototype for AT_HWCAP2 support.
11774 * sysdeps/i386/dl-procinfo.h: Likewise.
11775 * sysdeps/s390/dl-procinfo.h: Likewise.
11776 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11777 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11778 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11779 return -1 for unknown a_type display fallback.
11780 * sysdeps/sparc/dl-procinfo.h: Likewise.
11781 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11782 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11783
8fbec010
JM
117842013-06-28 Joseph Myers <joseph@codesourcery.com>
11785
11786 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11787 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11788
0432680e
PY
117892013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11790
11791 [BZ #12492]
11792 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11793 mprotect making __stack_prot writable.
11794
ce61a2ad
NF
117952013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11796 Joseph Myers <joseph@codesourcery.com>
11797
11798 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11799 as being properly aligned.
11800
f91f1c0f
MR
118012013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11802
3d0f5d0c
MR
11803 * dlfcn/modstatic5.c: New file.
11804 * dlfcn/tststatic5.c: New file.
11805 * dlfcn/Makefile (tests): Add tststatic5.
11806 (tests-static): Likewise.
11807 (modules-names): Add modstatic5.
11808 (tststatic5-ENV): New variable.
11809 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11810
f91f1c0f
MR
11811 [BZ #15022]
11812 * elf/dl-support.c (_dl_main_map): New variable.
11813 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11814 (_dl_nns, _dl_load_adds): Set to 1.
11815 (_dl_initial_searchlist): Refer to _dl_main_map.
11816 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11817 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11818 call to _dl_get_origin.
11819 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11820 around call_map.
11821 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11822 * dlfcn/modstatic3.c: New file.
11823 * dlfcn/tststatic3.c: New file.
11824 * dlfcn/tststatic4.c: New file.
11825 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11826 (tests-static): Likewise.
11827 (modules-names): Add modstatic3.
11828 (tststatic3-ENV, tststatic4-ENV): New variables.
11829 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11830 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11831
cbe7d24b
JM
118322013-06-26 Joseph Myers <joseph@codesourcery.com>
11833
11834 * configure.in (CC): Require GCC version 4.4 or later.
11835 * configure: Regenerated.
11836 * manual/install.texi (Tools for Compilation): Update GCC version
11837 requirement.
11838 * INSTALL: Regenerated.
11839
11b8a0e1
LD
118402013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11841
11842 [BZ #15674]
bb5bb87c
L
11843 * string/test-memcmp.c (check2): New.
11844 (main): Call check2.
11845
11b8a0e1
LD
11846 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11847
b0037103
MR
118482013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11849
11850 [BZ #15022]
11851 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11852 over to...
11853 (dl_open_worker) [!SHARED]: ... here.
11854
c18c701d
RA
118552013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11856
11857 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11858
1d17fa5f
RH
118592013-06-25 Richard Henderson <rth@redhat.com>
11860
11861 * locale/programs/locarchive.c: Include <libc-internal.h>
11862
8fcb833a
JM
118632013-06-25 Joseph Myers <joseph@codesourcery.com>
11864
11865 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11866 trailing whitespace removed.
11867
17db6e8d
MF
118682013-06-24 Mike Frysinger <vapier@gentoo.org>
11869
11870 [BZ #10283]
17db6e8d
MF
11871 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11872 * locale/programs/locarchive.c: Include libc-mmap.h.
11873 (prepare_address_space): Take two new outputs (the mmap base and len).
11874 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11875 values.
11876 (create_archive): Declare new mmap base and len values for
11877 prepare_address_space, and store the result in ah.
11878 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11879 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11880 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11881 Declare new mmap base and len values for
11882 prepare_address_space, and store the result in new_ah.
11883 (open_archive): Declare new mmap base and len values for
11884 prepare_address_space, and store the result in ah.
11885 (close_archive): If ah->mmap_base is not NULL, use that and
11886 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11887 * sysdeps/generic/libc-mmap.h: New file.
11888
d605071e
MF
118892013-06-24 Mike Frysinger <vapier@gentoo.org>
11890
11891 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11892 (ALIGN_UP): Likewise.
11893 (PTR_ALIGN_DOWN): Likewise.
11894 (PTR_ALIGN_UP): Likewise.
11895
2f063a6e
RA
118962013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11897
11898 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11899 entry mapped to PPC_PLATFORM_POWER8.
11900 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11901 POWER8.
11902 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11903 (_dl_string_platform): Add case for exporting platform position for
11904 POWER8.
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11906 search path to sysdeps/powerpc/powerpc32/power8 directory.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11908 search path to sysdeps/powerpc/powerpc64/power8 directory.
11909 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11910 power7 directories.
11911 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11912 power7 directories.
11913
a31ee4b3
SP
119142013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11915
a74ca98f
SP
11916 * INSTALL: Regenerate.
11917
a31ee4b3
SP
11918 * nscd/connections.c (nscd_init): Fix comment.
11919
695c378f
JM
119202013-06-22 Joseph Myers <joseph@codesourcery.com>
11921
d8412221
JM
11922 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11923
695c378f
JM
11924 [BZ #15667]
11925 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11926 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11927
d1d54715
MR
119282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11929
11930 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11931 DL_DST_REQ_STATIC.
11932 (DL_DST_REQ_STATIC): Remove macro.
11933
8fdda7af
JM
119342013-06-21 Joseph Myers <joseph@codesourcery.com>
11935
11936 [BZ #7006]
11937 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11938 with a shift of 0 bits.
11939
f3bc5e5a
MR
119402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11941
11942 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11943 $(tststatic-ENV).
11944
be09e8c9
KK
119452013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11946
11947 [BZ #15655]
11948 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11949
85c2e611
AZ
119502013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11951
11952 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11953 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11954 accepts -fno-tree-loop-distribute-patterns.
11955 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11956 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11957 recursive call.
11958 * string/memset.c (memset): Likewise.
11959 * string/test-memmove.c (simple_memmove): Disable loop transformation
11960 to library calls.
11961 * string/test-memset.c (simple_memset): Likewise.
11962 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11963 * benchtests/bench-memset.c (simple_memset): Likewise.
11964 * configure: Regenerated.
11965
c91e0825
JM
119662013-06-20 Joseph Myers <joseph@codesourcery.com>
11967
b8c792af
JM
11968 * math/test-misc.c (main): Ignore fesetround failure when failures
11969 of subsequent rounding tests would be ignored.
11970
c91e0825
JM
11971 [BZ #15654]
11972 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11973 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11974 * math/fegetenv.c (__fegetenv): Return 0.
11975 * math/fegetexcept.c (fegetexcept): Return 0.
11976 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11977 FE_TONEAREST.
11978 * math/feholdexcpt.c (feholdexcept): Return 0.
11979 * math/fesetenv.c (__fesetenv): Return 0.
11980 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11981 argument FE_TONEAREST.
11982 * math/feupdateenv.c (__feupdateenv): Return 0.
11983 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11984
bfcacbde
RM
119852013-06-18 Roland McGrath <roland@hack.frob.com>
11986
11987 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11988 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11989 ($(objpfx)rtld-%.os rules): Use them.
11990
e55a9b25
AZ
119912013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11992
11993 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11994 fields.
11995
346d65b3
RM
119962013-06-17 Roland McGrath <roland@hack.frob.com>
11997
12086fb4
RM
11998 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11999 length of target pattern, then descending length of dependency pattern.
12000 * configure.in (AWK): Require gawk 3.1.2 or newer.
12001 * manual/install.texi (Tools for Compilation): Say that we do.
12002 * configure: Regenerated.
12003
346d65b3
RM
12004 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12005 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12006 * scripts/sysd-rules.awk: ... this new script.
12007 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12008 than a glob-style pattern.
12009
1a846317
JM
120102013-06-17 Joseph Myers <joseph@codesourcery.com>
12011
12012 * math/test-misc.c (main): Do not treat incorrectly rounded
12013 conversions as failure unless ROUNDING_TESTS passes.
12014
8fc75e6f
JM
120152013-06-15 Joseph Myers <joseph@codesourcery.com>
12016
3711a167
JM
12017 [BZ #15631]
12018 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12019 restore exception state around main square root computation, then
12020 check for inexactness explicitly.
12021
8fc75e6f
JM
12022 * math/libm-test.inc (fma_test_data): Add another test.
12023
61dd6208
SP
120242013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12025
adf23d2c
SP
12026 * manual/threads.texi (Non-POSIX Extensions): New document
12027 node. Document pthread_getattr_default_np and
12028 pthread_setattr_default_np.
12029
61dd6208
SP
12030 * Versions.def (libpthread): Add GLIBC_2.18.
12031 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12033 Likewise.
12034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12035 Likewise.
12036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12037 Likewise.
12038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12039 Likewise.
12040 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12041 Likewise.
12042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12043 Likewise.
12044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12045 Likewise.
12046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12047 Likewise.
12048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12049 Likewise.
12050
d086fc7b
LD
120512013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12052
12053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12054 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12055
747ef469
SP
120562013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12057 H.J. Lu <hjl.tools@gmail.com>
12058
12059 [BZ #15627]
12060 * sysdeps/x86_64/rtld-memset.c: Remove file.
12061 * sysdeps/x86_64/rtld-memset.S: New file.
12062
1b2feed2
JM
120632013-06-14 Joseph Myers <joseph@codesourcery.com>
12064
12065 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12066 (test_in_one_mode): Take arguments for whether the rounding mode
12067 is supported for each floating-point type.
12068 (do_test): Pass new arguments to test_in_one_mode using
12069 ROUNDING_TESTS.
12070
a58ad3f8
RM
120712013-06-13 Roland McGrath <roland@hack.frob.com>
12072
12073 * posix/tst-waitid.c (do_test): Distinguish different instances of
12074 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12075 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12076 before entering the kernel for waitpid.
12077
c204ab28
SP
120782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12079
12080 * NEWS: Fix note on clock function precision. Text by Roland
12081 McGrath.
12082
f4a29fba
RM
120832013-06-13 Roland McGrath <roland@hack.frob.com>
12084
12085 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12086 it into place only when and if the sanity check passes.
12087
1f24b9ad
JM
120882013-06-13 Joseph Myers <joseph@codesourcery.com>
12089
12090 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12091 output for whether conversion result is exact. Take argument
12092 indicating whether type is IBM long double.
12093 (round_for_all): Change need_exact field to ibm_ld.
12094 * stdlib/tst-strtod-round.c (struct exactness): New type.
12095 (struct test): Change bool ld_ok field to struct exactness exact.
12096 (TEST): Update all definitions for change to field.
12097 (tests): Regenerate array contents.
12098 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12099 field value. Check for IBM long double here.
12100 (do_test): Update calls to test_in_one_mode.
12101
58206c68
SP
121022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12103
12104 [BZ #12515]
12105 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12106 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12107
2d6f4c5b 121082013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12109
12110 [BZ #15605]
12111 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12112 generated by the compiler on loop optimizations.
12113 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12114 general definitions.
12115
94f2c076
JM
121162013-06-12 Joseph Myers <joseph@codesourcery.com>
12117
12118 * math/bug-nextafter.c: Include <math-tests.h>.
12119 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12120 the relevant type.
12121 * math/bug-nexttoward.c: Include <math-tests.h>.
12122 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12123 the relevant type.
12124 * math/test-misc.c: Include <math-tests.h>.
12125 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12126 the relevant type.
12127
e0e50a0a
AJ
121282013-06-12 Andreas Jaeger <aj@suse.de>
12129
12130 * po/ia.po: Update Interlingua translation from translation
12131 project.
12132
25061094
SP
121332013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12134
12135 * include/fenv.h: Include stdbool.h.
12136 (struct rm_ctx): New structure.
12137 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12138 Define macro.
12139 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12140 (SET_RESTORE_ROUNDF): Likewise.
12141 (SET_RESTORE_ROUNDL): Likewise.
12142 (SET_RESTORE_ROUND_NOEX): Likewise.
12143 (SET_RESTORE_ROUND_NOEXF): Likewise.
12144 (SET_RESTORE_ROUND_NOEXL): Likewise.
12145 (SET_RESTORE_ROUND_53BIT): Likewise.
12146 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12147 (libc_feresetround_noexf_ctx): Likewise.
12148 (libc_feresetround_noexl_ctx): Likewise.
12149 (libc_feholdsetround_53bit_ctx): Likewise.
12150 (libc_feresetround_53bit_ctx): Likewise.
12151 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12152 (libc_feholdexcept_setround_sse_ctx): New function.
12153 (libc_fesetenv_sse_ctx): Likewise.
12154 (libc_feupdateenv_sse_ctx): Likewise.
12155 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12156 (libc_feholdexcept_setround_387_ctx): Likewise.
12157 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12158 (libc_feholdsetround_387_prec_ctx): Likewise.
12159 (libc_feholdsetround_387_ctx): Likewise.
12160 (libc_feholdsetround_387_53bit_ctx): Likewise.
12161 (libc_feholdsetround_sse_ctx): Likewise.
12162 (libc_feresetround_sse_ctx): Likewise.
12163 (libc_feresetround_387_ctx): Likewise.
12164 (libc_feupdateenv_387_ctx): Likewise.
12165 (libc_feholdexcept_setroundf_ctx): Define macro.
12166 (libc_fesetenvf_ctx): Likewise.
12167 (libc_feupdateenvf_ctx): Likewise.
12168 (libc_feholdsetroundf_ctx): Likewise.
12169 (libc_feresetroundf_ctx): Likewise.
12170 (libc_feholdexcept_setround_ctx): Likewise.
12171 (libc_fesetenv_ctx): Likewise.
12172 (libc_feupdateenv_ctx): Likewise.
12173 (libc_feholdsetround_ctx): Likewise.
12174 (libc_feresetround_ctx): Likewise.
12175 (libc_feholdexcept_setroundl_ctx): Likewise.
12176 (libc_feupdateenvl_ctx): Likewise.
12177 (libc_feholdsetroundl_ctx): Likewise.
12178 (libc_feresetroundl_ctx): Likewise.
12179 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12180 (libc_feresetround_53bit_ctx): Likewise.
12181
59b30555
SP
121822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12183
12184 * locale/iso-639.def: Convert to UTF-8.
12185
f1d73d30
JM
121862013-06-11 Joseph Myers <joseph@codesourcery.com>
12187
12188 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12189 (EXCEPTION_TESTS_double): Likewise.
12190 (EXCEPTION_TESTS_long_double): Likewise.
12191 (EXCEPTION_TESTS): Likewise.
12192 * math/libm-test.inc (test_exceptions): Only test exceptions if
12193 EXCEPTION_TESTS (FLOAT).
12194
94aca5e7
SP
121952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12196
12197 * benchtests/Makefile (string-bench): Add strcpy_chk and
12198 stpcpy_chk.
12199 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12200 * benchtests/bench-stpcpy_chk.c: New file.
12201 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12202 * benchtests/bench-strcpy_chk.c: New file.
12203 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12204 code.
12205 (do_test): Likewise.
12206
fac0c5f2
RA
122072013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12208
12209 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12210 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12211 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12212 with tabs where appropriate.
12213 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12214 dl-procinfo.h.
12215 [PPC_PLATFORM_PPC440]: Likewise.
12216 [PPC_PLATFORM_PPC464]: Likewise.
12217 [PPC_PLATFORM_PPC476]: Likewise.
12218 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12219 ppc464, and ppc476 platform strings merging from ports/
12220 dl-procinfo.h.
12221
f22bc486
AS
122222013-06-11 Andreas Schwab <schwab@suse.de>
12223
12224 [BZ #14991]
12225 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12226 (from_ucs4_idx): Regenerate.
12227 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12228 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12229 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12230 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12231 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12232 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12233 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12234 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12235 from FROM_LOOP and TO_LOOP specific macros.
12236 (BODY): Handle combining characters.
12237 * iconvdata/BIG5HKSCS.irreversible: Update.
12238 * iconvdata/BIG5HKSCS.precomposed: New file.
12239 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12240 characters.
12241 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12242
c1f75dc3
SP
122432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12244
4eacded2
SP
12245 * include/sys/time.h: Fix indentation and add copyright header.
12246
fec799f8
SP
12247 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12248 (do_test): Likewise.
12249 * string/test-memchr.c (do_one_test): Likewise.
12250 (do_test): Likewise.
12251 * string/test-memcmp.c (do_one_test): Likewise.
12252 (do_test): Likewise.
12253 * string/test-memcpy.c (do_one_test): Likewise.
12254 (do_test): Likewise.
12255 * string/test-memmem.c (do_one_test): Likewise.
12256 (do_test): Likewise.
12257 (do_random_tests): Likewise.
12258 * string/test-memmove.c (do_one_test): Likewise.
12259 (do_test): Likewise.
12260 * string/test-memset.c (do_one_test): Likewise.
12261 (do_test): Likewise.
12262 * string/test-rawmemchr.c (do_one_test): Likewise.
12263 (do_test): Likewise.
12264 * string/test-strcasecmp.c (do_one_test): Likewise.
12265 (do_test): Likewise.
12266 * string/test-strcasestr.c (do_one_test): Likewise.
12267 (do_test): Likewise.
12268 * string/test-strcat.c (do_one_test): Likewise.
12269 (do_test): Likewise.
12270 * string/test-strchr.c (do_one_test): Likewise.
12271 (do_test): Likewise.
12272 * string/test-strcmp.c (do_one_test): Likewise.
12273 (do_test): Likewise.
12274 * string/test-strcpy.c (do_one_test): Likewise.
12275 (do_test): Likewise.
12276 * string/test-string.h: Likewise.
12277 (test_init): Likewise.
12278 * string/test-strlen.c (do_one_test): Likewise.
12279 (do_test): Likewise.
12280 * string/test-strncasecmp.c (do_one_test): Likewise.
12281 (do_test): Likewise.
12282 * string/test-strncat.c (do_one_test): Likewise.
12283 (do_test): Likewise.
12284 * string/test-strncmp.c (do_one_test): Likewise.
12285 (do_test_limit): Likewise.
12286 (do_test): Likewise.
12287 * string/test-strncpy.c (do_one_test): Likewise.
12288 (do_test): Likewise.
12289 * string/test-strnlen.c (do_one_test): Likewise.
12290 (do_test): Likewise.
12291 * string/test-strpbrk.c (do_one_test): Likewise.
12292 (do_test): Likewise.
12293 * string/test-strrchr.c (do_one_test): Likewise.
12294 (do_test): Likewise.
12295 * string/test-strspn.c (do_one_test): Likewise.
12296 (do_test): Likewise.
12297 * string/test-strstr.c (do_one_test): Likewise.
12298 (do_test): Likewise.
12299
97020474
SP
12300 * benchtests/Makefile (string-bench): Add string benchmarks.
12301 * benchtests/bench-bcopy-ifunc.c: New file.
12302 * benchtests/bench-bcopy.c: New file.
12303 * benchtests/bench-bzero-ifunc.c: New file.
12304 * benchtests/bench-bzero.c: New file.
12305 * benchtests/bench-memccpy-ifunc.c: New file.
12306 * benchtests/bench-memccpy.c: New file.
12307 * benchtests/bench-memchr-ifunc.c: New file.
12308 * benchtests/bench-memchr.c: New file.
12309 * benchtests/bench-memcmp-ifunc.c: New file.
12310 * benchtests/bench-memcmp.c: New file.
12311 * benchtests/bench-memmem-ifunc.c: New file.
12312 * benchtests/bench-memmem.c: New file.
12313 * benchtests/bench-memmove-ifunc.c: New file.
12314 * benchtests/bench-memmove.c: New file.
12315 * benchtests/bench-mempcpy-ifunc.c: New file.
12316 * benchtests/bench-mempcpy.c: New file.
12317 * benchtests/bench-memset-ifunc.c: New file.
12318 * benchtests/bench-memset.c: New file.
12319 * benchtests/bench-rawmemchr-ifunc.c: New file.
12320 * benchtests/bench-rawmemchr.c: New file.
12321 * benchtests/bench-stpcpy-ifunc.c: New file.
12322 * benchtests/bench-stpcpy.c: New file.
12323 * benchtests/bench-stpncpy-ifunc.c: New file.
12324 * benchtests/bench-stpncpy.c: New file.
12325 * benchtests/bench-strcasecmp-ifunc.c: New file.
12326 * benchtests/bench-strcasecmp.c: New file.
12327 * benchtests/bench-strcasestr-ifunc.c: New file.
12328 * benchtests/bench-strcasestr.c: New file.
12329 * benchtests/bench-strcat-ifunc.c: New file.
12330 * benchtests/bench-strcat.c: New file.
12331 * benchtests/bench-strchr-ifunc.c: New file.
12332 * benchtests/bench-strchr.c: New file.
12333 * benchtests/bench-strchrnul-ifunc.c: New file.
12334 * benchtests/bench-strchrnul.c: New file.
12335 * benchtests/bench-strcmp-ifunc.c: New file.
12336 * benchtests/bench-strcmp.c: New file.
12337 * benchtests/bench-strcpy-ifunc.c: New file.
12338 * benchtests/bench-strcpy.c: New file.
12339 * benchtests/bench-strcspn-ifunc.c: New file.
12340 * benchtests/bench-strcspn.c: New file.
12341 * benchtests/bench-strlen-ifunc.c: New file.
12342 * benchtests/bench-strlen.c: New file.
12343 * benchtests/bench-strncasecmp-ifunc.c: New file.
12344 * benchtests/bench-strncasecmp.c: New file.
12345 * benchtests/bench-strncat-ifunc.c: New file.
12346 * benchtests/bench-strncat.c: New file.
12347 * benchtests/bench-strncmp-ifunc.c: New file.
12348 * benchtests/bench-strncmp.c: New file.
12349 * benchtests/bench-strncpy-ifunc.c: New file.
12350 * benchtests/bench-strncpy.c: New file.
12351 * benchtests/bench-strnlen-ifunc.c: New file.
12352 * benchtests/bench-strnlen.c: New file.
12353 * benchtests/bench-strpbrk-ifunc.c: New file.
12354 * benchtests/bench-strpbrk.c: New file.
12355 * benchtests/bench-strrchr-ifunc.c: New file.
12356 * benchtests/bench-strrchr.c: New file.
12357 * benchtests/bench-strspn-ifunc.c: New file.
12358 * benchtests/bench-strspn.c: New file.
12359 * benchtests/bench-strstr-ifunc.c: New file.
12360 * benchtests/bench-strstr.c: New file.
12361
c1f75dc3
SP
12362 * benchtests/Makefile: Disable parallel execution of targets.
12363 (string-bench): Add memcpy.
12364 (benchset): New variable to store a list of benchmark sets.
12365 (bench-func): Renamed from bench.
12366 (bench-set): New target.
12367 (bench): Depend on bench-func and bench-set.
12368 * benchtests/README: Add section on benchmark sets.
12369 * benchtests/bench-memcpy-ifunc.c: New file.
12370 * benchtests/bench-memcpy.c: New file.
12371 * benchtests/bench-string.h: New file.
12372
50fd745b
AS
123732013-06-11 Andreas Schwab <schwab@suse.de>
12374
12375 [BZ #15577]
12376 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12377 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12378 values in the triple.
12379 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12380 terminator in the group key.
12381
3ee7e9fe
AJ
123822013-06-11 Andreas Jaeger <aj@suse.de>
12383
12384 * po/zh_TW.po: Update Chinese (traditional) translation from
12385 translation project.
12386
89fb6835
SP
123872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12388
12389 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12390 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12391 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12392 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12393 (clock_getcpuclockid): Likewise.
12394 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12395 Add weak_alias and libc_hidden_def.
12396 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12397 * rt/clock_gettime.c (clock_gettime): Rename to
12398 __clock_gettime. Add weak_alias and libc_hidden_def.
12399 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12400 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12401 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12402 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12403 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12404 Likewise.
12405 * rt/clock_settime.c (clock_settime): Rename to
12406 __clock_settime. Add weak_alias and libc_hidden_def.
12407 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12408
0efa6f8b
JM
124092013-06-10 Joseph Myers <joseph@codesourcery.com>
12410
b8c61b4b
JM
12411 * mach/err_boot.sub: Remove trailing whitespace.
12412 * mach/err_ipc.sub: Likewise.
12413 * mach/err_mach.sub: Likewise.
12414
0efa6f8b
JM
12415 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12416 (ROUNDING_TESTS_double): Likewise.
12417 (ROUNDING_TESTS_long_double): Likewise.
12418 (ROUNDING_TESTS): Likewise.
12419 * math/libm-test.inc: Include <math-tests.h>.
12420 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12421 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12422 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12423 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12424
50b818bf
SP
124252013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12426
12427 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12428 of assigning.
12429
60d2f8f3
JM
124302013-06-08 Joseph Myers <joseph@codesourcery.com>
12431
4902d2c3
JM
12432 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12433 otherwise empty TRANS lines.
12434 * sysdeps/gnu/errlist.c: Regenerated.
12435
60d2f8f3
JM
12436 * catgets/gencat.c (error_print): Use (void) in function
12437 definition.
12438 * crypt/crypt_util.c (__init_des): Likewise.
12439 * crypt/speeds.c (Stop): Likewise.
12440 (main): Likewise.
12441 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12442 * inet/ruserpass.c (token): Likewise.
12443 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12444 * intl/localealias.c (extend_alias_table): Likewise.
12445 * intl/plural-exp.c (init_germanic_plural): Likewise.
12446 * libio/fcloseall.c (__fcloseall): Likewise.
12447 * libio/genops.c (_IO_flush_all): Likewise.
12448 (_IO_flush_all_linebuffered): Likewise.
12449 (_IO_cleanup): Likewise.
12450 (_IO_iter_begin): Likewise.
12451 (_IO_iter_end): Likewise.
12452 (_IO_list_lock): Likewise.
12453 (_IO_list_unlock): Likewise.
12454 (_IO_list_resetlock): Likewise.
12455 * libio/getchar.c (getchar): Likewise.
12456 * libio/getchar_u.c (getchar_unlocked): Likewise.
12457 * libio/getwchar.c (getwchar): Likewise.
12458 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12459 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12460 * login/getpt.c (__getpt): Likewise.
12461 * login/tst-utmp.c (main): Likewise.
12462 * malloc/hooks.c (__malloc_check_init): Likewise.
12463 * malloc/malloc.c (__malloc_stats): Likewise.
12464 * malloc/mtrace.c (tr_break): Likewise.
12465 (mtrace): Likewise.
12466 (muntrace): Likewise.
12467 * misc/fstab.c (endfsent): Likewise.
12468 * misc/getclktck.c (__getclktck): Likewise.
12469 * misc/getdtsz.c (__getdtablesize): Likewise.
12470 * misc/gethostid.c (gethostid): Likewise.
12471 * misc/getpagesize.c (__getpagesize): Likewise.
12472 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12473 (__get_nprocs): Likewise.
12474 (__get_phys_pages): Likewise.
12475 (__get_avphys_pages): Likewise.
12476 * misc/getttyent.c (getttyent): Likewise.
12477 (setttyent): Likewise.
12478 (endttyent): Likewise.
12479 * misc/getusershell.c (getusershell): Likewise.
12480 (endusershell): Likewise.
12481 (setusershell): Likewise.
12482 (initshells): Likewise.
12483 * misc/hsearch.c (__hdestroy): Likewise.
12484 * misc/sync.c (sync): Likewise.
12485 * misc/syslog.c (closelog_internal): Likewise.
12486 (closelog): Likewise.
12487 * misc/ttyslot.c (ttyslot): Likewise.
12488 * misc/vhangup.c (vhangup): Likewise.
12489 * posix/fork.c (__fork): Likewise.
12490 * posix/getegid.c (__getegid): Likewise.
12491 * posix/geteuid.c (__geteuid): Likewise.
12492 * posix/getgid.c (__getgid): Likewise.
12493 * posix/getpid.c (__getpid): Likewise.
12494 * posix/getppid.c (__getppid): Likewise.
12495 * posix/getuid.c (__getuid): Likewise.
12496 * posix/pause.c (pause): Likewise.
12497 * posix/setpgrp.c (setpgrp): Likewise.
12498 * posix/setsid.c (__setsid): Likewise.
12499 * posix/test-vfork.c (noop): Likewise.
12500 * resolv/gethnamaddr.c (_endhtent): Likewise.
12501 (_gethtent): Likewise.
12502 (ht_endhostent): Likewise.
12503 (gethostent): Likewise.
12504 (dns_service): Likewise.
12505 * stdlib/drand48.c (drand48): Likewise.
12506 * stdlib/lrand48.c (lrand48): Likewise.
12507 * stdlib/mrand48.c (mrand48): Likewise.
12508 * stdlib/rand.c (rand): Likewise.
12509 * stdlib/random.c (__random): Likewise.
12510 * stdlib/setenv.c (clearenv): Likewise.
12511 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12512 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12513 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12514 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12515 (__get_nprocs): Likewise.
12516 (__get_phys_pages): Likewise.
12517 (__get_avphys_pages): Likewise.
12518 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12519 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12520 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12521 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12522 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12523 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12524 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12525 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12526 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12527 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12528 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12529 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12530 * sysdeps/posix/clock.c (clock): Likewise.
12531 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12532 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12533 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12534 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12535 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12537 (__get_nprocs_conf): Likewise.
12538 (__get_phys_pages): Likewise.
12539 (__get_avphys_pages): Likewise.
12540 * time/clock.c (clock): Likewise.
12541 * time/tzset.c (__tzname_max): Likewise.
12542
2e09a79a
JM
125432013-06-07 Joseph Myers <joseph@codesourcery.com>
12544
12545 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12546 (__bswap_32): Do not use "register".
12547 * crypt/crypt.c (_ufc_doit_r): Likewise.
12548 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12549 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12550 * gmon/gmon.c (__monstartup): Likewise.
12551 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12552 * hurd/hurdmalloc.c (more_memory): Likewise.
12553 (malloc): Likewise.
12554 (free): Likewise.
12555 (realloc): Likewise.
12556 (malloc_fork_prepare): Likewise.
12557 (malloc_fork_parent): Likewise.
12558 (malloc_fork_child): Likewise.
12559 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12560 (_svcauth_des): Likewise.
12561 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12562 * inet/inet_net.c (inet_network): Likewise.
12563 * inet/inet_netof.c (inet_netof): Likewise.
12564 * inet/rcmd.c (__validuser2_sa): Likewise.
12565 * io/fts.c (fts_open): Likewise.
12566 (fts_load): Likewise.
12567 (fts_close): Likewise.
12568 (fts_read): Likewise.
12569 (fts_children): Likewise.
12570 (fts_build): Likewise.
12571 (fts_stat): Likewise.
12572 (fts_sort): Likewise.
12573 (fts_alloc): Likewise.
12574 (fts_lfree): Likewise.
12575 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12576 (_IO_file_xsgetn): Likewise.
12577 (_IO_file_xsgetn_mmap): Likewise.
12578 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12579 (_IO_cookie_write): Likewise.
12580 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12581 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12582 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12583 * malloc/obstack.c (_obstack_begin): Likewise.
12584 (_obstack_begin_1): Likewise.
12585 (_obstack_newchunk): Likewise.
12586 (_obstack_allocated_p): Likewise.
12587 (obstack_free): Likewise.
12588 (_obstack_memory_used): Likewise.
12589 * misc/getttyent.c (getttynam): Likewise.
12590 (getttyent): Likewise.
12591 (skip): Likewise.
12592 (value): Likewise.
12593 * misc/getusershell.c (initshells): Likewise.
12594 * misc/syslog.c (__vsyslog_chk): Likewise.
12595 * misc/ttyslot.c (ttyslot): Likewise.
12596 * nis/nis_hash.c (__nis_hash): Likewise.
12597 * posix/fnmatch_loop.c (FCT): Likewise.
12598 * posix/getconf.c (print_all): Likewise.
12599 (main): Likewise.
12600 * posix/getopt.c (exchange): Likewise.
12601 * posix/glob.c (globfree): Likewise.
12602 (prefix_array): Likewise.
12603 (__glob_pattern_type): Likewise.
12604 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12605 (NS_GET32): Likewise.
12606 (NS_PUT16): Likewise.
12607 (NS_PUT32): Likewise.
12608 * resolv/gethnamaddr.c (getanswer): Likewise.
12609 (gethostbyname2): Likewise.
12610 (gethostbyaddr): Likewise.
12611 (_gethtent): Likewise.
12612 (_gethtbyname2): Likewise.
12613 (_gethtbyaddr): Likewise.
12614 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12615 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12616 * resolv/res_init.c (__res_vinit): Likewise.
12617 (net_mask): Likewise.
12618 * resolv/res_mkquery.c (outchar): Likewise.
12619 (PRINT): Likewise.
12620 * stdio-common/printf_fp.c (outchar): Likewise.
12621 (PRINT): Likewise.
12622 * stdio-common/printf_fphex.c (outchar): Likewise.
12623 (PRINT): Likewise.
12624 * stdio-common/printf_size.c (outchar): Likewise.
12625 (PRINT): Likewise.
12626 * stdio-common/test_rdwr.c (main): Likewise.
12627 * stdio-common/tfformat.c (matches): Likewise.
12628 * stdio-common/vfprintf.c (outchar): Likewise.
12629 (printf_unknown): Likewise.
12630 (buffered_vfprintf): Likewise.
12631 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12632 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12633 (ReadFile): Likewise.
12634 * stdlib/qsort.c (SWAP): Likewise.
12635 (_quicksort): Likewise.
12636 * stdlib/setenv.c (__add_to_environ): Likewise.
12637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12638 * stdlib/strtol_l.c (__strtol_l): Likewise.
12639 * stdlib/tst-strtod.c (main): Likewise.
12640 * stdlib/tst-strtol.c (main): Likewise.
12641 * stdlib/tst-strtoll.c (main): Likewise.
12642 * string/bits/string2.h (__strcmp_cc): Likewise.
12643 (__strcmp_cg): Likewise.
12644 (__strcspn_c1): Likewise.
12645 (__strcspn_c2): Likewise.
12646 (__strcspn_c3): Likewise.
12647 (__strspn_c1): Likewise.
12648 (__strspn_c2): Likewise.
12649 (__strspn_c3): Likewise.
12650 (__strsep_1c): Likewise.
12651 (__strsep_2c): Likewise.
12652 (__strsep_3c): Likewise.
12653 * string/memccpy.c (__memccpy): Likewise.
12654 * string/stpcpy.c (__stpcpy): Likewise.
12655 * string/strcmp.c (strcmp): Likewise.
12656 * string/strrchr.c (strrchr): Likewise.
12657 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12658 Likewise.
12659 * sysdeps/mach/hurd/getcwd.c
12660 (_hurd_canonicalize_directory_name_internal): Likewise.
12661 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12662 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12663 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12664 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12665 Likewise, in both definitions.
12666 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12667 definitions.
12668 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12669 64] (__bswap_64): Likewise.
12670 * time/test_time.c (main): Likewise.
12671 * time/tzfile.c (__tzfile_read): Likewise.
12672 (__tzfile_compute): Likewise.
12673 * time/tzset.c (__tzset_parse_tz): Likewise.
12674 (tzset_internal): Likewise.
12675 (compute_change): Likewise.
12676 * wcsmbs/wcscat.c (__wcscat): Likewise.
12677 * wcsmbs/wcschr.c (wcschr): Likewise.
12678 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12679 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12680 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12681 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12682 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12683 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12684 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12685 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12686 * wcsmbs/wmemset.c (wmemset): Likewise.
12687
9e54314b
JM
126882013-06-06 Joseph Myers <joseph@codesourcery.com>
12689
12690 * scripts/config.guess: Update to version 2013-05-16.
12691 * scripts/config.sub: Update to version 2013-04-24.
12692 * scripts/install-sh: Update to version 2011-11-20.07.
12693 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12694 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12695
350635a5
OB
126962013-06-06 Ondřej Bílka <neleai@seznam.cz>
12697
12698 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12699 * elf/sln.c: Likewise.
12700 * hurd/hurd/ioctl.h: Likewise.
12701 * hurd/hurdmalloc.c: Likewise.
12702 * hurd/xattr.c: Likewise.
12703 * include/shlib-compat.h: Likewise.
12704 * inet/ruserpass.c: Likewise.
12705 * libio/iofgets_u.c: Likewise.
12706 * libio/iofgetws_u.c: Likewise.
12707 * locale/programs/ld-identification.c: Likewise.
12708 * locale/programs/ld-time.c: Likewise.
12709 * mach/msg-destroy.c: Likewise.
12710 * nss/nss_files/files-netgrp.c: Likewise.
12711 * resolv/res_data.c: Likewise.
12712 * soft-fp/op-1.h: Likewise.
12713 * soft-fp/op-2.h: Likewise.
12714 * soft-fp/op-4.h: Likewise.
12715 * soft-fp/op-common.h: Likewise.
12716 * stdio-common/printf_fphex.c: Likewise.
12717 * stdlib/strtod_l.c: Likewise.
12718 * sunrpc/rpc/clnt.h: Likewise.
12719 * sysdeps/generic/framestate.c: Likewise.
12720 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12721 * sysdeps/i386/bsd-setjmp.S: Likewise.
12722 * sysdeps/i386/__longjmp.S: Likewise.
12723 * sysdeps/i386/setjmp.S: Likewise.
12724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12742 * sysdeps/ieee754/support.c: Likewise.
12743 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12744 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12745 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12746 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12747 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12748 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12749 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12750 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12751 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12752 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12753 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12754 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12755 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12756 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12757 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12758 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12759 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12761
44a988af
OB
127622013-06-05 Ondřej Bílka <neleai@seznam.cz>
12763
25506f09 12764 * posix/transbug.c: Remove executable mode.
44a988af 12765
9c84384c
JM
127662013-06-05 Joseph Myers <joseph@codesourcery.com>
12767
12768 * crypt/speeds.c: Remove trailing whitespace.
12769 * dlfcn/default.c: Likewise.
12770 * elf/ifuncdep2.c: Likewise.
12771 * elf/ifuncmain1.c: Likewise.
12772 * elf/ifuncmain1vis.c: Likewise.
12773 * elf/testobj.h: Likewise.
12774 * elf/tst-stackguard1.c: Likewise.
12775 * gmon/sys/gmon.h: Likewise.
12776 * hurd/hurdmsg.c: Likewise.
12777 * hurd/new-fd.c: Likewise.
12778 * hurd/ports-get.c: Likewise.
12779 * iconvdata/ibm1008_420.c: Likewise.
12780 * inet/tst-getni1.c: Likewise.
12781 * inet/tst-getni2.c: Likewise.
12782 * libio/ioungetc.c: Likewise.
12783 * libio/wfiledoalloc.c: Likewise.
12784 * manual/libm-err-tab.pl: Likewise.
12785 * math/w_dremf.c: Likewise.
12786 * misc/ftruncate.c: Likewise.
12787 * posix/bug-glob2.c: Likewise.
12788 * posix/tst-pcre.c: Likewise.
12789 * posix/wait4.c: Likewise.
12790 * resolv/README: Likewise.
12791 * resolv/res_debug.h: Likewise.
12792 * resolv/tst-inet_ntop.c: Likewise.
12793 * setjmp/bug269-setjmp.c: Likewise.
12794 * soft-fp/extended.h: Likewise.
12795 * soft-fp/op-1.h: Likewise.
12796 * soft-fp/op-2.h: Likewise.
12797 * soft-fp/op-4.h: Likewise.
12798 * soft-fp/op-8.h: Likewise.
12799 * soft-fp/testit.c: Likewise.
12800 * stdio-common/bug16.c: Likewise.
12801 * stdlib/random.c: Likewise.
12802 * sunrpc/rpcsvc/rquota.x: Likewise.
12803 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12804 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12805 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12806 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12808 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12809 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12810 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12811 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12812 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12813 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12832 * sysdeps/ieee754/s_lib_version.c: Likewise.
12833 * sysdeps/mach/hurd/check_fds.c: Likewise.
12834 * sysdeps/mach/hurd/getsockname.c: Likewise.
12835 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12836 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12837 * sysdeps/powerpc/bits/link.h: Likewise.
12838 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12839 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12840 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12841 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12842 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12843 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12844 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12845 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12846 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12847 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12848 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12849 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12850 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12851 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12852 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12853 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12857 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12859 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12860 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12861 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12862 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12863 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12867 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12868 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12870 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12871 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12872 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12873 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12874 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12875 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12876 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12877 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12878 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12879 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12880 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12881 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12882 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12883 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12884 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12885 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12886 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12887 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12890 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12891 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12892 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12893 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12894 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12895 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12896 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12897 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12900 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12901 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12902 * sysdeps/powerpc/sysdep.h: Likewise.
12903 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12904 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12905 * sysdeps/sh/dl-trampoline.S: Likewise.
12906 * sysdeps/sh/memset.S: Likewise.
12907 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12908 * sysdeps/sh/strlen.S: Likewise.
12909 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12910 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12911 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12912 * sysdeps/sparc/sparc32/rem.S: Likewise.
12913 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12914 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12915 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12916 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12917 * sysdeps/sparc/sparc32/urem.S: Likewise.
12918 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12919 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12920 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12921 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12922 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12923 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12924 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12925 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12926 * sysdeps/unix/bsd/times.c: Likewise.
12927 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12928 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12934 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12935 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12936 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12937 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12938 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12940 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12941 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12942 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12943 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12944 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12945 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12946 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12947 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12948 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12949 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12950 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12951 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12952 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12955 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12956 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12957 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12958 * sysdeps/x86_64/strcspn.S: Likewise.
12959
869378a5
RA
129602013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12961
12962 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12963 generated file. Regenerate properly from gen-translit.pl.
12964 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12965 locale/C-translit.h.
12966
840e2943
AS
129672013-06-05 Andreas Schwab <schwab@suse.de>
12968
12969 [BZ #15100]
12970 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12971 week as 6 instead of -1.
12972 * time/tst-strptime.c (day_tests): Add test case.
12973
4c60cb0c
SP
129742013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12975
12976 * sysdeps/generic/math_private.h
12977 (libc_feholdexcept_setround_53bit): Replace with
12978 libc_feholdsetround_53bit.
12979 (libc_feupdateenv_53bit): Replace with
12980 libc_feresetround_53bit.
12981 (SET_RESTORE_ROUND_53BIT): Adjust.
12982
d180203e
SP
129832013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12984
96df079a
SP
12985 * string/test-strchrnul.c: Add copyright header.
12986
d180203e
SP
12987 * posix/tst-getaddrinfo4.c: Increase test timeout.
12988
8b0ccb2d
CD
129892013-06-03 Carlos O'Donell <carlos@redhat.com>
12990
12991 [BZ #15536]
12992 * math/libm-test.inc (MAX_EXP): Remove
12993 (MIN_EXP): Define.
12994 (ulp): Use MIN_EXP - MANT_DIG.
12995 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12996
3b3c4d40
CD
129972013-05-31 Carlos O'Donell <carlos@redhat.com>
12998
12999 * po/be.po: Revert last change.
13000 * po/zh_CN.po: Likewise.
13001 * po/header.pot: Likewise.
13002
fab7ce3f
JM
130032013-05-31 Joseph Myers <joseph@codesourcery.com>
13004
13005 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13006 link-libc-deps to empty as target-specific variable.
13007 * Makerules (link-libc-args): New variable.
13008 (libc-for-link): Likewise.
13009 (link-libc-deps): Likewise.
13010 (lib%.so): Depend on $(link-libc-deps). Link with
13011 $(link-libc-args).
13012 (build-module): Link with $(link-libc-args).
13013 (build-module-asneeded): Likewise.
13014 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13015 list of objects.
13016 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13017 target-specific variable.
13018 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13019 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13020 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13021 libc.
13022 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13023 libc and ld.so.
13024 ($(objpfx)libpcprofile.so): Likewise.
13025 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13026 libc_nonshared.a.
13027 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13028 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13029 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13030 $(link-libc-deps).
13031 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13032 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13033 * login/Makefile ($(objpfx)libutil.so): Likewise.
13034 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13035 * math/Makefile ($(objpfx)libm.so): Likewise.
13036 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13037 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13038 variable instead of depending directly on libc.
13039 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13040 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13041 $(link-libc-deps).
13042 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13043 libc.
13044 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13045 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13046 ($(objpfx)libanl.so): Likewise.
13047 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13048 ld.so.
13049 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13050 $(link-libc-deps).
13051 * sysdeps/i386/fpu/Makefile: Remove file.
13052 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13053 ($(objpfx)libm.so): Remove dependency on ld.so.
13054
eca5920c
PF
130552013-05-30 Patsy Franklin <pfrankli@redhat.com>
13056
13057 [BZ # 15553]
13058 * nis/yp_xdr.c (XDRMAXNAME): Define.
13059 (XDRMAXRECORD): Define.
13060 (xdr_domainname): Use XDRMAXNAME.
13061 (xdr_mapname): Likewise.
13062 (xdr_peername): Likewise.
13063 (xdr_keydat): Use XDRMAXRECORD.
13064 (xdr_valdat): Likewise.
13065
130662013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13067
13068 [BZ #14256]
13069 * manual/errno.texi (ESTALE): Update to account for more than
13070 just NFS file systems.
13071 * sysdeps/gnu/errlist.c: Regenerated.
13072
b9375348
SP
130732013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13074
13075 [BZ #15465]
13076 * elf/Makefile (tests): Add tst-null-argv.
13077 (modules-names): Add tst-null-argv-lib.
13078 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13079 (tst-null-argv-ENV): Set environment for tst-null-argv.
13080 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13081 (RTLD_PROGNAME): New macro.
13082 * elf/tst-null-argv.c: New test case.
13083 * elf/tst-null-argv-lib.c: Library for test case.
13084 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13085 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13086 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13087 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13088 * elf/dl-init.c (call_init): Likewise.
13089 (_dl_init): Likewise.
13090 * elf/dl-load.c (print_search_path): Likewise.
13091 (_dl_map_object): Likewise.
13092 * elf/dl-lookup.c (do_lookup_x): Likewise.
13093 (add_dependency): Likewise.
13094 (_dl_lookup_symbol_x): Likewise.
13095 (_dl_debug_bindings): Likewise.
13096 * elf/dl-open.c (_dl_show_scope): Likewise.
13097 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13098 * elf/dl-version.c (match_symbol): Likewise.
13099 (_dl_check_map_versions): Likewise.
13100 * elf/rtld.c (dl_main): Likewise.
13101 (print_unresolved): Use RTLD_PROGNAME.
13102 (print_missing_version): Likewise.
13103 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13104 (elf_machine_rela): Likewise.
13105 * sysdeps/powerpc/powerpc32/dl-machine.c
13106 (__process_machine_rela): Likewise.
13107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13108 Likewise.
13109 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13110 Likewise.
13111 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13112 Likewise.
13113 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13115 Likewise.
13116 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13117 Likewise.
13118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13119
8a9f20c8
CD
131202013-05-28 Carlos O'Donell <carlos@redhat.com>
13121
13122 * po/be.po: Add descriptive title.
13123 * po/zh_CN.po: Likewise.
13124 * po/header.pot: Likewise.
13125
0e60d68e
MF
131262013-05-28 Mike Frysinger <vapier@gentoo.org>
13127
13128 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13129 error message.
13130 (enlarge_archive): Likewise.
13131
56b672e9
BN
131322013-05-28 Ben North <ben@redfrontdoor.org>
13133
13134 * manual/arith.texi (frexp): It is the magnitude of the return
13135 value which lies in [0.5, 1), not the return value itself.
13136
5e056687
AZ
131372013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13138
13139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13140
2b66ef5d
TS
131412013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13142
528c2405
TS
13143 * stdio-common/bug26.c (main): Correct fscanf template.
13144
07b4c13d
TS
13145 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13146 declare _dl_skip_args.
13147
ec9dd97c
TS
13148 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13149 Don't declare.
13150
2b66ef5d
TS
13151 * manual/platform.texi: Add missing @end deftypefun.
13152
4f8dfe27
JM
131532013-05-24 Joseph Myers <joseph@codesourcery.com>
13154
0323d086
JM
13155 [BZ #15529]
13156 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13157 bit of mantissa of 2^16382.
13158 * math/libm-test.inc (hypot_test_data): Add more tests.
13159
dd4259b9
JM
13160 * math/libm-test.inc: Add drem and pow10 to list of tested
13161 functions.
13162 (pow10_test): New function.
13163 (drem_test): Likewise.
13164 (drem_test_tonearest): Likewise.
13165 (drem_test_towardzero): Likewise.
13166 (drem_test_downward): Likewise.
13167 (drem_test_upward): Likewise.
13168 (main): Call the new functions.
13169
4f8dfe27
JM
13170 * math/libm-test.inc (finite_test_data): Remove.
13171 (finite_test): Run tests from isfinite_test_data.
13172 (gamma_test_data): Remove.
13173 (gamma_test): Run tests from lgamma_test_data.
13174 * sysdeps/i386/fpu/libm-test-ulps: Update.
13175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13176
d116b7c4
AZ
131772013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13178
13179 * manual/platform.texi: Add PowerPC PPR function set documentation.
13180 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13181 implementation.
13182
e96e3767
CD
131832013-05-24 Carlos O'Donell <carlos@redhat.com>
13184
13185 * math/libm-test.inc (MAX_EXP): Define.
13186 (ULPDIFF): Define.
13187 (ulp): New function.
13188 (check_float_internal): Use ULPDIFF.
13189 (cpow_test): Disable failing test.
13190 (check_ulp): Test ulp() implemetnation.
13191 (main): Call check_ulp before starting tests.
13192
b679a606
JM
131932013-05-24 Joseph Myers <joseph@codesourcery.com>
13194
e8bdba36
JM
13195 * math/gen-libm-test.pl (generate_testfile): Do not handle
13196 START_DATA and END_DATA.
13197 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13198 END_DATA.
13199 (acos_tonearest_test_data): Likewise.
13200 (acos_towardzero_test_data): Likewise.
13201 (acos_downward_test_data): Likewise.
13202 (acos_upward_test_data): Likewise.
13203 (acosh_test_data): Likewise.
13204 (asin_test_data): Likewise.
13205 (asin_tonearest_test_data): Likewise.
13206 (asin_towardzero_test_data): Likewise.
13207 (asin_downward_test_data): Likewise.
13208 (asin_upward_test_data): Likewise.
13209 (asinh_test_data): Likewise.
13210 (atan_test_data): Likewise.
13211 (atanh_test_data): Likewise.
13212 (atan2_test_data): Likewise.
13213 (cabs_test_data): Likewise.
13214 (cacos_test_data): Likewise.
13215 (cacosh_test_data): Likewise.
13216 (carg_test_data): Likewise.
13217 (casin_test_data): Likewise.
13218 (casinh_test_data): Likewise.
13219 (catan_test_data): Likewise.
13220 (catanh_test_data): Likewise.
13221 (cbrt_test_data): Likewise.
13222 (ccos_test_data): Likewise.
13223 (ccosh_test_data): Likewise.
13224 (ceil_test_data): Likewise.
13225 (cexp_test_data): Likewise.
13226 (cimag_test_data): Likewise.
13227 (clog_test_data): Likewise.
13228 (clog10_test_data): Likewise.
13229 (conj_test_data): Likewise.
13230 (copysign_test_data): Likewise.
13231 (cos_test_data): Likewise.
13232 (cos_tonearest_test_data): Likewise.
13233 (cos_towardzero_test_data): Likewise.
13234 (cos_downward_test_data): Likewise.
13235 (cos_upward_test_data): Likewise.
13236 (cosh_test_data): Likewise.
13237 (cosh_tonearest_test_data): Likewise.
13238 (cosh_towardzero_test_data): Likewise.
13239 (cosh_downward_test_data): Likewise.
13240 (cosh_upward_test_data): Likewise.
13241 (cpow_test_data): Likewise.
13242 (cproj_test_data): Likewise.
13243 (creal_test_data): Likewise.
13244 (csin_test_data): Likewise.
13245 (csinh_test_data): Likewise.
13246 (csqrt_test_data): Likewise.
13247 (ctan_test_data): Likewise.
13248 (ctan_tonearest_test_data): Likewise.
13249 (ctan_towardzero_test_data): Likewise.
13250 (ctan_downward_test_data): Likewise.
13251 (ctan_upward_test_data): Likewise.
13252 (ctanh_test_data): Likewise.
13253 (ctanh_tonearest_test_data): Likewise.
13254 (ctanh_towardzero_test_data): Likewise.
13255 (ctanh_downward_test_data): Likewise.
13256 (ctanh_upward_test_data): Likewise.
13257 (erf_test_data): Likewise.
13258 (erfc_test_data): Likewise.
13259 (exp_test_data): Likewise.
13260 (exp_tonearest_test_data): Likewise.
13261 (exp_towardzero_test_data): Likewise.
13262 (exp_downward_test_data): Likewise.
13263 (exp_upward_test_data): Likewise.
13264 (exp10_test_data): Likewise.
13265 (exp2_test_data): Likewise.
13266 (expm1_test_data): Likewise.
13267 (fabs_test_data): Likewise.
13268 (fdim_test_data): Likewise.
13269 (finite_test_data): Likewise.
13270 (floor_test_data): Likewise.
13271 (fma_test_data): Likewise.
13272 (fma_towardzero_test_data): Likewise.
13273 (fma_downward_test_data): Likewise.
13274 (fma_upward_test_data): Likewise.
13275 (fmax_test_data): Likewise.
13276 (fmin_test_data): Likewise.
13277 (fmod_test_data): Likewise.
13278 (fpclassify_test_data): Likewise.
13279 (frexp_test_data): Likewise.
13280 (gamma_test_data): Likewise.
13281 (hypot_test_data): Likewise.
13282 (ilogb_test_data): Likewise.
13283 (isfinite_test_data): Likewise.
13284 (isgreater_test_data): Likewise.
13285 (isgreaterequal_test_data): Likewise.
13286 (isinf_test_data): Likewise.
13287 (isless_test_data): Likewise.
13288 (islessequal_test_data): Likewise.
13289 (islessgreater_test_data): Likewise.
13290 (isnan_test_data): Likewise.
13291 (isnormal_test_data): Likewise.
13292 (issignaling_test_data): Likewise.
13293 (isunordered_test_data): Likewise.
13294 (j0_test_data): Likewise.
13295 (j1_test_data): Likewise.
13296 (jn_test_data): Likewise.
13297 (ldexp_test_data): Likewise.
13298 (lgamma_test_data): Likewise.
13299 (lrint_test_data): Likewise.
13300 (lrint_tonearest_test_data): Likewise.
13301 (lrint_towardzero_test_data): Likewise.
13302 (lrint_downward_test_data): Likewise.
13303 (lrint_upward_test_data): Likewise.
13304 (llrint_test_data): Likewise.
13305 (llrint_tonearest_test_data): Likewise.
13306 (llrint_towardzero_test_data): Likewise.
13307 (llrint_downward_test_data): Likewise.
13308 (llrint_upward_test_data): Likewise.
13309 (log_test_data): Likewise.
13310 (log10_test_data): Likewise.
13311 (log1p_test_data): Likewise.
13312 (log2_test_data): Likewise.
13313 (logb_test_data): Likewise.
13314 (logb_downward_test_data): Likewise.
13315 (lround_test_data): Likewise.
13316 (llround_test_data): Likewise.
13317 (modf_test_data): Likewise.
13318 (nearbyint_test_data): Likewise.
13319 (nextafter_test_data): Likewise.
13320 (nexttoward_test_data): Likewise.
13321 (pow_test_data): Likewise.
13322 (pow_tonearest_test_data): Likewise.
13323 (pow_towardzero_test_data): Likewise.
13324 (pow_downward_test_data): Likewise.
13325 (pow_upward_test_data): Likewise.
13326 (remainder_test_data): Likewise.
13327 (remainder_tonearest_test_data): Likewise.
13328 (remainder_towardzero_test_data): Likewise.
13329 (remainder_downward_test_data): Likewise.
13330 (remainder_upward_test_data): Likewise.
13331 (remquo_test_data): Likewise.
13332 (rint_test_data): Likewise.
13333 (rint_tonearest_test_data): Likewise.
13334 (rint_towardzero_test_data): Likewise.
13335 (rint_downward_test_data): Likewise.
13336 (rint_upward_test_data): Likewise.
13337 (round_test_data): Likewise.
13338 (scalb_test_data): Likewise.
13339 (scalbn_test_data): Likewise.
13340 (scalbln_test_data): Likewise.
13341 (signbit_test_data): Likewise.
13342 (sin_test_data): Likewise.
13343 (sin_tonearest_test_data): Likewise.
13344 (sin_towardzero_test_data): Likewise.
13345 (sin_downward_test_data): Likewise.
13346 (sin_upward_test_data): Likewise.
13347 (sincos_test_data): Likewise.
13348 (sinh_test_data): Likewise.
13349 (sinh_tonearest_test_data): Likewise.
13350 (sinh_towardzero_test_data): Likewise.
13351 (sinh_downward_test_data): Likewise.
13352 (sinh_upward_test_data): Likewise.
13353 (sqrt_test_data): Likewise.
13354 (tan_test_data): Likewise.
13355 (tan_tonearest_test_data): Likewise.
13356 (tan_towardzero_test_data): Likewise.
13357 (tan_downward_test_data): Likewise.
13358 (tan_upward_test_data): Likewise.
13359 (tanh_test_data): Likewise.
13360 (tgamma_test_data): Likewise.
13361 (trunc_test_data): Likewise.
13362 (y0_test_data): Likewise.
13363 (y1_test_data): Likewise.
13364 (yn_test_data): Likewise.
13365 (significand_test_data): Likewise.
13366
b679a606
JM
13367 * math/gen-libm-test.pl (@functions): Remove variable.
13368 (generate_testfile): Don't handle START and END lines.
13369 * math/libm-test.inc (START): New macro.
13370 (END): Likewise.
13371 (END_COMPLEX): Likewise.
13372 (acos_test): Use END macro without arguments.
13373 (acos_test_tonearest): Likewise.
13374 (acos_test_towardzero): Likewise.
13375 (acos_test_downward): Likewise.
13376 (acos_test_upward): Likewise.
13377 (acosh_test): Likewise.
13378 (asin_test): Likewise.
13379 (asin_test_tonearest): Likewise.
13380 (asin_test_towardzero): Likewise.
13381 (asin_test_downward): Likewise.
13382 (asin_test_upward): Likewise.
13383 (asinh_test): Likewise.
13384 (atan_test): Likewise.
13385 (atanh_test): Likewise.
13386 (atan2_test): Likewise.
13387 (cabs_test): Likewise.
13388 (cacos_test): Use END_COMPLEX macro without arguments.
13389 (cacosh_test): Likewise.
13390 (carg_test): Use END macro without arguments.
13391 (casin_test): Use END_COMPLEX macro without arguments.
13392 (casinh_test): Likewise.
13393 (catan_test): Likewise.
13394 (catanh_test): Likewise.
13395 (cbrt_test): Use END macro without arguments.
13396 (ccos_test): Use END_COMPLEX macro without arguments.
13397 (ccosh_test): Likewise.
13398 (ceil_test): Use END macro without arguments.
13399 (cexp_test): Use END_COMPLEX macro without arguments.
13400 (cimag_test): Use END macro without arguments.
13401 (clog_test): Use END_COMPLEX macro without arguments.
13402 (clog10_test): Likewise.
13403 (conj_test): Likewise.
13404 (copysign_test): Use END macro without arguments.
13405 (cos_test): Likewise.
13406 (cos_test_tonearest): Likewise.
13407 (cos_test_towardzero): Likewise.
13408 (cos_test_downward): Likewise.
13409 (cos_test_upward): Likewise.
13410 (cosh_test): Likewise.
13411 (cosh_test_tonearest): Likewise.
13412 (cosh_test_towardzero): Likewise.
13413 (cosh_test_downward): Likewise.
13414 (cosh_test_upward): Likewise.
13415 (cpow_test): Use END_COMPLEX macro without arguments.
13416 (cproj_test): Likewise.
13417 (creal_test): Use END macro without arguments.
13418 (csin_test): Use END_COMPLEX macro without arguments.
13419 (csinh_test): Likewise.
13420 (csqrt_test): Likewise.
13421 (ctan_test): Likewise.
13422 (ctan_test_tonearest): Likewise.
13423 (ctan_test_towardzero): Likewise.
13424 (ctan_test_downward): Likewise.
13425 (ctan_test_upward): Likewise.
13426 (ctanh_test): Likewise.
13427 (ctanh_test_tonearest): Likewise.
13428 (ctanh_test_towardzero): Likewise.
13429 (ctanh_test_downward): Likewise.
13430 (ctanh_test_upward): Likewise.
13431 (erf_test): Use END macro without arguments.
13432 (erfc_test): Likewise.
13433 (exp_test): Likewise.
13434 (exp_test_tonearest): Likewise.
13435 (exp_test_towardzero): Likewise.
13436 (exp_test_downward): Likewise.
13437 (exp_test_upward): Likewise.
13438 (exp10_test): Likewise.
13439 (exp2_test): Likewise.
13440 (expm1_test): Likewise.
13441 (fabs_test): Likewise.
13442 (fdim_test): Likewise.
13443 (finite_test): Likewise.
13444 (floor_test): Likewise.
13445 (fma_test): Likewise.
13446 (fma_test_towardzero): Likewise.
13447 (fma_test_downward): Likewise.
13448 (fma_test_upward): Likewise.
13449 (fmax_test): Likewise.
13450 (fmin_test): Likewise.
13451 (fmod_test): Likewise.
13452 (fpclassify_test): Likewise.
13453 (frexp_test): Likewise.
13454 (gamma_test): Likewise.
13455 (hypot_test): Likewise.
13456 (ilogb_test): Likewise.
13457 (isfinite_test): Likewise.
13458 (isgreater_test): Likewise.
13459 (isgreaterequal_test): Likewise.
13460 (isinf_test): Likewise.
13461 (isless_test): Likewise.
13462 (islessequal_test): Likewise.
13463 (islessgreater_test): Likewise.
13464 (isnan_test): Likewise.
13465 (isnormal_test): Likewise.
13466 (issignaling_test): Likewise.
13467 (isunordered_test): Likewise.
13468 (j0_test): Likewise.
13469 (j1_test): Likewise.
13470 (jn_test): Likewise.
13471 (ldexp_test): Likewise.
13472 (lgamma_test): Likewise.
13473 (lrint_test): Likewise.
13474 (lrint_test_tonearest): Likewise.
13475 (lrint_test_towardzero): Likewise.
13476 (lrint_test_downward): Likewise.
13477 (lrint_test_upward): Likewise.
13478 (llrint_test): Likewise.
13479 (llrint_test_tonearest): Likewise.
13480 (llrint_test_towardzero): Likewise.
13481 (llrint_test_downward): Likewise.
13482 (llrint_test_upward): Likewise.
13483 (log_test): Likewise.
13484 (log10_test): Likewise.
13485 (log1p_test): Likewise.
13486 (log2_test): Likewise.
13487 (logb_test): Likewise.
13488 (logb_test_downward): Likewise.
13489 (lround_test): Likewise.
13490 (llround_test): Likewise.
13491 (modf_test): Likewise.
13492 (nearbyint_test): Likewise.
13493 (nextafter_test): Likewise.
13494 (nexttoward_test): Likewise.
13495 (pow_test): Likewise.
13496 (pow_test_tonearest): Likewise.
13497 (pow_test_towardzero): Likewise.
13498 (pow_test_downward): Likewise.
13499 (pow_test_upward): Likewise.
13500 (remainder_test): Likewise.
13501 (remainder_test_tonearest): Likewise.
13502 (remainder_test_towardzero): Likewise.
13503 (remainder_test_downward): Likewise.
13504 (remainder_test_upward): Likewise.
13505 (remquo_test): Likewise.
13506 (rint_test): Likewise.
13507 (rint_test_tonearest): Likewise.
13508 (rint_test_towardzero): Likewise.
13509 (rint_test_downward): Likewise.
13510 (rint_test_upward): Likewise.
13511 (round_test): Likewise.
13512 (scalb_test): Likewise.
13513 (scalbn_test): Likewise.
13514 (scalbln_test): Likewise.
13515 (signbit_test): Likewise.
13516 (sin_test): Likewise.
13517 (sin_test_tonearest): Likewise.
13518 (sin_test_towardzero): Likewise.
13519 (sin_test_downward): Likewise.
13520 (sin_test_upward): Likewise.
13521 (sincos_test): Likewise.
13522 (sinh_test): Likewise.
13523 (sinh_test_tonearest): Likewise.
13524 (sinh_test_towardzero): Likewise.
13525 (sinh_test_downward): Likewise.
13526 (sinh_test_upward): Likewise.
13527 (sqrt_test): Likewise.
13528 (tan_test): Likewise.
13529 (tan_test_tonearest): Likewise.
13530 (tan_test_towardzero): Likewise.
13531 (tan_test_downward): Likewise.
13532 (tan_test_upward): Likewise.
13533 (tanh_test): Likewise.
13534 (tgamma_test): Likewise.
13535 (trunc_test): Likewise.
13536 (y0_test): Likewise.
13537 (y1_test): Likewise.
13538 (yn_test): Likewise.
13539 (significand_test): Likewise.
13540
bae143d2
OB
135412013-05-24 Ondřej Bílka <neleai@seznam.cz>
13542
13543 [BZ #15381]
13544 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13545
9323d39b
EM
135462013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13547
d4ea44a0 13548 [BZ #14894]
9323d39b
EM
13549 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13550 __ppc_mdoio and __ppc_mdoom.
13551 * manual/platform.texi: Document new functions __ppc_yield,
13552 __ppc_mdoio and __ppc_mdoom.
13553
13e23af7
CD
135542013-05-22 Carlos O'Donell <carlos@redhat.com>
13555
13556 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13557 (main): Mention "tls" pseudo-hwcap is legacy.
13558 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13559
351fe550
JM
135602013-05-22 Joseph Myers <joseph@codesourcery.com>
13561
13562 * math/gen-libm-test.pl (parse_args): Output only string of
13563 arguments as text for test name, not full call or descriptions of
13564 tests for extra outputs.
13565 (generate_testfile): Do not pass function name to parse_args.
13566 Generate this_func variable from START.
13567 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13568 field to arg_str.
13569 (struct test_ff_f_data): Likewise.
13570 (test_ff_f_data_nexttoward): Likewise.
13571 (struct test_fi_f_data): Likewise.
13572 (struct test_fl_f_data): Likewise.
13573 (struct test_if_f_data): Likewise.
13574 (struct test_fff_f_data): Likewise.
13575 (struct test_c_f_data): Likewise.
13576 (struct test_f_f1_data): Likewise. Remove field extra_name.
13577 (struct test_fF_f1_data): Likewise.
13578 (struct test_ffI_f1_data): Likewise.
13579 (struct test_c_c_data): Rename test_name field to arg_str.
13580 (struct test_cc_c_data): Likewise.
13581 (struct test_f_i_data): Likewise.
13582 (struct test_ff_i_data): Likewise.
13583 (struct test_f_l_data): Likewise.
13584 (struct test_f_L_data): Likewise.
13585 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13586 and extra2_name.
13587 (COMMON_TEST_SETUP): New macro.
13588 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13589 (COMMON_TEST_CLEANUP): Likewise.
13590 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13591 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13592 macros.
13593 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13594 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13595 macros.
13596 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13597 (RUN_TEST_fff_f): Take argument string. Call new setup and
13598 cleanup macros.
13599 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13600 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13601 macros.
13602 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13603 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13604 macros.
13605 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13606 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13607 cleanup macros.
13608 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13609 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13610 cleanup macros.
13611 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13612 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13613 cleanup macros.
13614 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13615 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13616 macros.
13617 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13618 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13619 macros.
13620 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13621 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13622 macros.
13623 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13624 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13625 cleanup macros.
13626 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13627 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13628 cleanup macros.
13629 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13630 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13631 macros.
13632 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13633 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13634 cleanup macros.
13635 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13636 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13637 macros.
13638 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13639 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13640 macros.
13641 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13642 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13643 cleanup macros.
13644 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13645
85118d4d
EBM
136462013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13647
13648 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13649 to _sifields.sigfault.
13650 (si_addr_lsb): Define new macro.
13651 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13654
7a44c18f
CD
136552013-05-03 Carlos O'Donell <carlos at redhat.com>
13656
13657 [BZ #15441]
13658 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13659 returns -1.
13660 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13661 null return -1.
13662 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13663 loading the domain.
13664
b50a7181
JM
136652013-05-22 Joseph Myers <joseph@codesourcery.com>
13666
13667 * math/gen-libm-test.pl (parse_args): Do not include expected
13668 result in test name.
13669 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13670 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13671 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13672 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13673 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13675
051063c8
SP
136762013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13677
3ce9e010
SP
13678 * benchtests/Makefile: Sort function entries.
13679
051063c8
SP
13680 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13681 tanh, asinh, acosh, atanh.
13682 * benchtests/acos-inputs: New file.
13683 * benchtests/acosh-inputs: New file.
13684 * benchtests/asin-inputs: New file.
13685 * benchtests/asinh-inputs: New file.
13686 * benchtests/atanh-inputs: New file.
13687 * benchtests/cosh-inputs: New file.
13688 * benchtests/log-inputs: New file.
13689 * benchtests/sinh-inputs: New file.
13690 * benchtests/tanh-inputs: New file.
13691
47c22455
DL
136922013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13693
13694 [BZ #15339]
13695 * posix/tst-getaddrinfo4.c: New test.
13696 * posix/Makefile (tests): Add it.
13697
3d04f5db
SP
136982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13699
13700 [BZ #15339]
13701 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13702 when no services were used.
13703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13704 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13705
d5dd6189
AS
137062013-05-21 Andreas Schwab <schwab@suse.de>
13707
13708 [BZ #15014]
13709 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13710 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13711 successful.
13712 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13713 redundant variable declarations and reallocation of buffer when
13714 parsing as IPv6 address. Always set NSS status when called from
13715 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13716 buffer too small. Correct computation of needed size.
13717 * nss/Makefile (tests): Add test-digits-dots.
13718 * nss/test-digits-dots.c: New test.
13719
fef94eab
SP
137202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13721
13722 * benchtests/Makefile: Remove instructions for adding
13723 benchmark tests.
13724 * benchtests/README: New file to explain how to execute and
13725 enhance the benchmark tests.
13726
e39adf43
AS
137272013-05-21 Andreas Schwab <schwab@suse.de>
13728
13729 [BZ #15493]
13730 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13731 * setjmp/tst-sigsetjmp.c: New test.
13732
b2b671b6
OB
137332013-05-20 Ondřej Bílka <neleai@seznam.cz>
13734
13735 * sysdeps/x86_64/memset.S (memset): New implementation.
13736 (__bzero): Likewise.
13737 (__memset_tail): New function.
13738
2d48b41c
OB
137392013-05-20 Ondřej Bílka <neleai@seznam.cz>
13740
13741 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13742 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13743 __memcpy_sse2_unaligned ifunc selection.
13744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13745 Add memcpy-sse2-unaligned.S.
13746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13747 Add: __memcpy_sse2_unaligned.
13748
f16cc3eb
JM
137492013-05-19 Joseph Myers <joseph@codesourcery.com>
13750
3e694268
JM
13751 [BZ #15490]
13752 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13753 math_force_eval before restoring floating-point envrionment.
13754 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13756 Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13758 <math_private.h>.
13759 (__nearbyintl): Use math_force_eval before restoring
13760 floating-point environment.
13761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13762
db62a907
JM
13763 * math/gen-libm-test.pl (special_functions): Remove.
13764 (parse_args): Don't handle TEST_extra. Handle functions with no
13765 return value.
13766 * math/libm-test.inc (struct test_sincos_data): Replace with
13767 struct test_fFF_11_data.
13768 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13769 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13770 (sincos_test_data): Change element type to struct
13771 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13772 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13773 RUN_TEST_LOOP_sincos.
13774 * math/README.libm-test: Don't mention special handling of
13775 individual functions.
13776 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13778 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13779 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13780 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782
f16cc3eb
JM
13783 * math/gen-libm-test.pl (get_variable): Remove function.
13784 (parse_args): Don't show pointer parameters to call in test
13785 names. Use "extra output N" in test names for extra outputs
13786 rather than naming variables.
13787
3779b5b6
JM
137882013-05-18 Joseph Myers <joseph@codesourcery.com>
13789
2ee094ff
JM
13790 [BZ #15488]
13791 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13792 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13793 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13794 double tests.
13795 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13796 disable.
13797 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13798 check_long_double.
13799
3779b5b6
JM
13800 * math/gen-libm-test.pl (@tests): Remove variable.
13801 ($count): Likewise.
13802 (new_test): Remove function.
13803 (show_exceptions): New function.
13804 (special_functions): Use show_exceptions instead of new_test.
13805 (parse_args): Likewise.
13806 (generate_testfile): Pass only function name in generated call to
13807 print_max_error or print_complex_max_error.
13808 (get_ulps): Do not handle complex tests specially.
13809 (output_test): Rename to ...
13810 (get_all_ulps_for_test): ... this. Return a string rather than
13811 printing to a file. Require ulps to be present.
13812 (output_ulps): Generate arrays rather than #defines.
13813 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13814 (struct ulp_data): New type.
13815 (BUILD_COMPLEX_ULP): Remove macro.
13816 (compare_ulp_data): New function.
13817 (find_ulps): Likewise.
13818 (find_test_ulps): Likewise.
13819 (find_function_ulps): Likewise.
13820 (find_complex_function_ulps): Likewise.
13821 (print_max_error): Determine allowed ulps using
13822 find_function_ulps.
13823 (print_complex_max_error): Determine allowed ulps using
13824 find_complex_function_ulps.
13825 (check_float_internal): Determine max ulps using find_test_ulps.
13826 (check_float): Do not take max_ulp parameter. Update call to
13827 check_float_internal.
13828 (check_complex): Likewise.
13829 (check_int): Do not take max_ulp parameter.
13830 (check_long): Likewise.
13831 (check_bool): Likewise.
13832 (check_longlong): Likewise.
13833 (struct test_f_f_data): Remove max_ulp field.
13834 (struct test_ff_f_data): Likewise.
13835 (struct test_ff_f_data_nexttoward): Likewise.
13836 (struct test_fi_f_data): Likewise.
13837 (struct test_fl_f_data): Likewise.
13838 (struct test_if_f_data): Likewise.
13839 (struct test_fff_f_data): Likewise.
13840 (struct test_c_f_data): Likewise.
13841 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13842 (struct test_fF_f1_data): Likewise.
13843 (struct test_ffI_f1_data): Likewise.
13844 (struct test_c_c_data): Remove max_ulp field.
13845 (struct test_cc_c_data): Likewise.
13846 (struct test_f_i_data): Likewise.
13847 (struct test_ff_i_data): Likewise.
13848 (struct test_f_l_data): Likewise.
13849 (struct test_f_L_data): Likewise.
13850 (struct test_sincos_data): Likewise.
13851 (RUN_TEST_f_f): Do not handle ulps.
13852 (RUN_TEST_LOOP_f_f): Likewise.
13853 (RUN_TEST_2_f): Likewise.
13854 (RUN_TEST_LOOP_2_f): Likewise.
13855 (RUN_TEST_fff_f): Likewise.
13856 (RUN_TEST_LOOP_fff_f): Likewise.
13857 (RUN_TEST_c_f): Likewise.
13858 (RUN_TEST_LOOP_c_f): Likewise.
13859 (RUN_TEST_f_f1): Likewise.
13860 (RUN_TEST_LOOP_f_f1): Likewise.
13861 (RUN_TEST_fF_f1): Likewise.
13862 (RUN_TEST_LOOP_fF_f1): Likewise.
13863 (RUN_TEST_fI_f1): Likewise.
13864 (RUN_TEST_LOOP_fI_f1): Likewise.
13865 (RUN_TEST_ffI_f1): Likewise.
13866 (RUN_TEST_LOOP_ffI_f1): Likewise.
13867 (RUN_TEST_c_c): Likewise.
13868 (RUN_TEST_LOOP_c_c): Likewise.
13869 (RUN_TEST_cc_c): Likewise.
13870 (RUN_TEST_LOOP_cc_c): Likewise.
13871 (RUN_TEST_f_i): Likewise.
13872 (RUN_TEST_LOOP_f_i): Likewise.
13873 (RUN_TEST_f_i_tg): Likewise.
13874 (RUN_TEST_LOOP_f_i_tg): Likewise.
13875 (RUN_TEST_ff_i_tg): Likewise.
13876 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13877 (RUN_TEST_f_b): Likewise.
13878 (RUN_TEST_LOOP_f_b): Likewise.
13879 (RUN_TEST_f_b_tg): Likewise.
13880 (RUN_TEST_LOOP_f_b_tg): Likewise.
13881 (RUN_TEST_f_l): Likewise.
13882 (RUN_TEST_LOOP_f_l): Likewise.
13883 (RUN_TEST_f_L): Likewise.
13884 (RUN_TEST_LOOP_f_L): Likewise.
13885 (RUN_TEST_sincos): Likewise.
13886 (RUN_TEST_LOOP_sincos): Likewise.
13887
8269107f
JM
138882013-05-17 Joseph Myers <joseph@codesourcery.com>
13889
bb38759d
JM
13890 [BZ #15480]
13891 [BZ #15485]
13892 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13893 main case of finite arguments, set rounding mode to FE_TONEAREST
13894 and discard exceptions.
13895 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13896 exceptions.
13897 (remainder_tonearest_test_data): New variable.
13898 (remainder_test_tonearest): New function.
13899 (remainder_towardzero_test_data): New variable.
13900 (remainder_test_towardzero): New function.
13901 (remainder_downward_test_data): New variable.
13902 (remainder_test_downward): New function.
13903 (remainder_upward_test_data): New variable.
13904 (remainder_test_upward): New function.
13905 (main): Call the new test functions.
13906
a00bdcf0
JM
13907 * math/libm-test.inc (struct test_f_f1_data): Remove field
13908 extra_init.
13909 (struct test_fF_f1_data): Likewise.
13910 (struct test_ffI_f1_data): Likewise.
13911 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13912 based on value of EXTRA_EXPECTED.
13913 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13914 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13915 EXTRA_VAR based on value of EXTRA_EXPECTED.
13916 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13917 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13918 EXTRA_VAR based on value of EXTRA_EXPECTED.
13919 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13920 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13921 EXTRA_VAR based on value of EXTRA_EXPECTED.
13922 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13923 * math/gen-libm-test.pl (parse_args): Don't output initializers
13924 for extra output values.
13925
de407f79
JM
13926 * math/libm-test.inc (check_int): Expect result to be exactly
13927 equal to expected value and do not handle ulps.
13928 (check_long): Likewise.
13929 (check_longlong): Likewise.
13930
8269107f
JM
13931 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13932 exceptions.
13933 (cimag_test_data): Likewise.
13934 (conj_test_data): Likewise.
13935 (copysign_test_data): Likewise.
13936 (cproj_test_data): Likewise.
13937 (creal_test_data): Likewise.
13938 (fabs_test_data): Likewise.
13939 (fdim_test_data): Likewise.
13940 (finite_test_data): Likewise.
13941 (floor_test_data): Likewise.
13942 (fmax_test_data): Likewise.
13943 (fmin_test_data): Likewise.
13944 (fmod_test_data): Likewise.
13945 (fpclassify_test_data): Likewise.
13946 (frexp_test_data): Likewise.
13947 (ilogb_test_data): Likewise.
13948 (isfinite_test_data): Likewise.
13949 (isgreater_test_data): Likewise.
13950 (isgreaterequal_test_data): Likewise.
13951 (isinf_test_data): Likewise.
13952 (isless_test_data): Likewise.
13953 (islessequal_test_data): Likewise.
13954 (islessgreater_test_data): Likewise.
13955 (isnan_test_data): Likewise.
13956 (isnormal_test_data): Likewise.
13957 (issignaling_test_data): Likewise.
13958 (isunordered_test_data): Likewise.
13959 (ldexp_test_data): Likewise.
13960 (lrint_test_data): Likewise.
13961 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13962 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13963 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13964 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13965 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13966 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13967 test input.
13968 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13969 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13970 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13971 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13972 that test input.
13973 (lrint_downward_test_data): Test for "inexact" exceptions.
13974 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13975 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13976 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13977 test input.
13978 (lrint_upward_test_data): Test for "inexact" exceptions.
13979 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13980 test input.
13981 (llrint_test_data): Test for "inexact" exceptions.
13982 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13983 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13984 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13985 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13986 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13987 (llrint_downward_test_data): Test for "inexact" exceptions.
13988 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13989 (llrint_upward_test_data): Test for "inexact" exceptions.
13990 (logb_test_data): Likewise.
13991 (logb_downward_test_data): Likewise.
13992 (nextafter_test_data): Likewise.
13993 (nexttoward_test_data): Likewise.
13994 (remainder_test_data): Likewise.
13995 (remquo_test_data): Likewise.
13996 (scalbn_test_data): Likewise.
13997 (scalbln_test_data): Likewise.
13998 (signbit_test_data): Likewise.
13999 (sqrt_test_data): Likewise.
14000 (significand_test_data): Likewise.
14001
48a18de1
SP
140022013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14003
14004 [BZ #15424]
14005 * benchtests/bench-modf.c (struct args): Mark arg0 as
14006 volatile.
14007 * scripts/bench.pl: Mark members of struct args as volatile.
14008
13d3b41a
AZ
140092013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14010
68191c1d 14011 [BZ # 15497]
13d3b41a
AZ
14012 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14013 negative infinity on POWER6 or lower.
14014 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14015
2848b105
MR
140162013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14017
14018 [BZ #15442]
14019 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14020 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14021 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14022 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14023 (_FP_SETQNAN): New macro.
14024 (_FP_SETQNAN_SEMIRAW): Likewise.
14025 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14026 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14027 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14028 (FP_EXTEND): Use _FP_FRAC_SNANP.
14029 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14030 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14031 into account.
14032 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14033 New macro.
14034 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14035 Likewise.
14036
323e5cb7
JM
140372013-05-16 Joseph Myers <joseph@codesourcery.com>
14038
c58b274f
JM
14039 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14040 with DIVIDE_BY_ZERO_EXCEPTION.
14041 (gamma_test_data): Likewise.
14042 (lgamma_test_data): Likewise.
14043 (log_test_data): Likewise.
14044 (log10_test_data): Likewise.
14045 (log2_test_data): Likewise.
14046 (tgamma_test_data): Likewise.
14047
0ab34904
JM
14048 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14049 (acos_test_tonearest): Likewise.
14050 (acos_test_towardzero): Likewise.
14051 (acos_test_downward): Likewise.
14052 (acos_test_upward): Likewise.
14053 (acosh_test): Likewise.
14054 (asin_test): Likewise.
14055 (asin_test_tonearest): Likewise.
14056 (asin_test_towardzero): Likewise.
14057 (asin_test_downward): Likewise.
14058 (asin_test_upward): Likewise.
14059 (asinh_test): Likewise.
14060 (atan_test): Likewise.
14061 (atanh_test): Likewise.
14062 (atan2_test): Likewise.
14063 (cabs_test): Likewise.
14064 (cacos_test): Likewise.
14065 (cacosh_test): Likewise.
14066 (casin_test): Likewise.
14067 (casinh_test): Likewise.
14068 (catan_test): Likewise.
14069 (catanh_test): Likewise.
14070 (cbrt_test): Likewise.
14071 (ccos_test): Likewise.
14072 (ccosh_test): Likewise.
14073 (cexp_test): Likewise.
14074 (clog_test): Likewise.
14075 (clog10_test): Likewise.
14076 (cos_test): Likewise.
14077 (cos_test_tonearest): Likewise.
14078 (cos_test_towardzero): Likewise.
14079 (cos_test_downward): Likewise.
14080 (cos_test_upward): Likewise.
14081 (cosh_test): Likewise.
14082 (cosh_test_tonearest): Likewise.
14083 (cosh_test_towardzero): Likewise.
14084 (cosh_test_downward): Likewise.
14085 (cosh_test_upward): Likewise.
14086 (cpow_test): Likewise.
14087 (csin_test): Likewise.
14088 (csinh_test): Likewise.
14089 (csqrt_test): Likewise.
14090 (ctan_test): Likewise.
14091 (ctan_test_tonearest): Likewise.
14092 (ctan_test_towardzero): Likewise.
14093 (ctan_test_downward): Likewise.
14094 (ctan_test_upward): Likewise.
14095 (ctanh_test): Likewise.
14096 (ctanh_test_tonearest): Likewise.
14097 (ctanh_test_towardzero): Likewise.
14098 (ctanh_test_downward): Likewise.
14099 (ctanh_test_upward): Likewise.
14100 (erf_test): Likewise.
14101 (erfc_test): Likewise.
14102 (exp_test): Likewise.
14103 (exp_test_tonearest): Likewise.
14104 (exp_test_towardzero): Likewise.
14105 (exp_test_downward): Likewise.
14106 (exp_test_upward): Likewise.
14107 (exp10_test): Likewise.
14108 (exp2_test): Likewise.
14109 (expm1_test): Likewise.
14110 (fmod_test): Likewise.
14111 (gamma_test): Likewise.
14112 (hypot_test): Likewise.
14113 (j0_test): Likewise.
14114 (j1_test): Likewise.
14115 (jn_test): Likewise.
14116 (lgamma_test): Likewise.
14117 (log_test): Likewise.
14118 (log10_test): Likewise.
14119 (log1p_test): Likewise.
14120 (log2_test): Likewise.
14121 (logb_test_downward): Likewise.
14122 (pow_test): Likewise.
14123 (pow_test_tonearest): Likewise.
14124 (pow_test_towardzero): Likewise.
14125 (pow_test_downward): Likewise.
14126 (pow_test_upward): Likewise.
14127 (remainder_test): Likewise.
14128 (remquo_test): Likewise.
14129 (sin_test): Likewise.
14130 (sin_test_tonearest): Likewise.
14131 (sin_test_towardzero): Likewise.
14132 (sin_test_downward): Likewise.
14133 (sin_test_upward): Likewise.
14134 (sincos_test): Likewise.
14135 (sinh_test): Likewise.
14136 (sinh_test_tonearest): Likewise.
14137 (sinh_test_towardzero): Likewise.
14138 (sinh_test_downward): Likewise.
14139 (sinh_test_upward): Likewise.
14140 (sqrt_test): Likewise.
14141 (tan_test): Likewise.
14142 (tan_test_tonearest): Likewise.
14143 (tan_test_towardzero): Likewise.
14144 (tan_test_downward): Likewise.
14145 (tan_test_upward): Likewise.
14146 (tanh_test): Likewise.
14147 (tgamma_test): Likewise.
14148 (y0_test): Likewise.
14149 (y1_test): Likewise.
14150 (yn_test): Likewise.
14151
323e5cb7
JM
14152 * math/gen-libm-test.pl (adjust_arg): Remove function.
14153 (special_function): Remove argument $in_func. Only handle
14154 generating output for tables of tests, not inside functions.
14155 (parse_args): Likewise.
14156 (generate_testfile): Remove variable $in_func. Update call to
14157 parse_args.
14158 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14159 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14160 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14161 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14162 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14163 (MAX_VALUE_INIT): Rename macro to max_value.
14164 (MIN_VALUE_INIT): Rename macro to min_value.
14165 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14166 (plus_zero): Remove variable.
14167 (minus_zero): Likewise.
14168 (plus_infty): Likewise.
14169 (minus_infty): Likewise.
14170 (qnan_value): Likewise.
14171 (max_value): Likewise.
14172 (min_value): Likewise.
14173 (min_subnorm_value): Likewise.
14174
e054f494
RA
141752013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14176
14177 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14178 uint64_t or uint32_t usage.
14179 * crypt/sha256-block.c: Likewise.
14180 * crypt/sha256-crypt.c: Likewise.
14181 * crypt/sha256.c: Likewise.
14182 * crypt/sha512-block.c: Likewise.
14183 * crypt/sha512-crypt.c: Likewise.
14184 * crypt/sha512.c: Likewise.
14185 * debug/backtrace-tst.c: Likewise.
14186 * debug/pcprofiledump.c: Likewise.
14187 * elf/cache.c: Likewise.
14188 * elf/dl-cache.c: Likewise.
14189 * elf/dl-misc.c: Likewise.
14190 * elf/dl-profile.c: Likewise.
14191 * elf/dl-support.c: Likewise.
14192 * elf/ldconfig.c: Likewise.
14193 * elf/sprof.c: Likewise.
14194 * iconv/dummy-repertoire.c: Likewise.
14195 * iconv/iconv_charmap.c: Likewise.
14196 * iconv/skeleton.c: Likewise.
14197 * iconvdata/8bit-generic.c: Likewise.
14198 * iconvdata/cp737.h: Likewise.
14199 * iconvdata/cp775.h: Likewise.
14200 * iconvdata/ibm1008.h: Likewise.
14201 * iconvdata/ibm1025.h: Likewise.
14202 * iconvdata/ibm1046.h: Likewise.
14203 * iconvdata/ibm1097.h: Likewise.
14204 * iconvdata/ibm1112.h: Likewise.
14205 * iconvdata/ibm1122.h: Likewise.
14206 * iconvdata/ibm1123.h: Likewise.
14207 * iconvdata/ibm1124.h: Likewise.
14208 * iconvdata/ibm1129.h: Likewise.
14209 * iconvdata/ibm1130.h: Likewise.
14210 * iconvdata/ibm1132.h: Likewise.
14211 * iconvdata/ibm1133.h: Likewise.
14212 * iconvdata/ibm1137.h: Likewise.
14213 * iconvdata/ibm1140.h: Likewise.
14214 * iconvdata/ibm1141.h: Likewise.
14215 * iconvdata/ibm1142.h: Likewise.
14216 * iconvdata/ibm1143.h: Likewise.
14217 * iconvdata/ibm1144.h: Likewise.
14218 * iconvdata/ibm1145.h: Likewise.
14219 * iconvdata/ibm1146.h: Likewise.
14220 * iconvdata/ibm1147.h: Likewise.
14221 * iconvdata/ibm1148.h: Likewise.
14222 * iconvdata/ibm1149.h: Likewise.
14223 * iconvdata/ibm1153.h: Likewise.
14224 * iconvdata/ibm1154.h: Likewise.
14225 * iconvdata/ibm1155.h: Likewise.
14226 * iconvdata/ibm1156.h: Likewise.
14227 * iconvdata/ibm1157.h: Likewise.
14228 * iconvdata/ibm1158.h: Likewise.
14229 * iconvdata/ibm1160.h: Likewise.
14230 * iconvdata/ibm1161.h: Likewise.
14231 * iconvdata/ibm1162.h: Likewise.
14232 * iconvdata/ibm1163.h: Likewise.
14233 * iconvdata/ibm1164.h: Likewise.
14234 * iconvdata/ibm1166.h: Likewise.
14235 * iconvdata/ibm1167.h: Likewise.
14236 * iconvdata/ibm12712.h: Likewise.
14237 * iconvdata/ibm1390.h: Likewise.
14238 * iconvdata/ibm1399.h: Likewise.
14239 * iconvdata/ibm16804.h: Likewise.
14240 * iconvdata/ibm4517.h: Likewise.
14241 * iconvdata/ibm4899.h: Likewise.
14242 * iconvdata/ibm4909.h: Likewise.
14243 * iconvdata/ibm4971.h: Likewise.
14244 * iconvdata/ibm5347.h: Likewise.
14245 * iconvdata/ibm803.h: Likewise.
14246 * iconvdata/ibm856.h: Likewise.
14247 * iconvdata/ibm901.h: Likewise.
14248 * iconvdata/ibm902.h: Likewise.
14249 * iconvdata/ibm9030.h: Likewise.
14250 * iconvdata/ibm9066.h: Likewise.
14251 * iconvdata/ibm921.h: Likewise.
14252 * iconvdata/ibm922.h: Likewise.
14253 * iconvdata/ibm9448.h: Likewise.
14254 * iconvdata/isiri-3342.h: Likewise.
14255 * iconvdata/jis0201.h: Likewise.
14256 * include/link.h: Likewise.
14257 * include/netdb.h: Likewise.
14258 * inet/check_native.c: Likewise.
14259 * inet/check_pf.c: Likewise.
14260 * inet/getipv4sourcefilter.c: Likewise.
14261 * inet/getnameinfo.c: Likewise.
14262 * inet/getsourcefilter.c: Likewise.
14263 * inet/htonl.c: Likewise.
14264 * inet/setipv4sourcefilter.c: Likewise.
14265 * inet/setsourcefilter.c: Likewise.
14266 * inet/test-inet6_opt.c: Likewise.
14267 * inet/tst-network.c: Likewise.
14268 * locale/C-collate.c: Likewise.
14269 * locale/C-ctype.c: Likewise.
14270 * locale/C-time.c: Likewise.
14271 * locale/C-translit.h: Likewise.
14272 * locale/loadarchive.c: Likewise.
14273 * locale/programs/3level.h: Likewise.
14274 * locale/programs/charmap.c: Likewise.
14275 * locale/programs/charmap.h: Likewise.
14276 * locale/programs/ld-address.c: Likewise.
14277 * locale/programs/ld-collate.c: Likewise.
14278 * locale/programs/ld-ctype.c: Likewise.
14279 * locale/programs/ld-identification.c: Likewise.
14280 * locale/programs/ld-measurement.c: Likewise.
14281 * locale/programs/ld-messages.c: Likewise.
14282 * locale/programs/ld-monetary.c: Likewise.
14283 * locale/programs/ld-name.c: Likewise.
14284 * locale/programs/ld-numeric.c: Likewise.
14285 * locale/programs/ld-paper.c: Likewise.
14286 * locale/programs/ld-telephone.c: Likewise.
14287 * locale/programs/ld-time.c: Likewise.
14288 * locale/programs/linereader.c: Likewise.
14289 * locale/programs/locale.c: Likewise.
14290 * locale/programs/locarchive.c: Likewise.
14291 * locale/programs/locfile.h: Likewise.
14292 * locale/programs/repertoire.c: Likewise.
14293 * locale/programs/simple-hash.c: Likewise.
14294 * locale/programs/simple-hash.h: Likewise.
14295 * malloc/memusage.c: Likewise.
14296 * malloc/memusagestat.c: Likewise.
14297 * nis/nis_defaults.c: Likewise.
14298 * nis/nis_hash.c: Likewise.
14299 * nis/nis_print.c: Likewise.
14300 * nis/nis_xdr.c: Likewise.
14301 * nscd/connections.c: Likewise.
14302 * nscd/hstcache.c: Likewise.
14303 * nscd/nscd_gethst_r.c: Likewise.
14304 * nscd/nscd_getserv_r.c: Likewise.
14305 * nscd/nscd_helper.c: Likewise.
14306 * nscd/servicescache.c: Likewise.
14307 * nss/makedb.c: Likewise.
14308 * nss/nss_db/db-XXX.c: Likewise.
14309 * nss/nss_db/db-initgroups.c: Likewise.
14310 * nss/nss_db/db-netgrp.c: Likewise.
14311 * nss/nss_files/files-network.c: Likewise.
14312 * nss/nss_files/files-parse.c: Likewise.
14313 * posix/bug-regex5.c: Likewise.
14314 * posix/fnmatch_loop.c: Likewise.
14315 * posix/regcomp.c: Likewise.
14316 * posix/regexec.c: Likewise.
14317 * posix/tst-rfc3484-2.c: Likewise.
14318 * posix/tst-rfc3484-3.c: Likewise.
14319 * posix/tst-rfc3484.c: Likewise.
14320 * resolv/nss_dns/dns-canon.c: Likewise.
14321 * resolv/nss_dns/dns-network.c: Likewise.
14322 * resolv/res_init.c: Likewise.
14323 * resolv/res_mkquery.c: Likewise.
14324 * resolv/tst-aton.c: Likewise.
14325 * stdlib/cxa_atexit.c: Likewise.
14326 * stdlib/cxa_finalize.c: Likewise.
14327 * stdlib/gen-fpioconst.c: Likewise.
14328 * stdlib/strtol_l.c: Likewise.
14329 * string/tst-endian.c: Likewise.
14330 * sunrpc/auth_des.c: Likewise.
14331 * sunrpc/clnt_udp.c: Likewise.
14332 * sunrpc/rtime.c: Likewise.
14333 * sunrpc/svcauth_des.c: Likewise.
14334 * sunrpc/xdr.c: Likewise.
14335 * sunrpc/xdr_intXX_t.c: Likewise.
14336 * sunrpc/xdr_rec.c: Likewise.
14337 * sysdeps/generic/ldconfig.h: Likewise.
14338 * sysdeps/generic/ldsodefs.h: Likewise.
14339 * sysdeps/generic/memusage.h: Likewise.
14340 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14343 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14350 * sysdeps/posix/getaddrinfo.c: Likewise.
14351 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14352 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14353 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14354 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14355 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14356 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14357 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14358 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14359 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14360 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14361 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14362 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14363 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14364 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14365 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14366 * sysdeps/x86_64/dl-tls.h: Likewise.
14367 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14368 * time/alt_digit.c: Likewise.
14369 * time/era.c: Likewise.
14370 * wcsmbs/tst-c16c32-1.c: Likewise.
14371
8c75f674
JM
143722013-05-16 Joseph Myers <joseph@codesourcery.com>
14373
14374 * math/libm-test.inc (struct test_sincos_data): New type.
14375 (RUN_TEST_LOOP_sincos): New macro.
14376 (sincos_test_data): New variable.
14377 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14378
e6e49e59
RH
143792013-05-16 Richard Henderson <rth@redhat.com>
14380
14381 * math/atest-exp2.c (LIMB64): New macro.
14382 (CONSTSZ): New macro.
14383 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14384 (hexdig): Move ...
14385 (print_mpn_fp): ... to function scope.
14386 (read_mpn_hex): Remove.
14387 (get_log2): Remove.
14388 (exp2_mpn): Use mp_log2.
14389 (main): Use mp_exp1.
14390
15c7c18d
JM
143912013-05-16 Joseph Myers <joseph@codesourcery.com>
14392
105a07df
JM
14393 * math/libm-test.inc: Remove comment about not testing "inexact"
14394 exceptions.
14395 (INEXACT_EXCEPTION): New macro.
14396 (NO_INEXACT_EXCEPTION): Likewise.
14397 (INVALID_EXCEPTION_OK): Update value.
14398 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14399 (OVERFLOW_EXCEPTION_OK): Likewise.
14400 (UNDERFLOW_EXCEPTION_OK): Likewise.
14401 (IGNORE_ZERO_INF_SIGN): Likewise.
14402 (ERRNO_UNCHANGED): Likewise.
14403 (ERRNO_EDOM): Likewise.
14404 (ERRNO_ERANGE): Likewise.
14405 (test_exceptions): Handle testing "inexact" exceptions.
14406 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14407 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14408 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14409 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14410 INEXACT_EXCEPTION.
14411 (rint_towardzero_test_data): Likewise.
14412 (rint_downward_test_data): Likewise.
14413 (rint_upward_test_data): Likewise.
14414
e9eee333
JM
14415 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14416 with OVERFLOW_EXCEPTION.
14417 (exp10_test_data): Likewise.
14418 (exp2_test_data): Likewise.
14419 (expm1_test_data): Likewise.
14420 (lgamma_test_data): Likewise.
14421 (pow_test_data): Likewise.
14422 (tgamma_test_data): Likewise.
14423 (yn_test_data): Remove duplicate test of overflow.
14424
1c38ff73
JM
14425 * math/libm-test.inc (struct test_cc_c_data): New type.
14426 (RUN_TEST_LOOP_cc_c): New macro.
14427 (cpow_test_data): New variable.
14428 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14429
15c7c18d
JM
14430 * math/libm-test.inc (struct test_f_L_data): New type.
14431 (RUN_TEST_LOOP_f_L): New macro.
14432 (llrint_test_data): New variable.
14433 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14434 (llrint_tonearest_test_data): New variable.
14435 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14436 (llrint_towardzero_test_data): New variable.
14437 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14438 (llrint_downward_test_data): New variable.
14439 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14440 (llrint_upward_test_data): New variable.
14441 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14442 (llround_test_data): New variable.
14443 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14444
f137ff13
PC
144452013-05-13 Peter Collingbourne <pcc@google.com>
14446
14447 * math/atest-exp2.c (get_log2): Remove const attribute.
14448
3608cb24
JM
144492013-05-15 Joseph Myers <joseph@codesourcery.com>
14450
14451 * math/libm-test.inc (struct test_f_l_data): New type.
14452 (RUN_TEST_LOOP_f_l): New macro.
14453 (lrint_test_data): New variable.
14454 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14455 (lrint_tonearest_test_data): New variable.
14456 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14457 (lrint_towardzero_test_data): New variable.
14458 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14459 (lrint_downward_test_data): New variable.
14460 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14461 (lrint_upward_test_data): New variable.
14462 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14463 (lround_test_data): New variable.
14464 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14465
39b1f617
PC
144662013-05-15 Peter Collingbourne <pcc@google.com>
14467
1deff3dc
PC
14468 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14469 (EXTRACT_WORDS64) Use where appropriate.
14470 (INSERT_WORDS64) Likewise.
14471
791f3ba0
PC
14472 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14473 constraints with x constraints.
14474 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14475
39b1f617
PC
14476 * malloc/obstack.c (_obstack_compat): Add initializer.
14477
12fba011
EM
144782013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14479
14480 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14481 si_trapno and add si_addr_lsb to _sifields.sigfault.
14482 (si_trapno): Remove macro.
14483 (si_addr_lsb): Define new macro.
14484 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14485
d369f531
JM
144862013-05-15 Joseph Myers <joseph@codesourcery.com>
14487
b861c6c4
JM
14488 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14489 instead of TEST_f_l.
14490 (llrint_test_tonearest): Likewise.
14491 (llrint_test_towardzero): Likewise.
14492 (llrint_test_downward): Likewise.
14493 (llrint_test_upward): Likewise.
14494 (llround_test): Likewise.
14495
7abeee12
JM
14496 * math/libm-test.inc (struct test_f_i_data): Add comment.
14497 (RUN_TEST_LOOP_f_b): New macro.
14498 (RUN_TEST_LOOP_f_b_tg): Likewise.
14499 (finite_test_data): New variable.
14500 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14501 (isfinite_test_data): New variable.
14502 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14503 (isinf_test_data): New variable.
14504 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14505 (isnan_test_data): New variable.
14506 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14507 (isnormal_test_data): New variable.
14508 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14509 (issignaling_test_data): New variable.
14510 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14511 (signbit_test_data): New variable.
14512 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14513
cbe8c4d3
JM
14514 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14515 with INVALID_EXCEPTION.
14516 (acosh_test_data): Likewise.
14517 (asin_test_data): Likewise.
14518 (atanh_test_data): Likewise.
14519 (fmod_test_data): Likewise.
14520 (log_test_data): Likewise.
14521 (log10_test_data): Likewise.
14522 (log2_test_data): Likewise.
14523 (pow_test_data): Likewise.
14524 (sqrt_test_data): Likewise.
14525 (y0_test_data): Likewise.
14526 (y1_test_data): Likewise.
14527 (yn_test_data): Likewise.
14528
5575c0e5
JM
14529 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14530 function contents.
14531
d369f531
JM
14532 * math/libm-test.inc (struct test_ff_i_data): New type.
14533 (RUN_TEST_LOOP_ff_i_tg): New macro.
14534 (isgreater_test_data): New variable.
14535 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14536 (isgreaterequal_test_data): New variable.
14537 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14538 (isless_test_data): New variable.
14539 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14540 (islessequal_test_data): New variable.
14541 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14542 (islessgreater_test_data): New variable.
14543 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14544 (isunordered_test_data): New variable.
14545 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14546
781fd748
DM
145472013-05-14 David S. Miller <davem@davemloft.net>
14548
14549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14550
87aa21df
JM
145512013-05-14 Joseph Myers <joseph@codesourcery.com>
14552
5e908270
JM
14553 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14554
f71172e5
JM
14555 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14556 extra_test to int.
14557 (struct test_f_i_data): Change type of max_ulp to int.
14558
8cfa635a
JM
14559 * math/libm-test.inc (test_ffI_f1_data): New type.
14560 (RUN_TEST_LOOP_ffI_f1): New macro.
14561 (remquo_test_data): New variable.
14562 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14563
2bcb36b2
JM
14564 * setjmp/tst-setjmp-fp.c: New file.
14565 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14566 (link-libm): New variable.
14567 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14568
acbd839a
JM
14569 * math/libm-test.inc (struct test_f_i_data): New type.
14570 (RUN_TEST_LOOP_f_i): New macro.
14571 (RUN_TEST_LOOP_f_i_tg): Likewise.
14572 (fpclassify_test_data): New variable.
14573 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14574 (ilogb_test_data): New variable.
14575 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14576
e414d745
JM
14577 * math/libm-test.inc (scalbln_test): Correct function name in END
14578 call.
14579
d9c2a0fd
JM
14580 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14581 (RUN_TEST_LOOP_fI_f1): New macro.
14582 (frexp_test_data): New variable.
14583 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14584
9dc9095d
JM
14585 * math/libm-test.inc (struct test_fF_f1_data): New type.
14586 (RUN_TEST_LOOP_fF_f1): New macro.
14587 (modf_test_data): New variable.
14588 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14589
87aa21df
JM
14590 * math/libm-test.inc (struct test_f_f1_data): New type.
14591 (RUN_TEST_LOOP_f_f1): New macro.
14592 (gamma_test_data): New variable.
14593 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14594 (lgamma_test_data): New variable.
14595 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14596
141af660
CD
145972013-05-13 Carlos O'Donell <carlos@redhat.com>
14598
14599 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14600 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14601 (main): Comment "tls" pseudo-hwcap.
14602
6d33265c
JM
146032013-05-13 Joseph Myers <joseph@codesourcery.com>
14604
68fc074c
JM
14605 * math/libm-test.inc (struct test_fl_f_data): New type.
14606 (RUN_TEST_LOOP_fl_f): New variable.
14607 (scalbln_test_data): New variable.
14608 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14609
243216e1
JM
14610 * math/libm-test.inc (struct test_fi_f_data): New type.
14611 (RUN_TEST_LOOP_fi_f): New macro.
14612 (ldexp_test_data): New variable.
14613 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14614 (scalbn_test_data): New variable.
14615 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14616
6a1992e2
JM
14617 * math/libm-test.inc (struct test_c_f_data): New type.
14618 (RUN_TEST_LOOP_c_f): New macro.
14619 (cabs_test_data): New variable.
14620 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14621 (carg_test_data): New variable.
14622 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14623 (cimag_test_data): New variable.
14624 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14625 (creal_test_data): New variable.
14626 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14627
0e400df5
JM
14628 * math/libm-test.inc (struct test_if_f_data): New type.
14629 (RUN_TEST_LOOP_if_f): New macro.
14630 (jn_test_data): New variable.
14631 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14632 (yn_test_data): New variable.
14633 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14634
6d33265c
JM
14635 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14636
f98ece5f
AZ
146372013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14638
14639 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14640 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14641
0f7d347b
SP
146422013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14643
43fe811b
SP
14644 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14645 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14646 (bench-deps): Add bench-timing.h.
14647 * benchtests-bench-skeleton.c: Include bench-timing.h.
14648 (main): Use TIMING_* macros instead of clock_gettime.
14649 * benchtests/bench-timing.h: New file.
14650
0f7d347b
SP
14651 [BZ #14582]
14652 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14653 Renamed from _LIB_VERSION.
14654 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14655
601a3a5f
JM
146562013-05-12 Joseph Myers <joseph@codesourcery.com>
14657
4f184d30
JM
14658 * math/libm-test.inc (struct test_fff_f_data): New type.
14659 (RUN_TEST_LOOP_fff_f): New macro.
14660 (fma_test_data): New variable.
14661 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14662 (fma_towardzero_test_data): New variable.
14663 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14664 (fma_downward_test_data): New variable.
14665 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14666 (fma_upward_test_data): New variable.
14667 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14668
08198877
JM
14669 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14670 (struct test_c_c_data): New type.
14671 (RUN_TEST_LOOP_c_c): New macro.
14672 (cacos_test_data): New variable.
14673 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14674 (cacosh_test_data): New variable.
14675 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14676 (casin_test_data): New variable.
14677 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14678 (casinh_test_data): New variable.
14679 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14680 (catan_test_data): New variable.
14681 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14682 (catanh_test_data): New variable.
14683 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14684 (ccos_test_data): New variable.
14685 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14686 (ccosh_test_data): New variable.
14687 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14688 (cexp_test_data): New variable.
14689 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14690 (clog_test_data): New variable.
14691 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14692 (clog10_test_data): New variable.
14693 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14694 (conj_test_data): New variable.
14695 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14696 (cproj_test_data): New variable.
14697 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14698 (csin_test_data): New variable.
14699 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14700 (csinh_test_data): New variable.
14701 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14702 (csqrt_test_data): New variable.
14703 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14704 (ctan_test_data): New variable.
14705 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14706 (ctan_tonearest_test_data): New variable.
14707 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14708 (ctan_towardzero_test_data): New variable.
14709 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14710 (ctan_downward_test_data): New variable.
14711 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14712 (ctan_upward_test_data): New variable.
14713 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14714 (ctanh_test_data): New variable.
14715 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14716 (ctanh_tonearest_test_data): New variable.
14717 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14718 (ctanh_towardzero_test_data): New variable.
14719 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14720 (ctanh_downward_test_data): New variable.
14721 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14722 (ctanh_upward_test_data): New variable.
14723 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14724 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14725 of BUILD_COMPLEX.
14726
601a3a5f
JM
14727 * math/libm-test.inc (struct test_ff_f_data): New type.
14728 (struct test_ff_f_data_nexttoward): Likewise.
14729 (RUN_TEST_LOOP_2_f): New macro.
14730 (RUN_TEST_LOOP_ff_f): Likewise.
14731 (atan2_test_data): New variable.
14732 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14733 (copysign_test_data): New variable.
14734 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14735 (fdim_test_data): New variable.
14736 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14737 (fmax_test_data): New variable.
14738 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14739 (fmin_test_data): New variable.
14740 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14741 (fmod_test_data): New variable.
14742 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14743 (hypot_test_data): New variable.
14744 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14745 (nextafter_test_data): New variable.
14746 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14747 (nexttoward_test_data): New variable.
14748 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14749 (pow_test_data): New variable.
14750 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14751 (pow_tonearest_test_data): New variable.
14752 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14753 (pow_towardzero_test_data): New variable.
14754 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14755 (pow_downward_test_data): New variable.
14756 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14757 (pow_upward_test_data): New variable.
14758 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14759 (remainder_test_data): New variable.
14760 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14761 (scalb_test_data): New variable.
14762 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14763 * sysdeps/i386/fpu/libm-test-ulps: Update.
14764
74c57478
JM
147652013-05-11 Joseph Myers <joseph@codesourcery.com>
14766
8329e4da
JM
14767 * math/libm-test.inc (fma_test): Use max_value instead of local
14768 variable fltmax.
14769 (nextafter_test): Likewise.
14770
74c57478
JM
14771 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14772 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14773 (acos_downward_test_data): New variable.
14774 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14775 (acos_upward_test_data): New variable.
14776 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14777 (acosh_test_data): New variable.
14778 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14779 (asin_test_data): New variable.
14780 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14781 (asin_tonearest_test_data): New variable.
14782 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14783 (asin_towardzero_test_data): New variable.
14784 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14785 (asin_downward_test_data): New variable.
14786 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14787 (asin_upward_test_data): New variable.
14788 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14789 (asinh_test_data): New variable.
14790 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14791 (atan_test_data): New variable.
14792 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14793 (atanh_test_data): New variable.
14794 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14795 (cbrt_test_data): New variable.
14796 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14797 (ceil_test_data): New variable.
14798 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14799 (cos_test_data): New variable.
14800 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14801 (cos_tonearest_test_data): New variable.
14802 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14803 (cos_towardzero_test_data): New variable.
14804 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14805 (cos_downward_test_data): New variable.
14806 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14807 (cos_upward_test_data): New variable.
14808 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14809 (cosh_test_data): New variable.
14810 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14811 (cosh_tonearest_test_data): New variable.
14812 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14813 (cosh_towardzero_test_data): New variable.
14814 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14815 (cosh_downward_test_data): New variable.
14816 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14817 (cosh_upward_test_data): New variable.
14818 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14819 (erf_test_data): New variable.
14820 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14821 (erfc_test_data): New variable.
14822 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14823 (exp_test_data): New variable.
14824 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14825 (exp_tonearest_test_data): New variable.
14826 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14827 (exp_towardzero_test_data): New variable.
14828 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14829 (exp_downward_test_data): New variable.
14830 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14831 (exp_upward_test_data): New variable.
14832 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14833 (exp10_test_data): New variable.
14834 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14835 (exp2_test_data): New variable.
14836 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14837 (expm1_test_data): New variable.
14838 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14839 (fabs_test_data): New variable.
14840 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14841 (floor_test_data): New variable.
14842 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14843 (j0_test_data): New variable.
14844 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14845 (j1_test_data): New variable.
14846 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14847 (log_test_data): New variable.
14848 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14849 (log10_test_data): New variable.
14850 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14851 (log1p_test_data): New variable.
14852 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14853 (log2_test_data): New variable.
14854 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14855 (logb_test_data): New variable.
14856 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14857 (logb_downward_test_data): New variable.
14858 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14859 (nearbyint_test_data): New variable.
14860 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14861 (rint_test_data): New variable.
14862 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14863 (rint_tonearest_test_data): New variable.
14864 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14865 (rint_towardzero_test_data): New variable.
14866 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14867 (rint_downward_test_data): New variable.
14868 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14869 (rint_upward_test_data): New variable.
14870 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14871 (round_test_data): New variable.
14872 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14873 (sin_test_data): New variable.
14874 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14875 (sin_tonearest_test_data): New variable.
14876 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14877 (sin_towardzero_test_data): New variable.
14878 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14879 (sin_downward_test_data): New variable.
14880 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14881 (sin_upward_test_data): New variable.
14882 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14883 (sinh_test_data): New variable.
14884 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14885 (sinh_tonearest_test_data): New variable.
14886 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14887 (sinh_towardzero_test_data): New variable.
14888 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14889 (sinh_downward_test_data): New variable.
14890 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14891 (sinh_upward_test_data): New variable.
14892 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14893 (sqrt_test_data): New variable.
14894 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14895 (tan_test_data): New variable.
14896 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14897 (tan_tonearest_test_data): New variable.
14898 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14899 (tan_towardzero_test_data): New variable.
14900 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14901 (tan_downward_test_data): New variable.
14902 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14903 (tan_upward_test_data): New variable.
14904 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14905 (tanh_test_data): New variable.
14906 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14907 (tgamma_test_data): New variable.
14908 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14909 (trunc_test_data): New variable.
14910 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14911 (y0_test_data): New variable.
14912 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14913 (y1_test_data): New variable.
14914 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14915 (significand_test_data): New variable.
14916 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14917
7187d844
CG
149182013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14919
14920 [BZ #12387]
14921 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14922
f63fae73
PT
149232013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14924
14925 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14926
8a67a4b3
AJ
149272013-05-10 Andreas Jaeger <aj@suse.de>
14928
14929 [BZ #15448]
14930 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14931 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14932
51df539d
JM
149332013-05-10 Joseph Myers <joseph@codesourcery.com>
14934
14935 * math/gen-libm-test.pl (adjust_arg): New function.
14936 (special_functions): Handle generating output in both functions
14937 and arrays.
14938 (parse_args): Likewise.
14939 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14940 $in_func argument to parse_args.
14941 * math/libm-test.inc (struct test_f_f_data): New type.
14942 (IF_ROUND_INIT_): New macro.
14943 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14944 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14945 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14946 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14947 (ROUND_RESTORE_): Likewise.
14948 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14949 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14950 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14951 (ROUND_RESTORE_FE_UPWARD): Likewise.
14952 (RUN_TEST_LOOP_f_f): New macro.
14953 (acos_test_data): New variable.
14954 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14955 (acos_tonearest_test_data): New variable.
14956 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14957
5c637fe5
SP
149582013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14959
14960 * benchtests/bench-skeleton.c (startup): Fix coding style.
14961
ab2b9461
JM
149622013-05-10 Joseph Myers <joseph@codesourcery.com>
14963
14964 [BZ #6809]
14965 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14966 negative infinity argument.
14967 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14968 negative infinity argument.
14969 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14970 negative infinity argument.
14971 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14972 domain errors.
14973
4c0fe6fe
FW
149742013-05-10 Florian Weimer <fweimer@redhat.com>
14975
14976 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14977 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14978 * iconv/iconv_prog.c (main): Likewise.
14979 * locale/programs/charmap-dir.c (charmap_readdir)
14980 (fopen_uncompressed): Likewise.
14981 * locale/programs/locfile.c (siblings_uncached)
14982 (write_locale_data): Use lstat64 instead of lstat.
14983 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14984 stat.
14985
a3375d29
AJ
149862013-05-10 Andreas Jaeger <aj@suse.de>
14987
14988 [BZ #15395]
14989 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14990 localization.
14991 Include <locale.h>.
14992
36129722
CD
149932013-05-09 Carlos O'Donell <carlos@redhat.com>
14994
14995 * elf/dl-close.c (_dl_close_worker): Add comments.
14996
faa7f811
JM
149972013-05-09 Joseph Myers <joseph@codesourcery.com>
14998
ed41ffef
JM
14999 [BZ #15359]
15000 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15001 high part of pi/2.
15002 (__ieee754_rem_pio2l): Update comments.
15003
d0213cd0
JM
15004 [BZ #15429]
15005 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15006 high part of pi/2.
15007 (__ieee754_rem_pio2l): Update comments.
15008
0d3e777a
JM
15009 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15010 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15011
24f56066
JM
15012 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15013 M_PI_4l.
15014
faa7f811
JM
15015 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15016 (M_PI_34_LOG10El): Likewise.
15017 (M_PI2_LOG10El): Likewise.
15018 (M_PI4_LOG10El): Likewise.
15019 (M_PI_LOG10El): Likewise.
15020
e9a5e0fd
AZ
150212013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15022
15023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15024
d8cd06db
JM
150252013-05-08 Joseph Myers <joseph@codesourcery.com>
15026
a0d9f9d7
JM
15027 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15028 (MINUS_ZERO_INIT): Likewise.
15029 (PLUS_INFTY_INIT): Likewise.
15030 (MINUS_INFTY_INIT): Likewise.
15031 (QNAN_VALUE_INIT): Likewise.
15032 (MAX_VALUE_INIT): Likewise.
15033 (MIN_VALUE_INIT): Likewise.
15034 (MIN_SUBNORM_VALUE_INIT): Likewise.
15035 (plus_zero): Initialize with PLUS_ZERO_INIT.
15036 (minus_zero): Initialize with MINUS_ZERO_INIT.
15037 (plus_infty): Initialize with PLUS_INFTY_INIT.
15038 (minus_infty): Initialize with MINUS_INFTY_INIT.
15039 (qnan_value): Initialize with QNAN_VALUE_INIT.
15040 (max_value): Initialize with MAX_VALUE_INIT.
15041 (min_value): Initialize with MIN_VALUE_INIT.
15042 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15043
ae08db3b
JM
15044 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15045 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15046 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15047 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15048
f44bf14a
JM
15049 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15050 (RUN_TEST_2_f): Likewise.
15051 (RUN_TEST_ff_f): Likewise.
15052 (RUN_TEST_fi_f): Likewise.
15053 (RUN_TEST_fl_f): Likewise.
15054 (RUN_TEST_fff_f): Likewise.
15055 (RUN_TEST_c_f): Likewise.
15056 (RUN_TEST_f_f1): Likewise.
15057 (RUN_TEST_fF_f1): Likewise.
15058 (RUN_TEST_fI_f1): Likewise.
15059 (RUN_TEST_ffI_f1): Likewise.
15060 (RUN_TEST_c_c): Likewise.
15061 (RUN_TEST_cc_c): Likewise.
15062 (RUN_TEST_f_i): Likewise.
15063 (RUN_TEST_f_i_tg): Likewise.
15064 (RUN_TEST_ff_i_tg): Likewise.
15065 (RUN_TEST_f_b): Likewise.
15066 (RUN_TEST_f_b_tg): Likewise.
15067 (RUN_TEST_f_l): Likewise.
15068 (RUN_TEST_f_L): Likewise.
15069 (RUN_TEST_sincos): Likewise.
15070 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15071 whether to show exceptions. Do not include ");\n" in return
15072 value.
15073 (special_functions): Output call to RUN_TEST_sincos instead of
15074 check_float calls. Update calls to new_test.
15075 (parse_args): Output call to single RUN_TEST_* macro instead of
15076 check_* calls and other assignments. Update calls to new_test.
15077
d8cd06db
JM
15078 [BZ #2546]
15079 [BZ #2560]
15080 [BZ #5159]
15081 [BZ #15426]
15082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15083 input to result for tgamma overflow.
15084 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15085 (gamma_coeff): New variable.
15086 (NCOEFF): New macro.
15087 (gamma_positive): New function.
15088 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15089 underflow here. Use gamma_positive instead of exp (lgamma) for
15090 other arguments.
15091 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15092 (gamma_coeff): New variable.
15093 (NCOEFF): New macro.
15094 (gammaf_positive): New function.
15095 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15096 underflow here. Use gamma_positive instead of exp (lgamma) for
15097 other arguments.
15098 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15099 (gamma_coeff): New variable.
15100 (NCOEFF): New macro.
15101 (gammal_positive): New function.
15102 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15103 underflow here. Use gamma_positive instead of exp (lgamma) for
15104 other arguments.
15105 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15106 (gamma_coeff): New variable.
15107 (NCOEFF): New macro.
15108 (gammal_positive): New function.
15109 (__ieee754_gammal_r): Handle positive infinity, overflow and
15110 underflow here. Handle NaN the same as positive infinity. Remove
15111 check x < 0xffffffff for negative integers. Use gamma_positive
15112 instead of exp (lgamma) for other arguments.
15113 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15114 (gamma_coeff): New variable.
15115 (NCOEFF): New macro.
15116 (gammal_positive): New function.
15117 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15118 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15119 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15120 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15121 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15122 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15123 * sysdeps/generic/math_private.h (__gamma_productf): New
15124 prototype.
15125 (__gamma_product): Likewise.
15126 (__gamma_productl): Likewise.
15127 * math/Makefile (libm-calls): Add gamma_product.
15128 * math/libm-test.inc (tgamma_test): Add more tests.
15129 * sysdeps/i386/fpu/libm-test-ulps: Update.
15130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15131
bb7cf681
OB
151322013-05-08 Ondřej Bílka <neleai@seznam.cz>
15133
15134 * benchtests/bench-skeleton.c (main): Preheat CPU.
15135
ba853947
AJ
151362013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15137
15138 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15139
8347c74c
RM
151402013-05-07 Roland McGrath <roland@hack.frob.com>
15141
15142 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15143 and _dl_skip_args_internal.
15144
e8dd4791
CD
151452013-05-07 Carlos O'Donell <carlos@redhat.com>
15146
15147 * manual/message.texi (Message Translation): Talk about users.
15148 Message to key mapping impacts design.
15149
c7405830
RM
151502013-05-06 Roland McGrath <roland@hack.frob.com>
15151
a9173057
RM
15152 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15153
976e2f03
RM
15154 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15155
9723ffc5
RM
15156 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15157 * sysdeps/wordsize-64/glob64.c: ... here.
15158
962e6658
RM
15159 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15160 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15161 New macros.
15162
ee586a6d
RM
15163 * debug/getlogin_r_chk.c: Moved to ...
15164 * login/getlogin_r_chk.c: ... here.
15165 * debug/Makefile (routines): Move getlogin_r_chk to ...
15166 * login/Makefile (routines): ... here.
15167 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15168 * login/Versions (libc: GLIBC_2.4): ... here.
15169
355f9165
RM
15170 * io/poll.c (__poll): Renamed from poll.
15171 Add libc_hidden_def.
15172 (poll): Define as weak alias.
15173
bd9ffde6
RM
15174 * debug/ptsname_r_chk.c: Moved to ...
15175 * login/ptsname_r_chk.c: ... here.
15176 * debug/Makefile (routines): Move ptsname_r_chk to ...
15177 * login/Makefile (routines): ... here.
15178 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15179 * login/Versions (libc: GLIBC_2.4): ... here.
15180
8fb16a04
RM
15181 * posix/getlogin.c: Moved to ...
15182 * login/getlogin.c: ... here.
15183 * posix/getlogin_r.c: Moved to ...
15184 * login/getlogin_r.c: ... here.
15185 * posix/getlogin_r.c: Moved to ...
15186 * login/getlogin_r.c: ... here.
15187 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15188 * login/Makefile (routines): ... here.
15189 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15190 * login/Versions (libc: GLIBC_2.0): ... here.
15191
b99b892f
RM
15192 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15193 (setrlimit): Define as weak alias.
15194
c7405830
RM
15195 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15196 Call __ names for open, ftruncate, and close.
15197 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15198 (truncate): Define as weak alias.
15199
5bf96de5
JM
152002013-05-06 Joseph Myers <joseph@codesourcery.com>
15201
9ea3513c
JM
15202 * math/gen-libm-test.pl (parse_args): Initialize x before each
15203 test of frexp, modf and remquo.
15204
5bf96de5
JM
15205 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15206 test signgam value.
15207
16e616a7
AZ
152082013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15209
15210 [BZ #15418]
15211 [BZ #15419]
15212 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15213 internal tests.
15214 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15215
d5e82754
RM
152162013-05-06 Roland McGrath <roland@hack.frob.com>
15217
15218 * elf/dl-writev.h: New file.
15219 * elf/dl-misc.c: Include it.
15220 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15221 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15222
a7548d41
JM
152232013-05-04 Joseph Myers <joseph@codesourcery.com>
15224
b7dab1e4
JM
15225 * math/libm-test.inc (noXFails): Remove variable.
15226 (noXPasses): Likewise.
15227 (BUILD_COMPLEX_INT): Remove macro.
15228 (print_screen): Remove xfail argument.
15229 (print_screen_max_error): Likewise.
15230 (update_stats): Likewise.
15231 (print_max_error): Likewise. Update calls to other affected
15232 functions.
15233 (print_complex_max_error): Likewise.
15234 (test_single_exception): Update calls to print_screen.
15235 (test_single_errno): Likewise.
15236 (check_float_internal): Remove xfail argument. Update calls to
15237 other affected functions.
15238 (check_float): Likewise.
15239 (check_complex): Likewise.
15240 (check_int): Likewise.
15241 (check_long): Likewise.
15242 (check_bool): Likewise.
15243 (check_longlong): Likewise.
15244 (main): Don't print noXFails and noXPasses.
15245 * math/gen-libm-test.pl (top level): Don't mention expected
15246 failure handling in comment.
15247 (new_test): Don't handle expected failures.
15248 (parse_args): Don't mention expected failure handling in comment.
15249 (generate_testfile): Don't handle expected failures.
15250 (parse_ulps): Likewise.
15251 (print_ulps_file): Likewise.
15252 (get_failure): Remove function.
15253 (output_test): Don't handle expected failures.
15254 * make/README.libm-test: Don't mention expected failure handling.
15255
a7548d41
JM
15256 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15257 (minus_zero): Likewise.
15258 (plus_infty): Likewise.
15259 (minus_infty): Likewise.
15260 (qnan_value): Likewise.
15261 (max_value): Likewise.
15262 (min_value): Likewise.
15263 (min_subnorm_value): Likewise.
15264 (initialize): Do not initialize those variables dynamically.
15265
60bfd54c
RM
152662013-05-03 Roland McGrath <roland@hack.frob.com>
15267
cc0e6ed8
RM
15268 * io/open.c (__open_2): Moved to ...
15269 * io/open_2.c: ... this new file.
15270 * io/open64.c (__open64_2): Moved to ...
15271 * io/open64_2.c: ... this new file.
15272 * io/openat.c (__openat_2): Moved to ...
15273 * io/openat_2.c: ... this new file.
15274 * io/openat64.c (__openat64_2): Moved to ...
15275 * io/openat64_2.c: ... this new file.
15276 * io/Makefile (routines): Add them.
15277 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15278 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15279 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15280 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15281 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15282 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15283 (__openat64): Add hidden_ver.
15284 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15285 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15286
60bfd54c
RM
15287 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15288 Separately conditionalize setting of GLRO(dl_sysinfo) so
15289 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15290 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15291
83e7640f
AZ
152922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15293
15294 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15296 definition.
15297 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15298 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15299 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15300 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15301 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15302
d5dc2af3
JM
153032013-05-03 Joseph Myers <joseph@codesourcery.com>
15304
c31a5b1e
JM
15305 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15306 test signgam value.
15307
d5dc2af3
JM
15308 * math/libm-test.inc (hypot_test): Do not use
15309 IGNORE_ZERO_INF_SIGN.
15310
164fd39d
AJ
153112013-05-03 Andreas Jaeger <aj@suse.de>
15312
15313 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15314 Linux 3.9.
15315 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15316 (PF_MAX): Adjust for VSOCK change.
15317
8237f48c
AZ
153182013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15319
15320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15321
9df02941
CD
153222013-05-02 Carlos O'Donell <carlos@redhat.com>
15323
15324 [BZ #15264]
15325 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15326 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15327 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15328
d422395e
DM
153292013-05-02 David S. Miller <davem@davemloft.net>
15330
15331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15332
a07c5731
OB
153332013-05-01 Ondřej Bílka <neleai@seznam.cz>
15334
15335 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15336
1324e37f
RM
153372013-05-01 Roland McGrath <roland@hack.frob.com>
15338
15339 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15340
0695940b
RS
153412013-05-01 Richard Smith <richard@metafoo.co.uk>
15342
bb5f27ad 15343 [BZ #14952]
0695940b
RS
15344 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15345 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15346 Use __attribute__ ((__gnu_inline__)).
15347 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15348 Don't use __attribute__ ((__gnu_inline__)).
15349
10de07f5
JM
153502013-05-01 Joseph Myers <joseph@codesourcery.com>
15351
15352 [BZ #15423]
15353 * math/s_catan.c (__catan): Handle small real or imaginary part of
15354 input specially to avoid spurious underflow.
15355 * math/s_catanf.c (__catanf): Likewise.
15356 * math/s_catanh.c (__catanh): Likewise.
15357 * math/s_catanhf.c (__catanhf): Likewise.
15358 * math/s_catanhl.c (__catanhl): Likewise.
15359 * math/s_catanl.c (__catanl): Likewise.
15360 * math/libm-test.inc (catan_test): Add more tests.
15361 (catanh_test): Likewise.
15362 * sysdeps/i386/fpu/libm-test-ulps: Update.
15363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15364
cb4d5414
AZ
153652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366
15367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15368
caf84319
JM
153692013-04-30 Joseph Myers <joseph@codesourcery.com>
15370
15371 [BZ #15416]
15372 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15373 accurately for denominator in atan2.
15374 * math/s_catanf.c (__catanf): Likewise.
15375 * math/s_catanh.c (__catanh): Likewise.
15376 * math/s_catanhf.c (__catanhf): Likewise.
15377 * math/s_catanhl.c (__catanhl): Likewise.
15378 * math/s_catanl.c (__catanl): Likewise.
15379 * math/libm-test.inc (catan_test): Add more tests.
15380 (catanh_test): Likewise.
15381 * sysdeps/i386/fpu/libm-test-ulps: Update.
15382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15383
d569c6ee
SP
153842013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15385
6dbe713d
SP
15386 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15387
f0ee064b
SP
15388 * benchtests/Makefile (bench): Remove slow benchmarks.
15389 * benchtests/atan-inputs: Add slow benchmark inputs.
15390 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15391 (BENCH_FUNC): Accept variant offset.
15392 (VARIANT): Define.
15393 * benchtests/bench-skeleton.c (main): Run benchmark for each
15394 variant.
15395 * benchtests/cos-inputs: Add slow benchmark inputs.
15396 * benchtests/exp-inputs: Likewise.
15397 * benchtests/pow-inputs: Likewise.
15398 * benchtests/sin-inputs: Likewise.
15399 * benchtests/slowatan-inputs: Remove.
15400 * benchtests/slowatan.c: Remove.
15401 * benchtests/slowcos-inputs: Remove.
15402 * benchtests/slowcos.c: Remove.
15403 * benchtests/slowexp-inputs: Remove.
15404 * benchtests/slowexp.c: Remove.
15405 * benchtests/slowpow-inputs: Remove.
15406 * benchtests/slowpow.c: Remove.
15407 * benchtests/slowsin-inputs: Remove.
15408 * benchtests/slowsin.c: Remove.
15409 * benchtests/slowtan-inputs: Remove.
15410 * benchtests/slowtan.c: Remove.
15411 * benchtests/tan-inputs: Add slow benchmark inputs.
15412 * scripts/bench.pl: Parse comments and directives.
15413
d569c6ee
SP
15414 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15415 in CPPFLAGS.
15416 ($(objpfx)bench-%.c): Remove *-ITER.
15417 * benchtests/bench-modf.c: Remove definition of ITER.
15418 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15419 (main): Loop for DURATION seconds instead of fixed number of
15420 iterations.
15421 * scripts/bench.pl: Don't expect iterations in parameters.
15422
a6a242fe
RM
154232013-04-29 Roland McGrath <roland@hack.frob.com>
15424
15425 * io/fchdir.c (__fchdir): Renamed from fchdir.
15426 (fchdir): Define as weak alias.
15427
f2da7793
JM
154282013-04-29 Joseph Myers <joseph@codesourcery.com>
15429
15430 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15431 (ERRNO_EDOM): Likewise.
15432 (ERRNO_ERANGE): Likewise.
15433 (noErrnoTests): New variable.
15434 (init_max_error): Set errno to 0.
15435 (test_single_errno): New function.
15436 (test_errno): Likewise.
15437 (check_float_internal): Call test_errno. Set errno to 0.
15438 (check_complex): Refer to errno tests in comment.
15439 (check_int): Call test_errno. Set errno to 0.
15440 (check_long): Likewise.
15441 (check_bool): Likewise.
15442 (check_longlong): Likewise.
15443 (cos_test): Use ERRNO_* flags for errno tests instead of
15444 check_int.
15445 (expm1_test): Likewise.
15446 (fmod_test): Likewise.
15447 (ilogb_test): Likewise.
15448 (lgamma_test): Likewise.
15449 (pow_test): Likewise.
15450 (remainder_test): Likewise.
15451 (sin_test): Likewise.
15452 (tan_test): Likewise.
15453 (yn_test): Likewise.
15454 (initialize): Set errno to 0.
15455 (main): Print number of errno tests.
15456 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15457
b1a36ceb
AJ
154582013-04-29 Andreas Jaeger <aj@suse.de>
15459
c3ed8088
AJ
15460 [BZ #15084]
15461 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15462 and RES_USEVC.
15463
f1a24198
AJ
15464 [BZ #15085]
15465 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15466 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15467 unimplemented.
15468
9ce3b2cb
AJ
15469 [BZ #15380]
15470 * stdlib/random.c (__initstate): Return NULL if
15471 __initstate fails.
15472
f1a24198 15473 [BZ #15086]
b1a36ceb
AJ
15474 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15475 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15476 RES_SNGLKUPREOP.
15477
7e7b6f36
AZ
154782013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15479
15480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15481
4d14f449
JM
154822013-04-29 Joseph Myers <joseph@codesourcery.com>
15483
15484 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15485 of individual tests.
15486 (casin_test): Likewise.
15487 (casinh_test): Likewise.
15488
5b4217d7
JM
154892013-04-27 Joseph Myers <joseph@codesourcery.com>
15490
15491 [BZ #15409]
15492 * math/s_catan.c (__catan): Handle arguments with large real or
15493 imaginary part separately without squaring.
15494 * math/s_catanf.c (__catanf): Likewise.
15495 * math/s_catanh.c (__catanh): Likewise.
15496 * math/s_catanhf.c (__catanhf): Likewise.
15497 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15498 and redefine.
15499 (__catanhl): Handle arguments with large real or imaginary part
15500 separately without squaring.
15501 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15502 and redefine.
15503 (__catanl): Handle arguments with large real or imaginary part
15504 separately without squaring.
15505 * math/libm-test.inc (catan_test): Add more tests.
15506 (catanh_test): Likewise.
15507 * sysdeps/i386/fpu/libm-test-ulps: Update.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15509
4220c3ef
AJ
155102013-04-27 Andreas Jaeger <aj@suse.de>
15511
15512 [BZ #15007]
15513 * stdlib/stdlib.h: Update guards for qecvt.
15514 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15515 <stdlib.h>.
15516
4721b2d1
AM
155172013-04-27 Allan McRae <allan@archlinux.org>
15518
15519 * sysdeps/i386/fpu/libm-test-ulps: Update.
15520
f0302940
JM
155212013-04-26 Joseph Myers <joseph@codesourcery.com>
15522
9457fd95
JM
15523 [BZ #15406]
15524 * math/s_catan.c: Include <float.h>.
15525 (__catan): Ensure underflow exception occurs for underflowed
15526 result.
15527 * math/s_catanf.c: Include <float.h>.
15528 (__catanf): Ensure underflow exception occurs for underflowed
15529 result.
15530 * math/s_catanh.c: Include <float.h>.
15531 (__catanh): Ensure underflow exception occurs for underflowed
15532 result.
15533 * math/s_catanhf.c: Include <float.h>.
15534 (__catanhf): Ensure underflow exception occurs for underflowed
15535 result.
15536 * math/s_catanhl.c: Include <float.h>.
15537 (__catanhl): Ensure underflow exception occurs for underflowed
15538 result.
15539 * math/s_catanl.c: Include <float.h>.
15540 (__catanl): Ensure underflow exception occurs for underflowed
15541 result.
15542 * math/libm-test.inc (catan_test): Add more tests.
15543 (catanh_test): Likewise.
15544
f0302940
JM
15545 [BZ #15405]
15546 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15547 underflowed result.
15548 * math/s_ccoshf.c (__ccoshf): Likewise.
15549 * math/s_ccoshl.c (__ccoshl): Likewise.
15550 * math/s_csin.c (__csin): Likewise.
15551 * math/s_csinf.c (__csinf): Likewise.
15552 * math/s_csinh.c (__csinh): Likewise.
15553 * math/s_csinhf.c (__csinhf): Likewise.
15554 * math/s_csinhl.c (__csinhl): Likewise.
15555 * math/s_csinl.c (__csinl): Likewise.
15556 * math/libm-test.inc (ccos_test): Add more tests.
15557 (ccosh_test): Likewise.
15558 (csin_test): Likewise.
15559 (csinh_test): Likewise.
15560
aa630f59
AZ
155612013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15562
15563 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15564 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15565 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15566 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15567 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15568 powerpc/power5+/fpu folders.
15569 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15570
15571
1b835983
MT
155722013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15573
15574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15575
73709b26
JM
155762013-04-25 Joseph Myers <joseph@codesourcery.com>
15577
15578 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15579 additions to variable.
15580 [$(config-machine) = x86_64] (modules-names): Likewise.
15581 ($(objpfx)tst-audit3): Remove dependency.
15582 ($(objpfx)tst-audit3.out): Likewise.
15583 ($(objpfx)tst-audit4): Likewise.
15584 ($(objpfx)tst-audit4.out): Likewise.
15585 ($(objpfx)tst-audit5): Likewise.
15586 ($(objpfx)tst-audit5.out): Likewise.
15587 ($(objpfx)tst-audit6): Likewise.
15588 ($(objpfx)tst-audit6.out): Likewise.
15589 ($(objpfx)tst-audit7): Likewise.
15590 ($(objpfx)tst-audit7.out): Likewise.
15591 (tst-audit3-ENV): Remove variable.
15592 (tst-audit4-ENV): Likewise.
15593 (tst-audit5-ENV): Likewise.
15594 (tst-audit6-ENV): Likewise.
15595 (tst-audit7-ENV): Likewise.
15596 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15597 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15598 addition to variable.
15599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15601 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15602 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15603 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15604 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15605 tst-audit3, tst-audit4 and tst-audit5.
15606 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15607 tst-audit6 and tst-audit7.
15608 [$(subdir) = elf] (modules-names): Add audit modules for those
15609 tests.
15610 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15611 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15612 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15613 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15614 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15615 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15616 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15617 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15618 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15619 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15620 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15621 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15622 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15623 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15624 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15625 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15626 Likewise.
15627 [$(subdir) = elf && $(config-cflags-avx) = yes]
15628 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15629 [$(subdir) = elf && $(config-cflags-avx) = yes]
15630 (CFLAGS-tst-auditmod4a.c): Likewise.
15631 [$(subdir) = elf && $(config-cflags-avx) = yes]
15632 (CFLAGS-tst-auditmod4b.c): Likewise.
15633 [$(subdir) = elf && $(config-cflags-avx) = yes]
15634 (CFLAGS-tst-auditmod6b.c): Likewise.
15635 [$(subdir) = elf && $(config-cflags-avx) = yes]
15636 (CFLAGS-tst-auditmod6c.c): Likewise.
15637 [$(subdir) = elf && $(config-cflags-avx) = yes]
15638 (CFLAGS-tst-auditmod7b.c): Likewise.
15639 * elf/tst-audit3.c: Move to ...
15640 * sysdeps/x86_64/tst-audit3.c: ... here.
15641 * elf/tst-audit4.c: Move to ...
15642 * sysdeps/x86_64/tst-audit4.c: ... here.
15643 * elf/tst-audit5.c: Move to ...
15644 * sysdeps/x86_64/tst-audit5.c: ... here.
15645 * elf/tst-audit6.c: Move to ...
15646 * sysdeps/x86_64/tst-audit6.c: ... here.
15647 * elf/tst-audit7.c: Move to ...
15648 * sysdeps/x86_64/tst-audit7.c: ... here.
15649 * elf/tst-auditmod3a.c: Move to ...
15650 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15651 * elf/tst-auditmod3b.c: Move to ...
15652 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15653 * elf/tst-auditmod4a.c: Move to ...
15654 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15655 * elf/tst-auditmod4b.c: Move to ...
15656 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15657 * elf/tst-auditmod5a.c: Move to ...
15658 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15659 * elf/tst-auditmod5b.c: Move to ...
15660 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15661 * elf/tst-auditmod6a.c: Move to ...
15662 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15663 * elf/tst-auditmod6b.c: Move to ...
15664 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15665 * elf/tst-auditmod6c.c: Move to ...
15666 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15667 * elf/tst-auditmod7a.c: Move to ...
15668 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15669 * elf/tst-auditmod7b.c: Move to ...
15670 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15671
1ef74943
PP
156722013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15673
15674 [BZ #15366]
15675 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15676 define unconditionally.
15677 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15678 define unconditionally.
15679 (INT8_C, INT16_C, etc.): Likewise.
15680
93fd48c5
MR
156812013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15682
ae9552cf
MR
15683 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15684 __ehdr_start with hidden visibility.
15685
93fd48c5
MR
15686 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15687
418601aa
CD
156882013-04-24 Carlos O'Donell <carlos@redhat.com>
15689
15690 * math/libm-test.inc (cos_test): Use accurate hex constants.
15691 (sincost_test): Likewise.
15692
2f38fbfe
JM
156932013-04-24 Joseph Myers <joseph@codesourcery.com>
15694
5e221800
JM
15695 * math/libm-test.inc (catan_test): Add more tests.
15696 (catanh_test): Likewise.
15697
77f143fd
JM
15698 * math/s_catanf.c (__catanf): Use suffixed floating-point
15699 constants.
15700 * math/s_catanhf.c (__catanhf): Likewise.
15701 * math/s_catanhl.c (__catanhl): Likewise.
15702 * math/s_catanl.c (__catanl): Likewise.
15703
2f38fbfe
JM
15704 [BZ #15394]
15705 * math/s_catan.c (__catan): Calculate imaginary part of result
15706 with log1p not log unless computing log of number close to 0.
15707 * math/s_catanf.c (__catanf): Likewise.
15708 * math/s_catanl.c (__catanl): Likewise.
15709 * math/s_catanh.c (__catanh): Calculate real part of result with
15710 log1p not log unless computing log of number close to 0.
15711 * math/s_catanhf.c (__catanhf): Likewise.
15712 * math/s_catanhl.c (__catanhl): Likewise.
15713 * math/libm-test.inc (catan_test): Add more tests.
15714 (catanh_test): Likewise.
15715 * sysdeps/i386/fpu/libm-test-ulps: Update.
15716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717
45d69176
SP
157182013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15719
15720 * benchtests/Makefile: Mention files in which fast and slow
15721 paths of math functions are implemented.
15722
87f51853
RM
157232013-04-23 Roland McGrath <roland@hack.frob.com>
15724
15725 * sysdeps/posix/timespec_get.c: New file.
15726
3c026539
AZ
157272013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15728
15729 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15730 POWER.
15731 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15732 for POWER.
15733 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15734 powerpc/power5/fpu folders.
15735 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15736 * benchtests/Makefile: Add modf testcase.
15737 * benchtests/bench-modf.c: New file: Benchmark test for mo
15738
ff491d14
SP
157392013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15740
15741 [BZ #14888]
15742 * time/Makefile (tests): Add tst-strptime-whitespace.
15743 * time/strptime_l.c (get_number): Use ISSPACE.
15744 (__strptime_internal): Likewise.
15745 * time/tst-strptime-whitespace.c: New test case.
15746
7ed3f4e8
AS
157472013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15748
15749 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15750 member.
15751 (_nss_files_init): Set it here.
15752
5c95f7b6
HC
157532013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15754
15755 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15756 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15757 unsigned.
15758
d34c9158
JBG
157592013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15760
15761 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15762
2169712d
SP
157632013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15764
15765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15766 size just once.
15767
29c5de99
DM
157682013-04-21 David S. Miller <davem@davemloft.net>
15769
15770 * po/ru.po: Update Russion translation from translation project.
15771
ccdad15d
AC
157722013-04-17 Adam Conrad <adconrad@0c3.net>
15773
15774 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15775 and setfsgid.
15776
0f122b8d
CD
157772013-04-17 Carlos O'Donell <carlos@redhat.com>
15778
5c5b07da 15779 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15780 * configure: Regenerate.
5c5b07da 15781 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15782 Add example to error message.
15783 * sysdeps/i386/configure: Regenerate.
15784
037714dd
SP
157852013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15786
15787 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15788 slowtan.
15789 * benchtests/cos-inputs: New file.
15790 * benchtests/slowcos-inputs: New file.
15791 * benchtests/slowcos.c: New file.
15792 * benchtests/slowtan-inputs: New file.
15793 * benchtests/slowtan.c: New file.
15794 * benchtests/tan-inputs: New file.
15795
e913141d
RM
157962013-04-16 Roland McGrath <roland@hack.frob.com>
15797
15798 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15799 considered kosher.
15800
a2964074
SP
158012013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15802
4856bcd2
SP
15803 * benchtests/Makefile: Include cppflags-iterator.mk to add
15804 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15805
a2964074
SP
15806 * Makefile.in (bench-clean): New target.
15807 * benchtests/Makefile (bench-clean): Likewise.
15808
9fbf9aca
DH
158092013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15810
15811 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15812
207d1e2a
TS
158132013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15814
15815 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15816
306dfba9
AS
158172013-04-15 Andreas Schwab <schwab@suse.de>
15818
15819 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15821 * nscd/pwdcache.c (cache_addpw): Likewise.
15822 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15823 more than recsize.
15824
206a6699
SP
158252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15826
15827 * benchtests/Makefile (bench): Write all output to
15828 bench-out.tmp together.
15829
0582f6b3
AS
158302013-04-15 Andreas Schwab <schwab@suse.de>
15831
15832 * nscd/nscd.c (main): Don't fork again after closing files.
15833
acb4325f
SP
158342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15835
5cb26d0a
SP
15836 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15837
acb4325f
SP
15838 * benchtests/Rules (bench-deps): Collect dependencies into a
15839 single variable. Add Makefile to dependencies.
15840 ($(objpfx)bench-%.c): Depend on bench-deps.
15841
47792506
RM
158422013-04-12 Roland McGrath <roland@hack.frob.com>
15843 Xavier Roche <roche+kml2@exalead.com>
15844
15845 [BZ #15361]
15846 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15847 just that it's a file descriptor.
15848 * manual/llio.texi (Synchronizing AIO Operations): Update description
15849 for EBADF error from aio_fsync.
15850
8fc1bee5
SP
158512013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15852
15853 * Rules (bench): Move target definition...
15854 * benchtests/Makefile: ... here.
15855
aba5e333
CD
158562013-04-11 Carlos O'Donell <carlos@redhat.com>
15857
15858 * math/libm-test.inc (cos_test): Fix PI/2 test.
15859 (sincos_test): Likewise.
15860 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15861 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15862
273cdee8
AS
158632013-04-11 Andreas Schwab <schwab@suse.de>
15864
6ecec3b6
AS
15865 [BZ #13988]
15866 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15867 accept exponent character only when digits were seen.
15868 * stdio-common/Makefile (tests): Add bug26.
15869 * stdio-common/bug26.c: New file.
15870
273cdee8
AS
15871 [BZ #14293]
15872 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15873 non-freeable.
15874
8da491f5
SP
158752013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15876
01dc6df9
SP
15877 * Makeconfig (rtld-prefix): Define built linker prefix.
15878 * Rules (run-bench): Use it.
15879 * math/Makefile (run-regen-ulps): Likewise.
15880
8da491f5
SP
15881 * Rules (bench): Remove eval.
15882
abe7f530
SP
158832013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15884 Roland McGrath <roland@hack.frob.com>
15885 Ondrej Bilka <neleai@seznam.cz>
15886
15887 [BZ #15346]
15888 * time/getdate.c: Include ctype.h and alloca.h.
15889 (__getdate_r): Trim leading and trailing spaces of input.
15890 * time/tst-getdate.c (tests): Add tests with leading and
15891 trailing spaces.
15892
61c23e62
RM
158932013-04-08 Roland McGrath <roland@hack.frob.com>
15894
15895 [BZ #14280]
15896 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15897 when computing value.
15898
7208a313
CD
158992013-04-06 Carlos O'Donell <carlos@redhat.com>
15900
085b2d41
CD
15901 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15902 Use testrun.sh to run libm tests.
15903
7208a313
CD
15904 [BZ #15309]
15905 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15906
872c0acd
MM
159072013-04-06 Marko Myllynen <myllynen@redhat.com>
15908
15909 [BZ #15264]
15910 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15911
26510bdd
CD
159122013-04-06 Carlos O'Donell <carlos@redhat.com>
15913
15914 * Makefile.in (regen-ulps): New target.
15915 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15916 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15917 [ifneq (no,$(PERL)] (regen-ulps): New target.
15918 [ifeq (no,$(PERL)] (regen-ulps): New target.
15919 * math/libm-test.inc (ulps_file_name): Define.
15920 (output_dir): New variable.
15921 (options): Add "output-dir" option.
15922 (parse_opt): Handle 'o' case.
15923 (main): If output_dir is non-NULL use it as a prefix
15924 otherwise use "".
15925 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15926
a01f19c8
CD
159272013-04-06 Carlos O'Donell <carlos@redhat.com>
15928
15929 [BZ #10060, #10062]
15930 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15931 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15932 fail configure if __sync_val_compare_and_swap is not inlined.
15933 * sysdeps/i386/configure: Regenerate.
15934 * configure.in: Build for i686 when configured for i386.
15935 * configure: Regenerate.
15936 * README: Remove i386 reference.
15937
b7a329a5
CD
159382013-04-06 Carlos O'Donell <carlos@redhat.com>
15939
15940 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15942
bf0f50df
TS
159432013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15944
ee091edf
TS
15945 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15946 (lmsnanval): New variables.
15947 (F): Add conversion tests.
15948 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15949 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15950
a8b792d6
TS
15951 * stdio-common/tstdiomisc.c (F): Properly collect individual
15952 tests' results.
15953
a1cbf437
TS
15954 [BZ #14686, #15336]
15955 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15956 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15957 Instead, use input NaN values or generate a qNaN by arithmetic
15958 operation. Also fix bugs to comply with the standard.
15959 * math/libm-test.inc (remainder_test): Add more tests.
15960
8b43a0c9
TS
15961 [BZ #15335, #15342]
15962 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15964 input NaN values or generate a qNaN by arithmetic operation.
15965
d91da4ce
TS
15966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15967 unreachable code.
15968
bf0f50df
TS
15969 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15970 definitions.
15971
05e166c8
JM
159722013-04-03 Joseph Myers <joseph@codesourcery.com>
15973
15974 [BZ #14478]
15975 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15976 underflowed result.
15977 * math/s_cexpf.c (__cexpf): Likewise.
15978 * math/s_cexpl.c (__cexpl): Likewise.
15979 * math/libm-test.inc (cexp_test): Add more tests.
15980
1cef1b19
AS
159812013-04-03 Andreas Schwab <schwab@suse.de>
15982
15983 [BZ #15330]
15984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15985 order arrays from heap if bigger than alloca cutoff.
15986
74d87055
TS
159872013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15988
15989 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15990 (SNAN_TESTS_double): Refer to GCC PR56831.
15991 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15992 GCC PR56828.
15993
d755bba4
SP
159942013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15995
90d5d5bb
SP
15996 * Rules (bench): Move bench.out after the run is complete.
15997
73e0cd5d
SP
15998 * Rules (bench): Echo currently running benchmark.
15999
64aabd4b
SP
16000 * benchtests/Makefile (bench): Add atan and slowatan.
16001 * benchtests/atan-inputs: New file.
16002 * benchtests/slowatan-inputs: New file.
16003 * benchtests/slowatan.c: New file.
16004
c871eccd
SP
16005 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16006 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16007 its value.
16008
d755bba4
SP
16009 [BZ #15305]
16010 * sysdeps/unix/sysv/linux/kernel-features.h
16011 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16012 __ASSUME_XFS_RESTRICTED_CHOWN.
16013 * sysdeps/unix/sysv/linux/pathconf.c
16014 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16015 Save and restore errno.
16016
52ce4860
JM
160172013-04-02 Joseph Myers <joseph@codesourcery.com>
16018
16019 [BZ #15327]
16020 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16021 arguments using __kernel_casinh.
16022 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16023 arguments using __kernel_casinhf.
16024 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16025 arguments using __kernel_casinhl.
16026 * math/libm-test.inc (cacosh_test): Add more tests.
16027 * sysdeps/i386/fpu/libm-test-ulps: Update.
16028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16029
81f311c2
SP
160302013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16031
e7906a47
SP
16032 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16034
92e3664b
SP
16035 * bench/Makefile (bench): Add sin and slowsin.
16036 * benchtests/sin-inputs: New file.
16037 * benchtests/slowsin-inputs: New file.
16038 * benchtests/slowsin.c: New file.
16039
81f311c2
SP
16040 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16041 (bench): Add slowexp and slowpow.
16042 (exp-ITER): Increase iterations.
16043 (pow-ITER): Likewise.
16044 * benchtests/exp-inputs: Change input.
16045 * benchtests/pow-inputs: Likewise.
16046 * benchtests/slowexp-inputs: New file.
16047 * benchtests/slowexp.c: New file.
16048 * benchtests/slowpow-inputs: New file.
16049 * benchtests/slowpow.c: New file.
16050
ab0f1aa9
AZ
160512013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16052
16053 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16054 instructions.
16055 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16056 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16057 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16058 * benchtests/Makefile: Add rint benchtest.
16059 * benchtests/rint-inputs: Input for rint benchtest.
16060
57267616
TS
160612013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16062
16063 * Versions.def (libm): Add GLIBC_2.18.
16064 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16065 hidden libm prototypes.
16066 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16067 * math/Makefile (libm-calls): Add s_issignaling.
16068 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16069 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16070 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16071 declaration.
16072 * math/math.h [__USE_GNU] (issignaling): New macro.
16073 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16074 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16075 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16079 * manual/arith.texi (issignaling): New section.
16080 * manual/libm-err-tab.pl (@all_functions): Update comment.
16081 * math/gen-libm-test.pl (parse_args): Apply special handling for
16082 issignaling.
16083 * math/libm-test.inc (print_float, issignaling_test): New
16084 functions.
16085 (check_float_internal): Add issignaling checks.
16086 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16087 default definition.
16088 * sysdeps/powerpc/math-tests.h: New file.
16089 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16090 tests.
16091 * math/test-snan.c (TEST_FUNC): Likewise.
16092
6142896d
DM
160932013-03-30 David S. Miller <davem@davemloft.net>
16094
16095 * po/de.po: Update from translation team.
16096
ccc8cadf
JM
160972013-03-30 Joseph Myers <joseph@codesourcery.com>
16098
16099 [BZ #10357]
16100 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16101 imaginary part less than 1.0 and real part less than 0.5
16102 specially.
16103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16105 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16106 (cacos_test): Add more tests.
16107 (casin_test): Likewise.
16108 (casinh_test): Likewise.
16109 * sysdeps/i386/fpu/libm-test-ulps: Update.
16110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16111
0f6a8d4b
SP
161122013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16113
0d1029de
SP
16114 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16115 ONE with its value.
16116
c2d94018
SP
16117 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16118 (__pow_mp): Replace ONE and MONE with their values.
16119 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16121 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16122 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16123 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16125
27ec37f1
SP
16126 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16127
a64d7e0e
SP
16128 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16129 (__pow_mp): Replace ZERO and MZERO with their values.
16130 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16132 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16134 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16135 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16136 (__sqr): Likewise.
16137
d26dd3eb
SP
16138 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16139
0f6a8d4b
SP
16140 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16141
e57b0c61
RM
161422013-03-28 Roland McGrath <roland@hack.frob.com>
16143
16144 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16145 Declare with __attribute__ ((weak)).
16146 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16147 Call __call_tls_dtors only if it's not NULL.
16148
356b3480
RM
161492013-03-28 Roland McGrath <roland@hack.frob.com>
16150
288f7d79
RM
16151 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16152 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16153 magic __ehdr_start linker symbol if it's defined.
16154 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16155 them up here if it was already done.
16156
dc0a0263
RM
16157 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16158 (_dl_aux_init): Use const in cast when setting it.
16159 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16160 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16161 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16162
3d3436ae
RM
16163 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16164 Declare them here.
16165 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16166 * csu/libc-tls.c: Nor here.
16167 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16168
356b3480
RM
16169 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16170 (__libc_message): Never call vsyslog.
16171
b0f1246a
AM
161722013-03-28 Alan Modra <amodra@gmail.com>
16173
16174 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16175 Define as empty.
16176 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16177 Likewise.
16178
fbbe2b9a
AZ
161792013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16180
16181 [BZ #15214]
16182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16183 underflow.
16184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16185
1728ab37
SP
161862013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16187
7a86be6e
SP
16188 [BZ #15304]
16189 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16190 Don't add gid passed as argument.
16191
1728ab37
SP
16192 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16193
3a7182a1
JM
161942013-03-27 Joseph Myers <joseph@codesourcery.com>
16195
16196 [BZ #15307]
16197 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16198 imaginary part between 1.0 and 1.5 and real part less than 0.5
16199 specially.
16200 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16201 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16202 * math/libm-test.inc (cacos_test): Add more tests.
16203 (casin_test): Likewise.
16204 (casinh_test): Likewise.
16205 * sysdeps/i386/fpu/libm-test-ulps: Update.
16206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16207
6f2e90e7
SP
162082013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16209
5739f705
SP
16210 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16211 constants.
16212 (norm): Likewise.
16213 (denorm): Likewise.
16214 (__dbl_mp): Likewise.
16215 (add_magnitudes): Likewise.
16216 (sub_magnitudes): Likewise.
16217 (__add): Likewise.
16218 (__sub): Likewise.
16219 (__mul): Likewise.
16220 (__sqr): Likewise.
16221 (__inv): Likewise.
16222 (__dvd): Likewise.
16223
e375e83d
SP
16224 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16225 commented code.
16226 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16227 (__dubcos): Likewise.
16228 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16229 (__ieee754_acos): Likewise.
16230 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16231 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16232 (__exp1): Likewise.
16233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16235 (log1): Likewise.
16236 (my_log2): Likewise.
16237 (checkint): Likewise.
16238 * sysdeps/ieee754/dbl-64/e_remainder.c
16239 (__ieee754_remainder): Likewise.
16240 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16242 (bsloww): Likewise.
16243 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16244
6f2e90e7
SP
16245 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16246 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16247 MANTISSA_STORE_T to store computations on mantissa. Use
16248 macros for rounding and division.
16249 (denorm): Likewise.
16250 (__dbl_mp): Likewise.
16251 (add_magnitudes): Likewise.
16252 (sub_magnitudes): Likewise.
16253 (__mul): Likewise.
16254 (__sqr): Likewise.
16255 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16256 powers of two in terms of TWOPOW macro.
16257 (mp_no): Make type of mantissa as MANTISSA_T.
16258 [!RADIXI]: Define RADIXI.
16259 [!TWO52]: Define TWO52.
16260 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16261
fce14d4e
AZ
162622013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16263
16264 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16265 llroundl symbol when building for PPC32.
16266
9ad027fb
MW
162672013-03-24 Mark H Weaver <mhw@netris.org>
16268
16269 * manual/arith.texi (Normalization Functions): Fix prototypes for
16270 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16271
e42a38dd
AZ
162722013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16273
16274 [BZ #13889]
16275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16276 high value to check if expl overflow.
16277 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16278 to check for underflow and overflow.
16279 * math/libm-test.inc: Add exp test.
16280
2e0fb521
DL
162812013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16282
16283 [BZ #11120]
16284 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16285 with NOT_IN_libc.
16286
b5784d95
AZ
162872013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16288
16289 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16290 symbol.
16291
5aa4a1a1
TS
162922013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16293
bdef0be7
TS
16294 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16295 wrap blocks consisting of several statements.
16296
5aa4a1a1
TS
16297 * sysdeps/generic/math-tests.h: New file.
16298 * sysdeps/i386/fpu/math-tests.h: Likewise.
16299 * math/test-snan.c: Include it.
16300 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16301
98c48fe5
JM
163022013-03-21 Joseph Myers <joseph@codesourcery.com>
16303
16304 [BZ #15285]
16305 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16306 (__ieee754_j0l): Do not improve calculations using cos of twice
16307 input for inputs above LDBL_MAX / 2.0L.
16308 (__ieee754_y0l): Likewise.
16309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16310 (__ieee754_j1l): Do not improve calculations using cos of twice
16311 input for inputs above LDBL_MAX / 2.0L.
16312 (__ieee754_y1l): Likewise.
16313 * math/libm-test.inc (j0_test): Add another test.
16314 (j1_test): Likewise.
16315 (y0_test): Likewise.
16316 (y1_test): Likewise.
16317 * sysdeps/i386/fpu/libm-test-ulps: Update.
16318
3775a8bc
SP
163192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16320
16321 * Rules ($(objpfx)bench-%.c): Include code from a C source
16322 file.
16323
0a1b2ae6
JM
163242013-03-21 Joseph Myers <joseph@codesourcery.com>
16325
16326 [BZ #15287]
16327 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16328 imaginary part 1.0 and real part less than 0.5 specially.
16329 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16330 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16331 * math/libm-test.inc (cacos_test): Add more tests.
16332 (casin_test): Likewise.
16333 (casinh_test): Likewise.
16334 * sysdeps/i386/fpu/libm-test-ulps: Update.
16335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16336
b33d4ce4
SP
163372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16338
16339 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16340 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16341
bef0b507
JM
163422013-03-20 Joseph Myers <joseph@codesourcery.com>
16343
16344 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16345 * config.make.in (config-cflags-sse4): Remove variable.
16346 (config-cflags-avx): Likewise.
16347 (config-cflags-sse2avx): Likewise.
16348 (config-cflags-novzeroupper): Likewise.
16349 (config-asflags-i686): Likewise.
16350 (have-mfma4): Likewise.
16351 (have-as-vis3): Likewise.
16352 (MIG): Likewise.
16353 * configure.in (MIG): Do not AC_SUBST.
16354 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16355 (libc_cv_cc_sse4): Do not AC_SUBST.
16356 (libc_cv_cc_avx): Likewise.
16357 (libc_cv_cc_sse2avx): Likewise.
16358 (libc_cv_cc_novzeroupper): Likewise.
16359 (libc_cv_cc_fma4): Likewise.
16360 (libc_cv_as_i686): Likewise.
16361 (libc_cv_sparc_as_vis3): Likewise.
16362 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16363 LIBC_CONFIG_VAR.
16364 (config-asflags-i686): Likewise.
16365 (config-cflags-avx): Likewise.
16366 (config-cflags-sse2avx): Likewise.
16367 (have-mfma4): Likewise.
16368 (config-cflags-novzeroupper): Likewise.
16369 * sysdeps/mach/configure.in (MIG): Likewise.
16370 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16371 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16372 LIBC_CONFIG_VAR.
16373 (config-cflags-avx): Likewise.
16374 (config-cflags-sse2avx): Likewise.
16375 (have-mfma4): Likewise.
16376 (config-cflags-novzeroupper): Likewise.
16377 * configure: Regenerated.
16378 * sysdeps/i386/configure: Likewise.
16379 * sysdeps/mach/configure: Likewise.
16380 * sysdeps/sparc/configure: Likewise.
16381 * sysdeps/x86_64/configure: Likewise.
16382
912cc4b3
RM
163832013-03-20 Roland McGrath <roland@hack.frob.com>
16384
16385 [BZ #14812]
16386 * locale/programs/localedef.c (options): Put N_ translation marker
16387 on argument names, not just descriptions.
16388
04eed2b0
MS
163892013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16390
16391 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16392
a065ceff
OB
163932013-03-20 Ondřej Bílka <neleai@seznam.cz>
16394
9bb2a810 16395 [BZ #14176]
a065ceff
OB
16396 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16397
a600e5ce
RM
163982013-03-19 Roland McGrath <roland@hack.frob.com>
16399
16400 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16401 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16402 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16403 [!BEFORE_ABORT] (before_abort): New function.
16404 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16405 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16406 (writev_for_fatal): New function.
16407 (WRITEV_FOR_FATAL): New macro; call that.
16408 (backtrace_and_maps): New function.
16409 (BEFORE_ABORT): New macro; call that.
16410 (struct str_list): Type removed.
16411 (__libc_message, __libc_fatal): Functions removed.
16412 Include <sysdeps/posix/libc_fatal.c> instead.
16413
6b18bea6
JM
164142013-03-19 Joseph Myers <joseph@codesourcery.com>
16415
16416 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16417 constants.
16418 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16419 double constants.
16420
aaa8cb4b
AS
164212013-03-19 Andreas Schwab <schwab@suse.de>
16422
44673770
AS
16423 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16424 * sysdeps/gnu/configure: Regenerate.
16425
aaa8cb4b
AS
16426 * configure.in: Substitute libc_cv_rtlddir.
16427 * configure: Regenerate.
16428 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16429 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16430 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16431 * elf/Makefile (install-others, CFLAGS-interp.c)
16432 (ldso_install, common-ldd-rewrite): Likewise.
16433 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16434 $(inst_slibdir)/$(rtld-installed-name).
16435 * scripts/rellns-sh: Add -p option.
16436 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16437 for source.
16438
d3cfc668
SP
164392013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16440
16441 * manual/nptl.texi: Renamed to ...
16442 * manual/threads.texi: ... this.
16443 * manual/Makefile (chapters): Update.
16444
0e2b9cdd
RM
164452013-03-18 Roland McGrath <roland@hack.frob.com>
16446
16447 [BZ #14812]
16448 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16449 on argument names, not just descriptions.
0e2b9cdd
RM
16450 * malloc/memusagestat.c (options): Likewise.
16451 * nss/getent.c (options): Likewise.
63270c24
RM
16452
164532013-03-18 Benno Schulenberg <bensberg@justemail.net>
16454
16455 [BZ #14812]
16456 * iconv/iconv_prog.c (options): Put N_ translation marker
16457 on argument names, not just descriptions.
16458 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16459
b2e1393c
OB
164602013-03-18 Ondrej Bilka <neleai@seznam.cz>
16461
16462 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16463 implementation which is faster on all x86_64 architectures.
16464 Tested on AMD, Intel Nehalem, SNB, IVB.
16465 * sysdeps/x86_64/strnlen.S: Likewise.
16466
16467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16468 Remove all multiarch strlen and strnlen versions.
16469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16470 Remove strlen and strnlen related parts.
16471
16472 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16473 Inline strlen part.
16474 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16475
16476 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16477 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16478 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16479 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16480 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16481 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16482
ec4ff04d
CD
164832013-03-17 Carlos O'Donell <carlos@redhat.com>
16484
16485 * manual/memory.texi (Malloc Tunable Parameters):
16486 Sort parameters alphabetically. Add comments for missing entries.
16487
cd18e90a
DM
164882013-03-17 David S. Miller <davem@davemloft.net>
16489
16490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16491
2a185d32
JM
164922013-03-16 Joseph Myers <joseph@codesourcery.com>
16493
d2f9799e
JM
16494 [BZ #15283]
16495 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16496 for arguments at most half maximum finite value.
16497 * math/libm-test.inc (j0_test): Add more tests.
16498 (j1_test): Likewise.
16499 (y0_test): Likewise.
16500 (y1_test): Likewise.
16501 * sysdeps/i386/fpu/libm-test-ulps: Update.
16502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16503
2a185d32
JM
16504 [BZ #14155]
16505 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16506 1 / x and functions P and Q for arguments above 0x1p256L.
16507 (__ieee754_y0l): Likewise.
16508 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16509 (__ieee754_y1l): Likewise.
16510 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16511 (j1_test): Likewise.
16512 (y0_test): Likewise.
16513 (y1_test): Likewise.
16514
6cbec759
TS
165152013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16516
16517 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16518 variable.
16519
bc16e260
RM
165202013-03-15 Roland McGrath <roland@hack.frob.com>
16521
aefc9b8c
RM
16522 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16523 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16524 zero since it's initialized to EXEC_PAGESIZE.
16525
bc16e260
RM
16526 * sysdeps/unix/sysv/linux/ldsodefs.h
16527 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16528 * sysdeps/generic/ldsodefs.h: ... here.
16529
a57da955
TS
165302013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16531
af00a34d
TS
16532 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16533
495ded2c
TS
16534 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16535 math/test-snan.c.
16536 * math/test-snan.c: Renamed from
16537 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16538 * math/Makefile (tests): Add test-snan.
16539 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16540 test-powerpc-snan.
16541
777b0332
TS
16542 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16543 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16544 functions.
16545 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16546 __builtin_nan family of functions.
16547 * math/libm-test.inc (initialize): Initialize qnan_value with
16548 __builtin_nan family of functions.
16549 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16550 Remove variables.
16551 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16552 Remove functions.
16553 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16554 storage class. Initialize qNaN_var and sNaN_var with
16555 __builtin_nan and __builtin_nans families of functions,
16556 respectively.
16557
64d063b8
TS
16558 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16559 (sqrt_test): Remove duplicate test with qNaN input.
16560 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16561 (round_test, signbit_test, significand_test): Note missing +/-Inf
16562 as well as qNaN tests.
16563
67e971f1
TS
16564 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16565 qNaN_var. Fix a few strings, too.
16566 * math/libm-test.inc (nan_value): Rename to qnan_value.
16567 * math/gen-libm-test.pl (%beautify): Adjust to that.
16568 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16569 * math/test-misc.c (main): Likewise.
16570 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16571 to __qnan_bytes, and __qnan_union, respectively.
16572 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16573 Likewise.
16574 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16575 and lqnanval, respectively.
16576 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16577 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16578 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16579 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16580
64487e12
TS
16581 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16582 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16583 doubles.
16584
e015e27b
TS
16585 * math/test-misc.c (main): Fix copy'n'pastos.
16586 * misc/tst-efgcvt.c (special): Likewise.
16587
a57da955
TS
16588 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16589 Remove declarations.
16590
1e380345
SP
165912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16592
16593 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16594 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16595 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16596 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16597
ef26eece
AZ
165982013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16599
16600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16601 macro to return vdso values correctly in IFUNC implementations.
16602 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16603 Optimization by using IFUNC.
16604
8cfdb7e0
SP
166052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16606 Richard Henderson <rth@redhat.com>
16607 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16608
16609 * Makefile.in (bench): New target.
16610 * NEWS: Mention the benchmark framework.
16611 * Rules (bench): Likewise.
16612 (binaries-bench): Generate binaries for functions to
16613 benchmark.
16614 * benchtests/Makefile: New makefile for benchmark tests.
16615 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16616 programs.
16617 * benchtests/exp-inputs: New input file for EXP function.
16618 * benchtests/pow-inputs: New input file for POW function.
16619 * scripts/bench.pl: New script to generate source files for
16620 benchmark programs.
16621
bcda9880
SP
166222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16623
d22ca8cd
SP
16624 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16625 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16626 computations on mantissa. Use macros for rounding and
16627 division.
16628 (denorm): Likewise.
16629 (__dbl_mp): Likewise.
16630 (add_magnitudes): Likewise.
16631 (sub_magnitudes): Likewise.
16632 (__mul): Likewise.
16633 (__sqr): Likewise.
16634 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16635 powers of two in terms of TWOPOW macro.
16636 (mp_no): Make type of mantissa as MANTISSA_T.
16637 [!RADIXI]: Define RADIXI.
16638 [!TWO52]: Define TWO52.
16639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16640
bcda9880
SP
16641 * manual/nptl.texi (cindex): Modify threads to pthreads.
16642
06d5adfb
JM
166432013-03-15 Joseph Myers <joseph@codesourcery.com>
16644
16645 * sysdeps/x86_64/preconfigure: Regenerated.
16646
41c7328e
JM
166472013-03-14 Joseph Myers <joseph@codesourcery.com>
16648
16649 [BZ #14155]
16650 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16651 0x1p28 and above.
16652 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16653 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16654 0x1p28 and above.
16655 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16656 * math/libm-test.inc (j0_test): Do not allow one spurious
16657 underflow exception.
16658 (y1_test): Likewise.
16659
e25cfa60
SP
166602013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16661
0409959c
SP
16662 * manual/Makefile (chapters): Add nptl.
16663 * manual/debug.texi (Debugging Support): Add link to Threads
16664 chapter.
16665 * manual/nptl.texi: New file.
16666
e25cfa60
SP
16667 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16668
58a1335e
PB
166692013-03-14 Petr Baudis <pasky@ucw.cz>
16670
16671 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16672 for non-NULL pointer before the memory validity test. Pointed
16673 out by Holger Brunck <holger.brunck@keymile.com>.
16674
9dc7c64f
AS
166752013-03-13 Andreas Schwab <schwab@suse.de>
16676
16677 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16678 instead of .os.
16679
54206aa6
JM
166802013-03-13 Joseph Myers <joseph@codesourcery.com>
16681
16682 * timezone/zic.c: Update from tzcode 2013b.
16683
e98cdb38
CD
166842013-03-12 Carlos O'Donell <carlos@redhat.com>
16685
16686 * manual/install.texi (Configuring and compiling):
16687 Mention i686 and i586.
16688 * INSTALL: Regenerate.
16689
9967e003
RM
166902013-03-12 Roland McGrath <roland@hack.frob.com>
16691
16692 * sysdeps/init_array/elf-init.c: New file.
16693 * csu/elf-init.c
16694 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16695 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16696
16697 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16698 __gmon_start__ as global, but as static with a .preinit_array pointer.
16699 * sysdeps/init_array/gmon-start.c: New file. Use that.
16700 * sysdeps/init_array/crti.S: New file, empty except for comments.
16701 * sysdeps/init_array/crtn.S: Likewise.
16702
e6b5a293 167032013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16704
16705 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16706 definining bcopy.
80f844c9
OB
16707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16708 Remove Prefer_SSE_for_memop.
16709 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16710 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16711 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16713 memset-x86-64.
80f844c9 16714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16715 Remove bzero, memset ifunc support.
80f844c9
OB
16716 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16717 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16718 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16719 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16720
fb6b0fcb
AS
167212013-03-11 Andreas Schwab <schwab@suse.de>
16722
16723 [BZ #15234]
16724 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16725 by SHLIB_COMPAT.
16726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16727 (GLIBC_2.16): Remove pthread_atfork.
16728
3e6bd4b1
PP
167292013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16730
16731 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16732 (ptestcases.h): Likewise.
16733
222d7f00
RM
167342013-03-08 Roland McGrath <roland@hack.frob.com>
16735
16736 * Makeconfig ($(common-objpfx)config.status): Depend on
16737 sysdeps/*/preconfigure{,.in} too.
16738
1ba4f030
JM
167392013-03-08 Joseph Myers <joseph@codesourcery.com>
16740
a222d91a
JM
16741 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16742 (__free_hook): Use void * instead of __malloc_ptr_t.
16743 (__malloc_hook): Likewise.
16744 (__realloc_hook): Likewise.
16745 (__memalign_hook): Likewise.
16746 (__after_morecore_hook): Likewise.
16747 * malloc/arena.c (save_malloc_hook): Likewise.
16748 (save_free_hook): Likewise.
16749 * malloc/hooks.c (malloc_hook_ini): Likewise.
16750 (realloc_hook_ini): Likewise.
16751 (memalign_hook_ini): Likewise.
16752 * malloc/malloc.c (malloc_hook_ini): Likewise.
16753 (realloc_hook_ini): Likewise.
16754 (memalign_hook_ini): Likewise.
16755 (__free_hook): Likewise.
16756 (__malloc_hook): Likewise.
16757 (__realloc_hook): Likewise.
16758 (__memalign_hook): Likewise.
16759 (__libc_malloc): Likewise.
16760 (__libc_free): Likewise.
16761 (__libc_realloc): Likewise.
16762 (__libc_memalign): Likewise.
16763 (__libc_valloc): Likewise.
16764 (__libc_pvalloc): Likewise.
16765 (__libc_calloc): Likewise.
16766 (__posix_memalign): Likewise.
16767 * malloc/morecore.c (__sbrk): Likewise.
16768 (__default_morecore): Likewise.
16769
5cc45e10
JM
16770 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16771
dd54b864
JM
16772 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16773 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16774 __malloc_ptrdiff_t.
16775
1ba4f030
JM
16776 * malloc/malloc.h (__malloc_size_t): Remove macro.
16777 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16778 __malloc_size_t.
16779 (old_memalign_hook): Likewise.
16780 (old_realloc_hook): Likewise.
16781 (struct hdr): Likewise.
16782 (flood): Likewise.
16783 (mallochook): Likewise.
16784 (memalignhook): Likewise.
16785 (reallochook): Likewise.
16786 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16787 (tr_old_realloc_hook): Likewise.
16788 (tr_old_memalign_hook): Likewise.
16789 (tr_mallochook): Likewise.
16790 (tr_reallochook): Likewise.
16791 (tr_memalignhook): Likewise.
16792
edf66e57
AZ
167932013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16794
16795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16796 default_ldbl_pack and using as default implementation.
16797 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16798 implementation.
16799 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16800 redundant definition.
16801 (ldbl_insert_mantissa): Likewise.
16802 (ldbl_canonicalize): Likewise.
16803 (ldbl_nearbyint): Likewise.
16804 (ldbl_pack): Rename to ldbl_pack_ppc.
16805 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16806 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16807 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16808
6d9145d8
SP
168092013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16810
16811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16812 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16813 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16814 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16816 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16817 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16818 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16819
4dd4e157
AJ
168202013-03-07 Andreas Jaeger <aj@suse.de>
16821
16822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16823 bits/mman-linux.h.
16824
adbb8027
SP
168252013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
ce544b5b
SP
16827 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16828 Include mpa.h and declare __MPEXP.
16829 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16830 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16831 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16833 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16834 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16835 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16836
4cc149fd
SP
16837 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16838 (__slowpow): Use long double EXPL and LOGL functions to
16839 compute POW.
16840 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16841 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16843 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16844 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16845 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16846
e6ebd4a7
SP
16847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16848 intermediate variable to calculate exponent.
16849 (__sqr): Likewise.
16850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16851 Likewise.
16852 (__sqr): Likewise.
16853
82a9811d
SP
16854 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16855 [!NO__SQR]: Define __sqr.
16856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16857 and NO__SQR. Remove all code except __mul and __sqr. Include
16858 sysdeps/ieee754/dbl-64/mpa.c.
16859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16860
adbb8027
SP
16861 [BZ #12723]
16862 * posix/Makefile (tests): Add tst-pathconf.
16863 * posix/tst-pathconf.c: New test case.
16864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16865 _PC_PIPE_BUF.
16866 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16867
39120df9
PF
168682013-03-06 Patsy Franklin <pfrankli@redhat.com>
16869
16870 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16871
67525cb8
AJ
168722013-03-06 Andreas Jaeger <aj@suse.de>
16873
664a9ce4
AJ
16874 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16875 definition via __MAP_ANONYMOUS.
16876
8e39047d
AJ
16877 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16878 it's not part of Linux headers.
16879
67525cb8
AJ
16880 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16881 (MAP_HUGE_MASK): Define.
16882
16883 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16884 Define.
16885 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16887 Define.
16888 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16889 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16890 Define.
16891 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16893 Define.
16894 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16895
16896 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16897 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16898 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16899 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16900 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16901 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16902
16903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16904 Handle f2fs.
16905
16906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16907 Handle f2fs and efivarfs.
16908
16909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16910 f2fs.
16911
16912 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16913 (EFIVARFS_MAGIC): Add.
16914 (F2FS_LINK_MAX): Add.
16915
e1b42695
PP
169162013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16917
16918 * stdio-common/vfprintf.c: Replace __builtin_expect with
16919 __glibc_unlikely.
16920
2d67d91a
JM
169212013-03-06 Joseph Myers <joseph@codesourcery.com>
16922
16923 [BZ #13550]
16924 * sysdeps/generic/bp-sym.h: Remove file.
16925 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16927 <bp-sym.h> and <bp-asm.h>.
16928 (__longjmp): Don't use BP_SYM.
16929 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16930 and <bp-asm.h>.
16931 (memcpy): Don't use BP_SYM.
16932 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16933 <bp-sym.h> and <bp-asm.h>.
16934 (memcpy): Don't use BP_SYM.
16935 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16936 <bp-asm.h>.
16937 (memcpy): Don't use BP_SYM.
16938 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16939 <bp-asm.h>.
16940 (memset): Don't use BP_SYM.
16941 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16942 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16943 (__bzero): Don't use BP_SYM.
16944 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16945 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16946 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16947 <bp-sym.h> and <bp-asm.h>.
16948 (memcmp): Don't use BP_SYM. Remove comment about bounded
16949 pointers.
16950 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16951 <bp-sym.h> and <bp-asm.h>.
16952 (memcpy): Don't use BP_SYM.
16953 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16954 <bp-sym.h> and <bp-asm.h>.
16955 (memset): Don't use BP_SYM.
16956 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16957 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16958 (__bzero): Don't use BP_SYM.
16959 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16961 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16962 <bp-sym.h> and <bp-asm.h>.
16963 (strncmp): Don't use BP_SYM. Remove comment about bounded
16964 pointers.
16965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16966 <bp-sym.h> and <bp-asm.h>.
16967 (memcpy): Don't use BP_SYM.
16968 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16969 <bp-sym.h> and <bp-asm.h>.
16970 (memset): Don't use BP_SYM.
16971 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16972 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16973 (__bzero): Don't use BP_SYM.
16974 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16975 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16977 <bp-sym.h> and <bp-asm.h>.
16978 (__memchr): Don't use BP_SYM.
16979 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16980 <bp-sym.h> and <bp-asm.h>.
16981 (memcmp): Don't use BP_SYM. Remove comment about bounded
16982 pointers.
16983 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16984 <bp-sym.h> and <bp-asm.h>.
16985 (memcpy): Don't use BP_SYM.
16986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16987 <bp-sym.h> and <bp-asm.h>.
16988 (__mempcpy): Don't use BP_SYM.
16989 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16990 <bp-sym.h> and <bp-asm.h>.
16991 (__memrchr): Don't use BP_SYM.
16992 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16993 <bp-sym.h> and <bp-asm.h>.
16994 (memset): Don't use BP_SYM.
16995 (__bzero): Likewise.
16996 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16997 <bp-sym.h> and <bp-asm.h>.
16998 (__rawmemchr): Don't use BP_SYM.
16999 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17000 <bp-sym.h> and <bp-asm.h>.
17001 (__STRCMP): Don't use BP_SYM.
17002 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17003 <bp-sym.h> and <bp-asm.h>.
17004 (strchr): Don't use BP_SYM.
17005 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17006 <bp-sym.h> and <bp-asm.h>.
17007 (__strchrnul): Don't use BP_SYM.
17008 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17009 <bp-sym.h> and <bp-asm.h>.
17010 (strlen): Don't use BP_SYM.
17011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17012 <bp-sym.h> and <bp-asm.h>.
17013 (strncmp): Don't use BP_SYM. Remove comment about bounded
17014 pointers.
17015 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17016 <bp-sym.h> and <bp-asm.h>.
17017 (__strnlen): Don't use BP_SYM.
17018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17019 <bp-sym.h> and <bp-asm.h>.
17020 (__GI__setjmp): Don't use BP_SYM.
17021 (_setjmp): Likewise.
17022 (__sigsetjmp): Likewise.
17023 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17024 (L(start_addresses)): Don't use BP_SYM.
17025 (_start): Likewise.
17026 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17027 <bp-asm.h>.
17028 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17029 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17030 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17031 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17032 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17033 <bp-asm.h>.
17034 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17035 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17036 about bounded pointers.
17037 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17038 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17039 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17040 <bp-asm.h>.
17041 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17042 about bounded pointers. Remove GKM FIXME comments.
17043 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17044 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17045 <bp-asm.h>.
17046 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17047 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17048 Remove GKM FIXME comments.
17049 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17050 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17051 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17052 <bp-asm.h>.
17053 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17054 about bounded pointers. Remove GKM FIXME comment.
17055 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17056 and <bp-asm.h>.
17057 (strncmp): Don't use BP_SYM. Remove comment about bounded
17058 pointers.
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17060 <bp-sym.h> and <bp-asm.h>.
17061 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17063 <bp-sym.h> and <bp-asm.h>.
17064 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17065 comment.
17066
cdcf361f
PP
170672013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17068
17069 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17070 call free(NULL).
17071
3c4a2b15
DM
170722013-03-05 David S. Miller <davem@davemloft.net>
17073
17074 * po/es.po: Update from translation team.
17075
cdcf361f 170762013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17077
17078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17079 <bits/mman-linux.h>.
17080 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17081 is fine.
17082 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17083 <bits/mman-linux.h> to end of file.
17084 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17085 is fine.
17086 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17087 <bits/mman-linux.h> to end of file.
17088 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17089 is fine.
17090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17091 <bits/mman-linux.h> to end of file.
17092
17093 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17094 (MCL_CURRENT, MCL_FUTURE): Define here.
17095
5f67c04f
AK
170962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17097
8a4473cc 17098 [BZ #15232]
5f67c04f
AK
17099 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17100 attribute_hidden.
17101 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17102
c3e94a95
AK
171032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17104
17105 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17106 fourth parameter needed for rt_sigprocmask syscall.
17107 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17109 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17110 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17112 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17113
cfb6382a
JM
171142013-03-04 Joseph Myers <joseph@codesourcery.com>
17115
17116 [BZ #13550]
17117 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17118 comment about bounded pointers.
17119 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17120 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17121
539d8e01
AJ
171222013-03-04 Andreas Jaeger <aj@suse.de>
17123
17124 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17125 common definitions.
17126
17127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17128 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17133
2e167a70 171342013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17135
17136 [BZ #15055]
17137 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17138 __ieee754_sqrl instead of __sqrl.
17139
68508633
JM
171402013-03-01 Joseph Myers <joseph@codesourcery.com>
17141
17142 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17143 * sysdeps/powerpc/fpu_control.h: ... here.
17144 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17145 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17146 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17147 * sysdeps/powerpc/bits/mathinline.h: ... here.
17148
7775448e
RM
171492013-03-01 Roland McGrath <roland@hack.frob.com>
17150
17151 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17152 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17153 to just [NEED_DL_SYSINFO_DSO].
17154 * elf/dl-support.c: Likewise.
17155 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17156 * elf/rtld.c (dl_main): Likewise.
17157 * elf/setup-vdso.h (setup_vdso): Likewise.
17158 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17159 * sysdeps/unix/sysv/linux/dl-sysdep.c
17160 (_dl_discover_osversion): Likewise.
17161
4e9b5995
CD
171622013-03-01 Carlos O'Donell <carlos@redhat.com>
17163
17164 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17165 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17166
e23872c8
SP
171672013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17168
e5c74c63
SP
17169 * NEWS: Mention libm performance improvements and non-x86 PI
17170 futex support.
17171
e23872c8
SP
17172 * csu/libc-start.c (__pthread_initialize_minimal): Change
17173 function arguments.
17174 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17175
b5510883
JM
171762013-02-28 Joseph Myers <joseph@codesourcery.com>
17177
17178 [BZ #13550]
17179 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17180 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17181 <bp-sym.h> and <bp-asm.h>.
17182 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17183 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17184 and <bp-asm.h>.
17185 (memcpy): Don't use BP_SYM.
17186 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17187 <bp-asm.h>.
17188 (__mpn_add_n): Don't use BP_SYM.
17189 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17190 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17191 and <bp-asm.h>.
17192 (__mpn_addmul_1): Don't use BP_SYM.
17193 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17194 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17195 <bp-sym.h>.
17196 (_setjmp): Don't use BP_SYM.
17197 (__novmx_setjmp): Likewise.
17198 (__GI__setjmp): Likewise.
17199 (__vmx_setjmp): Likewise.
17200 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17201 <bp-sym.h>.
17202 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17203 (__bzero): Don't use BP_SYM.
17204 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17205 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17206 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17207 <bp-sym.h> and <bp-asm.h>.
17208 (memcpy): Don't use BP_SYM.
17209 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17210 <bp-sym.h> and <bp-asm.h>.
17211 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17212 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17213 <bp-sym.h> and <bp-asm.h>.
17214 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17215 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17216 <bp-asm.h>.
17217 (__mpn_lshift): Don't use BP_SYM.
17218 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17219 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17220 <bp-asm.h>.
17221 (memset): Don't use BP_SYM.
17222 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17223 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17224 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17225 <bp-asm.h>.
17226 (__mpn_mul_1): Don't use BP_SYM.
17227 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17229 <bp-sym.h> and <bp-asm.h>.
17230 (memcmp): Don't use BP_SYM.
17231 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17232 <bp-sym.h> and <bp-asm.h>.
17233 (memcpy): Don't use BP_SYM.
17234 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17235 <bp-sym.h> and <bp-asm.h>.
17236 (memset): Don't use BP_SYM.
17237 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17238 <bp-sym.h> and <bp-asm.h>.
17239 (strncmp): Don't use BP_SYM.
17240 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17241 <bp-sym.h> and <bp-asm.h>.
17242 (memcpy): Don't use BP_SYM.
17243 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17244 <bp-sym.h> and <bp-asm.h>.
17245 (memset): Don't use BP_SYM.
17246 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17247 <bp-sym.h> and <bp-asm.h>.
17248 (__memchr): Don't use BP_SYM.
17249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17250 <bp-sym.h> and <bp-asm.h>.
17251 (memcmp): Don't use BP_SYM.
17252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17253 <bp-sym.h> and <bp-asm.h>.
17254 (memcpy): Don't use BP_SYM.
17255 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17256 <bp-sym.h> and <bp-asm.h>.
17257 (__mempcpy): Don't use BP_SYM.
17258 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17259 <bp-sym.h> and <bp-asm.h>.
17260 (__memrchr): Don't use BP_SYM.
17261 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17262 <bp-sym.h> and <bp-asm.h>.
17263 (memset): Don't use BP_SYM.
17264 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17265 <bp-sym.h> and <bp-asm.h>.
17266 (__rawmemchr): Don't use BP_SYM.
17267 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17268 <bp-sym.h> and <bp-asm.h>.
17269 (__STRCMP): Don't use BP_SYM.
17270 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17271 <bp-sym.h> and <bp-asm.h>.
17272 (strchr): Don't use BP_SYM.
17273 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17274 <bp-sym.h> and <bp-asm.h>.
17275 (__strchrnul): Don't use BP_SYM.
17276 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17277 <bp-sym.h> and <bp-asm.h>.
17278 (strlen): Don't use BP_SYM.
17279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17280 <bp-sym.h> and <bp-asm.h>.
17281 (strncmp): Don't use BP_SYM.
17282 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17283 <bp-sym.h> and <bp-asm.h>.
17284 (__strnlen): Don't use BP_SYM.
17285 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17286 <bp-asm.h>.
17287 (__mpn_rshift): Don't use BP_SYM.
17288 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17289 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17290 <bp-sym.h> and <bp-asm.h>.
17291 (__sigsetjmp): Don't use BP_SYM.
17292 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17293 (L(start_addresses)): Don't use BP_SYM.
17294 (_start): Likewise.
17295 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17296 <bp-asm.h>.
17297 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17298 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17299 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17300 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17301 <bp-asm.h>.
17302 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17303 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17304 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17305 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17306 <bp-asm.h>.
17307 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17308 comments.
17309 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17310 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17311 <bp-asm.h>.
17312 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17313 FIXME comments.
17314 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17315 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17316 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17317 <bp-asm.h>.
17318 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17319 comment.
17320 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17321 and <bp-asm.h>.
17322 (strncmp): Don't use BP_SYM,
17323 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17324 <bp-asm.h>.
17325 (__mpn_sub_n): Don't use BP_SYM.
17326 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17327 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17328 and <bp-asm.h>.
17329 (__mpn_submul_1): Don't use BP_SYM.
17330 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17332 <bp-sym.h> and <bp-asm.h>.
17333 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17335 <bp-sym.h> and <bp-asm.h>.
17336 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17337 comment.
17338
8d19fe64
SP
173392013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17340
17341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17342 Use ZK to minimize writes to Z.
17343 (sub_magnitudes): Simplify code a bit.
17344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17345 Use ZK to minimize writes to Z.
17346 (sub_magnitudes): Simplify code a bit.
17347
85bd816a
RM
173482013-02-27 Roland McGrath <roland@hack.frob.com>
17349
17350 * csu/gmon-start.c: Add special exception to license text.
17351
b5977bf2
RH
173522013-02-27 Richard Henderson <rth@redhat.com>
17353
17354 * scripts/config.guess: Update from config.git.
17355 * scripts/config.sub: Likewise.
17356
11d6e2f2
SP
173572013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17358
09c14ed2
SP
17359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17360
a688864e
SP
17361 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17362
6295157a
SP
17363 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17364
b8de2202
SP
17365 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17366
11d6e2f2
SP
17367 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17368
7e80ddb8
RM
173692013-02-26 Roland McGrath <roland@hack.frob.com>
17370
17371 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17372 [$(build-shared = yes].
7e80ddb8 17373
7da6d9ed
SP
173742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17375
45f05884
SP
17376 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17377 (__mul): Reduce iterations for calculating mantissa.
17378
2236d359
SP
17379 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17380 MPTWO.
17381 (__mpranred): Likewise.
17382
7da6d9ed
SP
17383 [BZ #15160]
17384 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17385 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17386
b7688c42
PE
173872013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17388
17389 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17390 Define __attribute__.
17391
53a5c423
SP
173922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17393
17394 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17395 unused.
17396 * posix/regex_internal.h (__attribute): Remove.
17397 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17398 (re_string_context_at): Likewise.
17399 (bitset_not): Use __attribute__ and mark function as possibly
17400 unused.
17401 (bitset_merge): Likewise.
17402 (bitset_mask): Likewise.
17403 (re_string_char_size_at): Likewise.
17404 (re_string_wchar_at): Likewise.
17405 (re_string_elem_size_at): Likewise.
17406
60f5a8b5
SP
174072013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17408
2a983a2e
SP
17409 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17410 code.
17411 (cc32): Likewise.
17412
e69804d1
SP
17413 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17414 (__acr): Likewise.
17415 (__cpy): Likewise.
17416 (norm): Likewise.
17417 (denorm): Likewise.
17418 (__dbl_mp): Likewise.
17419 (add_magnitudes): Likewise.
17420 (sub_magnitudes): Likewise.
17421 (__mul): Likewise.
17422 (__inv): Likewise.
17423
2f22a1e8
SP
17424 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17425 style.
17426
8930ddc7
SP
17427 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17428 style.
17429
dc60cb11
SP
17430 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17431 code.
17432
60f5a8b5
SP
17433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17434 up changes with default code.
17435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17436 Likewise.
17437
b4d1fd33
AM
174382013-02-24 Allan McRae <allan@archlinux.org>
17439
faf6f8bc
AM
17440 * manual/socket.texi (The Internet Namespace): Order menu items
17441 to match that in the file.
17442
b4d1fd33
AM
17443 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17444 node listing of the info page menu.
17445
2366713d
JM
174462013-02-21 Joseph Myers <joseph@codesourcery.com>
17447
17448 [BZ #13550]
17449 * sysdeps/i386/bp-asm.h: Remove file.
17450 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17451 (PARMS): Do not use macros from bp-asm.h.
17452 (S1): Likewise.
17453 (S2): Likewise.
17454 (SIZE): Likewise.
17455 (__mpn_add_n): Do not use BP_SYM
17456 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17457 "bp-asm.h".
17458 (PARMS): Do not use macros from bp-asm.h.
17459 (S1): Likewise.
17460 (SIZE): Likewise.
17461 (__mpn_addmul_1): Do not use BP_SYM
17462 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17463 "bp-asm.h".
17464 (PARMS): Do not use macros from bp-asm.h.
17465 (SIGMSK): Likewise.
17466 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
17473 "bp-asm.h".
17474 (PARMS): Do not use macros from bp-asm.h.
17475 (__frexp): Do not use BP_SYM.
17476 (frexp): Likewise.
17477 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (__frexpf): Do not use BP_SYM.
17481 (frexpf): Likewise.
17482 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17483 "bp-asm.h".
17484 (PARMS): Do not use macros from bp-asm.h.
17485 (__frexpl): Do not use BP_SYM.
17486 (frexpl): Likewise.
17487 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17488 "bp-asm.h".
17489 (PARMS): Do not use macros from bp-asm.h.
17490 (__remquo): Do not use BP_SYM.
17491 (remquo): Likewise.
17492 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17493 "bp-asm.h".
17494 (PARMS): Do not use macros from bp-asm.h.
17495 (__remquof): Do not use BP_SYM.
17496 (remquof): Likewise.
17497 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17498 "bp-asm.h".
17499 (PARMS): Do not use macros from bp-asm.h.
17500 (__remquol): Do not use BP_SYM.
17501 (remquol): Likewise.
17502 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17503 "bp-asm.h".
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (DEST): Likewise.
17506 (SRC): Likewise.
17507 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17508 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17509 "bp-asm.h".
17510 (PARMS): Do not use macros from bp-asm.h.
17511 (strlen): Do not use BP_SYM.
17512 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17513 "bp-asm.h".
17514 (PARMS): Do not use macros from bp-asm.h.
17515 (S1): Likewise.
17516 (S2): Likewise.
17517 (SIZE): Likewise.
17518 (__mpn_add_n): Do not use BP_SYM.
17519 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17520 "bp-asm.h".
17521 (PARMS): Do not use macros from bp-asm.h.
17522 (S1): Likewise.
17523 (SIZE): Likewise.
17524 (__mpn_addmul_1): Do not use BP_SYM.
17525 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17526 weak_alias.
17527 (bzero): Likewise.
17528 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17529 "bp-asm.h".
17530 (PARMS): Do not use macros from bp-asm.h.
17531 (S): Likewise.
17532 (SIZE): Likewise.
17533 (__mpn_lshift): Do not use BP_SYM.
17534 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17535 "bp-asm.h".
17536 (PARMS): Do not use macros from bp-asm.h.
17537 (DEST): Likewise.
17538 (SRC): Likewise.
17539 (LEN): Likewise.
17540 (memcpy): Likewise. Do not use BP_SYM.
17541 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17542 libc_hidden_def and weak_alias.
17543 (mempcpy): Do not use BP_SYM in weak_alias.
17544 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17545 "bp-asm.h".
17546 (PARMS): Do not use macros from bp-asm.h.
17547 (DEST): Likewise.
17548 (LEN): Likewise.
17549 [!BZERO_P] (CHR): Likewise.
17550 (memset): Likewise. Do not use BP_SYM.
17551 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17552 "bp-asm.h".
17553 (PARMS): Do not use macros from bp-asm.h.
17554 (S1): Likewise.
17555 (SIZE): Likewise.
17556 (__mpn_mul_1): Do not use BP_SYM.
17557 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17558 "bp-asm.h".
17559 (PARMS): Do not use macros from bp-asm.h.
17560 (S): Likewise.
17561 (SIZE): Likewise.
17562 (__mpn_rshift): Do not use BP_SYM.
17563 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17564 "bp-asm.h".
17565 (PARMS): Do not use macros from bp-asm.h.
17566 (STR): Likewise.
17567 (CHR): Likewise.
17568 (strchr): Likewise. Do not use BP_SYM.
17569 (index): Do not use BP_SYM in weak_alias.
17570 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17571 "bp-asm.h".
17572 (PARMS): Do not use macros from bp-asm.h.
17573 (DEST): Likewise.
17574 (SRC): Likewise.
17575 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17576 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17577 "bp-asm.h".
17578 (PARMS): Do not use macros from bp-asm.h.
17579 (strlen): Do not use BP_SYM.
17580 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17581 "bp-asm.h".
17582 (PARMS): Do not use macros from bp-asm.h.
17583 (S1): Likewise.
17584 (S2): Likewise.
17585 (SIZE): Likewise.
17586 (__mpn_sub_n): Do not use BP_SYM.
17587 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17588 "bp-asm.h".
17589 (PARMS): Do not use macros from bp-asm.h.
17590 (S1): Likewise.
17591 (SIZE): Likewise.
17592 (__mpn_submul_1): Do not use BP_SYM.
17593 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17594 "bp-asm.h".
17595 (PARMS): Do not use macros from bp-asm.h.
17596 (S1): Likewise.
17597 (S2): Likewise.
17598 (SIZE): Likewise.
17599 (__mpn_add_n): Do not use BP_SYM.
17600 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17601 weak_alias.
17602 (bzero): Likewise.
17603 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17604 "bp-asm.h".
17605 (PARMS): Do not use macros from bp-asm.h.
17606 (BLK2): Likewise.
17607 (LEN): Likewise.
17608 (memcmp): Do not use BP_SYM.
17609 (bcmp): Do not use BP_SYM in weak_alias.
17610 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17611 "bp-asm.h".
17612 (PARMS): Do not use macros from bp-asm.h.
17613 (DEST): Likewise.
17614 (SRC): Likewise.
17615 (LEN): Likewise.
17616 (memcpy): Likewise. Do not use BP_SYM.
17617 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17618 "bp-asm.h".
17619 (PARMS): Do not use macros from bp-asm.h.
17620 (DEST): Likewise.
17621 (SRC): Likewise.
17622 (LEN): Likewise.
17623 (memmove): Likewise. Do not use BP_SYM.
17624 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17625 "bp-asm.h".
17626 (PARMS): Do not use macros from bp-asm.h.
17627 (DEST): Likewise.
17628 (SRC): Likewise.
17629 (LEN): Likewise.
17630 (__mempcpy): Likewise. Do not use BP_SYM.
17631 (mempcpy): Do not use BP_SYM in weak_alias.
17632 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17633 "bp-asm.h".
17634 (PARMS): Do not use macros from bp-asm.h.
17635 (DEST): Likewise.
17636 (LEN): Likewise.
17637 [!BZERO_P] (CHR): Likewise.
17638 (memset): Likewise. Do not use BP_SYM.
17639 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17640 "bp-asm.h".
17641 (PARMS): Do not use macros from bp-asm.h.
17642 (STR2): Likewise.
17643 (strcmp): Do not use BP_SYM.
17644 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17645 "bp-asm.h".
17646 (PARMS): Do not use macros from bp-asm.h.
17647 (STR): Likewise.
17648 (DELIM): Likewise.
17649 [USE_AS_STRTOK_R] (SAVE): Likewise.
17650 (FUNCTION): Likewise. Do not use BP_SYM.
17651 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17652 aliases.
17653 (strtok_r): Likewise.
17654 (__GI___strtok_r): Likewise.
17655 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17656 (PARMS): Do not use macros from bp-asm.h.
17657 (S): Likewise.
17658 (SIZE): Likewise.
17659 (__mpn_lshift): Do not use BP_SYM.
17660 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17661 (PARMS): Do not use macros from bp-asm.h.
17662 (STR): Likewise.
17663 (CHR): Likewise.
17664 (__memchr): Do not use BP_SYM.
17665 (memchr): Do not use BP_SYM in weak_alias.
17666 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17667 (PARMS): Do not use macros from bp-asm.h.
17668 (BLK2): Likewise.
17669 (LEN): Likewise.
17670 (memcmp): Do not use BP_SYM.
17671 (bcmp): Do not use BP_SYM in weak_alias.
17672 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17673 (PARMS): Do not use macros from bp-asm.h.
17674 (S1): Likewise.
17675 (SIZE): Likewise.
17676 (__mpn_mul_1): Do not use BP_SYM.
17677 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17678 "bp-asm.h".
17679 (PARMS): Do not use macros from bp-asm.h.
17680 (STR): Likewise.
17681 (CHR): Likewise.
17682 (__rawmemchr): Do not use BP_SYM.
17683 (rawmemchr): Do not use BP_SYM in weak_alias.
17684 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17685 (PARMS): Do not use macros from bp-asm.h.
17686 (S): Likewise.
17687 (SIZE): Likewise.
17688 (__mpn_rshift): Do not use BP_SYM.
17689 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17690 (PARMS): Do not use macros from bp-asm.h.
17691 (SIGMSK): Likewise.
17692 (__sigsetjmp): Likewise. Do not use BP_SYM.
17693 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17694 (_start): Do not use BP_SYM.
17695 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17696 (PARMS): Do not use macros from bp-asm.h.
17697 (DEST): Likewise.
17698 (SRC): Likewise.
17699 (__stpcpy): Likewise. Do not use BP_SYM.
17700 (stpcpy): Do not use BP_SYM in weak_alias.
17701 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17702 "bp-asm.h".
17703 (PARMS): Do not use macros from bp-asm.h.
17704 (DEST): Likewise.
17705 (SRC): Likewise.
17706 (LEN): Likewise.
17707 (__stpncpy): Likewise. Do not use BP_SYM.
17708 (stpncpy): Do not use BP_SYM in weak_alias.
17709 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17710 (PARMS): Do not use macros from bp-asm.h.
17711 (STR): Likewise.
17712 (CHR): Likewise.
17713 (strchr): Likewise. Do not use BP_SYM.
17714 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17715 "bp-asm.h".
17716 (PARMS): Do not use macros from bp-asm.h.
17717 (STR): Likewise.
17718 (CHR): Likewise.
17719 (__strchrnul): Likewise. Do not use BP_SYM.
17720 (strchrnul): Do not use BP_SYM in weak_alias.
17721 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17722 "bp-asm.h".
17723 (PARMS): Do not use macros from bp-asm.h.
17724 (STOP): Likewise.
17725 (strcspn): Do not use BP_SYM.
17726 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17727 "bp-asm.h".
17728 (PARMS): Do not use macros from bp-asm.h.
17729 (STR): Likewise.
17730 (STOP): Likewise.
17731 (strpbrk): Likewise. Do not use BP_SYM.
17732 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17733 "bp-asm.h".
17734 (PARMS): Do not use macros from bp-asm.h.
17735 (STR): Likewise.
17736 (CHR): Likewise.
17737 (strrchr): Likewise. Do not use BP_SYM.
17738 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17739 (PARMS): Do not use macros from bp-asm.h.
17740 (SKIP): Likewise.
17741 (strspn): Do not use BP_SYM.
17742 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17743 (PARMS): Do not use macros from bp-asm.h.
17744 (STR): Likewise.
17745 (DELIM): Likewise.
17746 (SAVE): Likewise.
17747 (FUNCTION): Likewise. Do not use BP_SYM.
17748 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17749 aliases.
17750 (strtok_r): Likewise.
17751 (__GI___strtok_r): Likewise.
17752 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17753 (PARMS): Do not use macros from bp-asm.h.
17754 (S1): Likewise.
17755 (S2): Likewise.
17756 (SIZE): Likewise.
17757 (__mpn_sub_n): Do not use BP_SYM.
17758 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17759 "bp-asm.h".
17760 (PARMS): Do not use macros from bp-asm.h.
17761 (S1): Likewise.
17762 (SIZE): Likewise.
17763 (__mpn_submul_1): Do not use BP_SYM.
17764 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17765 <bp-sym.h>.
17766 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17767 and <bp-asm.h>.
17768 (PARMS): Do not use macros from bp-asm.h.
17769 (FLAGS): Likewise.
17770 (PTID): Likewise.
17771 (TLS): Likewise.
17772 (CTID): Likewise.
17773 (__clone): Do not use BP_SYM.
17774 (clone): Do not use BP_SYM in weak_alias.
17775 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17776 and <bp-asm.h>.
17777 (PARMS): Do not use macros from bp-asm.h.
17778 (LEN): Likewise.
17779 (__mmap64): Do not use BP_SYM.
17780 (mmap64): Do not use BP_SYM in weak_alias.
17781 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17782 <bp-sym.h> and <bp-asm.h>.
17783 (PARMS): Do not use macros from bp-asm.h.
17784 (__posix_fadvise64_l64): Do not use BP_SYM.
17785 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17786 (PARMS): Do not use macros from bp-asm.h.
17787 (NSOPS): Likewise.
17788 (semtimedop): Do not use BP_SYM.
17789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17790 and <bp-asm.h>.
17791
582a3cff
AM
177922013-02-21 Allan McRae <allan@archlinux.org>
17793
17794 * manual/message.texi (Charset conversion in gettext):
17795 Move @end statement to beginning of line.
17796
bab8a695
SP
177972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17798
80945231
SP
17799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17800 static.
17801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17802 Likewise.
17803
bab8a695
SP
17804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17805 (denorm): Likewise.
17806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17808
e21d7aa7
AK
178092013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17810
17811 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17812 tail-call to the resolved function if pltexit isn't needed.
17813
4c7a4263
SP
178142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17815
17816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17817 or Y being zero as being unlikely.
17818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17819 Likewise.
17820
41f49342
CD
178212013-02-20 Carlos O'Donell <carlos@redhat.com>
17822
17823 * manual/nss.texi (System Databases and Name Service Switch):
17824 Remove frobnicate @pxref.
17825
50022a93
TS
178262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17827
17828 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17829 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17830
08cbd996
PM
178312013-02-20 Petr Machata <pmachata@redhat.com>
17832
17833 * elf/elf.h (R_ARM_TARGET1): New macro.
17834 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17835 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17836 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17837 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17838 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17839 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17840 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17841 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17842 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17843 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17844 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17845 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17846 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17847 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17848 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17849 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17850 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17851 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17852 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17853 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17854 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17855 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17856 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17857 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17858 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17859 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17860 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17861 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17862 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17863 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17864 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17865 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17866 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17867 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17868 (R_ARM_THM_GOT_BREL12): Likewise.
17869 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17870 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17871 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17872 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17873 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17874 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17875 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17876 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17877 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17878
c7b275d6
TS
178792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17880
17881 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17882 __attribute_used__ to __attribute__ ((unused)).
17883
20cd7fb3
SP
178842013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17885
17886 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17887 powerpc mpa.c.
17888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17889 comment formatting.
17890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17891
92945b52
JM
178922013-02-19 Joseph Myers <joseph@codesourcery.com>
17893
17894 [BZ #13550]
17895 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17896 Remove macro.
17897 (ENTER): Remove both macro definitions.
17898 (LEAVE): Likewise.
17899 (CHECK_BOUNDS_LOW): Likewise.
17900 (CHECK_BOUNDS_HIGH): Likewise.
17901 (CHECK_BOUNDS_BOTH): Likewise.
17902 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17903 (RETURN_BOUNDED_POINTER): Likewise.
17904 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17905 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17906 (POP_ERRNO_LOCATION_RETURN): Likewise.
17907 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17908 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17909 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17910 macros.
17911 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17912 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17913 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17914 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17915 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17916 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17917 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17918 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17919 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17920 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17921 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17922 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17923 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17924 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17925 removed macros.
17926 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17927 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17928 macros.
17929 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17930 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17931 * sysdeps/i386/i586/memset.S (memset): Likewise.
17932 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17933 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17934 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17935 macros.
17936 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17937 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17938 Change uses of L(2) to L(out).
17939 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17940 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17941 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17942 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17943 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17944 removed macros.
17945 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17946 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17947 macros.
17948 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17949 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17950 (RETURN): Do not use macro LEAVE.
17951 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17952 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17953 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17954 * sysdeps/i386/i686/memset.S (memset): Likewise.
17955 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17956 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17957 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17958 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17959 Likewise.
17960 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17961 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17962 L(1_2) and L(1_3) into L(1).
17963 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17964 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17965 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17966 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17967 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17968 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17969 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17970 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17971 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17972 macros.
17973 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17974 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17975 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17976 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17977 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17978 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17979 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17980 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17981 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17982 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17983 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17984 * sysdeps/i386/strspn.S (strspn): Likewise.
17985 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17986 conditional code.
17987 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17988 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17989 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17990 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17991 L(1_3) into L(1_1).
17992 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17994 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17995 macros.
17996 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17997
2389741a
JJ
179982013-02-19 Jakub Jelinek <jakub@redhat.com>
17999
18000 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18001 macro.
18002
2016b3cd
SP
180032013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18004
e4f22324
SP
18005 * math/atest-exp.c (exp_mpn): Remove ROUND.
18006 * math/atest-exp2.c (exp_mpn): Likewise.
18007 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18008
2016b3cd
SP
18009 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18010 * stdlib/tst-tls-atexit-lib.c: Likewise.
18011 * stdlib/tst-tls-atexit.c: Likewise.
18012
4be9b544
MF
180132013-02-18 Mike Frysinger <vapier@gentoo.org>
18014
18015 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18016 and __attribute_alloc_size__.
18017
2f62b9ee
MF
180182013-02-18 Mike Frysinger <vapier@gentoo.org>
18019
18020 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18021 __attribute_alloc_size__.
18022 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18023 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18024
6ff444c4
MF
180252013-02-18 Mike Frysinger <vapier@gentoo.org>
18026
18027 * include/programs/xmalloc.h: New file.
18028 * catgets/gencat.c: Include it.
18029 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18030 * elf/pldd.c: Likewise.
18031 * iconv/iconv_charmap.c: Likewise.
18032 * iconv/iconvconfig.c: Likewise.
18033 * iconv/strtab.c: Likewise.
18034 * locale/programs/locale.c: Likewise.
18035 * locale/programs/localedef.h: Likewise.
18036 * locale/programs/simple-hash.c: Likewise.
18037 * nscd/nscd.h: Likewise.
18038 * nss/makedb.c: Likewise.
18039 * sysdeps/generic/ldconfig.h: Likewise.
18040
be179c8a
SP
180412013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18042
ba384f6e
SP
18043 * Versions.def: Add GLIBC_2.18.
18044 * include/link.h (struct link_map): New member l_tls_dtor_count.
18045 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18046 (__call_tls_dtors): Likewise.
18047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18048 __cxa_thread_atexit_impl.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18050 Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18052 Likewise.
18053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18054 Likewise.
18055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18056 Likewise.
18057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18059 Likewise.
18060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18061 Likewise.
18062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18064 Likewise.
18065 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18066 (tests): Add test case tst-tls-atexit.
18067 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18068 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18069 (GLIBC_PRIVATE): Add __call_tls_dtors.
18070 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18071 for libstdc++.
18072 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18073 * stdlib/tst-tls-atexit.c: New test case.
18074 * stdlib/tst-tls-atexit-lib.c: New test case.
18075
ffaa74cf 18076 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18077
be179c8a
SP
18078 * elf/Versions (ld): Add _dl_find_dso_for_object.
18079 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18080 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18081 (dl_open_worker): Use _dl_find_dso_for_object.
18082 * elf/dl-sym.c (do_sym): Likewise.
18083 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18084
f78b5caa
AK
180852013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18086
18087 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18088 Syntactic changes only.
18089 (_dl_runtime_profile): Do a tail-call to the resolved function.
18090
29691210
JM
180912013-02-17 Joseph Myers <joseph@codesourcery.com>
18092
18093 [BZ #13550]
18094 * sysdeps/x86_64/bp-asm.h: Remove file.
18095 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18096 <bp-sym.h> and <bp-asm.h>.
18097 (__clone): Do not use BP_SYM.
18098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18099 <bp-sym.h> and <bp-asm.h>.
18100 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18101 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18102 "bp-asm.h".
18103 (_setjmp): Do not use BP_SYM.
18104 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18105 "bp-asm.h".
18106 (setjmp): Do not use BP_SYM.
18107 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18108 libc_hidden_def.
18109 (mempcpy): Do not use BP_SYM in weak_alias.
18110 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18111 "bp-asm.h".
18112 (strchr): Do not use BP_SYM.
18113 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18114 "bp-asm.h".
18115 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18116 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18117 (_start): Do not use BP_SYM.
18118 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18119 "bp-asm.h".
18120 (strcat): Do not use BP_SYM.
18121 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18122 "bp-asm.h".
18123 (STRCMP): Do not use BP_SYM.
18124 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18125 "bp-asm.h".
18126 (STRCPY): Do not use BP_SYM.
18127 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18128 "bp-asm.h".
18129 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18130 "bp-asm.h".
18131 (FUNCTION): Do not use BP_SYM.
18132 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18133 weak_alias.
18134 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18135
f238fd19
AJ
181362013-02-17 Andreas Jaeger <aj@suse.de>
18137
18138 * time/Versions: Sort entries.
18139 * string/Versions: Likewise.
18140 * resolv/Versions: Likewise.
18141 * posix/Versions: Likewise.
18142 * iconv/Versions: Likewise.
18143 * elf/Versions: Likewise.
18144 * wcsmbs/Versions: Likewise.
18145
bd07f23c 181462013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18147
22af19f9
SP
18148 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18149 loop termination condition.
18150
4709fe76
SP
18151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18152 variable to calculate EZ.
18153 (__sqr): Likewise.
2d0e0f29
SP
18154
18155 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18156 the lower precision input.
18157
daaa7713
JM
181582013-02-15 Joseph Myers <joseph@codesourcery.com>
18159
18160 [BZ #13550]
18161 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18162 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18163 (run-via-rtld-prefix): Do not handle %-bp tests.
18164 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18165 (all-object-suffixes): Remove .ob.
18166 (bppfx): Remove variable.
18167 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18168 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18169 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18170 [$(build-bounded) = yes] (libtype.ob): Likewise.
18171 * Makerules (elide-routines.ob): Remove variable.
18172 (do-tests-clean): Do not handle *-bp.out.
18173 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18174 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18175 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18176 (tests): Do not include $(tests-bp.out).
18177 (xtests): Do not include $(xtests-bp.out).
18178 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18179 [$(build-bounded) = yes] ($(addprefix
18180 $(objpfx),$(binaries-bounded))): Remove rule.
18181 ($(objpfx)%-bp.out): Remove rule.
18182 * config.make.in (build-bounded): Remove variable.
18183 * crypt/Makefile [$(build-bounded) = yes]
18184 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18185 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18186 append to variable.
18187 [$(build-bounded) = yes] (install-lib): Likewise.
18188 [$(build-bounded) = yes] (generated): Likewise.
18189 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18190 Remove rule.
18191 * intl/Makefile [$(build-bounded) = yes]
18192 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18193 * math/Makefile [$(build-bounded) = yes]
18194 ($(tests:%=$(objpfx)%-bp): Likewise.
18195 * misc/Makefile [$(build-bounded) = yes]
18196 ($(objpfx)tst-tsearch-bp): Likewise.
18197 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18198 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18199 Remove dependency.
18200 * string/Makefile (o-objects.ob): Remove variable.
18201 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18202 (CFLAGS-.ob): Remove variable.
18203 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18204 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18205 both definitions of variable.
18206 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18207 (ASFLAGS-.ob): Remove variable.
18208
e97ed6dd
JM
182092013-02-14 Joseph Myers <joseph@codesourcery.com>
18210
2bdd4ca6
JM
18211 [BZ #13550]
18212 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18213 Remove __BOUNDED_POINTERS__ from condition.
18214 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18215 * string/bits/string2.h [!__NO_STRING_INLINES &&
18216 !__BOUNDED_POINTERS__]: Likewise.
18217 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18218 Likewise.
18219 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18220 Remove conditional code.
18221 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18222 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18223 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18224 condition.
18225
e97ed6dd
JM
18226 [BZ #13550]
18227 * csu/libc-start.c: Do not include <bp-sym.h>.
18228 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18229 * elf/dl-open.c: Do not include <bp-sym.h>.
18230 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18231 * math/fegetenv.c: Do not include <bp-sym.h>.
18232 (fegetenv): Do not use BP_SYM in versioned symbols.
18233 * nptl/sysdeps/pthread/bits/libc-lockP.h
18234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18235 <bp-sym.h>.
18236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18237 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18239 (__pthread_mutex_destroy): Likewise.
18240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18241 (__pthread_mutex_lock): Likewise.
18242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18243 (__pthread_mutex_trylock): Likewise.
18244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18245 (__pthread_mutex_unlock): Likewise.
18246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18247 (__pthread_mutexattr_init): Likewise.
18248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18249 (__pthread_mutexattr_destroy): Likewise.
18250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18251 (__pthread_mutexattr_settype): Likewise.
18252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18253 (__pthread_rwlock_init): Likewise.
18254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18255 (__pthread_rwlock_destroy): Likewise.
18256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18257 (__pthread_rwlock_rdlock): Likewise.
18258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18259 (__pthread_rwlock_tryrdlock): Likewise.
18260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18261 (__pthread_rwlock_wrlock): Likewise.
18262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18263 (__pthread_rwlock_trywrlock): Likewise.
18264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18265 (__pthread_rwlock_unlock): Likewise.
18266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18267 (__pthread_key_create): Likewise.
18268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18269 (__pthread_setspecific): Likewise.
18270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18271 (__pthread_getspecific): Likewise.
18272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18273 Likewise.
18274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18275 (_pthread_cleanup_push_defer): Likewise.
18276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18277 (_pthread_cleanup_pop_restore): Likewise.
18278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18279 (pthread_setcancelstate): Likewise.
18280 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18281 <bp-sym.h>.
18282 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18283 (memchr): Do not use BP_SYM in weak_alias.
18284 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18285 (fegetenv): Do not use BP_SYM in versioned symbols.
18286 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18287 (fesetenv): Do not use BP_SYM in versioned symbols.
18288 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18289 (feupdateenv): Do not use BP_SYM in versioned symbols.
18290 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18291 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18292 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18293 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18294 (open64): Do not use BP_SYM in weak_alias.
18295 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18296 (fegetenv): Do not use BP_SYM in versioned symbols.
18297 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18298 (fesetenv): Do not use BP_SYM in versioned symbols.
18299 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18300 (feupdateenv): Do not use BP_SYM in versioned symbols.
18301 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18302 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18303 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18304 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18305 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18306 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18307 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18308 <bp-sym.h>.
18309 (__libc_start_main): Do not use BP_SYM.
18310
d6752ccd
SP
183112013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18312
cb57ce60
SP
18313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18314 redundant return line.
18315 (norm): Likewise.
18316 (denorm): Likewise.
18317 (dbl_mp): Likewise.
18318 (sub_magnitudes): Likewise.
18319 (__add): Likewise.
18320 (__sub): Likewise.
18321 (__mul): Likewise.
18322 (__inv): Likewise.
18323 (__dvd): Likewise.
18324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18325 (norm): Likewise.
18326 (denorm): Likewise.
18327 (dbl_mp): Likewise.
18328 (sub_magnitudes): Likewise.
18329 (__add): Likewise.
18330 (__sub): Likewise.
18331 (__mul): Likewise.
18332 (__inv): Likewise.
18333 (__dvd): Likewise.
18334
f414520d
SP
18335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18336 instead of __mul.
18337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18338 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18339 (cc32): Likewise.
18340
d6752ccd
SP
18341 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18342 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18344 of __mul for squares.
18345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18346 function
18347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18348 Likewise.
18349 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18350 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18351
70d9946a
JM
183522013-02-13 Joseph Myers <joseph@codesourcery.com>
18353
18354 [BZ #13550]
18355 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18356 code.
18357 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18358 prototype or function definition. Rename ubp_* variables and
18359 parameters. Remove argv definitions conditional on
18360 [__BOUNDED_POINTERS__].
18361 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18362 * elf/dl-runtime.c (_dl_fixup): Likewise.
18363 * include/set-hooks.h (RUN_HOOK): Likewise.
18364 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18365 definition.
18366 * string/strcpy.c (strcpy): Do not use __unbounded.
18367 * sysdeps/generic/frame.h (struct layout): Likewise.
18368 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18369 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18370 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18371 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18372 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18373 (__backtrace): Likewise.
18374 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18375 use __ptrvalue.
18376 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18378 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18379 Likewise.
18380 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18381 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18382 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18383 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18384 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18385 Do not use __unbounded.
18386 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18387 Rename __unboundedrlimits parameter to rlimits in prototype.
18388 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18389 Do not use __unbounded.
18390 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18391 not use __ptrvalue.
18392 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18393 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18394 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18395 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18396 __ptrvalue or __unbounded.
18397 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18398 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18399 use __unbounded.
18400 (__new_msgctl): Do not use __ptrvalue.
18401 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18402 __unbounded.
18403 (__libc_msgrcv): Do not use __ptrvalue.
18404 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18405 startup_info): Do not use __unbounded.
18406 (__libc_start_main): Likewise. Rename ubp_* variables and
18407 parameters. Remove argv definitions conditional on
18408 [__BOUNDED_POINTERS__].
18409 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18410 __ptrvalue.
18411 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18412 use __unbounded.
18413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18414 or __ptrvalue.
18415 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18416 use __unbounded.
18417 (__new_shmctl): Do not use __ptrvalue.
18418 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18419 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18420 Likewise.
18421 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18423 (__libc_sigaction): Likewise.
18424 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18425 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18426 Likewise.
18427 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18428
cc7834d6
OB
184292013-02-13 Ondřej Bílka <neleai@seznam.cz>
18430
ffb1ec7b 18431 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18432
18433 * string/mempcpy.c: Implement by calling memcpy.
18434
bdf02814
SP
184352013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18436
c2af38aa
SP
18437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18438
4e92d59e
SP
18439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18440 evaluation.
18441
909279a5
SP
18442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18443 values in the mantissa.
18444
bdf02814
SP
18445 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18446 minimize writes to Z.
18447 (sub_magnitudes): Simplify code a bit.
18448
cd525923
RM
184492013-02-12 Roland McGrath <roland@hack.frob.com>
18450
18451 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18452 from the message. The linker prefixes all warnings with that already.
18453
7e2f0d2d
AS
184542013-02-12 Andreas Schwab <schwab@suse.de>
18455
a445af0b
AS
18456 [BZ #15078]
18457 * posix/regexec.c (extend_buffers): Add parameter min_len.
18458 (check_matching): Pass minimum needed length.
18459 (clean_state_log_if_needed): Likewise.
18460 (get_subexp): Likewise.
18461 * posix/Makefile (tests): Add bug-regex34.
18462 (bug-regex34-ENV): Define.
18463 * posix/bug-regex34.c: New file.
18464
7e2f0d2d
AS
18465 [BZ #11561]
18466 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18467 elements compare against the byte sequence of it, not its name.
18468 * posix/Makefile (tests): Add bug-regex35.
18469 (bug-regex35-ENV): Define.
18470 * posix/bug-regex35.c: New file.
18471
a175b684
TV
184722013-02-11 Tom de Vries <tom@codesourcery.com>
18473
18474 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18475 comment.
18476 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18477 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18478 (CHECK_EOL): Add undef.
18479
310998fe 184802013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18481
18482 * bits/stdlib-bsearch.h: New file.
18483 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18484 * stdlib/stdlib.h: Likewise.
41eda41d 18485
8ded91fb
RM
184862013-02-11 Roland McGrath <roland@hack.frob.com>
18487
18488 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18489 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18490 declaration.
18491 * manual/search.texi (Array Search Function): Add missing const in
18492 lfind prototype.
18493 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18494 declaration to use rlim_t.
18495 (Basic Scheduling Functions): Remove erroneous const from
18496 sched_getparam prototype. Remove erroneous * from
18497 sched_get_priority_max and sched_get_priority_min prototypes.
18498 (Resource Usage): Fix summary @comment on vtimes to refer to
18499 sys/vtimes.h rather than vtimes.h.
18500 Add missing *s in vtimes prototype.
18501 (Limits on Resources): Fix ulimit prototype to return long int.
18502 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18503 prototypes to use long int rather than double.
18504 (BSD Random): Fix initstate and setstate to use char *, not void *.
18505 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18506 prototype to make second argument 'struct aiocb64 *const[]'.
18507 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18508 (Status of AIO Operations): Remove erroneous const in aio_return and
18509 aio_return64 prototypes.
18510 (Synchronizing I/O): Fix sync prototype to return void.
18511 * manual/startup.texi (Suboptions): Remove an erroneous const in
18512 getsubopt prototype.
18513 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18514 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18515 use size_t rather than int.
18516 (Scanning All Users): Likewise for getpwent_r.
18517 (Setting Groups): Add missing const to setgroups prototype.
18518 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18519 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18520 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18521 'const void *' rather than 'const char *'.
18522 (Host Address Functions): Likewise for inet_ntop.
18523 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18524 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18525 ssize_t for return value.
18526 (Sending Data): Likewise for send, sendto, sendmsg.
18527 (Socket Option Functions): Add a missing const in setsockopt prototype.
18528 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18529 use wchar_t for the argument.
18530 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18531 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18532 take no arguments.
18533 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18534 double/float/long double for second argument.
18535 Fix return types of significand, significandf, significandl.
18536 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18537 argument in fchmod prototype.
18538 (File Owner): Use uid_t and gid_t in fchown prototype.
18539 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18540 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18541 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18542 use 'const struct dirent **' as argument types to CMP function pointer
18543 argument.
18544 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18545 (File Times): Fix summary magic @comment for struct utimbuf and utime
18546 to refer to utime.h, not time.h.
18547 * manual/string.texi (Argz Functions): Add missing const in
18548 argz_extract and argz_next prototypes.
18549 (Finding Tokens in a String): Likewise for basename.
18550 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18551 (Copying and Concatenation): Fix typo in wmemmove prototype.
18552 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18553 (Signal Stack): Remove erroneous const in sigstack prototype.
18554 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18555 prototype.
18556 (Simple Calendar Time): Likewise for stime.
18557 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18558 prototype.
18559 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18560 say sys/sysctl.h instead.
18561 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18562 and vsyslog prototypes.
18563
fe77fe6d
TV
185642013-02-11 Tom de Vries <tom@codesourcery.com>
18565
18566 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18567 Remove.
18568
3a09b620
RM
185692013-02-11 Roland McGrath <roland@hack.frob.com>
18570
18571 * misc/sys/mman.h: Fix typo in mremap comment.
18572
550a0b89
RM
185732013-02-08 Roland McGrath <roland@hack.frob.com>
18574
18575 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18576 the '\0' terminator.
18577
a2da1673
JM
185782013-02-08 Joseph Myers <joseph@codesourcery.com>
18579
18580 [BZ #13550]
18581 * debug/segfault.c: Don't include <bp-checks.h>.
18582 * sysdeps/generic/bp-checks.h: Remove file.
18583 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18584 (__GETDENTS): Don't use CHECK_N.
18585 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18586 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18587 (__getgroups): Don't use CHECK_N.
18588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18589 (setgroups): Don't use CHECK_N.
18590 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18591 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18592 (__libc_msgrcv): Don't use CHECK_N.
18593 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18594 (__libc_msgsnd): Don't use CHECK_N.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18596 <bp-checks.h>.
18597 (__libc_pread): Don't use CHECK_N.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18599 include <bp-checks.h>.
18600 (__libc_pread64): Don't use CHECK_N.
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18602 include <bp-checks.h>.
18603 (__libc_pwrite): Don't use CHECK_N.
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18605 include <bp-checks.h>.
18606 (__libc_pwrite64): Don't use CHECK_N.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18608 <bp-checks.h>.
18609 (__libc_pread): Don't use CHECK_N.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18611 include <bp-checks.h>.
18612 (__libc_pread64): Don't use CHECK_N.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18614 include <bp-checks.h>.
18615 (__libc_pwrite): Don't use CHECK_N.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18617 include <bp-checks.h>.
18618 (__libc_pwrite64): Don't use CHECK_N.
18619 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18620 (do_pread): Don't use CHECK_N.
18621 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18622 (do_pread64): Don't use CHECK_N.
18623 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18624 (do_pwrite): Don't use CHECK_N.
18625 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18626 (do_pwrite64): Don't use CHECK_N.
18627 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18628 (__libc_readv): Don't use CHECK_N.
18629 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18630 (semop): Don't use CHECK_N.
18631 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18632 <bp-checks.h>.
18633 (semtimedop): Don't use CHECK_N.
18634 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18635 (__libc_pread): Don't use CHECK_N.
18636 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18637 <bp-checks.h>.
18638 (__libc_pread64): Don't use CHECK_N.
18639 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18640 <bp-checks.h>.
18641 (__libc_pwrite): Don't use CHECK_N.
18642 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18643 <bp-checks.h>.
18644 (__libc_pwrite64): Don't use CHECK_N.
18645 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18646 <bp-checks.h>.
18647 (__libc_msgrcv): Don't use CHECK_N.
18648 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18649 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18650 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18651 (__libc_writev): Don't use CHECK_N.
18652
b84660a8
RM
186532013-02-08 Roland McGrath <roland@hack.frob.com>
18654
7f3e75f8
RM
18655 * string/strcpy.c: Removed unused variable.
18656
b84660a8
RM
18657 * Makeconfig (+sysdep-includes): Define with := rather than =.
18658 Use an existing include/ subdir of each sysdeps dir before it.
18659
471514d3
CD
186602013-02-08 Carlos O'Donell <carlos@redhat.com>
18661
18662 * nscd/connection.c (register_traced_file): Comment function.
18663 [HAVE_INOTIFY] (union __inev): Define.
18664 [HAVE_INOTIFY] (inotify_check_files): New function.
18665 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18666 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18667 clear_db_cache.
18668 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18669
b2d3c3be
CD
186702013-02-08 Carlos O'Donell <carlos@redhat.com>
18671
18672 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18673 loaded if not already and that a failure is permanent.
18674
b39949d2
CD
186752013-02-08 Carlos O'Donell <carlos@redhat.com>
18676
ddacd1db 18677 [BZ #15006]
b39949d2
CD
18678 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18679 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18680
b2c9eff4
JM
186812013-02-08 Joseph Myers <joseph@codesourcery.com>
18682
f3aae3f3
JM
18683 [BZ #13550]
18684 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18685 (CHECK_1_NULL_OK): Likewise.
18686 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18687 (__fxstat): Do not use CHECK_1.
18688 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18689 <bp-checks.h>.
18690 (___fxstat64): Do not use CHECK_1.
18691 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18692 <bp-checks.h>.
18693 (__fxstatat): Do not use CHECK_1.
18694 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18695 <bp-checks.h>.
18696 (__fxstatat64): Do not use CHECK_1.
18697 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18698 <bp-checks.h>.
18699 (__fxstat): Do not use CHECK_1.
18700 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18701 <bp-checks.h>.
18702 (__fxstatat): Do not use CHECK_1.
18703 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18704 <bp-checks.h>.
18705 (__getresgid): Do not use CHECK_1.
18706 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18707 <bp-checks.h>.
18708 (__getresuid): Do not use CHECK_1.
18709 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18710 <bp-checks.h>.
18711 (__lxstat): Do not use CHECK_1.
18712 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18713 <bp-checks.h>.
18714 (__old_msgctl): Do not use CHECK_1.
18715 (__new_msgctl): Likewise.
18716 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18717 <bp-checks.h>.
18718 (__new_setrlimit): Do not use CHECK_1.
18719 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18720 <bp-checks.h>.
18721 (__old_shmctl): Do not use CHECK_1.
18722 (__new_shmctl): Likewise.
18723 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18724 <bp-checks.h>.
18725 (__xstat): Do not use CHECK_1.
18726 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18727 (__lxstat): Do not use CHECK_1.
18728 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18729 <bp-checks.h>.
18730 (___lxstat64): Do not use CHECK_1.
18731 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18732 (__old_msgctl): Do not use CHECK_1.
18733 (__new_msgctl): Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18735 <bp-checks.h>.
18736 (__gettimeofday): Do not use CHECK_1.
18737 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18738 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18739 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18740 <bp-checks.h>.
18741 (__gettimeofday): Do not use CHECK_1.
18742 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18743 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18744 (__new_shmctl): Do not use CHECK_1.
18745 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18746 <bp-checks.h>.
18747 (do_sigtimedwait): Do not use CHECK_1.
18748 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18749 <bp-checks.h>.
18750 (do_sigwaitinfo): Do not use CHECK_1.
18751 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18752 <bp-checks.h>.
18753 (msgctl): Do not use CHECK_1.
18754 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18755 <bp-checks.h>.
18756 (shmctl): Do not use CHECK_1.
18757 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18758 (ustat): Do not use CHECK_1.
18759 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18760 <bp-checks.h>.
18761 (__fxstat): Do not use CHECK_1.
18762 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18763 <bp-checks.h>.
18764 (__fxstatat): Do not use CHECK_1.
18765 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18766 <bp-checks.h>.
18767 (__lxstat): Do not use CHECK_1.
18768 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18769 <bp-checks.h>.
18770 (__xstat): Do not use CHECK_1.
18771 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18772 (__xstat): Do not use CHECK_1.
18773 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18774 (___xstat64): Do not use CHECK_1.
18775
b2c9eff4
JM
18776 [BZ #13550]
18777 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18778 definitions.
18779 (CHECK_BOUNDS_HIGH): Likewise.
18780 * string/strcpy.c: Do not include <bp-checks.h>.
18781 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18782
f1d70dad
RM
187832013-02-07 Roland McGrath <roland@hack.frob.com>
18784
18785 * nscd/nscd-client.h (__nscd_drop_map_ref):
18786 Add __attribute__ ((unused)).
18787 * nis/nss-nisplus.h (niserr2nss): Likewise.
18788
18789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18790 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18791
18792 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18793 Remove inline keyword.
18794 * include/rounding-mode.h (round_away): Likewise.
18795 * libio/wfileops.c (adjust_wide_data): Likewise.
18796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18797 (__m128i_strloadu_tolower): Likewise.
18798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18799 (__m128i_strloadu_tolower): Likewise.
18800 * time/mktime.c (ydhms_diff): Likewise.
18801 * locale/elem-hash.h (elem_hash): Likewise.
18802 * locale/setlocale.c (setdata): Likewise.
18803 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18804 (re_string_wchar_at): Likewise.
18805 (bitset_not, bitset_merge, bitset_mask): Likewise.
18806 [!(__GNUC__ > 3)] (inline): Remove macro.
18807 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18808 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18809 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18810 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18811 * string/memcmp.c (memcmp_bytes): Likewise.
18812 * locale/programs/locarchive.c (compute_hashval): Likewise.
18813 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18814 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18815 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18816 * nss/getent.c (print_rpc, print_protocols): Likewise.
18817 (print_passwd, print_group, print_aliases): Likewise.
18818 * nis/nss-nisplus.h (niserr2nss): Likewise.
18819 * nscd/connections.c (restart_p): Likewise.
18820 Change return type to bool.
18821
eab55bfb
RM
188222013-02-05 Roland McGrath <roland@hack.frob.com>
18823
7bd642f5
RM
18824 * Makeconfig (all-Depend-files): Add existing
18825 $(sorted-subdirs:=/Depend) files.
18826 (all-subdirs): Remove nss.
18827 * sysdeps/unix/inet/Subdirs: Add it here instead.
18828 * hesiod/Depend: New file.
18829
573c29b2
RM
18830 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18831 instead of calling alloca.
18832
b2e25af0
RM
18833 * io/lseek.c (__lseek): Rename to __libc_lseek.
18834 Define __lseek as an alias.
18835
eab55bfb
RM
18836 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18837
9a0d1941
CD
188382013-02-04 Carlos O'Donell <carlos@redhat.com>
18839
18840 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18841 else clause and remove check for non-standard endianness.
18842
b83bbec4
DM
188432013-02-04 David S. Miller <davem@davemloft.net>
18844
18845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18846
6277fdab
JM
188472013-02-04 Joseph Myers <joseph@codesourcery.com>
18848
18849 [BZ #13550]
18850 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18851 (__ubp_memchr): Remove prototype.
18852 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18853 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18854 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18855 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18856 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18857 Remove alias.
18858 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18859 (__ubp_memchr): Likewise.
18860 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18861 (__ubp_memchr): Likewise.
18862 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18863 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18864 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18865 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18866 CHECK_STRING.
18867 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18868 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18869 (__getcwd): Do not use CHECK_STRING.
18870 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18871 <bp-checks.h>.
18872 (__real_chown): Do not use CHECK_STRING.
18873 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18874 <bp-checks.h>.
18875 (fchownat): Do not use CHECK_STRING.
18876 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18877 CHECK_STRING.
18878 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18879 <bp-checks.h>.
18880 (__lchown): Do not use CHECK_STRING.
18881 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18882 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18883 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18884 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18886 include <bp-checks.h>.
18887 (truncate64): Do not use CHECK_STRING.
18888 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18889 <bp-checks.h>.
18890 (__real_chown): Do not use CHECK_STRING.
18891 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18892 <bp-checks.h>.
18893 (__lchown): Do not use CHECK_STRING.
18894 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18895 <bp-checks.h>.
18896 (__chown): Do not use CHECK_STRING.
18897 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18898 <bp-checks.h>.
18899 (truncate64): Do not use CHECK_STRING.
18900 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18901 Likewise.
18902 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18903 (__xmknod): Do not use CHECK_STRING.
18904 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18905 <bp-checks.h>.
18906 (__xmknodat): Do not use CHECK_STRING.
18907 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18908 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18909
903ae060
AS
189102013-02-04 Andreas Schwab <schwab@suse.de>
18911
18912 [BZ #14142]
18913 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18914 * include/netdb.h: Likewise for h_errno.
18915 * elf/tst-stackguard1.c: Include <tls.h>.
18916
542f9466
JK
189172013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18918
18919 * elf/link.h (struct link_map): Extend the l_addr comment.
18920 * include/link.h (struct link_map): Likewise.
18921
e782a927
JM
189222013-02-01 Joseph Myers <joseph@codesourcery.com>
18923
18924 [BZ #13550]
18925 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18926 (BOUNDED_1): Remove macro.
18927 * debug/backtrace.c: Don't include <bp-checks.h>.
18928 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18929 (__backtrace): Likewise.
18930 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18931 <bp-checks.h>.
18932 (__backtrace): Don't use BOUNDED_1.
18933 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18934 <bp-checks.h>.
18935 (__backtrace): Don't use BOUNDED_1.
18936 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18937 (__backtrace): Don't use BOUNDED_1.
18938 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18939 (shmat): Don't use BOUNDED_N.
18940
8cf28c5e
JM
189412013-01-31 Joseph Myers <joseph@codesourcery.com>
18942
3a7ac8a0
JM
18943 [BZ #13550]
18944 * sysdeps/generic/bp-start.h: Remove file.
18945 * csu/libc-start.c: Don't include <bp-start.h>.
18946 (LIBC_START_MAIN): Set up __environ directly instead of using
18947 INIT_ARGV_and_ENVIRON.
18948 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18949 <bp-start.h>.
18950
f3499f95
JM
18951 [BZ #13550]
18952 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18953 definitions.
18954 (CHECK_FCNTL): Likewise.
18955 (CHECK_N_PAGES): Likewise.
18956
32a45bea
JM
18957 [BZ #13550]
18958 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18959 definitions.
18960 (CHECK_SIGSET_NULL_OK): Likewise.
18961 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18962 <bp-checks.h>.
18963 (sigpending): Don't use CHECK_SIGSET.
18964 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18965 <bp-checks.h>.
18966 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18967 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18968 <bp-checks.h>.
18969 (do_sigsuspend): Don't use CHECK_SIGSET.
18970 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18971 use CHECK_SIGSET.
18972 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18973 (do_sigwait): Don't use CHECK_SIGSET.
18974 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18975 use CHECK_SIGSET.
18976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18977 include <bp-checks.h>.
18978 (sigpending): Don't use CHECK_SIGSET.
18979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18980 include <bp-checks.h>.
18981 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18982 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18983 <bp-checks.h>.
18984 (sigpending): Don't use CHECK_SIGSET.
18985 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18986 <bp-checks.h>.
18987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18988
2e8a5c8c
JM
18989 [BZ #13550]
18990 * sysdeps/generic/bp-semctl.h: Remove file.
18991 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18992 <bp-checks.h> and <bp-semctl.h>.
18993 (__old_semctl): Don't use CHECK_SEMCTL.
18994 (__new_semctl): Likewise.
18995 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18996 and <bp-semctl.h>.
18997 (__old_semctl): Don't use CHECK_SEMCTL.
18998 (__new_semctl): Likewise.
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19000 <bp-checks.h> and <bp-semctl.h>.
19001 (__old_semctl): Don't use CHECK_SEMCTL.
19002 (__new_semctl): Likewise.
19003 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19004 <bp-checks.h> and <bp-semctl.h>.
19005 (semctl): Don't use CHECK_SEMCTL.
19006
c2d54929
JM
19007 [BZ #13550]
19008 * Makerules (elide-bp-thunks): Remove variable.
19009 (elide-routines.oS): Don't use $(elide-bp-thunks).
19010 (elide-routines.os): Likewise.
19011 (elide-routines.o): Likewise.
19012 (elide-routines.op): Likewise.
19013 (elide-routines.og): Likewise.
19014 (objects): Don't use $(bp-thunks).
19015 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19016 include.
19017 (common-generated): Do not add s-proto-bp.d.
19018 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19019 (int): Likewise.
19020 (typ): Likewise.
19021 Do not generate makefile rules for bounded-pointer thunks.
19022 * sysdeps/generic/bp-thunks.h: Remove file.
19023 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19024 * sysdeps/unix/s-proto-bp.S: Likewise.
19025
8cf28c5e
JM
19026 [BZ #15062]
19027 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19028 parts of result separately when argument is not close to line from
19029 -i to i and one part of argument is small.
19030 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19031 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19032 * math/libm-test.inc (cacos_test): Add more tests.
19033 (casin_test): Likewise.
19034 (casinh_test): Likewise.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19037
c4e33b8d
DM
190382013-01-31 David S. Miller <davem@davemloft.net>
19039
19040 * po/de.po: Update from translation team.
19041
3b60b421
MK
190422013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19043
19044 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19045
bb931195
TS
190462013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19047
b5a5da23
TS
19048 * configure.in (_AC_PROG_CC_C89): New definition.
19049 * configure: Regenerate.
19050
bb931195
TS
19051 * configure.in (AC_PROG_CPP): New definition.
19052 * configure: Regenerate.
19053
8c53a12c
JM
190542013-01-23 Joseph Myers <joseph@codesourcery.com>
19055
19056 * debug/tst-backtrace.h: New file.
19057 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19058 (ret): Remove variable.
19059 (x): Likewise.
19060 (FAIL): Remove macro.
19061 (NO_INLINE): Likewise.
19062 (fn1): Use match function instead of strstr.
19063 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19064 (ret): Remove variable.
19065 (x): Likewise.
19066 (FAIL): Remove macro.
19067 (NO_INLINE): Likewise.
19068 (fn): Use match function instead of strstr.
19069 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19070 (ret): Remove variable.
19071 (x): Likewise.
19072 (FAIL): Remove macro.
19073 (NO_INLINE): Likewise.
19074 (handle_signal): Use match function instead of strstr.
19075 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19076 (ret): Remove variable.
19077 (x): Likewise.
19078 (FAIL): Remove macro.
19079 (NO_INLINE): Likewise.
19080 (handle_signal): Use match function instead of strstr.
19081
4858fa2a
RM
190822013-01-23 Roland McGrath <roland@hack.frob.com>
19083
19084 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19085
bae8e7f5
DM
190862013-01-23 David S. Miller <davem@davemloft.net>
19087
19088 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19089 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19090 argument of CAS if possible.
19091 * sysdeps/sparc/sparc64/bits/atomic.h
19092 (__arch_compare_and_exchange_val_32_acq): Likewise.
19093 (__arch_compare_and_exchange_val_64_acq): Likewise.
19094
9cbbc4ae
PT
190952013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19096
19097 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19098 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19099 Include <limits.h>.
67b3f58c 19100 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19101
5655a0b5
AC
191022013-01-23 Adam Conrad <adconrad@0c3.net>
19103
19104 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19105 (LDFLAGS-tst-array5): Likewise.
19106
052aff95
JM
191072013-01-23 Joseph Myers <joseph@codesourcery.com>
19108
19109 [BZ #15036]
19110 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19111 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19112 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19113 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19114
7c1e01aa
DM
191152013-01-21 David S. Miller <davem@davemloft.net>
19116
19117 * sysdeps/sparc/backtrace.c: New file.
19118 * sysdeps/sparc/sparc32/backtrace.h: New file.
19119 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19120 * sysdeps/sparc/sparc64/backtrace.h: New file.
19121 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19122 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19123 -funwind-tables.
19124
ab087e0a
AS
191252013-01-21 Andreas Schwab <schwab@suse.de>
19126
19127 [BZ #15020]
19128 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19129 closed its stdout.
19130
ed689c2f
AS
191312013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19132
19133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19134 "mpa2.h".
19135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19136
31d470ac
JM
191372013-01-18 Joseph Myers <joseph@codesourcery.com>
19138 Mark Mitchell <mark@codesourcery.com>
19139 Tom de Vries <tom@codesourcery.com>
19140 Paul Pluzhnikov <ppluzhnikov@google.com>
19141
19142 * debug/tst-backtrace2.c: New file.
19143 * debug/tst-backtrace3.c: Likewise.
19144 * debug/tst-backtrace4.c: Likewise.
19145 * debug/tst-backtrace5.c: Likewise.
19146 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19147 (CFLAGS-tst-backtrace3.c): Likewise.
19148 (CFLAGS-tst-backtrace4.c): Likewise.
19149 (CFLAGS-tst-backtrace5.c): Likewise.
19150 (LDFLAGS-tst-backtrace2): Likewise.
19151 (LDFLAGS-tst-backtrace3): Likewise.
19152 (LDFLAGS-tst-backtrace4): Likewise.
19153 (LDFLAGS-tst-backtrace5): Likewise.
19154 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19155 tst-backtrace4 and tst-backtrace5.
19156
90567f30 191572013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19158 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19159
19160 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19161 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19162 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19163 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19165 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19166 "+r" and remove output regs list as redundant. Add explicit inline
19167 asm to specify register of return val to work around compiler codegen
19168 bug. Remove (int) cast on return value. Add return type parameter to
19169 use in macro so that this macro does not truncate return value for
19170 64-bit values.
19171 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19172 pass to INTERNAL_VSYSCALL_NCS.
19173 (INLINE_VSYSCALL): Add 'long int' as return type to
19174 INTERNAL_VSYSCALL_NCS macro invocation.
19175 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19176 INTERNAL_VSYSCALL_NCS macro invocation.
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19178
d3b9ea61
SP
191792013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19180
0b57daeb
SP
19181 [BZ #14496]
19182 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19183 Fix application of SIMD FP exception mask.
19184
caa99d06
SP
19185 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19186 mp_no from a power of two.
19187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19188 __mpexp_twomm1. Use __pow_mp.
19189
d3b9ea61
SP
19190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19191 multiplication.
19192
1dbaee3c
DM
191932013-01-17 David S. Miller <davem@davemloft.net>
19194
19195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19196
728d7b43
JM
191972013-01-17 Joseph Myers <joseph@codesourcery.com>
19198
19199 [BZ #15023]
19200 * include/complex.h: Condition contents on [!_COMPLEX_H].
19201 (__kernel_casinhf): New prototype.
19202 (__kernel_casinh): Likewise.
19203 (__kernel_casinhl): Likewise.
19204 * math/Makefile (libm_calls): Add k_casinh.
19205 * math/k_casinh.c: New file.
19206 * math/k_casinhf.c: Likewise.
19207 * math/k_casinhl.c: Likewise.
19208 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19209 finite nonzero arguments.
19210 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19211 finite nonzero arguments.
19212 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19213 finite nonzero arguments.
19214 * math/s_casinh.c: Do not include <float.h>.
19215 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19216 * math/s_casinhf.c: Do not include <float.h>.
19217 (__casinhf): Move code for finite nonzero arguments to
19218 k_casinhf.c.
19219 * math/s_casinhl.c: Do not include <float.h>.
19220 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19221 redefine.
19222 (__casinhl): Move code for finite nonzero arguments to
19223 k_casinhl.c.
19224 * math/libm-test.inc (cacos_test): Add more tests.
19225 * sysdeps/i386/fpu/libm-test-ulps: Update.
19226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19227
2a26ef3a
PT
192282013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19229
19230 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19231 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19232 [!HAVE_MREMAP]: Remove [defined linux] case.
19233 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19234
a897655d
SP
192352013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19236
19237 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19238
881ebe89 192392013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19240
19241 * elf/elf.h (R_386_SIZE32): New relocation.
19242 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19243 R_386_SIZE32.
19244 (elf_machine_rela): Likewise.
19245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19246 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19247
59981e9b
JM
192482013-01-17 Joseph Myers <joseph@codesourcery.com>
19249
19250 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19251 (FP_FAST_FMA): Do not define.
19252 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19253 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19254 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19255 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19256 !_SOFT_FLOAT]: Likewise.
19257 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19259 value.
19260 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19261 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19262 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19263 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19264 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19265 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19266 file.
19267
cfa8054f
AS
192682013-01-16 Andreas Schwab <schwab@suse.de>
19269
19270 [BZ #14327]
19271 * include/stdlib.h (__mktemp): Add declaration.
19272 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19273 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19274
dd930cc5
SP
192752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19276
881ebe89
SP
19277 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19278 definitions.
19279 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19280 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19281 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19282 definitions here.
19283 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19284 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19285 definitions.
19286 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19287 and ONE.
19288 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19289 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19291 definitions.
19292 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19293 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19294 definitions.
19295 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19296
dd930cc5
SP
19297 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19298
c19a9f89
DM
192992013-01-15 David S. Miller <davem@davemloft.net>
19300
1aa61767
DM
19301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19302 trunc{,f} to libm-sysdep_routes.
19303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19305 file.
19306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19308 file.
19309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19310 file.
19311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19313 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19314 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19315 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19316 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19317 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19318 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19319
c42d5e98
DM
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19321 nearbyint{,f} to libm-sysdep_routes.
19322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19324 New file.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19326 file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19328 New file.
19329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19330 file.
19331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19334 file.
19335 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19337 file.
19338 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19339 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19340 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19341
c19a9f89
DM
19342 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19343 libc_feholdexcept and libc_fesetenv.
19344
357679d2
MF
193452013-01-15 Mike Frysinger <vapier@gentoo.org>
19346
19347 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19348
65a82e3d
DM
193492013-01-14 David S. Miller <davem@davemloft.net>
19350
8b954ab9
DM
19351 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19352 (SPARC_ASM_VIS2_IFUNC): Likewise.
19353 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19355 use of 'siam' instruction.
19356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19357 Likewise.
19358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19359 Likewise.
19360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19361 Likewise.
19362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19367 file.
19368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19369 file.
19370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19371 file.
19372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19373 file.
19374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19379 new VIS2 routines.
19380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19383 Likewise.
19384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19389 routines to libm-sysdep_routines.
19390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19391
65a82e3d
DM
19392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19393 fdim/fdimf to libm-sysdep_routines.
19394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19395 file.
19396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19398 file.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19402 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19403 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19404 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19405 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19406
e34ab705
SP
194072013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19408
2a91b573
SP
19409 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19410 to optimize copies.
19411
1066a534
SP
19412 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19415
e34ab705
SP
19416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19417 local variable MPTWO.
19418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19419 Likewise.
19420
aba5e596
MF
194212013-01-13 Mike Frysinger <vapier@gentoo.org>
19422
19423 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19424 GLOB_NOESCAPE.
19425
e557e9e5
MF
194262013-01-13 Mike Frysinger <vapier@gentoo.org>
19427
19428 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19429
0428cec9
MF
194302013-01-13 Mike Frysinger <vapier@gentoo.org>
19431
19432 * manual/pattern.texi (glob_t): Document gl_flags.
19433 (glob64_t): Likewise.
19434
8794a964
DM
194352013-01-11 David S. Miller <davem@davemloft.net>
19436
66438c3f
RM
19437 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19438 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19439 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19440 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19441 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19442 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19443 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19444 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19445 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19446 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19447 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19448 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19449 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19450
4ae4244d
DM
19451 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19452 sparc V9 rather than using V8 code.
19453 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19454 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19455
8794a964
DM
19456 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19457 Move to...
19458 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19459 Here.
19460
6270516e
RM
194612013-01-11 Roland McGrath <roland@hack.frob.com>
19462
19463 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19464 not in the main loop.
19465 * configure: Regenerated.
19466
6a57d931
JM
194672013-01-11 Joseph Myers <joseph@codesourcery.com>
19468
19469 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19470 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19471 to just #else.
19472 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19473 [!__GLIBC_HAVE_LONG_LONG] case.
19474 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19475 condition to just #else.
19476 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19477 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19478 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19479 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19480 unconditional.
19481 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19482 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19483 #elif condition to just #else.
19484 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19485 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19486 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19487 #elif condition to just #else.
19488
0e8529e9
SE
194892013-01-11 Steve Ellcey <sellcey@mips.com>
19490
19491 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19492 (EF_MIPS_ARCH_64): Fix value.
19493 (EF_MIPS_ARCH_32R2): New.
19494 (EF_MIPS_ARCH_64R2): New.
19495
740b3dbe
L
194962013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19497
19498 * Makeconfig (+link-pie-before-libc): New.
19499 (+link-pie-after-libc): Likewise.
19500 (+link-pie-tests): Likewise.
19501 (+link-pie): Rewritten.
19502 (link-before-libc): Remove $(config-LDFLAGS).
19503 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19504 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19505 (config-LDFLAGS): Renamed to ...
19506 (rtld-LDFLAGS): This.
19507 (rtld-tests-LDFLAGS): New macro.
19508 (link-libc-rpath-link): Likewise.
19509 (link-libc-tests-rpath-link): Likewise.
19510 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19511 (link-libc): Prepand $(link-libc-rpath-link).
19512 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19513 (test-program-prefix): New macro.
19514 (test-via-rtld-prefix): Likewise.
19515 (test-program-cmd): Likewise.
19516 (host-test-program-cmd): Likewise.
19517 * Makefile ($(common-objpfx)testrun.sh): Replace
19518 $(run-program-prefix) with $(test-program-prefix).
19519 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19520 $(rtld-LDFLAGS).
19521 ($(common-objpfx)shlib.lds): Likewise.
19522 (build-module-helper): Likewise.
19523 ($(common-objpfx)format.lds): Likewise.
19524 * Rules (binaries-pie-tests): New.
19525 (binaries-pie-notests): Likewise.
19526 (binaries-pie): Rewritten.
19527 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19528 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19529 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19530 (make-test-out): Replace $(host-built-program-cmd) with
19531 $(host-test-program-cmd).
19532 * config.make.in (build-hardcoded-path-in-tests): New variable.
19533 * configure.in (--enable-hardcoded-path-in-tests): New configure
19534 option.
19535 (hardcoded_path_in_tests): New AC_SUBST.
19536 * configure: Regenerated.
19537 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19538 $(built-program-cmd) with $(test-program-cmd).
19539 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19540 (test_program_cmd): This.
19541 * elf/Makefile ($(objpfx)order.out): Run test with
19542 $(test-program-prefix).
19543 ($(objpfx)order2.out): Likewise.
19544 ($(objpfx)tst-initorder.out): Likewise.
19545 ($(objpfx)tst-initorder2.out): Likewise.
19546 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19547 $(test-program-cmd).
19548 ($(objpfx)tst-array1-static.out): Likewise.
19549 ($(objpfx)tst-array2.out): Likewise.
19550 ($(objpfx)tst-array3.out): Likewise.
19551 ($(objpfx)tst-array4.out): Likewise.
19552 ($(objpfx)tst-array5.out): Likewise.
19553 ($(objpfx)tst-array5-static.out): Likewise.
19554 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19555 $(test-program-cmd).
19556 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19557 $(run-program-prefix) with $(test-program-prefix).
19558 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19559 (test_program_prefix): This.
19560 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19561 $(run-program-prefix) with $(test-program-prefix).
19562 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19563 (test_program_prefix): This.
19564 * iconvdata/tst-tables.sh: Likewise.
19565 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19566 $(run-program-prefix) with $(test-program-prefix).
19567 ($(objpfx)tst-translit.out): Likewise.
19568 ($(objpfx)tst-gettext2.out): Likewise.
19569 ($(objpfx)tst-gettext4.out): Likewise.
19570 ($(objpfx)tst-gettext6.out): Likewise.
19571 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19572 (test_program_prefix): This.
19573 * intl/tst-gettext2.sh: Likewise.
19574 * intl/tst-gettext4.sh Likewise.
19575 * intl/tst-gettext6.sh: Likewise.
19576 * intl/tst-translit.sh: Likewise.
19577 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19578 with $(test-program-cmd).
19579 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19580 $(run-program-prefix) with $(test-program-prefix).
19581 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19582 (test_program_prefix): This.
19583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19584 $(run-program-prefix) with $(test-program-prefix).
19585 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19586 (test_program_prefix): This.
19587 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19588 * posix/Makefile ($(objpfx)globtest.out): Replace
19589 $(run-via-rtld-prefix) and $(test-wrapper) with
19590 $(test-program-prefix) and $(test-via-rtld-prefix).
19591 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19592 $(test-program-prefix).
19593 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19594 $(host-test-program-cmd).
19595 (tst-spawn-ARGS): Likewise.
19596 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19597 $(test-program-prefix).
19598 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19599 (test_via_rtld_prefix): This.
19600 (test_wrapper): Renamed to ...
19601 (test_program_prefix): This.
19602 (run_program_prefix): Replaced by test_program_prefix.
19603 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19604 (test_program_prefix): This.
19605 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19606 with $(host-test-program-cmd).
19607 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19608 $(run-program-prefix) with $(test-program-prefix).
19609 ($(objpfx)tst-printf.out): Likewise.
19610 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19611 $(test-program-cmd).
19612 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19613 (test_program_prefix): This.
19614 * stdio-common/tst-unbputc.sh: Likewise.
19615 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19616 $(run-program-prefix) with $(test-program-prefix).
19617 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19618 (test_program_prefix): This.
19619 * string/Makefile ($(objpfx)tst-svc.out): Replace
19620 $(built-program-cmd) with $(test-program-cmd).
19621
c6fe55cf
AJ
196222013-01-11 Andreas Jaeger <aj@suse.de>
19623
19624 [BZ #15003]
19625 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19626 value. Sync with Linux 3.7.
19627
9e6919c8
DM
196282013-01-10 David S. Miller <davem@davemloft.net>
19629
19630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19631 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19632 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19633
1c9f1a02
RM
196342013-01-10 Roland McGrath <roland@hack.frob.com>
19635
19636 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19637 never set.
19638 * configure: Regenerated.
19639
b9de2dde
DM
196402013-01-10 David S. Miller <davem@davemloft.net>
19641
19642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19643 sparc V9 rather than using V8 code.
19644 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19645 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19646
e7f68ef4
RM
196472013-01-10 Roland McGrath <roland@hack.frob.com>
19648
19649 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19650 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19651 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19652 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19653 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19654 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19655 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19656 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19657 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19658 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19659 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19660 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19661 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19662 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19663 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19664 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19665 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19666 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19667 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19668 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19669 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19670 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19671 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19672 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19673 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19674 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19675 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19676
5a47cc9c
DM
196772013-01-10 David S. Miller <davem@davemloft.net>
19678
19679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19680
4cf8f209
L
196812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19682
19683 * posix/Makefile (tests-static): New variable.
19684 (tests): Add $(tests-static).
19685 (tst-exec-static-ARGS): New variable.
19686 (tst-spawn-static-ARGS): Likewise.
19687 * posix/tst-exec-static.c: New file.
19688 * posix/tst-spawn-static.c: Likewise.
19689 * posix/tst-exec.c: Support run directly.
19690 * posix/tst-spawn.c: Likewise.
19691
fed0faa1
JM
196922013-01-10 Joseph Myers <joseph@codesourcery.com>
19693
828beb13
JM
19694 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19695 long.
19696 * math/bits/mathcalls.h (llrint): Likewise.
19697 (llround): Likewise.
19698 * stdlib/stdlib.h (struct drand48_data): Likewise.
19699 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19700 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19701 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19702 Likewise.
19703 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19704 Likewise.
19705 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19706 (elf_greg_t): Likewise.
19707 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19708 (__jmp_buf): Likewise.
19709 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19710 definitions.
19711 (llrint): Likewise, for all definitions.
19712 (llrintl): Likewise.
19713
fed0faa1
JM
19714 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19715 Remove [__GNUC__] condition.
19716 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19717 condition to just [__USE_ISOC99].
19718 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19719
1a20cb20
L
197202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19721
19722 [BZ #14200]
19723 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19724 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19725 defined.
19726 (_POSIX_V6_ILP32_OFF32): Likewise.
19727 (_XBS5_ILP32_OFF32): Likewise.
19728 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19729 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19730
751b85f7
SP
197312013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19732
7490eb81
SP
19733 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19734
751b85f7
SP
19735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19736 doubles __mpexp_twomm1. Adjust usage.
19737 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19738 Remove.
19739
988197f0
AS
197402013-01-10 Andreas Schwab <schwab@suse.de>
19741
19742 [BZ #14964]
19743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19744 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19745
e83d7298
DM
197462013-01-09 David S. Miller <davem@davemloft.net>
19747
034ed64b 19748 [BZ #15003]
57f41c40
AS
19749 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19750 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19751 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19752 (TCP_FASTOPEN): Define.
e83d7298
DM
19753 (tcp_repair_opt): New structure.
19754 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19755 enum values.
57f41c40
AS
19756 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19757 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19758 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19759 (tcp_cookie_transactions): New structure.
19760
d5e0b9bd
AB
197612013-01-09 Anton Blanchard <anton@samba.org>
19762
19763 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19764 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19765 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19766 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19767
0c07e3ea
JM
197682013-01-09 Joseph Myers <joseph@codesourcery.com>
19769
19770 * include/features.h (__USE_ANSI): Remove.
19771
232f7002
RM
197722013-01-09 Roland McGrath <roland@hack.frob.com>
19773
ad98e30c
RM
19774 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19775
232f7002
RM
19776 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19777
950c99ca
SP
197782013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19779
b5792741
SP
19780 * sysdeps/s390/fpu/libm-test-ulps: Update.
19781
47cf2278
SP
19782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19783
950c99ca
SP
19784 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19785 (__acr): Likewise.
19786 (__cpy): Likewise.
19787 (norm): Likewise.
19788 (denorm): Likewise.
19789 (__mp_dbl): Likewise.
19790 (__dbl_mp): Likewise.
19791 (add_magnitudes): Likewise.
19792 (sub_magnitudes): Likewise.
19793 (__add): Likewise.
19794 (__sub): Likewise.
19795 (__mul): Likewise.
19796 (__inv): Likewise.
19797 (__dvd): Likewise.
19798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19799 (__acr): Likewise.
19800 (__cpy): Likewise.
19801 (norm): Likewise.
19802 (denorm): Likewise.
19803 (__mp_dbl): Likewise.
19804 (__dbl_mp): Likewise.
19805 (add_magnitudes): Likewise.
19806 (sub_magnitudes): Likewise.
19807 (__add): Likewise.
19808 (__sub): Likewise.
19809 (__mul): Likewise.
19810 (__inv): Likewise.
19811 (__dvd): Likewise.
19812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19813 (__acr): Likewise.
19814 (__cpy): Likewise.
19815 (norm): Likewise.
19816 (denorm): Likewise.
19817 (__mp_dbl): Likewise.
19818 (__dbl_mp): Likewise.
19819 (add_magnitudes): Likewise.
19820 (sub_magnitudes): Likewise.
19821 (__add): Likewise.
19822 (__sub): Likewise.
19823 (__mul): Likewise.
19824 (__inv): Likewise.
19825 (__dvd): Likewise.
19826
eede9df9
JM
198272013-01-08 Joseph Myers <joseph@codesourcery.com>
19828
19829 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19830 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19831 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19832 2 && __USE_EXTERN_INLINES]: Likewise.
19833
c40ea3d9
AJ
198342013-01-08 Andreas Jaeger <aj@suse.de>
19835
19836 [BZ# 14985]
19837 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19838 Remove.
19839 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19840 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19841
2ccdea26
AB
198422013-01-07 Anton Blanchard <anton@samba.org>
19843
19844 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19845 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19846 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19847 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19848 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19849 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19850 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19851 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19853 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19855 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19858 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19861 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19862 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19863 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19865 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19867 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19868 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19869 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19870 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19871 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19873 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19874 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19876 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19877 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19878 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19879 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19880 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19881 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19882 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19883 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19884 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19886 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19887
a9708fed
JM
198882013-01-07 Joseph Myers <joseph@codesourcery.com>
19889
375607b9
JM
19890 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19891 (__MALLOC_PMT): Likewise.
19892 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19893 [__GNUC__], only on [_LIBC].
19894 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19895 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19896 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19897 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19898 forward declaration.
19899 (realloc_hook_ini): Likewise.
19900 (memalign_hook_ini): Likewise.
19901 (__libc_memalign): Do not use __MALLOC_PMT in variable
19902 declaration.
19903 (__libc_valloc): Likewise.
19904 (__libc_pvalloc): Likewise.
19905 (__libc_calloc): Likewise.
19906 (__posix_memalign): Likewise.
19907
a9708fed
JM
19908 [BZ #14996]
19909 * math/s_casinh.c: Include <float.h>.
19910 (__casinh): Do not do computation with squaring and square root
19911 for large arguments.
19912 * math/s_casinhf.c: Include <float.h>.
19913 (__casinhf): Do not do computation with squaring and square root
19914 for large arguments.
19915 * math/s_casinhl.c: Include <float.h>.
19916 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19917 (__casinhl): Do not do computation with squaring and square root
19918 for large arguments.
19919 * math/libm-test.inc (casin_test): Add more tests.
19920 (casinh_test): Likewise.
19921 * sysdeps/i386/fpu/libm-test-ulps: Update.
19922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19923
afec409a
L
199242013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19925
19926 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19927 (__x86_64_raw_data_cache_size): Likewise.
19928 (__x86_64_data_cache_size_half): Likewise.
19929 (__x86_64_raw_data_cache_size_half): Likewise.
19930 (__x86_64_shared_cache_size): Likewise.
19931 (__x86_64_raw_shared_cache_size): Likewise.
19932 (__x86_64_shared_cache_size_half): Likewise.
19933 (__x86_64_raw_shared_cache_size_half): Likewise.
19934 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19935 to ...
19936 (__x86_data_cache_size): This.
19937 (__x86_64_raw_data_cache_size): Renamed to ...
19938 (__x86_raw_data_cache_size): This.
19939 (__x86_64_data_cache_size_half): Renamed to ...
19940 (__x86_data_cache_size_half): This.
19941 (__x86_64_raw_data_cache_size_half): Renamed to ...
19942 (__x86_raw_data_cache_size_half): This.
19943 (__x86_64_shared_cache_size): Renamed to ...
19944 (__x86_shared_cache_size): This.
19945 (__x86_64_raw_shared_cache_size): Renamed to ...
19946 (__x86_raw_shared_cache_size): This.
19947 (__x86_64_shared_cache_size_half): Renamed to ...
19948 (__x86_shared_cache_size_half): This.
19949 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19950 (__x86_raw_shared_cache_size_half): This.
19951 * sysdeps/x86_64/memcpy.S: Updated.
19952 * sysdeps/x86_64/memset.S: Likewise.
19953 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19956
0b3986d0
DM
199572013-01-04 David S. Miller <davem@davemloft.net>
19958
19959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19960
e47686e9
AS
199612013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19962
d643bac1
AS
19963 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19964 1 to avoid redefinition warning.
19965 (__USE_GNU): Don't define.
19966 (init_signaling_nan): Protoize.
19967
e47686e9
AS
19968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19969
b18decba
SP
199702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19971
fffb407f
SP
19972 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19974 (__cpymn): Likewise.
19975 (norm): Remove commented code.
19976 (denorm): Likewise.
19977 (__mp_dbl): Likewise.
19978 (__inv): Likewise.
19979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19980 (__cpymn): Likewise.
19981 (norm): Remove commented code.
19982 (denorm): Likewise.
19983 (__mp_dbl): Likewise.
19984 (__inv): Likewise.
19985
b18decba
SP
19986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19987 mp_no value for 1.0 and 2.0.
19988 (norm): Use RADIXI instead of radixi.d.
19989 (denorm): Likewise.
19990 (__mul): Use 0.0 instead of zero.d.
19991 * sysdeps/powerpc/powerpc64/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
cdc1c96f
JM
199972013-01-04 Joseph Myers <joseph@codesourcery.com>
19998
19999 [BZ #14994]
20000 * math/s_casinh.c (__casinh): Reduce finite argument to first
20001 quadrant then set signs of results at the end.
20002 * math/s_casinhf.c (__casinhf): Likewise.
20003 * math/s_casinhl.c (__casinhl): Likewise.
20004 * math/libm-test.inc (casin_test): Add more tests.
20005 (casinh_test): Likewise.
20006 * sysdeps/i386/fpu/libm-test-ulps: Update.
20007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20008
302913e1
SP
200092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20010
6420d207
SP
20011 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20012
a9e48ab4
SP
20013 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20014
b7837264
SP
20015 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20016 declarations.
20017 (denorm): Likewise.
20018 (__mp_dbl): Likewise.
20019 (__inv): Likewise.
20020
f8af25d2
SP
20021 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20022 and adjust the header comment.
20023
302913e1
SP
20024 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20025 variable name from declaration.
20026
5d7dd1ca
L
200272013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20028
20029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20030 Initialize COMMON_CPUID_INDEX_7 element.
20031 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20032 (CPUID_RTM): Likewise.
20033 (HAS_RTM): Likewise.
20034 (COMMON_CPUID_INDEX_7): New enum.
20035
2f5f40f4
AS
200362013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20037
20038 [BZ #14981]
20039 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20040 size is zero, record memory as freed.
20041
4056f4a0
AJ
200422013-01-03 Andreas Jaeger <aj@suse.de>
20043
20044 * po/ia.po: Add new Interlingua translation.
20045
ab15736f 200462012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20047
20048 * locale/programs/localedef.c: Fix description of '--posix' flag.
20049
568035b7
JM
200502013-01-02 Joseph Myers <joseph@codesourcery.com>
20051
e6898b8d
JM
20052 * NEWS: Update dates in second copyright notice.
20053 * README: Update copyright dates in example.
20054 * manual/libc.texinfo: Update copyright dates.
20055 * scripts/test-installation.pl: Update copyright date in --version
20056 output.
20057
0e2f9562
JM
20058 * hurd/ctty-input.c: Fix copyright notice formatting.
20059 * hurd/ctty-output.c: Likewise.
20060 * hurd/dtable.c: Likewise.
20061 * hurd/hurd-raise.c: Likewise.
20062 * hurd/hurdprio.c: Likewise.
20063 * hurd/msgportdemux.c: Likewise.
20064 * misc/sys/file.h: Likewise.
20065 * misc/sys/ioctl.h: Likewise.
20066 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20067 * sysdeps/mach/hurd/chdir.c: Likewise.
20068 * sysdeps/mach/hurd/fchdir.c: Likewise.
20069 * sysdeps/mach/hurd/rename.c: Likewise.
20070 * sysdeps/mach/hurd/rmdir.c: Likewise.
20071 * sysdeps/mach/hurd/seekdir.c: Likewise.
20072 * sysdeps/mach/hurd/setsid.c: Likewise.
20073 * sysdeps/posix/wait3.c: Likewise.
20074
568035b7
JM
20075 * All files with FSF copyright notices: Update copyright dates
20076 using scripts/update-copyrights.
20077 * intl/plural.c: Regenerated.
20078 * locale/programs/charmap-kw.h: Likewise.
20079 * locale/programs/locfile-kw.h: Likewise.
20080
da08f647
SP
200812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20082
0f5477af
SP
20083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20084 four values.
20085
44e0d4c2
SP
20086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20087 calculation loop and add branch prediction.
20088
4d55b4e5
SP
20089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20090 check access beyond bounds of m1np.
20091
da08f647
SP
20092 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20093 MPTWO.
20094 (__inv): Remove local variable MPTWO to use the global
20095 constant.
20096 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20097 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20098 variable MPTWO.
20099 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20100 MP3HALFS static const.
20101
8e051029
DM
201022013-01-01 David S. Miller <davem@davemloft.net>
20103
20104 * po/ca.po: Update from translation team.
20105
f4cf5f2d
JM
201062013-01-01 Joseph Myers <joseph@codesourcery.com>
20107
20108 * scripts/update-copyrights: New file.
20109 * Makeconfig: Reformat copyright notice.
20110 * ctype/ctype.h: Likewise.
20111 * debug/swprintf_chk.c: Likewise.
20112 * elf/dl-cache.c: Likewise.
20113 * elf/dl-debug.c: Likewise.
20114 * elf/dl-object.c: Likewise.
20115 * grp/initgroups.c: Likewise.
20116 * hurd/Makefile: Likewise.
20117 * hurd/hurd/signal.h: Likewise.
20118 * hurd/hurdfault.c: Likewise.
20119 * hurd/hurdioctl.c: Likewise.
20120 * hurd/hurdlookup.c: Likewise.
20121 * hurd/intr-msg.c: Likewise.
20122 * iconv/gconv_open.c: Likewise.
20123 * libio/swprintf.c: Likewise.
20124 * locale/lc-ctype.c: Likewise.
20125 * locale/nl_langinfo.c: Likewise.
20126 * mach/Machrules: Likewise.
20127 * mach/Makefile: Likewise.
20128 * malloc/obstack.h: Likewise.
20129 * manual/Makefile: Likewise.
20130 * manual/tsort.awk: Likewise.
20131 * misc/bits/stab.def: Likewise.
20132 * nis/nis_print_group_entry.c: Likewise.
20133 * nis/nis_table.c: Likewise.
20134 * nis/nss_compat/compat-pwd.c: Likewise.
20135 * nis/nss_compat/compat-spwd.c: Likewise.
20136 * po/Makefile: Likewise.
20137 * posix/fnmatch.c: Likewise.
20138 * posix/regex.h: Likewise.
20139 * resolv/Makefile: Likewise.
20140 * resolv/nss_dns/dns-network.c: Likewise.
20141 * resolv/res_hconf.c: Likewise.
20142 * scripts/gen-sorted.awk: Likewise.
20143 * soft-fp/soft-fp.h: Likewise.
20144 * stdio-common/printf.h: Likewise.
20145 * stdlib/monetary.h: Likewise.
20146 * stdlib/random.c: Likewise.
20147 * stdlib/random_r.c: Likewise.
20148 * sysdeps/generic/Makefile: Likewise.
20149 * sysdeps/gnu/Makefile: Likewise.
20150 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20170 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20171 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20178 * sysdeps/mach/hurd/errnos.awk: Likewise.
20179 * sysdeps/mach/hurd/fork.c: Likewise.
20180 * sysdeps/mach/hurd/getcwd.c: Likewise.
20181 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20182 * sysdeps/mach/hurd/mmap.c: Likewise.
20183 * sysdeps/mach/hurd/utimes.c: Likewise.
20184 * sysdeps/mach/hurd/xmknod.c: Likewise.
20185 * sysdeps/posix/profil.c: Likewise.
20186 * sysdeps/posix/readdir_r.c: Likewise.
20187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20188 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20189 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20190 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20192 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20193 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20194 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20196 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20198 * sysdeps/pthread/lio_listio.c: Likewise.
20199 * sysdeps/sparc/dl-procinfo.h: Likewise.
20200 * sysdeps/unix/i386/sysdep.S: Likewise.
20201 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20202 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20203 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20204 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20206 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20207 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20208 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20209 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20210 * sysdeps/wordsize-32/divdi3.c: Likewise.
20211 * time/sys/time.h: Likewise.
20212 * wcsmbs/Makefile: Likewise.
20213
0549fbba
DM
202142013-01-01 David S. Miller <davem@davemloft.net>
20215
a141f1a7
DM
20216 * po/fr.po: Update from translation team.
20217
0549fbba
DM
20218 * catgets/gencat.c: Update copyright year.
20219 * csu/version.c: Likewise.
20220 * debug/catchsegv.sh: Likewise.
20221 * debug/pcprofiledump.c: Likewise.
20222 * debug/xtrace.sh: Likewise.
20223 * elf/ldconfig.c: Likewise.
20224 * elf/ldd.bash.in: Likewise.
20225 * elf/pldd.c: Likewise.
20226 * elf/sotruss.ksh: Likewise.
20227 * elf/sprof.c: Likewise.
20228 * iconv/iconv_prog.c: Likewise.
20229 * iconv/iconvconfig.c: Likewise.
20230 * locale/programs/locale.c: Likewise.
20231 * locale/programs/localedef.c: Likewise.
20232 * login/programs/pt_chown.c: Likewise.
20233 * malloc/memusage.sh: Likewise.
20234 * malloc/memusagestat.c: Likewise.
20235 * malloc/mtrace.pl: Likewise.
20236 * nscd/nscd.c: Likewise.
20237 * nss/getent.c: Likewise.
20238 * nss/makedb.c: Likewise.
20239 * posix/getconf.c: Likewise.
20240
18ea052c
SP
202412012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20242
20243 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20244 numbers.
20245
9c89fca6
MF
202462012-12-30 Mike Frysinger <vapier@gentoo.org>
20247
20248 * math/bits/mathcalls.h (modf): Use __nonnull.
20249
085ec079
SP
202502012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20251
20252 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20253 (split): Use macro CN instead of the bare value.
20254 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20255 could be used.
20256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20257 instead of the bare value.
20258 (power1): Likewise.
20259
6d9f97e1
SP
202602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20261
d63f73be
SP
20262 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20263 __ATAN_TWOM.
20264 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20265
6d9f97e1
SP
20266 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20267 their values.
20268 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20270 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20271 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20272
4c4febf5
AJ
202732012-12-28 Andreas Jaeger <aj@suse.de>
20274
af5843ef
AJ
20275 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20276 values are from Linux 3.7.
20277
4c4febf5
AJ
20278 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20279 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20280
99136f82
SP
202812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20282
2f216c3c 20283 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20284 TRUE case.
20285
99136f82
SP
20286 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20287 (norm): Likewise.
20288 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20289 variables with preprocessor constants.
20290 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20291 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20292 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20293
7fffbdff
BH
202942012-12-27 Bruno Haible <bruno@clisp.org>
20295
20296 [BZ #14317]
20297 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20298 only if needed.
20299
b76eb5f0
SP
203002012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20301
31a7fe5c
SP
20302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20303 and use variable directly.
20304 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20305
b76eb5f0
SP
20306 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20307 MPONE.
20308 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20309 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20310 variable MPONE.
20311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20313 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20314 include directive. Remove local variable MPONE.
20315 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20316 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20317 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20318
2c8bfe7d
DM
203192012-12-25 David S. Miller <davem@davemloft.net>
20320
20321 * version.h (RELEASE): Set to "development".
20322 (VERSION): Set to "2.17.90".
20323 * NEWS: Add 2.18 section.
20324
147d03b0
DM
203252012-12-21 David S. Miller <davem@davemloft.net>
20326
20327 * po/hr.po: Update from translation team.
20328
a8ebb2b9
AK
203292012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20330
20331 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20332
95b4f1b6
SE
203332012-12-19 Steve Ellcey <sellcey@mips.com>
20334
b2d94007 20335 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20336
cedb2a90
MS
203372012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20338
20339 * manual/contrib.texi (Contributors): Spelling correction.
20340
bbf527d6
DM
203412012-12-15 David S. Miller <davem@davemloft.net>
20342
20343 * po/ru.po: Update from translation team.
20344
bc38c906
DM
203452012-12-13 David S. Miller <davem@davemloft.net>
20346
85429b1a
DM
20347 * NEWS: Mention IFUNC testsuite enhancements.
20348
d283e353
DM
20349 * po/pl.po: Update from translation team.
20350 * po/bg.po: Likewise.
20351
bc38c906
DM
20352 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20353 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20354
a181b0d7
DM
203552012-12-11 David S. Miller <davem@davemloft.net>
20356
4641d57e
DM
20357 * po/sv.po: Update from translation team.
20358
f7bc6495
DM
20359 * po/vi.po: Update from translation team.
20360
6fc9048f
DM
20361 * po/cs.po: Update from translation team.
20362
a181b0d7
DM
20363 * po/de.po: Update from translation team.
20364 * po/eo.po: Likewise.
20365 * po/nl.po: Likewise.
20366
f70bfe80
SP
203672012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20368
3c8b4190
SP
20369 [BZ #14246]
20370 * manual/argp.texi (Argp Helper Functions): Move node to follow
20371 Argp Parsing State.
20372
f70bfe80
SP
20373 [BZ #14872]
20374 * manual/conf.texi (Limits on File System Capacity): Mention if
20375 terminating null is included in the max size.
20376
188f0adf
AJ
203772012-12-10 Andreas Jaeger <aj@suse.de>
20378
20379 * po/cs.po: Update from translation team.
20380
56e7d3ad
SP
203812012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20382
20383 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20384 void pointer and cast to uintptr_t.
20385 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20386 path.
20387 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20388 * sysdeps/s390/s390-64/memset.S: Likewise.
20389
76f2d2ea 203902012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20391
20392 [BZ #14833]
20393 * menual/message.texi (Message Translation): Fix typos.
20394 (Helper programs for gettext): Likewise.
20395
67cbf9a2
AS
203962012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20397
20398 [BZ #14898]
20399 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20400 Change to -1.
20401
682d0e9a
DM
204022012-12-07 David S. Miller <davem@davemloft.net>
20403
20404 * po/libc.pot: Update.
20405
573cd484
RH
204062012-12-07 Richard Henderson <rth@redhat.com>
20407
7e9da188 20408 [BZ #10114]
573cd484
RH
20409 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20410 normal/normal case to before the switch.
20411 (_FP_DIV): Likewise.
20412
e933a943
MF
204132012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20414 Mike Frysinger <vapier@gentoo.org>
20415
20416 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20417 check for __NR_fadvise64_64.
20418
82123268
CM
204192012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20420
20421 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20422 0, not just to plain "0" as a statement.
20423 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20424 with cw.
20425
d9814526
JM
204262012-12-06 Joseph Myers <joseph@codesourcery.com>
20427
20428 * NEWS: Use sourceware.org in Bugzilla URL.
20429
7728c574
SP
204302012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20431
f16946dd
SP
20432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20433 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20434
5704bbcb
SP
20435 * stdio-common/tst-put-error.c (do_test): Add newline to the
20436 padded test to ensure flush.
20437
17aa0516
JL
204382012-12-05 Jeff Law <law@redhat.com>
20439
20440 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20441
363313b5
JM
204422012-12-05 Joseph Myers <joseph@codesourcery.com>
20443
effbd42a
JM
20444 * README: Don't refer to ports add-on as distributed separately.
20445 Mention AArch64 in list of systems supported in the ports add-on.
20446
87600365
JM
20447 * LICENSES: Add more non-FSF copyright and license notices.
20448
a0d7066a
JM
20449 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20450 ((unused)).
20451
66ca5a5b
JM
20452 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20453
363313b5
JM
20454 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20455 10000 as width of padded output.
20456
b37984ad
JM
204572012-12-04 Joseph Myers <joseph@codesourcery.com>
20458
9003570a
JM
20459 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20460
b37984ad
JM
20461 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20462 variable LX with __attribute__ ((unused)).
20463 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20464 Likewise.
20465 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20467 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20468 with __attribute__ ((unused)).
20469
c8df52ec
DM
204702012-12-04 David S. Miller <davem@abraco.davemloft.net>
20471
20472 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20473
b3b099af
JM
204742012-12-04 Joseph Myers <joseph@codesourcery.com>
20475
c33aa6e3
JM
20476 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20477 (CFLAGS-nldbl-acos.c): New variable.
20478 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20479 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20480 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20481 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20482 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20483 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20484 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20485 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20486 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20487 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20488 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20506 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20507 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20508 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20509 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20510 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20511 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20512 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20513 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20514 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20515 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20516 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20517 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20518 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20519 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20520 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20521 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20522 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20523 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20524 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20525 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20526 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20527 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20528 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20529 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20530 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20531 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20532 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20533 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20534 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20535 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20536 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20537 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20538 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20539 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20540 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20541 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20542 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20543 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20544 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20545 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20546 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20547 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20548 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20549 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20550 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20551 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20552 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20553 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20554 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20555 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20556 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20557 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20558 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20559 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20560 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20561 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20562 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20563 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20564 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20565 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20566 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20567 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20568 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20569 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20570 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20571 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20572 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20573 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20574 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20575
20f0018d
JM
20576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20577 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20578
b3b099af
JM
20579 [BZ #14914]
20580 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20581 whole low double instead of just low 47 bits when splitting values
20582 into two parts.
20583
029264d1
AM
205842012-12-03 Allan McRae <allan@archlinux.org>
20585
20586 * manual/stdio.texi (Predefined Printf Handlers): Remove
20587 @hsep and @vsep usage.
20588
c9d6789e
MF
205892012-12-03 Mike Frysinger <vapier@gentoo.org>
20590
20591 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20592 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20593
4b7634a5
JL
205942012-12-03 Jeff Law <law@redhat.com>
20595
20596 * time/sys/time.h (settimeofday): Do not mark TV argument
20597 as __nonnull.
20598
eb6cbd24
MF
205992012-12-01 Mike Frysinger <vapier@gentoo.org>
20600
20601 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20602 when currently writing and seek to current position when not.
20603 * libio/Makefile (tests): Remove bug-fclose1.
20604 * libio/bug-fclose1.c: Delete.
20605
f638872a
JM
206062012-12-01 Joseph Myers <joseph@codesourcery.com>
20607
20608 * manual/arith.texi (feenableexcept): Fix typo.
20609 (fedisableexcept): Likewise.
20610
48085d14
RM
206112012-11-30 Roland McGrath <roland@hack.frob.com>
20612
20613 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20614 second, differently-typed declaration, rather than a cast.
20615
1a538b9f
SP
206162012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20617
20618 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20619 * include/rpc/svc.h: ... here.
20620
d07f2ff1 206212012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20622
20623 [BZ #13013]
20624 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20625 depending n and resplen2 to catch cases where answer
20626 equals answerp2.
20627
c93ec1f0
CD
206282012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20629
20630 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20631 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20632
37db69de
MF
206332012-11-29 Mike Frysinger <vapier@gentoo.org>
20634
20635 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20636
e10c4e4f
RM
206372012-11-29 Roland McGrath <roland@hack.frob.com>
20638
20639 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20640
2af1b328
JL
206412012-11-28 Jeff Law <law@redhat.com>
20642
20643 [BZ #13761]
20644 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20645 dataset_temporary. Track alloca usage into alloca_used.
20646 If dataset is large allocate and release it via malloc/free.
20647
111db5b1
FW
206482012-06-04 Florian Weimer <fweimer@redhat.com>
20649
f06cc227 20650 [BZ #14197]
111db5b1
FW
20651 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20652
dd694abd
DM
206532012-11-28 David S. Miller <davem@davemloft.net>
20654
20655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20656
9984dd01
JM
206572012-11-28 Joseph Myers <joseph@codesourcery.com>
20658
20659 [BZ #14803]
20660 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20661 of pi/2 rounded to nearest to 64 bits.
20662 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20663 nearest to 64 bits.
20664 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20665 bits.
20666
14bc93a9
JL
206672012-11-28 Jeff Law <law@redhat.com>
20668 Martin Osvald <mosvald@redhat.com>
20669
20670 [BZ #14889]
20671 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20672 * sunrpc/svc.c: Include time.h.
20673 (__svc_accept_failed): New function.
20674 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20675 any reason other than EINTR, call __svc_accept_failed.
20676 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20677 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20678
e3c6aa3a
AS
206792012-11-28 Andreas Schwab <schwab@suse.de>
20680
20681 * scripts/abilist.awk: Also handle indirect functions in .opd
20682 section.
20683
1bead169
JM
206842012-11-28 Joseph Myers <joseph@codesourcery.com>
20685
20686 [BZ #13881]
20687 * sysdeps/x86/fpu/powl_helper.c: New file.
20688 * sysdeps/x86/fpu/Makefile: Likewise.
20689 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20690 (p3): New object.
20691 (__ieee754_powl): Use __powl_helper for finite arguments except
20692 integer exponents below 8.
20693 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20694 (p3): New object.
20695 (__ieee754_powl): Use __powl_helper for finite arguments except
20696 integer exponents below 8.
20697 * math/libm-test.inc (pow_test): Add more tests and enable some
20698 previously disabled tests.
20699 * sysdeps/i386/fpu/libm-test-ulps: Update.
20700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20701
0817d63d
SP
207022012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20703 Carlos O'Donell <carlos_odonell@mentor.com>
20704
20705 * nss/makedb.c (is_prime): Assert that input is odd and greater
20706 than 4. Note that fact in a comment too.
20707 (next_prime): Add 4 to input.
20708
de2fd463
SP
207092012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20710
20711 [BZ #11741]
20712 * libio/Makefile (tests): Add test case tst-fwrite-error.
20713 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20714 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20715 * libio/tst-fwrite-error.c: New test case.
20716
c515fb51
L
207172012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20718
20719 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20720 before casting to void *.
20721 * include/libc-internal.h (__pointer_type): New macro.
20722 (__integer_if_pointer_type_sub): Likewise.
20723 (__integer_if_pointer_type): Likewise.
20724 (cast_to_integer): Likewise.
20725 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20726 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20727 before casting to atomic64_t.
20728 (atomic_exchange_acq): Likewise.
20729 (__arch_exchange_and_add_body): Likewise.
20730 (__arch_add_body): Likewise.
20731 (atomic_add_negative): Likewise.
20732 (atomic_add_zero): Likewise.
20733
4cf77aa9
JM
207342012-11-26 Joseph Myers <joseph@codesourcery.com>
20735
20736 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20737 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20738 (add_fdes): Likewise.
20739 (linear_search_fdes): Likewise.
20740 (binary_search_unencoded_fdes): Likewise.
20741
d260b3b4
AS
207422012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20743
20744 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20745
67060746
AC
207462012-11-24 Adam Conrad <adconrad@0c3.net>
20747
20748 * configure.in: Autodetect C++ header directories.
20749 * configure: Regenerated.
20750
800938a1
MF
207512012-11-23 Mike Frysinger <vapier@gentoo.org>
20752
20753 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20754
4e6e34e6
AS
207552012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20756
20757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20758
7c7feb47
JM
207592012-11-22 Joseph Myers <joseph@codesourcery.com>
20760
7184dcdf
JM
20761 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20762 LDBL_MANT_DIG == 106]: Disable some tests.
20763 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20764 Likewise.
20765 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20766 Likewise.
20767
0a42601f
JM
20768 [BZ #14871]
20769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20770 input for small inputs. Return +/- pi/2 for large inputs.
20771 * math/libm-test.inc (atan_test): Add more tests.
20772
79c9b9fe
JM
20773 * sysdeps/generic/unwind-dw2-fde-glibc.c
20774 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20775 __attribute__ ((unused)).
20776
c60d3bf2
JM
20777 [BZ #14645]
20778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20779 x * y if x and y are nonzero and z is zero.
20780
ef1e0867
JM
20781 [BZ #14811]
20782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20783 nonzero exponents with absolute value below 0x1p-117 to +/-
20784 0x1p-117.
20785
1468ded3
JM
20786 [BZ #14869]
20787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20788 up arguments below 2**-450, not just those below 2**-500.
20789 * math/libm-test.inc (hypot_test): Add another test.
20790
8e27e3cc
JM
20791 [BZ #14868]
20792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20793 Return a+b for ratio over 2**120, not 2**60.
20794 * math/libm-test.inc (hypot_test): Add another test.
20795
c9c0279b
JM
20796 * math/libm-test.inc (clog_test): Use
20797 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20798 (clog10_test): Likewise.
20799
7c7feb47
JM
20800 [BZ #6778]
20801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20802
fff1530e
AS
208032012-11-22 Andreas Schwab <schwab@suse.de>
20804
20805 * sysdeps/i386/fpu/libm-test-ulps: Update.
20806
94558d30
PT
208072012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20808
20809 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20810 printf output with newline.
20811
7e1be741
L
208122012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20813
6bfea974
L
20814 [BZ #14865]
20815 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20816 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20817 -z nodlopen, -z initfirst and -z execstack support.
20818 * configure: Regenerated.
20819
7e1be741
L
20820 * elf/elf.h (DF_1_NODIRECT): New macro.
20821 (DF_1_IGNMULDEF): Likewise.
20822 (DF_1_NOKSYMS): Likewise.
20823 (DF_1_NOHDR): Likewise.
20824 (DF_1_EDITED): Likewise.
20825 (DF_1_NORELOC): Likewise.
20826 (DF_1_SYMINTPOSE): Likewise.
20827 (DF_1_GLOBAUDIT): Likewise.
20828 (DF_1_SINGLETON): Likewise.
20829 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20830 DT_1_SUPPORTED_MASK bits.
20831 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20832
105ce2ce
CD
208332012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20834
20835 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20836
123be9de
TS
208372012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20838
d072f3f7
TS
20839 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20840 macro.
20841
123be9de
TS
20842 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20843 (sendmmsg): Move declarations...
20844 * socket/sys/socket.h: ... here.
20845 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20846 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20847 include it from...
20848 * socket/recvmmsg.c: ... this new file.
20849 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20850 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20851 definition of __sendmmsg hidden.
20852 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20853 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20854 Move ENOSYS stub into and include it from...
20855 * socket/sendmmsg.c: ... this new file.
20856 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20857 (sysdep_routines): Move recvmmsg and sendmmsg...
20858 * socket/Makefile (routines): ... here.
20859 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20860 (GLIBC_PRIVATE): Add __sendmmsg.
20861 * include/sys/socket.h (__sendmmsg): Add declarations.
20862 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20863 sendmmsg.
20864
cf9a5d18
JM
208652012-11-20 Joseph Myers <joseph@codesourcery.com>
20866
20867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20868 variable I1 with __attribute__ ((unused)).
20869 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20870
ecd4caf9
JM
208712012-11-19 Joseph Myers <joseph@codesourcery.com>
20872
be14d48f
JM
20873 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20874 DUMMY variables with __attribute__ ((unused)).
20875
ecd4caf9
JM
20876 * bits/byteswap.h: Include <bits/types.h>.
20877 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20878
986cab95
PT
208792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20880
20881 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20882 string_t. Do not manually set errno.
20883 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20884 length with __strnlen. Make sure to both set errno and return it on
20885 failure.
20886
6d33cc9d
DM
208872012-11-19 David S. Miller <davem@davemloft.net>
20888
20889 With help from Joseph Myers.
20890 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20891 very large arguments properly.
20892 * math/libm-test.inc (atan_test): New tests.
20893 (atan2_test): New tests.
20894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20896
ee663277
JM
208972012-11-19 Joseph Myers <joseph@codesourcery.com>
20898
877f2d8e
JM
20899 [BZ #14856]
20900 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20901 Define to 3.
20902
116fc08a
JM
20903 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20904 [POSIX] (EADDRNOTAVAIL): Likewise.
20905 [POSIX] (EAFNOSUPPORT): Likewise.
20906 [POSIX] (EALREADY): Likewise.
20907 [POSIX] (ECONNABORTED): Likewise.
20908 [POSIX] (ECONNREFUSED): Likewise.
20909 [POSIX] (ECONNRESET): Likewise.
20910 [POSIX] (EDESTADDRREQ): Likewise.
20911 [POSIX] (EDQUOT): Likewise.
20912 [POSIX] (EHOSTUNREACH): Likewise.
20913 [POSIX] (EIDRM): Likewise.
20914 [POSIX] (EISCONN): Likewise.
20915 [POSIX] (ELOOP): Likewise.
20916 [POSIX] (EMULTIHOP): Likewise.
20917 [POSIX] (ENETDOWN): Likewise.
20918 [POSIX] (ENETUNREACH): Likewise.
20919 [POSIX] (ENOBUFS): Likewise.
20920 [POSIX] (ENODATA): Likewise.
20921 [POSIX] (ENOLINK): Likewise.
20922 [POSIX] (ENOMSG): Likewise.
20923 [POSIX] (ENOPROTOOPT): Likewise.
20924 [POSIX] (ENOSR): Likewise.
20925 [POSIX] (ENOSTR): Likewise.
20926 [POSIX] (ENOTCONN): Likewise.
20927 [POSIX] (ENOTSOCK): Likewise.
20928 [POSIX] (EOPNOTSUPP): Likewise.
20929 [POSIX] (EOVERFLOW): Likewise.
20930 [POSIX] (EPROTO): Likewise.
20931 [POSIX] (EPROTONOSUPPORT): Likewise.
20932 [POSIX] (EPROTOTYPE): Likewise.
20933 [POSIX] (ESTALE): Likewise.
20934 [POSIX] (ETIME): Likewise.
20935 [POSIX] (ETXTBSY): Likewise.
20936 [POSIX] (EWOULDBLOCK): Likewise.
20937 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20938 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20939 [POSIX] (SEEK_CUR): Likewise.
20940 [POSIX] (SEEK_END): Likewise.
20941 [POSIX || UNIX98] (mode_t): Do not require.
20942 [POSIX] (off_t): Likewise.
20943 [POSIX] (pid_t): Likewise.
20944 [POSIX] (sys/stat.h): Do not allow header.
20945 [POSIX] (unistd.h): Likewise.
20946 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20947 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20948 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20949 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20950 require.
20951 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20952 sigevent): Specify elements.
20953 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20954 entry.
20955 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20956 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20957
a483863f
JM
20958 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20959 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20960 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20961 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20962 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20963 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20964 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20965 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20966 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20967 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20968 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20969 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20970 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20972 Likewise.
20973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20974 Likewise.
20975 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20976 Likewise.
20977 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20978 Likewise.
20979 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20981 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20982 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20984 Specify lower bound on value.
20985 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20986 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20988 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20990 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20991 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20992 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20993 value.
20994 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20995 as optional.
20996 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21012 entry.
21013 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21014 optional.
21015 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21016 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21017 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21021 Likewise.
21022 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21023 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21024 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21025 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21027 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21029 as optional.
21030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21031 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21033 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21034 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21035 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21036 specify as optional.
21037 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21038 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21039 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21040 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21041 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21042 [XPG3] (NL_LANGMAX): Likewise.
21043 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21044 [POSIX || XPG3] (NL_NMAX): Likewise.
21045 [POSIX || XPG3] (NL_SETMAX): Likewise.
21046 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21047 [XPG3] (NZERO): Likewise.
21048 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21049 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21050 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21051 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21052 (REG_ERANGE): Expect.
21053 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21054 optional-constant.
21055 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21056 Use (void) in prototype.
21057 [POSIX] (*_t): Allow.
21058 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21059 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21060 (WRDE_BADVAL): Expect.
21061
5ba924e3
JM
21062 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21063 expect.
21064 [XPG3 || XPG4] (O_RSYNC): Likewise.
21065 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21066 Likewise.
21067 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21068 [XPG3 || XPG4] (sigqueue): Likewise.
21069 [XPG3 || XPG4] (sigtimedwait): Likewise.
21070 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21071 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21072 [XPG3 || XPG4] (vsnprintf): Likewise.
21073 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21074 Likewise.
21075 [XPG3 || XPG4] (blksize_t): Likewise.
21076 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21077 Likewise.
21078 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21079 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21080 [XPG3 || XPG4] (struct itimerspec): Likewise.
21081 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21082 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21083 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21084 [XPG3 || XPG4] (clockid_t): Likewise.
21085 [XPG3 || XPG4] (timer_t): Likewise.
21086 [XPG3 || XPG4] (clock_getres): Likewise.
21087 [XPG3 || XPG4] (clock_gettime): Likewise.
21088 [XPG3 || XPG4] (clock_settime): Likewise.
21089 [XPG3 || XPG4] (nanosleep): Likewise.
21090 [XPG3 || XPG4] (timer_create): Likewise.
21091 [XPG3 || XPG4] (timer_delete): Likewise.
21092 [XPG3 || XPG4] (timer_gettime): Likewise.
21093 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21094 [XPG3 || XPG4] (timer_settime): Likewise.
21095 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21096 [XPG3 || XPG4] (getlogin_r): Likewise.
21097 [XPG3 || XPG4] (pread): Likewise.
21098 [XPG3 || XPG4] (pthread_atfork): Likewise.
21099 [XPG3 || XPG4] (pwrite): Likewise.
21100
ee663277
JM
21101 [BZ #14835]
21102 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21103 <bits/siginfo.h>.
21104
942caa16
PT
211052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21106
e19af380
PT
21107 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21108 finalizing MALLSTREAM.
21109
942caa16
PT
21110 * sysdeps/mach/hurd/syncfs.c: New file.
21111
cfde9b46
SP
211122012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21113
21114 [BZ #14719]
21115 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21116 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21117 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21118 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21119 (_nss_dns_gethostbyname4_r): Likewise.
21120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21121 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21122
f6da27e5
PH
211232012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21124
21125 [BZ #13763]
21126 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21127
6665d4a2
SM
211282012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21129
1f51ee92
SM
21130 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21131 * elf/cache.c (print_entry): Print ",AArch64" for
21132 FLAG_AARCH64_LIB64
21133
6665d4a2
SM
21134 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21135 * elf/cache.c (print_entry): Print ",hard-float" for
21136 FLAG_ARM_LIBHF.
21137
05b227bd
DM
211382012-11-18 David S. Miller <davem@davemloft.net>
21139
21140 With help from Joseph Myers.
21141 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21142 cutoff to 2**-13.
21143 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21144 cutoff to 2**-25.
21145 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21146 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21147 small.
21148 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21149 * math/libm-test.inc (y0_test): New tests.
21150 (y1_test): New tests.
21151 * sysdeps/i386/fpu/libm-test-ulps: Update.
21152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21154
786b0b67
AS
211552012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21156
21157 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21158 64-bit targets.
21159 * configure: Regenerated.
21160
8e18b86d
DM
211612012-11-17 David S. Miller <davem@davemloft.net>
21162
21163 [BZ #14811]
21164 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21165 nonzero exponents with absolute value below 0x1p-128 to +/-
21166 0x1p-128.
21167
531f1ae0
JM
211682012-11-17 Joseph Myers <joseph@codesourcery.com>
21169
12df29e2
JM
21170 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21171
150dc1a0
JM
21172 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21173
531f1ae0
JM
21174 * posix/getconf-speclist.c: New file.
21175 * posix/posix-envs.def: Likewise.
21176 * posix/confstr.c (START_ENV_GROUP): New macro.
21177 (END_ENV_GROUP): Likewise.
21178 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21179 (KNOWN_PRESENT_ENV_STRING): Likewise.
21180 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21181 (UNKNOWN_ENVIRONMENT): Likewise.
21182 (confstr): Include posix-envs.def instead of handling
21183 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21184 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21185 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21186 (END_ENV_GROUP): Likewise.
21187 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21188 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21189 (UNKNOWN_ENVIRONMENT): Likewise.
21190 (__sysconf): Include posix-envs.def instead of handling associated
21191 cases directly here.
21192 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21193 preprocessing getconf-speclist.c rather than running getconf or
21194 generating empty file.
21195
a93f9cbc
PT
211962012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21197
21198 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21199
d64d9f87
AL
212002012-11-16 Andrej Lajovic <natrij@gmail.com>
21201
21202 [BZ #14672]
21203 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21204
447885eb
DM
212052012-11-16 David S. Miller <davem@davemloft.net>
21206
21207 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21208 smaller than LDBL_EPSILON/2.0L, just return xm1.
21209
bcbf9830
L
212102012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21211
21212 * elf/tst-array1.c (init): Set constructor priority to 1000.
21213 (fini): Set destructor priority to 1000.
21214 * elf/tst-array2dep.c: Likewise.
21215
2b766585
SP
212162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21217
21218 [BZ #11741]
21219 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21220 (_IO_new_file_xsputn): Also return EOF if none of the input
21221 data was written when overflow failed.
21222 * libio/iopadn.c (_IO_padn): Likewise.
21223 * libio/iowpadn.c (_IO_wpadn): Likewise.
21224 * stdio-common/tst-put-error.c: Add copyright notice.
21225 (do_test): Add case for printing padded string.
21226 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21227 _IO_padn returned error.
21228 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21229 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21230 return EOF.
21231
b1848fde
SP
212322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21233
21234 * libio/libioP.h: Add comment note that the references to C++
21235 bits are now obsolete.
21236
2fd89785
MS
212372012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21238
21239 * math/libm-test.inc (check_complex): Use asprintf.
21240
e3ea5409
JM
212412012-11-14 Joseph Myers <joseph@codesourcery.com>
21242
21243 * debug/pcprofiledump.c (print_version): Update copyright year.
21244 * malloc/memusagestat.c (print_version): Likewise.
21245
2e64d265
L
212462012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21247
21248 [BZ #14831]
21249 * elf/Makefile (tests): Add tst-audit8.
21250 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21251 ($(objpfx)tst-audit8.out): New target.
21252 (tst-audit8-ENV): New variable.
21253 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21254 audit if l_reloc_result is NULL.
21255 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21256 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21257 * elf/tst-audit8.c: New file.
21258
c485e4d2
MS
212592012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21260
21261 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21262 * misc/Makefile (CFLAGS-select.c): Define.
21263 * posix/Makefile (CFLAGS-pause.c): Define.
21264
3a0d900a
DM
212652012-11-13 David S. Miller <davem@davemloft.net>
21266
21267 * crypt/Makefile: Move test targets after toplevel Rules
21268 inclusion. Grab any necessary sysdep routines when linking.
21269 * crypt/md5.c (md5_process_block): Remove define, we will always
21270 name it __md5_process_block.
21271 (md5_finish_ctx): Update md5_process_block call.
21272 (md5_stream): Likewise.
21273 (md5_process_bytes): Likewise.
21274 (md5_process_block): Rename to __md5_process_block and move to ...
21275 * crypt/md5-block.c: ... here.
21276 * crypt/sha256.c (sha256_process_block): Move to ...
21277 * crypt/sha256-block.c: ... here.
21278 * crypt/sha512.c (sha512_process_block): Move to ...
21279 * crypt/sha512-block.c: ... here.
21280 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21281 path.
21282 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21283 * sysdeps/sparc/sparc64/multiarch/Makefile
21284 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21285 crypt subdir.
21286 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21287 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21288 multiarch changes.
21289 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21290 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21291 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21292 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21293 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21294 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21295 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21296 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21298 file.
21299 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21301 file.
21302 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21303
8ca89318
JM
213042012-11-13 Joseph Myers <joseph@codesourcery.com>
21305
e27d476a
JM
21306 * timezone/tzselect.ksh: Update from tzcode git revision
21307 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21308 * timezone/zdump.c: Likewise.
21309 * timezone/zic.c: Likewise.
21310 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21311 in TZVERSION setting, not $(PKGVERSION).
21312 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21313 REPORT_BUGS_TO settings.
21314
8ca89318
JM
21315 [BZ #14838]
21316 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21317 macro.
21318
47594329
MS
213192012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21320
21321 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21322 detection to immediately after _FP_ROUND().
21323 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21324 bits are 0.
21325
640ac3f1
DM
213262012-11-11 David S. Miller <davem@davemloft.net>
21327
21328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21329 inttypes.h
21330 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21331 __close rather than their public counterparts.
21332
3d2577bb
JM
213332012-11-10 Joseph Myers <joseph@codesourcery.com>
21334
21335 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21336 file.
21337 [UNIX98] (sem_timedwait): Do not expect.
21338 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21339 [XPG4 || UNIX98] (sockatmark): Do not expect.
21340 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21341 (clock_getcpuclockid): Do not expect.
21342 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21343 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21344 Do not expect.
21345 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21346 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21347 [UNIX98] (vwscanf): Likewise.
21348 [UNIX98] (vswscanf): Likewise.
21349
fb1ae1ee
JM
213502012-11-09 Joseph Myers <joseph@codesourcery.com>
21351
9ec6f8bd
JM
21352 * timezone/version.h: Remove file.
21353 * timezone/README: Do not refer to version.h.
21354 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21355 $(objpfx)version.h.
21356 ($(objpfx)zdump.o): Likewise.
c3f81911 21357 ($(objpfx)version.h): New target.
9ec6f8bd 21358
0aa8f8a1
JM
21359 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21360 2012i.
21361 * timezone/README: Don't mention modification to tzselect.ksh.
21362 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21363 work on unmodified tzselect.ksh. Substitute version numbers in
21364 tzselect.ksh.
21365
4e87147f
JM
21366 * Makefile (format-me): Remove.
21367 (INSTALL): Adjust indentation. Use commands directly instead of
21368 using $(format-me).
21369
8b748aed
JM
21370 * aclocal.m4 (ACX_PKGVERSION): New macro.
21371 (ACX_BUGURL): Likewise.
21372 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21373 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21374 (REPORT_BUGS_TO): Likewise.
21375 * configure: Regenerated.
21376 * config.h.in (PKGVERSION): New macro.
21377 (REPORT_BUGS_TO): Likewise.
21378 * config.make.in (PKGVERSION): New variable.
21379 (PKGVERSION_TEXI): Likewise.
21380 (REPORT_BUGS_TO): Likewise.
21381 (REPORT_BUGS_TEXI): Likewise.
21382 * Makefile (format-me): Use -I$(common-objpfx)manual.
21383 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21384 ($(common-objpfx)manual/%): New target.
21385 (manual/%): Remove target.
21386 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21387 (print_version): Use PKGVERSION.
21388 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21389 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21390 and REPORT_BUGS_TO.
21391 ($(objpfx)xtrace): Likewise.
21392 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21393 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21394 (print_version): Use PKGVERSION.
21395 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21396 (do_version): Use PKGVERSION.
21397 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21398 REPORT_BUGS_TO.
21399 (common-ldd-rewrite): Likewise.
21400 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21401 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21402 (print_version): Use PKGVERSION.
21403 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21404 * elf/pldd.c (argp_program_bug_address): Remove variable.
21405 (more_help): New function.
21406 (argp): Use more_help.
21407 (print_version): Use PKGVERSION.
21408 * elf/sln.c (main): Use PKGVERSION.
21409 (usage): Use REPORT_BUGS_TO.
21410 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21411 (top level): Use PKGVERSION.
21412 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21413 (print_version): Use PKGVERSION.
21414 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21415 (print_version): Use PKGVERSION.
21416 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21417 (print_version): Use PKGVERSION.
21418 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21419 (print_version): Use PKGVERSION.
21420 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21421 (print_version): Use PKGVERSION.
21422 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21423 (print_version): Use PKGVERSION.
21424 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21425 and BUGURL.
21426 ($(objpfx)memusage): Likewise.
21427 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21428 (do_version): Use PKGVERSION.
21429 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21430 (print_version): Use PKGVERSION.
21431 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21432 ($PKGVERSION): New variable.
21433 ($REPORT_BUGS_TO): Likewise.
21434 (usage): Use $REPORT_BUGS_TO.
21435 (top level): Use $PKGVERSION.
21436 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21437 ($(objpfx)pkgvers.texi): New rule.
21438 ($(objpfx)stamp-pkgvers): Likewise.
21439 * manual/install.texi: Include pkgvers.texi.
21440 (--with-pkgversion): Document new configure option.
21441 (--with-bugurl): Likewise.
21442 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21443 than necessarily for this particular distribution. Use
21444 REPORT_BUGS_TO for where to report bugs.
21445 * INSTALL: Regenerated.
21446 * manual/libc.texinfo: Include pkgvers.texi.
21447 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21448 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21449 (print_version): Use PKGVERSION.
21450 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21451 (print_version): Use PKGVERSION.
21452 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21453 (print_version): Use PKGVERSION.
21454 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21455 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21456 macro.
21457 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21458 (print_version): Use PKGVERSION.
21459 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21460 (print_version): Use PKGVERSION.
21461 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21462 and PKGVERSION.
21463
92e4b6a9
JM
21464 * timezone/checktab.awk: Update from tzcode 2012i.
21465 * timezone/ialloc.c: Likewise.
21466 * timezone/private.h: Likewise.
21467 * timezone/scheck.c: Likewise.
21468 * timezone/tzfile.h: Likewise.
21469 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21470 (TZVERSION): Hardcode tzcode version number.
21471 * timezone/zdump.c: Update from tzcode 2012i.
21472 * timezone/zic.c: Likewise.
21473 * timezone/version.h: New file.
21474 * timezone/README: Describe version.h. Update upstream location.
21475
9bde902c
JM
21476 [BZ #14824]
21477 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21478 (mktemp): Enable declaration.
21479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21483 Likewise.
21484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21485 Likewise.
21486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21487 Likewise.
21488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21489 Likewise.
21490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21491 Likewise.
21492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21493 Likewise.
21494
fb1ae1ee
JM
21495 [BZ #14821]
21496 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21497 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21498 for copies of such integer values.
21499 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21500 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21501
2c1adbcb
AJ
215022012-11-09 Andreas Jaeger <aj@suse.de>
21503
21504 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21505 definitions and declarations that are provided by
21506 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21507
d0f8457e
AK
215082012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21509
3a235abb 21510 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21511 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21512 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21513 definition.
21514
57241e26
MS
215152012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21516
21517 * elf/elf.h: Update comment before AArch64 relocations.
21518
60e8270d
DM
215192012-11-07 David S. Miller <davem@davemloft.net>
21520
21521 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21522 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21523 (__start_context): Declare.
21524 (__makecontext_ret): Delete.
21525 (__makecontext): Hook up __start_context instead of
21526 __makecontext_ret.
21527 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21528 (sysdep_routines): Add __start_context when in stdlib.
21529
0fbb0fbc
JM
215302012-11-07 Joseph Myers <joseph@codesourcery.com>
21531
21532 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21533 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21534 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21535 hardcoded "nm".
21536 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21537 (READELF): New variable. Use it instead of hardcoded "readelf".
21538
eb48db7e
L
215392012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21540
21541 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21542 * sysdeps/x86/Makefile: Here.
21543 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21544 * sysdeps/x86/tst-xmmymm.sh: This.
21545
05bcf62a
JM
215462012-11-07 Joseph Myers <joseph@codesourcery.com>
21547
c4b6cf53
JM
21548 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21549 expectations.
21550 [UNIX98] (pthread_barrier_t): Do not expect.
21551 [UNIX98] (pthread_barrierattr_t): Likewise.
21552 [UNIX98] (pthread_spinlock_t): Likewise.
21553 [UNIX98] (pthread_barrier_destroy): Likewise.
21554 [UNIX98] (pthread_barrier_init): Likewise.
21555 [UNIX98] (pthread_barrier_wait): Likewise.
21556 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21557 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21558 [UNIX98] (pthread_barrierattr_init): Likewise.
21559 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21560 [UNIX98] (pthread_getcpuclockid): Likewise.
21561 [UNIX98] (pthread_mutex_timedlock): Likewise.
21562 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21563 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21564 [UNIX98] (pthread_sigmask): Likewise.
21565 [UNIX98] (pthread_spin_destroy): Likewise.
21566 [UNIX98] (pthread_spin_init): Likewise.
21567 [UNIX98] (pthread_spin_lock): Likewise.
21568 [UNIX98] (pthread_spin_trylock): Likewise.
21569 [UNIX98] (pthread_spin_unlock): Likewise.
21570 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21571 Do not expect.
21572 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21573 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21574 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21575 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21576 [XPG3 || XPG4] (pthread_key_t): Likewise.
21577 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21578 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21579 [XPG3 || XPG4] (pthread_once_t): Likewise.
21580 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21581 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21582 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21583 [XPG3 || XPG4] (pthread_t): Likewise.
21584
cbe6e120
JM
21585 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21586 not expect.
21587 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21588
1b126443
JM
21589 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21590 Change function return type to int.
21591
b961a573
JM
21592 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21593 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21594 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21595 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21596 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21597 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21598 [!POSIX] (posix_madvise): Likewise.
21599 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21600 && !UNIX98].
21601 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21602 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21603 (mode_t): Likewise.
21604 (posix_mem_offset): Likewise.
21605 (posix_typed_mem_get_info): Likewise.
21606 (posix_typed_mem_open): Likewise.
21607
9e188909
JM
21608 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21609 Change condition to [XOPEN2K8].
21610
05bcf62a
JM
21611 * conform/conformtest.pl: Preprocess allow-header data with -x c
21612 instead of from stdin.
21613 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21614 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21615 [C99-based standards] (cerfc): Likewise.
21616 [C99-based standards] (cexp2): Likewise.
21617 [C99-based standards] (cexpm1): Likewise.
21618 [C99-based standards] (clog10): Likewise.
21619 [C99-based standards] (clog1p): Likewise.
21620 [C99-based standards] (clog2): Likewise.
21621 [C99-based standards] (clgamma): Likewise.
21622 [C99-based standards] (ctgamma): Likewise.
21623 [C99-based standards] (cerff): Likewise.
21624 [C99-based standards] (cerfcf): Likewise.
21625 [C99-based standards] (cexp2f): Likewise.
21626 [C99-based standards] (cexpm1f): Likewise.
21627 [C99-based standards] (clog10f): Likewise.
21628 [C99-based standards] (clog1pf): Likewise.
21629 [C99-based standards] (clog2f): Likewise.
21630 [C99-based standards] (clgammaf): Likewise.
21631 [C99-based standards] (ctgammaf): Likewise.
21632 [C99-based standards] (cerfl): Likewise.
21633 [C99-based standards] (cerfcl): Likewise.
21634 [C99-based standards] (cexp2l): Likewise.
21635 [C99-based standards] (cexpm1l): Likewise.
21636 [C99-based standards] (clog10l): Likewise.
21637 [C99-based standards] (clog1pl): Likewise.
21638 [C99-based standards] (clog2l): Likewise.
21639 [C99-based standards] (clgammal): Likewise.
21640 [C99-based standards] (ctgammal): Likewise.
21641 * conform/data/inttypes.h-data [C99-based standards]: Include
21642 stdint.h-data. Remove all expectations for stdint.h contents.
21643 [C99-based standards] (PRI*): Do not allow.
21644 [C99-based standards] (SCN*): Likewise.
21645 [C99-based standards] (*_t): Likewise.
21646 [C99-based-standards] (PRId8): Expect macro.
21647 [C99-based-standards] (PRIi8): Likewise.
21648 [C99-based-standards] (PRIo8): Likewise.
21649 [C99-based-standards] (PRIu8): Likewise.
21650 [C99-based-standards] (PRIx8): Likewise.
21651 [C99-based-standards] (PRIX8): Likewise.
21652 [C99-based-standards] (SCNd8): Likewise.
21653 [C99-based-standards] (SCNi8): Likewise.
21654 [C99-based-standards] (SCNo8): Likewise.
21655 [C99-based-standards] (SCNu8): Likewise.
21656 [C99-based-standards] (SCNx8): Likewise.
21657 [C99-based-standards] (PRIdLEAST8): Likewise.
21658 [C99-based-standards] (PRIiLEAST8): Likewise.
21659 [C99-based-standards] (PRIoLEAST8): Likewise.
21660 [C99-based-standards] (PRIuLEAST8): Likewise.
21661 [C99-based-standards] (PRIxLEAST8): Likewise.
21662 [C99-based-standards] (PRIXLEAST8): Likewise.
21663 [C99-based-standards] (SCNdLEAST8): Likewise.
21664 [C99-based-standards] (SCNiLEAST8): Likewise.
21665 [C99-based-standards] (SCNoLEAST8): Likewise.
21666 [C99-based-standards] (SCNuLEAST8): Likewise.
21667 [C99-based-standards] (SCNxLEAST8): Likewise.
21668 [C99-based-standards] (PRIdFAST8): Likewise.
21669 [C99-based-standards] (PRIiFAST8): Likewise.
21670 [C99-based-standards] (PRIoFAST8): Likewise.
21671 [C99-based-standards] (PRIuFAST8): Likewise.
21672 [C99-based-standards] (PRIxFAST8): Likewise.
21673 [C99-based-standards] (PRIXFAST8): Likewise.
21674 [C99-based-standards] (SCNdFAST8): Likewise.
21675 [C99-based-standards] (SCNiFAST8): Likewise.
21676 [C99-based-standards] (SCNoFAST8): Likewise.
21677 [C99-based-standards] (SCNuFAST8): Likewise.
21678 [C99-based-standards] (SCNxFAST8): Likewise.
21679 [C99-based-standards] (PRId16): Likewise.
21680 [C99-based-standards] (PRIi16): Likewise.
21681 [C99-based-standards] (PRIo16): Likewise.
21682 [C99-based-standards] (PRIu16): Likewise.
21683 [C99-based-standards] (PRIx16): Likewise.
21684 [C99-based-standards] (PRIX16): Likewise.
21685 [C99-based-standards] (SCNd16): Likewise.
21686 [C99-based-standards] (SCNi16): Likewise.
21687 [C99-based-standards] (SCNo16): Likewise.
21688 [C99-based-standards] (SCNu16): Likewise.
21689 [C99-based-standards] (SCNx16): Likewise.
21690 [C99-based-standards] (PRIdLEAST16): Likewise.
21691 [C99-based-standards] (PRIiLEAST16): Likewise.
21692 [C99-based-standards] (PRIoLEAST16): Likewise.
21693 [C99-based-standards] (PRIuLEAST16): Likewise.
21694 [C99-based-standards] (PRIxLEAST16): Likewise.
21695 [C99-based-standards] (PRIXLEAST16): Likewise.
21696 [C99-based-standards] (SCNdLEAST16): Likewise.
21697 [C99-based-standards] (SCNiLEAST16): Likewise.
21698 [C99-based-standards] (SCNoLEAST16): Likewise.
21699 [C99-based-standards] (SCNuLEAST16): Likewise.
21700 [C99-based-standards] (SCNxLEAST16): Likewise.
21701 [C99-based-standards] (PRIdFAST16): Likewise.
21702 [C99-based-standards] (PRIiFAST16): Likewise.
21703 [C99-based-standards] (PRIoFAST16): Likewise.
21704 [C99-based-standards] (PRIuFAST16): Likewise.
21705 [C99-based-standards] (PRIxFAST16): Likewise.
21706 [C99-based-standards] (PRIXFAST16): Likewise.
21707 [C99-based-standards] (SCNdFAST16): Likewise.
21708 [C99-based-standards] (SCNiFAST16): Likewise.
21709 [C99-based-standards] (SCNoFAST16): Likewise.
21710 [C99-based-standards] (SCNuFAST16): Likewise.
21711 [C99-based-standards] (SCNxFAST16): Likewise.
21712 [C99-based-standards] (PRId32): Likewise.
21713 [C99-based-standards] (PRIi32): Likewise.
21714 [C99-based-standards] (PRIo32): Likewise.
21715 [C99-based-standards] (PRIu32): Likewise.
21716 [C99-based-standards] (PRIx32): Likewise.
21717 [C99-based-standards] (PRIX32): Likewise.
21718 [C99-based-standards] (SCNd32): Likewise.
21719 [C99-based-standards] (SCNi32): Likewise.
21720 [C99-based-standards] (SCNo32): Likewise.
21721 [C99-based-standards] (SCNu32): Likewise.
21722 [C99-based-standards] (SCNx32): Likewise.
21723 [C99-based-standards] (PRIdLEAST32): Likewise.
21724 [C99-based-standards] (PRIiLEAST32): Likewise.
21725 [C99-based-standards] (PRIoLEAST32): Likewise.
21726 [C99-based-standards] (PRIuLEAST32): Likewise.
21727 [C99-based-standards] (PRIxLEAST32): Likewise.
21728 [C99-based-standards] (PRIXLEAST32): Likewise.
21729 [C99-based-standards] (SCNdLEAST32): Likewise.
21730 [C99-based-standards] (SCNiLEAST32): Likewise.
21731 [C99-based-standards] (SCNoLEAST32): Likewise.
21732 [C99-based-standards] (SCNuLEAST32): Likewise.
21733 [C99-based-standards] (SCNxLEAST32): Likewise.
21734 [C99-based-standards] (PRIdFAST32): Likewise.
21735 [C99-based-standards] (PRIiFAST32): Likewise.
21736 [C99-based-standards] (PRIoFAST32): Likewise.
21737 [C99-based-standards] (PRIuFAST32): Likewise.
21738 [C99-based-standards] (PRIxFAST32): Likewise.
21739 [C99-based-standards] (PRIXFAST32): Likewise.
21740 [C99-based-standards] (SCNdFAST32): Likewise.
21741 [C99-based-standards] (SCNiFAST32): Likewise.
21742 [C99-based-standards] (SCNoFAST32): Likewise.
21743 [C99-based-standards] (SCNuFAST32): Likewise.
21744 [C99-based-standards] (SCNxFAST32): Likewise.
21745 [C99-based-standards] (PRId64): Likewise.
21746 [C99-based-standards] (PRIi64): Likewise.
21747 [C99-based-standards] (PRIo64): Likewise.
21748 [C99-based-standards] (PRIu64): Likewise.
21749 [C99-based-standards] (PRIx64): Likewise.
21750 [C99-based-standards] (PRIX64): Likewise.
21751 [C99-based-standards] (SCNd64): Likewise.
21752 [C99-based-standards] (SCNi64): Likewise.
21753 [C99-based-standards] (SCNo64): Likewise.
21754 [C99-based-standards] (SCNu64): Likewise.
21755 [C99-based-standards] (SCNx64): Likewise.
21756 [C99-based-standards] (PRIdLEAST64): Likewise.
21757 [C99-based-standards] (PRIiLEAST64): Likewise.
21758 [C99-based-standards] (PRIoLEAST64): Likewise.
21759 [C99-based-standards] (PRIuLEAST64): Likewise.
21760 [C99-based-standards] (PRIxLEAST64): Likewise.
21761 [C99-based-standards] (PRIXLEAST64): Likewise.
21762 [C99-based-standards] (SCNdLEAST64): Likewise.
21763 [C99-based-standards] (SCNiLEAST64): Likewise.
21764 [C99-based-standards] (SCNoLEAST64): Likewise.
21765 [C99-based-standards] (SCNuLEAST64): Likewise.
21766 [C99-based-standards] (SCNxLEAST64): Likewise.
21767 [C99-based-standards] (PRIdFAST64): Likewise.
21768 [C99-based-standards] (PRIiFAST64): Likewise.
21769 [C99-based-standards] (PRIoFAST64): Likewise.
21770 [C99-based-standards] (PRIuFAST64): Likewise.
21771 [C99-based-standards] (PRIxFAST64): Likewise.
21772 [C99-based-standards] (PRIXFAST64): Likewise.
21773 [C99-based-standards] (SCNdFAST64): Likewise.
21774 [C99-based-standards] (SCNiFAST64): Likewise.
21775 [C99-based-standards] (SCNoFAST64): Likewise.
21776 [C99-based-standards] (SCNuFAST64): Likewise.
21777 [C99-based-standards] (SCNxFAST64): Likewise.
21778 [C99-based-standards] (PRIdMAX): Likewise.
21779 [C99-based-standards] (PRIiMAX): Likewise.
21780 [C99-based-standards] (PRIoMAX): Likewise.
21781 [C99-based-standards] (PRIuMAX): Likewise.
21782 [C99-based-standards] (PRIxMAX): Likewise.
21783 [C99-based-standards] (PRIXMAX): Likewise.
21784 [C99-based-standards] (SCNdMAX): Likewise.
21785 [C99-based-standards] (SCNiMAX): Likewise.
21786 [C99-based-standards] (SCNoMAX): Likewise.
21787 [C99-based-standards] (SCNuMAX): Likewise.
21788 [C99-based-standards] (SCNxMAX): Likewise.
21789 [C99-based-standards] (PRIdPTR): Likewise.
21790 [C99-based-standards] (PRIiPTR): Likewise.
21791 [C99-based-standards] (PRIoPTR): Likewise.
21792 [C99-based-standards] (PRIuPTR): Likewise.
21793 [C99-based-standards] (PRIxPTR): Likewise.
21794 [C99-based-standards] (PRIXPTR): Likewise.
21795 [C99-based-standards] (SCNdPTR): Likewise.
21796 [C99-based-standards] (SCNiPTR): Likewise.
21797 [C99-based-standards] (SCNoPTR): Likewise.
21798 [C99-based-standards] (SCNuPTR): Likewise.
21799 [C99-based-standards] (SCNxPTR): Likewise.
21800 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21801 allow.
21802 * conform/data/stdint.h-data: Update comments to clarify
21803 requirements.
21804 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21805 type.
21806 [C99-based standards] (INT8_MAX): Likewise.
21807 [C99-based standards] (INT16_MIN): Likewise.
21808 [C99-based standards] (INT16_MAX): Likewise.
21809 [C99-based standards] (INT32_MIN): Likewise.
21810 [C99-based standards] (INT32_MAX): Likewise.
21811 [C99-based standards] (INT64_MIN): Likewise.
21812 [C99-based standards] (INT64_MAX): Likewise.
21813 [C99-based standards] (UINT8_MAX): Likewise.
21814 [C99-based standards] (UINT16_MAX): Likewise.
21815 [C99-based standards] (UINT32_MAX): Likewise.
21816 [C99-based standards] (UINT64_MAX): Likewise.
21817 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21818 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21819 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21820 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21821 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21822 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21823 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21824 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21825 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21826 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21827 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21828 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21829 [C99-based standards] (INT_FAST8_MIN): Likewise.
21830 [C99-based standards] (INT_FAST8_MAX): Likewise.
21831 [C99-based standards] (INT_FAST16_MIN): Likewise.
21832 [C99-based standards] (INT_FAST16_MAX): Likewise.
21833 [C99-based standards] (INT_FAST32_MIN): Likewise.
21834 [C99-based standards] (INT_FAST32_MAX): Likewise.
21835 [C99-based standards] (INT_FAST64_MIN): Likewise.
21836 [C99-based standards] (INT_FAST64_MAX): Likewise.
21837 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21838 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21839 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21840 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21841 [C99-based standards] (INTPTR_MIN): Likewise.
21842 [C99-based standards] (INTPTR_MAX): Likewise.
21843 [C99-based standards] (UINTPTR_MAX): Likewise.
21844 [C99-based standards] (INTMAX_MIN): Likewise.
21845 [C99-based standards] (INTMAX_MAX): Likewise.
21846 [C99-based standards] (UINTMAX_MAX): Likewise.
21847 [C99-based standards] (PTRDIFF_MIN): Likewise.
21848 [C99-based standards] (PTRDIFF_MAX): Likewise.
21849 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21850 [C99-based standards] (SIZE_MAX): Likewise.
21851 [C99-based standards] (WCHAR_MAX): Likewise.
21852 [C99-based standards] (WINT_MAX): Likewise.
21853 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21854 constraint on value.
21855 [C99-based standards] (WCHAR_MIN): Likewise.
21856 [C99-based standards] (WINT_MIN): Likewise.
21857 [C99-based standards] (*_t): Allow.
21858 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21859 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21860 Include math.h-data and complex.h-data. Remove all expectations
21861 of math.h and complex.h contents.
21862 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21863 at end of line.
21864 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21865 (struct tm): Expect tag.
21866 [C99-based-standards] (wcstof): Expect function.
21867 [C99-based-standards] (wcstold): Likewise.
21868 [C99-based-standards] (wcstoll): Likewise.
21869 [C99-based-standards] (wcstoull): Likewise.
21870 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21871 macro-int-constant. Specify type.
21872 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21873 constraint on value.
21874 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21875 Specify type.
21876 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21877 Specify value.
21878 [ISO C standards]: Do not allow headers.
21879 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21880 wcs[abcdefghijklmnopqrstuvwxyz]*.
21881 [ISO C standards] (*_t): Do not allow.
21882 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21883 Expect function.
21884 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21885 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21886 Specify type.
21887 [ISO C standards]: Do not allow headers.
21888 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21889 is[abcdefghijklmnopqrstuvwxyz]*.
21890 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21891 to[abcdefghijklmnopqrstuvwxyz]*.
21892 [ISO C standards] (*_t): Do not allow.
21893 * conform/data/stdalign.h-data: New file.
21894 * conform/data/stdbool.h-data: Likewise.
21895 * conform/data/stdnoreturn.h-data: Likewise.
21896
7514feb8
RM
218972012-11-07 Roland McGrath <roland@hack.frob.com>
21898
21899 [BZ #14815]
21900 * manual/filesys.texi (Directory Entries): Typo fix.
21901 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21902
19b2ecfc
MS
219032012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21904
21905 * elf/elf.h (EM_AARCH64): New macro.
21906 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21907 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21908 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21909 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21910 (R_AARCH64_TLSDESC): Likewise.
21911 (NT_ARM_TLS): Likewise.
21912 (NT_ARM_HW_BREAK): Likewise.
21913 (NT_ARM_HW_WATCH): Likewise.
21914
60e235ee
JM
219152012-11-07 Joseph Myers <joseph@codesourcery.com>
21916
21917 [BZ #14811]
21918 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21919 (__ieee754_powl): Saturate nonzero exponents with absolute value
21920 below 0x1p-79 to +/- 0x1p-79.
21921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21922 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21923 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21924 nonzero exponents with absolute value below 0x1p-32 to +/-
21925 0x1p-32.
21926 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21927 (__ieee754_powl): Saturate nonzero exponents with absolute value
21928 below 0x1p-79 to +/- 0x1p-79.
21929 * math/libm-test.inc (pow_test): Add more tests.
21930
0ab234b7
AK
219312012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21932
21933 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21934 _dl_s390_cap_flags with kernel. Increase string length.
21935 (_dl_s390_platforms): Add z196 and zEC12.
21936
45832f74
JM
219372012-11-07 Joseph Myers <joseph@codesourcery.com>
21938
21939 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21940 Change XOPEN21K to XOPEN2K.
21941
19218757
MK
219422012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21943
21944 * string/memmove.c: Use memcpy when possible.
21945
c5f45721
AJ
219462012-11-06 Andreas Jaeger <aj@suse.de>
21947
21948 * po/eo.po: Update from translation team.
21949
82477c28
JM
219502012-11-06 Joseph Myers <joseph@codesourcery.com>
21951
21952 [BZ #14793]
21953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21954 exponent and small x and y exponents, scale x or y up. Increase
21955 by 2 the exponent used in scaling up.
21956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21958 * math/libm-test.inc (fma_test): Add more tests.
21959 (fma_test_towardzero): Likewise.
21960 (fma_test_downward): Likewise.
21961 (fma_test_upward): Likewise.
21962
99252c8c
JM
219632012-11-05 Joseph Myers <joseph@codesourcery.com>
21964
acfa885f
JM
21965 [BZ #14805]
21966 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21967 fenv_t *.
21968
99252c8c
JM
21969 [BZ #14801]
21970 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21971 namespace for names of struct fields.
21972 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21973 fenv_t fields.
21974 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21975 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21976
d6d98dea
ST
219772012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21978
21979 [BZ #3665]
21980 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21981
e10bb107
TS
219822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21983
21984 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21985 PTR_DEMANGLE.
21986
21987 [BZ #5246]
21988 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21989 PTR_DEMANGLE.
21990
a0c2940d
JM
219912012-11-04 Joseph Myers <joseph@codesourcery.com>
21992
21993 [BZ #14797]
21994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21995 definitely overflow as x * y not x * y + z.
21996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21998 * math/libm-test.inc (fma_test): Add more tests.
21999 (fma_test_towardzero): Likewise.
22000 (fma_test_downward): Likewise.
22001 (fma_test_upward): Likewise.
22002
b830319d
TS
220032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22004
22005 [BZ #157]
22006
22007 * include/stub-tag.h: Remove file.
22008 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22009 '#include' of it.
22010 * manual/maint.texi (Porting): Don't reference it.
22011 * Makerules ($(objpfx)stubs): Likewise.
22012 * dirent/closedir.c: Don't include <stub-tag.h>.
22013 * dirent/dirfd.c: Likewise.
22014 * dirent/fdopendir.c: Likewise.
22015 * dirent/getdents.c: Likewise.
22016 * dirent/getdents64.c: Likewise.
22017 * dirent/opendir.c: Likewise.
22018 * dirent/readdir.c: Likewise.
22019 * dirent/readdir64.c: Likewise.
22020 * dirent/readdir64_r.c: Likewise.
22021 * dirent/readdir_r.c: Likewise.
22022 * dirent/rewinddir.c: Likewise.
22023 * dirent/seekdir.c: Likewise.
22024 * dirent/telldir.c: Likewise.
22025 * gmon/profil.c: Likewise.
22026 * grp/setgroups.c: Likewise.
22027 * inet/if_index.c: Likewise.
22028 * io/access.c: Likewise.
22029 * io/chdir.c: Likewise.
22030 * io/chmod.c: Likewise.
22031 * io/chown.c: Likewise.
22032 * io/close.c: Likewise.
22033 * io/dup.c: Likewise.
22034 * io/dup2.c: Likewise.
22035 * io/dup3.c: Likewise.
22036 * io/euidaccess.c: Likewise.
22037 * io/faccessat.c: Likewise.
22038 * io/fchdir.c: Likewise.
22039 * io/fchmod.c: Likewise.
22040 * io/fchmodat.c: Likewise.
22041 * io/fchown.c: Likewise.
22042 * io/fchownat.c: Likewise.
22043 * io/fcntl.c: Likewise.
22044 * io/flock.c: Likewise.
22045 * io/fstatfs.c: Likewise.
22046 * io/fstatfs64.c: Likewise.
22047 * io/fstatvfs.c: Likewise.
22048 * io/fstatvfs64.c: Likewise.
22049 * io/futimens.c: Likewise.
22050 * io/fxstat.c: Likewise.
22051 * io/fxstat64.c: Likewise.
22052 * io/fxstatat.c: Likewise.
22053 * io/fxstatat64.c: Likewise.
22054 * io/getcwd.c: Likewise.
22055 * io/isatty.c: Likewise.
22056 * io/lchmod.c: Likewise.
22057 * io/lchown.c: Likewise.
22058 * io/link.c: Likewise.
22059 * io/linkat.c: Likewise.
22060 * io/lseek.c: Likewise.
22061 * io/lseek64.c: Likewise.
22062 * io/lxstat64.c: Likewise.
22063 * io/mkdir.c: Likewise.
22064 * io/mkdirat.c: Likewise.
22065 * io/mkfifo.c: Likewise.
22066 * io/mkfifoat.c: Likewise.
22067 * io/open.c: Likewise.
22068 * io/open64.c: Likewise.
22069 * io/openat.c: Likewise.
22070 * io/openat64.c: Likewise.
22071 * io/pipe.c: Likewise.
22072 * io/pipe2.c: Likewise.
22073 * io/poll.c: Likewise.
22074 * io/posix_fadvise.c: Likewise.
22075 * io/posix_fadvise64.c: Likewise.
22076 * io/posix_fallocate.c: Likewise.
22077 * io/posix_fallocate64.c: Likewise.
22078 * io/read.c: Likewise.
22079 * io/readlink.c: Likewise.
22080 * io/readlinkat.c: Likewise.
22081 * io/rmdir.c: Likewise.
22082 * io/sendfile.c: Likewise.
22083 * io/sendfile64.c: Likewise.
22084 * io/statfs.c: Likewise.
22085 * io/statfs64.c: Likewise.
22086 * io/statvfs.c: Likewise.
22087 * io/statvfs64.c: Likewise.
22088 * io/symlink.c: Likewise.
22089 * io/symlinkat.c: Likewise.
22090 * io/ttyname.c: Likewise.
22091 * io/ttyname_r.c: Likewise.
22092 * io/umask.c: Likewise.
22093 * io/unlink.c: Likewise.
22094 * io/unlinkat.c: Likewise.
22095 * io/utime.c: Likewise.
22096 * io/utimensat.c: Likewise.
22097 * io/write.c: Likewise.
22098 * io/xmknod.c: Likewise.
22099 * io/xmknodat.c: Likewise.
22100 * io/xstat.c: Likewise.
22101 * io/xstat64.c: Likewise.
22102 * login/getpt.c: Likewise.
22103 * login/grantpt.c: Likewise.
22104 * login/unlockpt.c: Likewise.
22105 * math/e_acoshl.c: Likewise.
22106 * math/e_acosl.c: Likewise.
22107 * math/e_asinl.c: Likewise.
22108 * math/e_atan2l.c: Likewise.
22109 * math/e_atanhl.c: Likewise.
22110 * math/e_coshl.c: Likewise.
22111 * math/e_expl.c: Likewise.
22112 * math/e_fmodl.c: Likewise.
22113 * math/e_gammal_r.c: Likewise.
22114 * math/e_hypotl.c: Likewise.
22115 * math/e_j0l.c: Likewise.
22116 * math/e_j1l.c: Likewise.
22117 * math/e_jnl.c: Likewise.
22118 * math/e_lgammal_r.c: Likewise.
22119 * math/e_log10l.c: Likewise.
22120 * math/e_log2l.c: Likewise.
22121 * math/e_logl.c: Likewise.
22122 * math/e_powl.c: Likewise.
22123 * math/e_rem_pio2l.c: Likewise.
22124 * math/e_sinhl.c: Likewise.
22125 * math/e_sqrtl.c: Likewise.
22126 * math/fclrexcpt.c: Likewise.
22127 * math/fedisblxcpt.c: Likewise.
22128 * math/feenablxcpt.c: Likewise.
22129 * math/fegetenv.c: Likewise.
22130 * math/fegetexcept.c: Likewise.
22131 * math/fegetround.c: Likewise.
22132 * math/feholdexcpt.c: Likewise.
22133 * math/fesetenv.c: Likewise.
22134 * math/fesetround.c: Likewise.
22135 * math/feupdateenv.c: Likewise.
22136 * math/fgetexcptflg.c: Likewise.
22137 * math/fraiseexcpt.c: Likewise.
22138 * math/fsetexcptflg.c: Likewise.
22139 * math/ftestexcept.c: Likewise.
22140 * math/k_cosl.c: Likewise.
22141 * math/k_rem_pio2l.c: Likewise.
22142 * math/k_sinl.c: Likewise.
22143 * math/k_tanl.c: Likewise.
22144 * math/s_asinhl.c: Likewise.
22145 * math/s_atanl.c: Likewise.
22146 * math/s_cbrtl.c: Likewise.
22147 * math/s_erfl.c: Likewise.
22148 * math/s_expm1l.c: Likewise.
22149 * math/s_log1pl.c: Likewise.
22150 * math/s_tanhl.c: Likewise.
22151 * misc/acct.c: Likewise.
22152 * misc/brk.c: Likewise.
22153 * misc/chflags.c: Likewise.
22154 * misc/chroot.c: Likewise.
22155 * misc/fchflags.c: Likewise.
22156 * misc/fgetxattr.c: Likewise.
22157 * misc/flistxattr.c: Likewise.
22158 * misc/fremovexattr.c: Likewise.
22159 * misc/fsetxattr.c: Likewise.
22160 * misc/fsync.c: Likewise.
22161 * misc/ftruncate.c: Likewise.
22162 * misc/futimes.c: Likewise.
22163 * misc/futimesat.c: Likewise.
22164 * misc/getdomain.c: Likewise.
22165 * misc/getdtsz.c: Likewise.
22166 * misc/gethostid.c: Likewise.
22167 * misc/gethostname.c: Likewise.
22168 * misc/getloadavg.c: Likewise.
22169 * misc/getpagesize.c: Likewise.
22170 * misc/getsysstats.c: Likewise.
22171 * misc/getxattr.c: Likewise.
22172 * misc/gtty.c: Likewise.
22173 * misc/ioctl.c: Likewise.
22174 * misc/lgetxattr.c: Likewise.
22175 * misc/listxattr.c: Likewise.
22176 * misc/llistxattr.c: Likewise.
22177 * misc/lremovexattr.c: Likewise.
22178 * misc/lsetxattr.c: Likewise.
22179 * misc/lutimes.c: Likewise.
22180 * misc/madvise.c: Likewise.
22181 * misc/mincore.c: Likewise.
22182 * misc/mlock.c: Likewise.
22183 * misc/mlockall.c: Likewise.
22184 * misc/mmap.c: Likewise.
22185 * misc/mprotect.c: Likewise.
22186 * misc/msync.c: Likewise.
22187 * misc/munlock.c: Likewise.
22188 * misc/munlockall.c: Likewise.
22189 * misc/munmap.c: Likewise.
22190 * misc/preadv.c: Likewise.
22191 * misc/preadv64.c: Likewise.
22192 * misc/ptrace.c: Likewise.
22193 * misc/pwritev.c: Likewise.
22194 * misc/pwritev64.c: Likewise.
22195 * misc/readv.c: Likewise.
22196 * misc/reboot.c: Likewise.
22197 * misc/remap_file_pages.c: Likewise.
22198 * misc/removexattr.c: Likewise.
22199 * misc/revoke.c: Likewise.
22200 * misc/select.c: Likewise.
22201 * misc/setdomain.c: Likewise.
22202 * misc/setegid.c: Likewise.
22203 * misc/seteuid.c: Likewise.
22204 * misc/sethostid.c: Likewise.
22205 * misc/sethostname.c: Likewise.
22206 * misc/setregid.c: Likewise.
22207 * misc/setreuid.c: Likewise.
22208 * misc/setxattr.c: Likewise.
22209 * misc/sstk.c: Likewise.
22210 * misc/stty.c: Likewise.
22211 * misc/swapoff.c: Likewise.
22212 * misc/swapon.c: Likewise.
22213 * misc/sync.c: Likewise.
22214 * misc/syncfs.c: Likewise.
22215 * misc/syscall.c: Likewise.
22216 * misc/truncate.c: Likewise.
22217 * misc/ualarm.c: Likewise.
22218 * misc/usleep.c: Likewise.
22219 * misc/ustat.c: Likewise.
22220 * misc/utimes.c: Likewise.
22221 * misc/vhangup.c: Likewise.
22222 * misc/writev.c: Likewise.
22223 * posix/_exit.c: Likewise.
22224 * posix/alarm.c: Likewise.
22225 * posix/execve.c: Likewise.
22226 * posix/fexecve.c: Likewise.
22227 * posix/fork.c: Likewise.
22228 * posix/fpathconf.c: Likewise.
22229 * posix/getaddrinfo.c: Likewise.
22230 * posix/getegid.c: Likewise.
22231 * posix/geteuid.c: Likewise.
22232 * posix/getgid.c: Likewise.
22233 * posix/getgroups.c: Likewise.
22234 * posix/getlogin.c: Likewise.
22235 * posix/getlogin_r.c: Likewise.
22236 * posix/getpgid.c: Likewise.
22237 * posix/getpid.c: Likewise.
22238 * posix/getppid.c: Likewise.
22239 * posix/getresgid.c: Likewise.
22240 * posix/getresuid.c: Likewise.
22241 * posix/getsid.c: Likewise.
22242 * posix/getuid.c: Likewise.
22243 * posix/glob64.c: Likewise.
22244 * posix/nanosleep.c: Likewise.
22245 * posix/pathconf.c: Likewise.
22246 * posix/pause.c: Likewise.
22247 * posix/posix_madvise.c: Likewise.
22248 * posix/pread.c: Likewise.
22249 * posix/pread64.c: Likewise.
22250 * posix/pwrite.c: Likewise.
22251 * posix/pwrite64.c: Likewise.
22252 * posix/sched_getaffinity.c: Likewise.
22253 * posix/sched_getp.c: Likewise.
22254 * posix/sched_gets.c: Likewise.
22255 * posix/sched_primax.c: Likewise.
22256 * posix/sched_primin.c: Likewise.
22257 * posix/sched_rr_gi.c: Likewise.
22258 * posix/sched_setaffinity.c: Likewise.
22259 * posix/sched_setp.c: Likewise.
22260 * posix/sched_sets.c: Likewise.
22261 * posix/sched_yield.c: Likewise.
22262 * posix/setgid.c: Likewise.
22263 * posix/setlogin.c: Likewise.
22264 * posix/setpgid.c: Likewise.
22265 * posix/setresgid.c: Likewise.
22266 * posix/setresuid.c: Likewise.
22267 * posix/setsid.c: Likewise.
22268 * posix/setuid.c: Likewise.
22269 * posix/sleep.c: Likewise.
22270 * posix/spawni.c: Likewise.
22271 * posix/sysconf.c: Likewise.
22272 * posix/times.c: Likewise.
22273 * posix/wait.c: Likewise.
22274 * posix/wait3.c: Likewise.
22275 * posix/wait4.c: Likewise.
22276 * posix/waitpid.c: Likewise.
22277 * resolv/gai_sigqueue.c: Likewise.
22278 * resource/getpriority.c: Likewise.
22279 * resource/getrlimit.c: Likewise.
22280 * resource/getrusage.c: Likewise.
22281 * resource/nice.c: Likewise.
22282 * resource/setpriority.c: Likewise.
22283 * resource/setrlimit.c: Likewise.
22284 * resource/ulimit.c: Likewise.
22285 * rt/aio_cancel.c: Likewise.
22286 * rt/aio_fsync.c: Likewise.
22287 * rt/aio_read.c: Likewise.
22288 * rt/aio_sigqueue.c: Likewise.
22289 * rt/aio_suspend.c: Likewise.
22290 * rt/aio_write.c: Likewise.
22291 * rt/clock_getres.c: Likewise.
22292 * rt/clock_gettime.c: Likewise.
22293 * rt/clock_nanosleep.c: Likewise.
22294 * rt/clock_settime.c: Likewise.
22295 * rt/lio_listio.c: Likewise.
22296 * rt/mq_close.c: Likewise.
22297 * rt/mq_getattr.c: Likewise.
22298 * rt/mq_notify.c: Likewise.
22299 * rt/mq_open.c: Likewise.
22300 * rt/mq_receive.c: Likewise.
22301 * rt/mq_send.c: Likewise.
22302 * rt/mq_setattr.c: Likewise.
22303 * rt/mq_timedreceive.c: Likewise.
22304 * rt/mq_timedsend.c: Likewise.
22305 * rt/mq_unlink.c: Likewise.
22306 * rt/shm_open.c: Likewise.
22307 * rt/shm_unlink.c: Likewise.
22308 * rt/timer_create.c: Likewise.
22309 * rt/timer_delete.c: Likewise.
22310 * rt/timer_getoverr.c: Likewise.
22311 * rt/timer_gettime.c: Likewise.
22312 * rt/timer_settime.c: Likewise.
22313 * setjmp/__longjmp.c: Likewise.
22314 * setjmp/setjmp.c: Likewise.
22315 * signal/kill.c: Likewise.
22316 * signal/killpg.c: Likewise.
22317 * signal/raise.c: Likewise.
22318 * signal/sigaction.c: Likewise.
22319 * signal/sigaltstack.c: Likewise.
22320 * signal/sigblock.c: Likewise.
22321 * signal/sigignore.c: Likewise.
22322 * signal/sigintr.c: Likewise.
22323 * signal/signal.c: Likewise.
22324 * signal/sigpause.c: Likewise.
22325 * signal/sigpending.c: Likewise.
22326 * signal/sigqueue.c: Likewise.
22327 * signal/sigreturn.c: Likewise.
22328 * signal/sigset.c: Likewise.
22329 * signal/sigsetmask.c: Likewise.
22330 * signal/sigstack.c: Likewise.
22331 * signal/sigsuspend.c: Likewise.
22332 * signal/sigtimedwait.c: Likewise.
22333 * signal/sigvec.c: Likewise.
22334 * signal/sigwait.c: Likewise.
22335 * signal/sigwaitinfo.c: Likewise.
22336 * signal/sysv_signal.c: Likewise.
22337 * socket/accept.c: Likewise.
22338 * socket/accept4.c: Likewise.
22339 * socket/bind.c: Likewise.
22340 * socket/connect.c: Likewise.
22341 * socket/getpeername.c: Likewise.
22342 * socket/getsockname.c: Likewise.
22343 * socket/getsockopt.c: Likewise.
22344 * socket/isfdtype.c: Likewise.
22345 * socket/listen.c: Likewise.
22346 * socket/recv.c: Likewise.
22347 * socket/recvfrom.c: Likewise.
22348 * socket/recvmsg.c: Likewise.
22349 * socket/send.c: Likewise.
22350 * socket/sendmsg.c: Likewise.
22351 * socket/sendto.c: Likewise.
22352 * socket/setsockopt.c: Likewise.
22353 * socket/shutdown.c: Likewise.
22354 * socket/sockatmark.c: Likewise.
22355 * socket/socket.c: Likewise.
22356 * socket/socketpair.c: Likewise.
22357 * stdio-common/ctermid.c: Likewise.
22358 * stdio-common/cuserid.c: Likewise.
22359 * stdio-common/remove.c: Likewise.
22360 * stdio-common/rename.c: Likewise.
22361 * stdio-common/renameat.c: Likewise.
22362 * stdio-common/tempname.c: Likewise.
22363 * stdlib/getcontext.c: Likewise.
22364 * stdlib/makecontext.c: Likewise.
22365 * stdlib/setcontext.c: Likewise.
22366 * stdlib/swapcontext.c: Likewise.
22367 * stdlib/system.c: Likewise.
22368 * streams/fattach.c: Likewise.
22369 * streams/fdetach.c: Likewise.
22370 * streams/getmsg.c: Likewise.
22371 * streams/getpmsg.c: Likewise.
22372 * streams/putmsg.c: Likewise.
22373 * streams/putpmsg.c: Likewise.
22374 * sysdeps/unix/bsd/getpt.c: Likewise.
22375 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22376 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22377 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22379 Likewise.
22380 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22381 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22382 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22383 * sysvipc/msgctl.c: Likewise.
22384 * sysvipc/msgget.c: Likewise.
22385 * sysvipc/msgrcv.c: Likewise.
22386 * sysvipc/msgsnd.c: Likewise.
22387 * sysvipc/semctl.c: Likewise.
22388 * sysvipc/semget.c: Likewise.
22389 * sysvipc/semop.c: Likewise.
22390 * sysvipc/semtimedop.c: Likewise.
22391 * sysvipc/shmat.c: Likewise.
22392 * sysvipc/shmctl.c: Likewise.
22393 * sysvipc/shmdt.c: Likewise.
22394 * sysvipc/shmget.c: Likewise.
22395 * termios/tcdrain.c: Likewise.
22396 * termios/tcflow.c: Likewise.
22397 * termios/tcflush.c: Likewise.
22398 * termios/tcgetattr.c: Likewise.
22399 * termios/tcgetpgrp.c: Likewise.
22400 * termios/tcsendbrk.c: Likewise.
22401 * termios/tcsetattr.c: Likewise.
22402 * termios/tcsetpgrp.c: Likewise.
22403 * time/adjtime.c: Likewise.
22404 * time/clock.c: Likewise.
22405 * time/getitimer.c: Likewise.
22406 * time/gettimeofday.c: Likewise.
22407 * time/setitimer.c: Likewise.
22408 * time/settimeofday.c: Likewise.
22409 * time/stime.c: Likewise.
22410 * time/time.c: Likewise.
22411
224122012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22413
a20492cf
PT
22414 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22415 /usr/old/bin.
22416
72e182e3
PT
22417 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22418 instead of spaces.
22419 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22420
fbeafede
JM
224212012-11-03 Joseph Myers <joseph@codesourcery.com>
22422
5b5b04d6
JM
22423 [BZ #14796]
22424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22425 FE_TONEAREST before applying Dekker multiplication and Knuth
22426 addition. Clear inexact exceptions and check for exact zero
22427 results afterwards.
22428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22429 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22431 * math/libm-test.inc (fma_test): Add more tests.
22432 (fma_test_towardzero): Likewise.
22433 (fma_test_downward): Likewise.
22434 (fma_test_upward): Likewise.
22435 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22436 function.
22437 (libc_fesetround): New macro.
22438 (libc_fesetroundf): Likewise.
22439 (libc_fesetroundl): Likewise.
22440 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22441 function.
22442 (libc_fesetround_387): Likewise.
22443 (libc_fesetroundf): New macro.
22444 (libc_fesetround): Likewise.
22445 (libc_fesetroundl): Likewise.
22446 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22447 function.
22448 (libc_fesetroundf): New macro.
22449 (libc_fesetround): Likewise.
22450 (libc_fesetroundl): Likewise.
22451 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22452 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22453 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22454 libm_hidden_ver.
22455 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22456 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22457 libm_hidden_def.
22458 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22459 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22460 libm_hidden_ver.
22461 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22462 libm_hidden_def.
22463
fbeafede
JM
22464 [BZ #3439]
22465 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22466 integer constant usable in #if and use that to give value to enum
22467 constant.
22468 (FE_DIVBYZERO): Likewise.
22469 (FE_UNDERFLOW): Likewise.
22470 (FE_OVERFLOW): Likewise.
22471 (FE_INVALID): Likewise.
22472 (FE_INVALID_SNAN): Likewise.
22473 (FE_INVALID_ISI): Likewise.
22474 (FE_INVALID_IDI): Likewise.
22475 (FE_INVALID_ZDZ): Likewise.
22476 (FE_INVALID_IMZ): Likewise.
22477 (FE_INVALID_COMPARE): Likewise.
22478 (FE_INVALID_SOFTWARE): Likewise.
22479 (FE_INVALID_SQRT): Likewise.
22480 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22481 (FE_TONEAREST): Likewise.
22482 (FE_TOWARDZERO): Likewise.
22483 (FE_UPWARD): Likewise.
22484 (FE_DOWNWARD): Likewise.
22485 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22486 (FE_DIVBYZERO): Likewise.
22487 (FE_OVERFLOW): Likewise.
22488 (FE_UNDERFLOW): Likewise.
22489 (FE_INEXACT): Likewise.
22490 (FE_TONEAREST): Likewise.
22491 (FE_DOWNWARD): Likewise.
22492 (FE_UPWARD): Likewise.
22493 (FE_TOWARDZERO): Likewise.
22494 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22495 (FE_UNDERFLOW): Likewise.
22496 (FE_OVERFLOW): Likewise.
22497 (FE_DIVBYZERO): Likewise.
22498 (FE_INVALID): Likewise.
22499 (FE_TONEAREST): Likewise.
22500 (FE_TOWARDZERO): Likewise.
22501 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22502 (FE_OVERFLOW): Likewise.
22503 (FE_UNDERFLOW): Likewise.
22504 (FE_DIVBYZERO): Likewise.
22505 (FE_INEXACT): Likewise.
22506 (FE_TONEAREST): Likewise.
22507 (FE_TOWARDZERO): Likewise.
22508 (FE_UPWARD): Likewise.
22509 (FE_DOWNWARD): Likewise.
22510 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22511 (FE_DIVBYZERO): Likewise.
22512 (FE_OVERFLOW): Likewise.
22513 (FE_UNDERFLOW): Likewise.
22514 (FE_INEXACT): Likewise.
22515 (FE_TONEAREST): Likewise.
22516 (FE_DOWNWARD): Likewise.
22517 (FE_UPWARD): Likewise.
22518 (FE_TOWARDZERO): Likewise.
22519
105ca950
CM
225202012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22521
22522 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22523
a542b389
AS
225242012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22525
22526 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22527 commands. Quote $PWD.
22528 (blacklist_exports): Don't use remove_newlines. Replace "declare
22529 -x" by "export".
22530 (remove_newlines): Remove.
22531
f62c8abc
L
225322012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22533
22534 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22535 * stdlib/stdlib.h (atof): Moved to ...
22536 * include/bits/stdlib-float.h: Here. New file.
22537 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22538 * stdlib/bits/stdlib-float.h: New file.
22539 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22540 -mno-sse -mno-mmx.
22541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22542 <xmmintrin.h>.
22543
0155d5b2
JM
225442012-11-02 Joseph Myers <joseph@codesourcery.com>
22545
a68d0680
JM
22546 * conform/conformtest.pl (@headers): Add fenv.h.
22547 * conform/data/fenv.h-data: New file.
22548 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22549 include of <math/fenv.h>.
22550
caf7f573
JM
22551 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22552 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22553 && !UNIX98]. Enables tests for XOPEN2K8.
22554 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22555 POSIX2008]: Likewise.
22556
6c073ad6
JM
22557 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22558 (struct rusage): Do not expect type or its members.
22559
0155d5b2
JM
22560 [BZ #3439]
22561 * math/math.h (FP_NAN): Define macro to integer constant usable in
22562 #if and use that to give value to enum constant.
22563 (FP_INFINITE): Likewise.
22564 (FP_ZERO): Likewise.
22565 (FP_SUBNORMAL): Likewise.
22566 (FP_NORMAL): Likewise.
22567
b5dcacb4
AS
225682012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22569
22570 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22571 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22572 arguments.
22573
f7934be8
RM
225742012-11-02 Roland McGrath <roland@hack.frob.com>
22575
22576 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22577 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22578 autoconf-time if not.
22579 * configure.in: Remove AC_PREREQ.
22580
d7d08bde
TMQMF
225812012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22582
22583 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22584 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22585 of the internal implementation.
22586
dcdae19a
JM
225872012-11-02 Joseph Myers <joseph@codesourcery.com>
22588
22589 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22590 except include of <misc/sys/syslog.h>.
22591
d6cffd3e
AS
225922012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22593
22594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22595 function returns with a NULL context exit with zero.
22596
b3563932
TMQMF
225972012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22598
22599 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22600
b288a93d
L
226012012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22602
22603 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22604 (run_program_cmd): This.
22605 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22606 (tst_langinfo): New variable. Use it.
22607
a2421a68
SAS
226082012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22609
22610 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22611 floating point opcodes.
22612
6f796e1b
TS
226132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22614
7402596b
TS
22615 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22616 variable.
22617
d0d4f868
TS
22618 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22619
6f796e1b
TS
22620 * sysdeps/mach/hurd/powerpc: Remove directory.
22621 * sysdeps/mach/powerpc: Likewise.
22622
4da224a2
AS
226232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22624
22625 * scripts/check-local-headers.sh: Ignore c++ headers.
22626
341dd673
TS
226272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22628
22629 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22630 __libc_cleanup_region_start argument.
22631
473611b2
JM
226322012-11-01 Joseph Myers <joseph@codesourcery.com>
22633
22634 [BZ #14784]
22635 [BZ #14785]
22636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22637 x * y using scaling, not as x * y + z.
22638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22640 * math/libm-test.inc (fma_test): Add more tests.
22641 (fma_test_towardzero): Likewise.
22642 (fma_test_downward): Likewise.
22643 (fma_test_upward): Likewise.
22644
4078da3d
TS
226452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22646
22647 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22648
903252aa
JM
226492012-10-31 Joseph Myers <joseph@codesourcery.com>
22650
22651 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22652 New variable.
22653
cbc818d0
TS
226542012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22655
22656 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22657
5a03cb1e
AS
226582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22659
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22661 Fix sort order.
22662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22663 Likewise.
22664
90aff2ff
TMQMF
226652012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22666
22667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22668 Fix the order of the list for glibc 2.17.
22669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22670 Likewise.
22671
1818fcb7
AS
226722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22673
22674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22675
ef82f4da
JM
226762012-10-31 Joseph Myers <joseph@codesourcery.com>
22677
16a0e2ec
JM
22678 [BZ #14610]
22679 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22680 for low part of x being zero before using __atanl (y).
22681 * math/libm-test.inc (atan2_test): Add another test.
22682
0eb69512
JM
22683 * manual/install.texi (Configuring and compiling): Document
22684 general use of test-wrapper and test-wrapper-env.
22685 * INSTALL: Regenerated.
22686
ef82f4da
JM
22687 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22688 (__fma): Do not extract and scale down low bits on after-rounding
22689 systems when result rounded to normal precision would have normal
22690 exponent.
22691 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22692 (__fmal): Do not extract and scale down low bits on after-rounding
22693 systems when result rounded to normal precision would have normal
22694 exponent.
22695 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22696 (__fmal): Do not extract and scale down low bits on after-rounding
22697 systems when result rounded to normal precision would have normal
22698 exponent.
22699 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22700 macro.
22701 (fma_test): Add more tests.
22702 (fma_test_towardzero): Likewise.
22703 (fma_test_downward): Likewise.
22704 (fma_test_upward): Likewise.
22705
954ef0d9
L
227062012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22707
22708 * sysdeps/i386/tininess.h: Renamed to ...
22709 * sysdeps/x86/tininess.h: This.
22710 * sysdeps/x86_64/tininess.h: Removed.
22711
df61ffb2
JM
227122012-10-30 Joseph Myers <joseph@codesourcery.com>
22713
22714 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22715 input. Use $(build-program-cmd).
22716 ($(objpfx)tst-array1-static.out): Likewise.
22717 ($(objpfx)tst-array2.out): Likewise.
22718 ($(objpfx)tst-array3.out): Likewise.
22719 ($(objpfx)tst-array4.out): Likewise.
22720 ($(objpfx)tst-array5.out): Likewise.
22721 ($(objpfx)tst-array5-static.out): Likewise.
22722
01767843
CM
227232012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22724
47cc1490
CM
22725 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22726 if defined.
22727
01767843
CM
22728 * nss/nsswitch.h (nss_interface_function): Provide new
22729 macro for use with NSS functions.
22730 * grp/initgroups.c: Use new macro.
22731 * nss/getXXbyYY.c: Likewise.
22732 * nss/getXXbyYY_r.c: Likewise.
22733 * nss/getXXent.c: Likewise.
22734 * nss/getXXent_r.c: Likewise.
22735 * sysdeps/posix/getaddrinfo.c: Likewise.
22736
8321aa97
AJ
227372012-10-30 Andreas Jaeger <aj@suse.de>
22738
22739 * po/ru.po: Update Russion translation from translation project.
22740
2a27fd6d
JM
227412012-10-30 Joseph Myers <joseph@codesourcery.com>
22742
8627a232
JM
22743 [BZ #14152]
22744 [BZ #14783]
22745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22746 result and shift together with sticky bit instead of replicating
22747 round-to-nearest rounding.
22748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22750 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22751 missing underflow exceptions.
22752 (fma_test_towardzero): Add more tests.
22753 (fma_test_downward): Likewise.
22754 (fma_test_upward): Likewise.
22755
2a27fd6d
JM
22756 [BZ #14047]
22757 * sysdeps/generic/tininess.h: New file.
22758 * sysdeps/i386/tininess.h: Likewise.
22759 * sysdeps/sh/tininess.h: Likewise.
22760 * sysdeps/x86_64/tininess.h: Likewise.
22761 * stdlib/tst-strtod-underflow.c: Likewise.
22762 * stdlib/tst-tininess.c: Likewise.
22763 * stdlib/strtod_l.c: Include <tininess.h>.
22764 (round_and_return): Do not set errno for exact underflow cases.
22765 Force an underflow exception when setting errno for underflow.
22766 Determine underflow based on rounding to normal precision if
22767 TININESS_AFTER_ROUNDING.
22768 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22769 ERANGE for exact underflow cases.
22770 * stdlib/Makefile (tests): Add tst-tininess and
22771 tst-strtod-underflow.
22772 ($(objpfx)tst-tininess): Use $(link-libm).
22773 ($(objpfx)tst-strtod-underflow): Likewise.
22774
e7170363
AJ
227752012-10-30 Andreas Jaeger <aj@suse.de>
22776
e5088dc6
AJ
22777 [BZ#14767]
22778 * elf/Makefile (tests): Remove conditional for have-initfini-array
22779 since this is now always required and the variable does not exist
22780 anymore.
22781 (tests-static): Likewise.
22782 (modules-names): Likewise.
22783
e7170363 22784 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22785
22786 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22787 merged with constructor/destructor.
22788 (init_array): Likewise.
22789 * elf/tst-array2dep.c (fini_array): Likewise.
22790 (init_array): Likewise.
22791
60457d8a
MF
227922012-10-29 Mike Frysinger <vapier@gentoo.org>
22793
22794 * manual/message.texi: Delete @cartouche tags.
22795
8bece752
PT
227962012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22797
94ce799f
PT
22798 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22799 EOPNOTSUPP.
22800 * sysdeps/mach/hurd/fsync.c: Likewise.
22801
8bece752
PT
22802 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22803 [_POSIX_REALTIME_SIGNALS]: Change condition to
22804 [_POSIX_REALTIME_SIGNALS > 0].
22805
86ebe6b1
AJ
228062012-10-27 Andreas Jaeger <aj@suse.de>
22807
22808 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22809 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22811 [__WORDSIZE != 64]: Likewise.
22812
54399c08
L
228132012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22814
22815 * iconvdata/tst-table.sh: Remove ${SHELL}.
22816 * iconvdata/tst-tables.sh: Likewise.
22817
e2211bed
DM
228182012-10-25 David S. Miller <davem@davemloft.net>
22819
22820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22821 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22822 of strtoull.
22823
f303f97c
DM
22824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22825 ifunc-impl-list.c
22826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22827 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22828 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22829 file.
22830
1e9d84cd
RM
228312012-10-25 Roland McGrath <roland@hack.frob.com>
22832
22833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22834 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22835 __getdirentries.
22836
df381762
JM
228372012-10-25 Joseph Myers <joseph@codesourcery.com>
22838 Jim Blandy <jimb@codesourcery.com>
22839
22840 * scripts/cross-test-ssh.sh: New file.
22841 * manual/install.texi (Configuring and compiling): Document use of
22842 cross-test-ssh.sh.
22843 * INSTALL: Regenerated.
22844
bff64913
PT
228452012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22846
22847 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22848 EOPNOTSUPP.
22849
25fe8932
JM
228502012-10-25 Joseph Myers <joseph@codesourcery.com>
22851
22852 * Makeconfig (run-program-prefix): Fix comment.
22853
cc1290d0
JM
228542012-10-24 Joseph Myers <joseph@codesourcery.com>
22855 Jim Blandy <jimb@codesourcery.com>
22856
22857 * Makeconfig (test-wrapper): New variable,
22858 (test-wrapper-env): Likewise.
22859 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22860 (run-built-tests): Define to yes.
22861 (run-program-prefix): Use $(test-wrapper).
22862 (built-program-cmd): Likewise.
22863 * Rules (make-test-out): Use $(test-wrapper-env) and
22864 $(host-built-program-cmd).
22865 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22866 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22867 tst-pathopt.sh.
22868 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22869 $(test-wrapper-env) to tst-rtld-load-self.sh.
22870 ($(objpfx)order2.out): Use $(test-wrapper).
22871 ($(objpfx)tst-initorder.out): Likewise.
22872 ($(objpfx)tst-initorder2.out): Likewise.
22873 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22874 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22875 (test_wrapper_env): New variable. Use it to run ld.so.
22876 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22877 Use it to run ld.so.
22878 (test_wrapper_env): Likewise.
22879 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22880 $(test-wrapper) to run-iconv-test.sh.
22881 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22882 (ICONV): Use $test_wrapper.
22883 * posix/Makefile ($(objpfx)globtest.out): Pass
22884 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22885 globtest.sh, not $(run-program-prefix).
22886 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22887 (test_wrapper): Likewise.
22888 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22889 set together with run_via_rtld_prefix.
22890 (run_program_prefix): Define in terms of test_wrapper and
22891 run_via_rtld_prefix.
22892
6e6249d0
RM
228932012-10-24 Roland McGrath <roland@hack.frob.com>
22894
22895 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22896 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22897 Targets removed.
22898
22899 [BZ #14743]
22900 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22901 Declare __clock_getres, __clock_gettime, __clock_settime,
22902 __clock_nanosleep, and __clock_getcpuclockid.
22903 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22904 Remove librt_hidden_def (clock_gettime).
22905 * sysdeps/unix/clock_gettime.c: Likewise.
22906 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22908 * rt/clock_getres.c: Define __clock_getres as an alias.
22909 * sysdeps/posix/clock_getres.c: Likewise.
22910 * rt/clock_settime.c: Define __clock_settime as an alias.
22911 * sysdeps/unix/clock_settime.c: Likewise.
22912 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22913 * sysdeps/unix/clock_nanosleep.c: Likewise.
22914 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22915 * rt/clock-compat.c: New file.
22916 * rt/Makefile (librt-routines): Add clock-compat and move
22917 $(clock-routines) to ...
22918 (routines): ... here, new variable.
22919 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22920 Don't add get_clockfreq here.
22921 * rt/Versions (libc: GLIBC_2.17): New version set.
22922 Add clock_* symbols here.
22923 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22924 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22925 (GLIBC_2.17): Add clock_* symbols.
22926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22930 Likewise.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22932 Likewise.
22933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22937 * NEWS: Mention the move.
22938
22939 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22940 Use __open, __read, __close rather than their public counterparts.
22941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22942 (__get_clockfreq_via_cpuinfo): Likewise.
22943 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22944 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22945
22946 * config.h.in (HAVE_IFUNC): New #undef.
22947 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22948 was successful.
22949 * configure: Regenerated.
22950
0cae3f4b
MF
229512012-10-24 Mike Frysinger <vapier@gentoo.org>
22952
22953 * configure.in: Move READELF check to start of file.
22954 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22955 libc_cv_asm_gnu_indirect_function in the process.
22956 * configure: Regenerated.
22957
8175a253
MF
229582012-10-24 Mike Frysinger <vapier@gentoo.org>
22959
22960 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22961 send the output to /dev/null.
22962 (libc_cv_cc_with_libunwind): Likewise.
22963 (libc_cv_as_noexecstack): Likewise.
22964 * configure: Regenerate.
22965
0708a7d1
JM
229662012-10-24 Joseph Myers <joseph@codesourcery.com>
22967
10b40d85
JM
22968 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22969
0708a7d1
JM
22970 * posix/globtest.sh (TMPDIR): Do not set.
22971 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22972 (testout): Likewise.
22973
9fddec1a
AJ
229742012-10-24 Andreas Jaeger <aj@suse.de>
22975
3a8db22f
AJ
22976 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22977 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22978 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22979 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22980 posix_fadvise64, posix_fallocate64.
22981
9fddec1a
AJ
22982 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22983 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22984 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22985 Likewise.
22986 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22987 Likewise.
22988 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22989
22990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22991 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22992 <bits/fcntl-linux.h>.
22993 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22994
22995 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22996 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22997 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22998 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22999 [__WORDSIZE != 64]: Likewise.
23000
ebfd1bbd
JM
230012012-10-23 Joseph Myers <joseph@codesourcery.com>
23002
03ac099f
JM
23003 * Makeconfig (run-built-tests): New variable.
23004 * Rules [$(cross-compiling) = yes]: Change condition to
23005 [$(run-built-tests) = no].
23006 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23007 to [$(run-built-tests) = yes].
23008 * elf/Makefile [$(cross-compiling) = no]: Likewise
23009 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23010 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23011 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23012 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23013 * io/Makefile [$(cross-compiling) = no]: Likewise.
23014 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23015 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23016 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23017 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23018 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23019 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23020 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23021 * string/Makefile [$(cross-compiling) = no]: Likewise.
23022
ebfd1bbd
JM
23023 * posix/Makefile ($(objpfx)globtest.out): Pass
23024 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23025 $(rtld-installed-name).
23026 * posix/globtest.sh (elf_objpfx): Remove variable.
23027 (rtld_installed_name): Likewise.
23028 (library_path): Likewise.
23029 (run_program_prefix): New variable. Use for running globtest
23030 binary.
23031
166bca24
JB
230322012-10-23 Jim Blandy <jimb@codesourcery.com>
23033 Joseph Myers <joseph@codesourcery.com>
23034
23035 * Makeconfig (host-built-program-cmd): New variable.
23036 * elf/Makefile (tst-stackguard1-ARGS): Use
23037 $(host-built-program-cmd).
23038 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23039 (tst-spawn-ARGS): Likewise.
23040 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23041
88866099
JM
230422012-10-23 Joseph Myers <joseph@codesourcery.com>
23043 Jim Blandy <jimb@codesourcery.com>
23044
23045 * Makeconfig (run-via-rtld-prefix): New variable.
23046 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23047 (built-program-cmd): Likewise.
23048
b4b4c296
AJ
230492012-10-22 Andreas Jaeger <aj@suse.de>
23050
23051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23052 __O_RSYNC if it exists, otherwise to O_SYNC.
23053
6fb54a22
JB
230542012-10-22 Jim Blandy <jimb@codesourcery.com>
23055 Joseph Myers <joseph@codesourcery.com>
23056
23057 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23058 /dev/null.
23059 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23060 from /dev/null
23061 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23062 /dev/null.
23063
481b90b9
AJ
230642012-10-22 Andreas Jaeger <aj@suse.de>
23065
2a0e2669
AJ
23066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23067 Define always.
23068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23069
76e38f9a
AJ
23070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23071 bits/fcntl-linux.h.
23072
7cd37b43
AJ
23073 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23074 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23075
481b90b9
AJ
23076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23077 to __O_LARGEFILE.
23078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23079 to __O_LARGEFILE.
23080
aba75984
JB
230812012-10-21 Jim Blandy <jimb@codesourcery.com>
23082 Joseph Myers <joseph@codesourcery.com>
23083
23084 * config.make.in (NM): New variable.
23085
88d4247f
AJ
230862012-10-21 Andreas Jaeger <aj@suse.de>
23087
23088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23089 definitions and declarations that are provided by
23090 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23091
f2eed205
L
230922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23093
23094 [BZ #14683]
23095 * elf/Makefile (tests-static): Add tst-leaks1-static.
23096 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23097 ($(objpfx)tst-leaks1-static): New rule.
23098 ($(objpfx)tst-leaks1-static-mem): Likewise.
23099 (tst-leaks1-static-ENV): New macro.
23100 * elf/dl-open.c (dl_open_worker): Check the main application
23101 only if SHARED is defined.
23102 * elf/tst-leaks1-static.c: New file.
23103
335e6931
AJ
231042012-10-20 Andreas Jaeger <aj@suse.de>
23105
23106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23107 generic values for Linux.
23108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23109 and declarations that are provided by <bits/fcntl-linux.h> and
23110 include <bits/fcntl-linux.h>.
23111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23113
ac5c94d3
RM
231142012-10-20 Roland McGrath <roland@hack.frob.com>
23115
23116 * io/fcntl.h: Move include of <bits/types.h> to the top and
23117 include it unconditionally.
23118
de54b33a
L
231192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23120
228cfb01
L
23121 * wcsmbs/Makefile (tests-ifunc): New variable.
23122 (tests): Add $(tests-ifunc).
23123 * wcsmbs/test-wcschr-ifunc.c: New file.
23124 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23125 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23126 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23127 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23128 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23129
69f07e5f
L
23130 * string/Makefile (tests-ifunc): New variable.
23131 (tests): Add $(tests-ifunc).
23132 * string/test-memccpy.c (TEST_NAME): New macro.
23133 * string/test-memchr.c (TEST_NAME): Likewise.
23134 * string/test-memcmp.c (TEST_NAME): Likewise.
23135 * string/test-memcpy.c (TEST_NAME): Likewise.
23136 * string/test-memmem.c (TEST_NAME): Likewise.
23137 * string/test-memmove.c (TEST_NAME): Likewise.
23138 * string/test-memset.c (TEST_NAME): Likewise.
23139 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23140 * string/test-stpcpy.c (TEST_NAME): Likewise.
23141 * string/test-stpncpy.c (TEST_NAME): Likewise.
23142 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23143 * string/test-strcasestr.c (TEST_NAME): Likewise.
23144 * string/test-strcat.c (TEST_NAME): Likewise.
23145 * string/test-strchr.c (TEST_NAME): Likewise.
23146 * string/test-strcmp.c(TEST_NAME): Likewise.
23147 * string/test-strcpy.c (TEST_NAME): Likewise.
23148 * string/test-strcspn.c (TEST_NAME): Likewise.
23149 * string/test-strlen.c (TEST_NAME): Likewise.
23150 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23151 * string/test-strncmp.c (TEST_NAME): Likewise.
23152 * string/test-strncpy.c (TEST_NAME): Likewise.
23153 * string/test-strnlen.c (TEST_NAME): Likewise.
23154 * string/test-strpbrk.c (TEST_NAME): Likewise.
23155 * string/test-strrchr.c (TEST_NAME): Likewise.
23156 * string/test-strspn.c (TEST_NAME): Likewise.
23157 * string/test-strstr.c (TEST_NAME): Likewise.
23158 * string/test-bcopy-ifunc.c: New file.
23159 * string/test-bzero-ifunc.c: Likewise.
23160 * string/test-memccpy-ifunc.c: Likewise.
23161 * string/test-memchr-ifunc.c: Likewise.
23162 * string/test-memcmp-ifunc.c: Likewise.
23163 * string/test-memcpy-ifunc.c: Likewise.
23164 * string/test-memmem-ifunc.c: Likewise.
23165 * string/test-memmove-ifunc.c: Likewise.
23166 * string/test-mempcpy-ifunc.c: Likewise.
23167 * string/test-memset-ifunc.c: Likewise.
23168 * string/test-rawmemchr-ifunc.c: Likewise.
23169 * string/test-stpcpy-ifunc.c: Likewise.
23170 * string/test-stpncpy-ifunc.c: Likewise.
23171 * string/test-strcasecmp-ifunc.c: Likewise.
23172 * string/test-strcasestr-ifunc.c: Likewise.
23173 * string/test-strcat-ifunc.c: Likewise.
23174 * string/test-strchr-ifunc.c: Likewise.
23175 * string/test-strchrnul-ifunc.c: Likewise.
23176 * string/test-strcmp-ifunc.c: Likewise.
23177 * string/test-strcpy-ifunc.c: Likewise.
23178 * string/test-strcspn-ifunc.c: Likewise.
23179 * string/test-strlen-ifunc.c: Likewise.
23180 * string/test-strncasecmp-ifunc.c: Likewise.
23181 * string/test-strncat-ifunc.c: Likewise.
23182 * string/test-strncmp-ifunc.c: Likewise.
23183 * string/test-strncpy-ifunc.c: Likewise.
23184 * string/test-strnlen-ifunc.c: Likewise.
23185 * string/test-strpbrk-ifunc.c: Likewise.
23186 * string/test-strrchr-ifunc.c: Likewise.
23187 * string/test-strspn-ifunc.c: Likewise.
23188 * string/test-strstr-ifunc.c: Likewise.
23189
de54b33a
L
23190 * debug/Makefile (tests-ifunc): New variable.
23191 (tests): Add $(tests-ifunc).
23192 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23193 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23194 * debug/test-stpcpy_chk-ifunc.c: New file.
23195 * debug/test-strcpy_chk-ifunc.c: Likewise.
23196
88481c16
SP
231972012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23198
23199 [BZ #13601]
23200 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23201 header is not read in.
23202
135948bd
JM
232032012-10-19 Joseph Myers <joseph@codesourcery.com>
23204
89f1c388
JM
23205 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23206 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23207 directly. Pass built executable to script as
23208 $(built-program-cmd).
23209 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23210 $testprogram without using LD_LIBRARY_PATH and $ldso.
23211
e40a0d21
JM
23212 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23213 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23214 $(rtld-installed-name).
23215 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23216 (rtld_installed_name): Likewise.
23217 (library_path): Likewise.
23218 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23219 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23220 $(run-program-prefix) to tst-tables.sh.
23221 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23222 it to run tst-table-from and tst-table-to.
23223 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23224 Pass it to tst-table.sh.
23225 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23226 $(run-program-prefix) to tst-gettext.sh.
23227 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23228 tst-translit.sh.
23229 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23230 tst-gettext2.sh.
23231 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23232 to run tst-gettext.
23233 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23234 to run tst-gettext2.
23235 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23236 to run tst-translit.
23237 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23238 $(run-program-prefix) to tst-mtrace.sh.
23239 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23240 to run tst-mtrace.
23241 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23242 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23243 $(rtld-installed-name).
23244 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23245 (rtld_installed_name): Likewise.
23246 (run_program_prefix): New variable. Use it to run wordexp-test.
23247
728e272a
JM
23248 * Makeconfig (ARCH): Remove all definitions.
23249 (machine): Likewise.
23250 [ARCH]: Remove conditional code.
23251 [!objdir]: Give error.
23252 [!objdir] (objpfx): Remove.
23253 [!objdir] (common-objpfx): Likewise.
23254 [!objdir] (common-objdir): Likewise.
23255 * configure.in (config_makefile): Remove. Hardcode Makefile in
23256 AC_CONFIG_FILES call.
23257 * configure: Regenerated.
23258
d528cdcf
JM
23259 [BZ #13888]
23260 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23261 or TMPDIR.
23262 (testout): Likewise.
23263
135948bd
JM
23264 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23265 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23266 $(rtld-installed-name).
23267 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23268 (rtld_installed_name): Likwise.
23269 (runit): Remove function.
23270 (run_getconf): New variable, Use it for running getconf binary.
23271
38c78296
L
232722012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23273
23274 [BZ #14716]
23275 * string/test-memmem.c (check_result): New function.
23276 (do_one_test): Use it.
23277 (check1): New function.
23278 (test_main): Use it.
23279
d077f65f
MT
232802012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23281
23282 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23283
ced52c71
JM
232842012-10-18 Joseph Myers <joseph@codesourcery.com>
23285
23286 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23287 (_G_LSEEK64): Likewise.
23288 (_G_MMAP64): Likewise.
23289 (_G_FSTAT64): Likewise.
23290 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23291 (_G_LSEEK64): Likewise.
23292 (_G_MMAP64): Likewise.
23293 (_G_FSTAT64): Likewise.
23294 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23295 unconditional. Call __mmap64 directly.
23296 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23297 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23298 __lseek64 directly.
23299 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23300 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23301 __mmap64 directly.
23302 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23303 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23304 __lseek64 directly.
23305 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23306 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23307 __lseek64 directly.
23308 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23309 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23310 __lseek64 directly.
23311 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23312 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23313 __fxstat64 directly.
23314 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23315 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23316 unconditional.
23317 (freopen64) [!_G_OPEN64]: Remove conditional code.
23318 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23319 unconditional.
23320 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23321 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23322 unconditional.
23323 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23324 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23325 unconditional.
23326 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23327 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23328 unconditional.
23329 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23330 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23331 unconditional.
23332 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23333 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23334 unconditional.
23335 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23336 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23337 unconditional.
23338 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23339
b741de23
SP
233402012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23341
23342 [BZ #12140]
23343 * manual/memory.texi (Malloc Tunable Parameters): Add note
23344 about free list pointers overwriting some perturb bytes.
23345 Wording suggested by Roland McGrath.
23346
f9b9d9c9
JM
233472012-10-17 Joseph Myers <joseph@codesourcery.com>
23348
23349 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23350 (lgamma_test): Likewise.
23351 (tgamma_test): Likewise.
23352
172a631a
FW
233532012-10-16 Florian Weimer <fweimer@redhat.com>
23354
23355 [BZ #14700]
23356 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23357 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23358
e9f37252
MK
233592012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23360
23361 * NEWS: Mention BZ #14716.
23362 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23363 when removing AVAILABLE1_USES_J macro.
23364
d394eb74
L
233652012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23366
23367 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23368 (__bswap_64): __uint64_t for unsigned 64-bit int.
23369
ca38dc17
AS
233702012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23371
23372 * include/string.h (memmem): Declare libc hidden alias.
23373 * string/memmem.c (memmem): Define libc hidden alias.
23374 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23375 __read, __close instead of open, read, close.
23376
9a387d1f
L
233772012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23378
ac49ecaf
L
23379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23380 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23381 global and hidden.
23382 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23383 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23384 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23385 Likewise.
23386 (__rawmemchr_sse2): Likewise.
23387 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23388 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23389 (__strchr_sse2): Likewise.
23390 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23391 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23392 (__strcasecmp_sse2): Likewise.
23393 (__strncasecmp_sse2): Likewise.
23394 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23395 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23396 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23397 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23398 (__strrchr_sse2): Likewise.
23399 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23400 ifunc-impl-list.c.
23401 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23402 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23403 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23404 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23405 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23406 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23407 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23408 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23409 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23410 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23411 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23412 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23413 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23414 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23415 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23416 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23417 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23418 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23419 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23420 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23421 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23422 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23423 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23424 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23425 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23427 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23428 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23429 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23430 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23431
b090e8ea
L
23432 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23433 global and hidden.
23434 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23435 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23436 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23437 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23438 Likewise.
23439 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23440 Likewise.
23441 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23442 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23443 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23444 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23445 ifunc-impl-list.c.
23446 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23447 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23448 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23449 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23450 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23451 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23452 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23453 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23454 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23455 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23456 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23457 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23458 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23459 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23460 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23461 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23462 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23463 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23464 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23465 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23467 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23468 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23469 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23471 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23472 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23473 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23474 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23475 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23486 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23487
11dd4af6
L
23488 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23489 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23490 * include/ifunc-impl-list.h: New file.
23491 * misc/ifunc-impl-list.c: Likewise.
23492 * misc/Makefile (routines): Add ifunc-impl-list.
23493 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23494 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23495 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23496 TEST_NAME]: New variables.
11dd4af6
L
23497 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23498 are defined.
23499 (test_init): Call __libc_ifunc_impl_list to initialize
23500 func_list if TEST_IFUNC and TEST_NAME are defined.
23501
9a387d1f
L
23502 * string/Makefile (strop-tests): Add bcopy and bzero.
23503 * string/test-bcopy.c: New file.
23504 * string/test-bzero.c: Likewise.
23505 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23506 defined.
23507 * string/test-memset.c: Support bzero test if TEST_BZERO is
23508 defined.
23509 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23510 __libc_memmove.
23511 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23512 __libc_memset.
23513 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23514 of memset.
23515
472371b9
JM
235162012-10-10 Joseph Myers <joseph@codesourcery.com>
23517
1e4a9536
JM
23518 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23519 * configure: Regenerated.
23520
d173d12e
JM
23521 * Makeconfig (+link-static-before-libc): Don't include
23522 $(link-static-libc).
23523
472371b9
JM
23524 * libio/libio.h (_IO_pos_t): Remove.
23525
89a3ad0b
AO
235262012-10-10 Alexandre Oliva <aoliva@redhat.com>
23527
23528 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23529 McGrath.
23530
e7451425
AO
235312012-10-10 Alexandre Oliva <aoliva@redhat.com>
23532
23533 * crypt/crypt-entry.c: Include fips-private.h.
23534 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23535 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23536 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23537 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23538
4ba74a35
AO
235392012-10-10 Alexandre Oliva <aoliva@redhat.com>
23540
23541 * crypt/crypt-private.h: Include stdbool.h.
23542 (_ufc_setup_salt_r): Return bool.
23543 * crypt/crypt-entry.c: Include errno.h.
23544 (__crypt_r): Return NULL with EINVAL for bad salt.
23545 * crypt/crypt_util.c (bad_for_salt): New.
23546 (_ufc_setup_salt_r): Check that salt is long enough and within
23547 the specified alphabet.
23548 * crypt/badsalttest.c: New file.
23549 * crypt/Makefile (tests): Add it.
23550 ($(objpfx)badsalttest): New.
23551
f96f1242
MK
235522012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23553
23554 * NEWS: Add entry for BZ #14602.
23555
0e8e0c1c
JM
235562012-10-09 Joseph Myers <joseph@codesourcery.com>
23557
23558 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23559 type-generic.
23560 * math/libm-test.inc: Update comment listing what functions and
23561 macros are tested.
23562 (isgreater_test): New function.
23563 (isgreaterequal_test): Likewise.
23564 (isless_test): Likewise.
23565 (islessequal_test): Likewise.
23566 (islessgreater_test): Likewise.
23567 (isunordered_test): Likewise.
23568 (main): Call the new functions.
23569
273edc5e
RM
235702012-10-09 Roland McGrath <roland@hack.frob.com>
23571
b8493de0
RM
23572 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23573 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23574 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23575 * sysdeps/i386/configure: Regenerated.
23576 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23577 * sysdeps/mach/configure: Regenerated.
23578 * sysdeps/mach/hurd/configure: Regenerated.
23579 * sysdeps/powerpc/configure: Regenerated.
23580 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23581 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23582 * sysdeps/s390/s390-32/configure: Regenerated.
23583 * sysdeps/s390/s390-64/configure: Regenerated.
23584 * sysdeps/sh/configure: Regenerated.
23585 * sysdeps/sparc/configure: Regenerated.
23586 * sysdeps/unix/sysv/linux/configure: Regenerated.
23587 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23588 * sysdeps/x86_64/configure: Regenerated.
23589
273edc5e
RM
23590 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23591 defined. Don't check if MAP is NULL.
23592
c8450f70
JM
235932012-10-09 Joseph Myers <joseph@codesourcery.com>
23594
23595 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23596 (_G_stat64): Likewise.
23597 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23598 (_G_stat64): Likewise.
23599 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23600 instead of struct _G_stat64.
23601 * libio/fileops.c (mmap_remap_check): Likewise.
23602 (decide_maybe_mmap): Likewise.
23603 (_IO_new_file_seekoff): Likewise.
23604 (_IO_file_stat): Likewise.
23605 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23606 _G_off64_t.
23607 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23608 instead of struct _G_stat64.
23609 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23610
57e605ba
MK
236112012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23612
23613 [BZ #14602]
23614 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23615 Replace with ...
23616 (CHECK_EOL): New macro.
23617 (two_way_short_needle): Check beginning of haystack for EOL. Use
23618 CHECK_EOL.
23619 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23620 Replace with CHECK_EOL.
23621 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23622 Replace with CHECK_EOL.
23623
ef1bb361
JM
236242012-10-08 Joseph Myers <joseph@codesourcery.com>
23625
23626 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23627 type-generic.
23628 * math/libm-test.inc: Update comment listing what functions and
23629 macros are tested.
23630 (finite_test): New function.
23631 (isinf_test): Likewise.
23632 (isnan_test): Likewise.
23633 (fpclassify_test): Test subnormal input.
23634 (isfinite_test): Likewise.
23635 (isnormal_test): Likewise.
23636 (main): Call the new functions.
23637
55f11534
JN
236382012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23639
23640 [BZ #14660]
23641 * Makerules (%.dynsym): Force C locale when running
23642 $(OBJDUMP) --dynamic-syms.
23643
1ab29350
AS
236442012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23645
23646 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23647 <stdint.h>.
23648
f1ecb7ef
DM
236492012-10-06 David S. Miller <davem@davemloft.net>
23650
23651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23652 upper 32-bits of the length value in %o2 since we use branch-on-register
23653 tests which consider the entire 64-bit register.
23654
5d41d91a
L
236552012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23656
23657 * string/test-strstr.c (check2): Add a test for page boundary.
23658
3baddb72
DM
236592012-10-05 David S. Miller <davem@davemloft.net>
23660
23661 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23662 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23663 file.
23664 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23665 sysdep_routines.
23666 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23667 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23668 and bzero when HWCAP_SPARC_CRYPTO is present.
23669
9cee5585
L
236702012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23671
d7e0dab9
L
23672 [BZ #14602]
23673 * string/test-strstr.c (check2): New function.
23674 (test_main): Call check2.
23675
03759f47
L
23676 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23677 and bug-strchr1.
23678 * string/bug-strcasestr1.c (do_test): Moved to ...
23679 * string/test-strcasestr.c (check1): Here. New function.
23680 (do_one_test): Break out result checking code into ...
23681 (check_result): This. New function.
23682 (do_one_test): Call check_result.
23683 (test_main): Call check1.
23684 * string/bug-strchr1.c (do_test): Moved to ...
23685 * string/test-strchr.c (check1): Here. New function.
23686 (do_one_test): Break out result checking code into ...
23687 (check_result): This. New function.
23688 (do_one_test): Call check_result.
23689 (test_main): Call check1.
23690 * string/bug-strstr1.c (main): Moved to ...
046f153e 23691 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23692 (do_one_test): Break out result checking code into ...
23693 (check_result): This. New function.
23694 (do_one_test): Call check_result.
23695 (test_main): Call check1.
23696 * string/bug-strcasestr1.c: Removed.
23697 * string/bug-strchr1.c: Likewise.
23698 * string/bug-strstr1.c: Likewise.
23699
53cea63e
L
23700 * elf/Makefile (dl-routines): Add hwcaps.
23701 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23702 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23703 (_dl_important_hwcaps): Moved to ...
23704 * elf/dl-hwcaps.c: Here. New file.
23705 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23706
9cee5585 23707 [BZ #14557]
bb859b06
L
23708 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23709 if IS_IN_rtld isn't defined.
23710
9cee5585
L
23711 * elf/dl-support.c (_dl_sysinfo_map): New.
23712 Include "get-dynamic-info.h" and "setup-vdso.h".
23713 (_dl_non_dynamic_init): Call setup_vdso.
23714 * elf/dynamic-link.h: Don't include <assert.h>.
23715 (elf_get_dynamic_info): Moved to ...
23716 * elf/get-dynamic-info.h: Here. New file.
23717 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23718 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23719 * elf/setup-vdso.h: Here. New file.
23720 * elf/rtld.c: Include "setup-vdso.h".
23721 (dl_main): Call setup_vdso.
23722
23c31b76
JM
237232012-10-05 Joseph Myers <joseph@codesourcery.com>
23724
28234b07
JM
23725 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23726 creal in comment listing functions tested. List finite, isinf,
23727 isnan, isless, islessequal, isgreater, isgreaterequal,
23728 islessgreater, isunordered, lgamma_r and pow10 as functions and
23729 macros not tested. Mention which functions not tested are aliases
23730 for other functions. Fix typo. Note that signs of NaNs are not
23731 tested.
23732
23c31b76
JM
23733 * scripts/config.guess: Update from config.git.
23734 * scripts/config.sub: Likewise.
23735
9043e228
RM
237362012-10-04 Roland McGrath <roland@hack.frob.com>
23737
23738 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23739 * misc/madvise.c (madvise): Renamed to __madvise.
23740 Make madvise a weak alias.
23741 * include/sys/mman.h: Declare __madvise.
23742 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23743 * sysdeps/unix/syscalls.list
23744 (madvise): Make __madvise the strong name, and madvise a weak alias.
23745 * sysdeps/unix/sysv/linux/syscalls.list
23746 (madvise, mmap): Remove redundant entries.
23747 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23748 * malloc/malloc.c (mtrim): Likewise.
23749 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23750
f57f8055
RM
237512012-10-03 Roland McGrath <roland@hack.frob.com>
23752
23753 * sysdeps/mach/hurd/dl-cache.c: File removed.
23754 * config.h.in (USE_LDCONFIG): New #undef.
23755 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23756 * configure: Regenerated.
23757 * elf/Makefile (dl-routines): Add dl-cache only under
23758 [$(use-ldconfig) = yes].
23759 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23760 cache on [USE_LDCONFIG].
23761 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23762 [USE_LDCONFIG].
23763 * elf/rtld.c (dl_main): Likewise.
23764
5bb0c10a
PT
237652012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23766
23767 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23768 _SC_LEVEL4_CACHE_LINESIZE.
23769
010188c6
RM
237702012-10-03 Roland McGrath <roland@hack.frob.com>
23771
23772 * sysdeps/unix/bsd/confstr.h: File removed.
23773
b6c5ec07
AO
237742012-10-02 Alexandre Oliva <aoliva@redhat.com>
23775
23776 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23777 sys/sdt-config.h.
23778
408223d4
RM
237792012-10-02 Roland McGrath <roland@hack.frob.com>
23780
23781 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23782 Make 'mapoff' field ElfW(Off) rather than off_t.
23783
bb9510dc
DL
237842012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23785
fc997c6e
DL
23786 * nscd/Makefile: Remove nscd-cflags and all its users.
23787 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23788 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23789
bb9510dc
DL
23790 [BZ #10631]
23791 * malloc.c (malloc_printerr): Clarify error message.
23792
05699367
L
237932012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 [BZ #14648]
23796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23797 Set bit_FMA_Usable if FMA is supported.
23798 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23799 macro.
23800 (bit_FMA4_Usable): Updated.
23801 (index_FMA_Usable): New macro.
23802 (CPUID_FMA): Likewise
23803 (HAS_FMA): Defined with bit_FMA_Usable.
23804
51367701
RM
238052012-10-01 Roland McGrath <roland@hack.frob.com>
23806
23807 * bits/types.h (__swblk_t): Type removed.
23808 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23809 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23810 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23811 (__SWBLK_T_TYPE): Likewise.
23812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23813 (__SWBLK_T_TYPE): Likewise.
23814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23815 (__SWBLK_T_TYPE): Likewise.
23816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23817 (__SWBLK_T_TYPE): Likewise.
23818
4d57bf63 238192012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23820 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23821
23822 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23823 (xdr_mapname): Use YPMAXMAP as maxsize.
23824 (xdr_peername): Use YPMAXPEER as maxsize.
23825 (xdr_keydat): Use YPAXRECORD as maxsize.
23826 (xdr_valdat): Use YPMAXRECORD as maxsize.
23827
93c65d43
RM
238282012-10-01 Roland McGrath <roland@hack.frob.com>
23829
497a03d6
RM
23830 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23831
93c65d43
RM
23832 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23833 * csu/init-first.c: ... here.
23834 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23835 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23836 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23837 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23838 * sysdeps/i386/init-first.c: File removed.
23839 * sysdeps/sh/init-first.c: File removed.
23840
bec749fd
JM
238412012-10-01 Joseph Myers <joseph@codesourcery.com>
23842
23843 [BZ #14645]
23844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23845 if x * y might underflow to zero and z is zero.
23846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23848 * math/libm-test.inc (min_subnorm_value): New variable.
23849 (fma_test): Add more tests.
23850 (fma_test_towardzero): Likewise.
23851 (fma_test_downward): Likewise
23852 (fma_test_upward): Likewise.
23853 (initialize): Set min_subnorm_value.
23854
8ec5b013
JM
238552012-09-29 Joseph Myers <joseph@codesourcery.com>
23856
23857 [BZ #14638]
23858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23859 0 + 0.
23860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23861 mode for addition resulting in exact zero.
23862 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23864 exact 0 + 0.
23865 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23867 * math/libm-test.inc (fma_test): Add more tests.
23868 (fma_test_towardzero): New function.
23869 (fma_test_downward): Likewise.
23870 (fma_test_upward): Likewise.
23871 (main): Call the new functions.
23872
b1fa802e
DM
238732012-09-28 David S. Miller <davem@davemloft.net>
23874
23875 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23876
d3b9fd9e
RM
238772012-09-28 Roland McGrath <roland@hack.frob.com>
23878
ea4d37b3
RM
23879 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23880 instead of SIGALRM.
23881
ac51c949
RM
23882 * sysdeps/gnu/_G_config.h: Moved to ...
23883 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23884 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23885 * sysdeps/generic/_G_config.h: ... here.
23886
28c195f7
RM
23887 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23888
848917f9
RM
23889 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23890
6bacf05b
RM
23891 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23892 Conditionalize target on [libnss_test1.so-version].
23893
91363dbb
RM
23894 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23895
cc87f7d8
RM
23896 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23897 (elfobjdir): Move out of conditionals.
23898
b1c608fe
RM
23899 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23900 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23901 (__nss_lookup_function): Conditionalize label remove_from_tree on
23902 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23903
1d9a6d96
DM
239042012-09-28 David S. Miller <davem@davemloft.net>
23905
23906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23907 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23908 file.
23909 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23910 sysdep_routines.
23911 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23913 when HWCAP_SPARC_CRYPTO is present.
23914
72581615
PT
239152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23916
23917 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23918
715a900c
JL
239192012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23920
23921 [BZ #6530]
23922 * stdio-common/vfprintf.c (process_string_arg): Revert
23923 2000-07-22 change.
23924
239252011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23926
23927 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23928 for testcase.
23929 * stdio-common/tst-sprintf.c: Include <locale.h>
23930 (main): Test sprintf's handling of incomplete multibyte
23931 characters.
23932
9bac1d86
L
239332012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23934
23935 * elf/dl-runtime.c (VERSYMIDX): Removed.
23936 * elf/dl-version.c (VERSYMIDX): Likewise.
23937 * elf/do-rel.h (VERSYMIDX): Likewise.
23938 (VALIDX): Likewise.
23939 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23940 * elf/rtld.c (VALIDX): Likewise.
23941 (ADDRIDX): Likewise.
9bac1d86
L
23942 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23943 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23944 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23945 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23946 (VALIDX): Likewise.
23947 (ADDRIDX): Likewise.
9bac1d86 23948
b31606c0
PT
239492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23950
23951 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23952
11541177
JL
239532012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23954
23955 [BZ #11438]
23956 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23957 to global scope.
23958 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23959 addresses are in the same scope as 192.0.2/24.
23960 * posix/gai.conf: Document new scope table defaults.
23961
adb26fae
SP
239622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23963
23964 [BZ #5298]
23965 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23966 for ftell. Compute offsets from write pointers instead.
23967 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23968
4573c6b0
SP
239692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23970
23971 [BZ #14543]
23972 * libio/Makefile (tests): New test case tst-fseek.
23973 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23974 combination works in wide mode.
23975 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23976 state when the external buffer state changes.
23977
aa9bbfe6
DM
239782012-09-27 David S. Miller <davem@davemloft.net>
23979
23980 [BZ #14376]
23981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23982 pass reloc->r_addend in as the 'high' argument to
23983 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23984
784421e7
DM
23985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23986
c39bc8b8
PT
239872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23988
23989 * rt/tst-aio2.c: Include <pthread.h>.
23990 * rt/tst-aio3.c: Likewise.
23991
1ccc2399
SE
239922012-09-27 Steve Ellcey <sellcey@mips.com>
23993
23994 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23995
31ed4153
L
239962012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23997
25f5f885
L
23998 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23999 contents on [SHARED].
31ed4153 24000
b7bfe116
MP
240012012-09-26 Marek Polacek <polacek@redhat.com>
24002
24003 [BZ #14530]
24004 [BZ #13741]
24005 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24006 for C++ and GCC <4.3 as well as for non GCC compilers.
24007
43c4edba
MT
240082012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24009
24010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24011
6a1bf82f
RM
240122012-09-25 Roland McGrath <roland@hack.frob.com>
24013
24014 * Makefile.in (all, install): Declare with .PHONY.
24015 Reported by Michael Hope <michael.hope@linaro.org>.
24016
8ad11b9a
TMQMF
240172012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24018
24019 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24020 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24021 system header.
24022 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24023 Likewise.
24024 (sydep_routines): Add the new and the internal functions.
24025 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24026 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24028 (GLIBC_2.17): Add the new function.
24029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24030 (GLIBC_2.17): Likewise.
24031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24032 (GLIBC_2.17): Likewise.
24033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24034 (GLIBC_2.17): Likewise.
24035 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24036
7e2fca8d
AM
240372012-09-25 Alan Modra <amodra@gmail.com>
24038
24039 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24040 Add release barrier before setting once_control to say
24041 initialisation is done. Add hints on lwarx. Use macro in
24042 place of isync.
24043 (clear_once_control): Add release barrier.
24044
b87c4b24
JM
240452012-09-25 Joseph Myers <joseph@codesourcery.com>
24046
d032e0d2
JM
24047 [BZ #13629]
24048 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24049 specially.
24050 * math/s_clog10.c (__clog10): Likewise.
24051 * math/s_clog10f.c (__clog10f): Likewise.
24052 * math/s_clog10l.c (__clog10l): Likewise.
24053 * math/s_clogf.c (__clogf): Likewise.
24054 * math/s_clogl.c (__clogl): Likewise.
24055 * math/Makefile (libm-calls): Add x2y2m1.
24056 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24057 (__x2y2m1): Likewise.
24058 (__x2y2m1l): Likewise.
24059 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24060 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24063 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24064 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24065 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24066 * sysdeps/i386/fpu/libm-test-ulps: Update.
24067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24068
b87c4b24
JM
24069 [BZ #14621]
24070 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24071 int as type of variable DEPTH.
24072 (glob): Use size_t instead of int as type of variables NEWCOUNT
24073 and OLD_PATHC.
24074
6d3bf199
LD
240752012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24076
22bf5c17
LD
24077 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24078 Add s_sincosf-sse2.
24079 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24080 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24081 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24082 macros for using routine as __sincosf_ia32.
24083 Use macro for function declaration and weak_alias.
24084 * sysdeps/i386/fpu/libm-test-ulps: Update.
24085
24086 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24088
24089 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24090 subnormal argument.
24091 * math/s_cexpf.c (__cexpf): Likewise.
24092 * math/s_csinf.c (__csinf): Likewise.
24093 * math/s_csinhf.c (__csinhf): Likewise.
24094 * math/s_ctanf.c (__ctanf): Likewise.
24095 * math/s_ctanhf.c (__ctanhf): Likewise.
24096 * math/s_ccosh.c (__ccoshf): Likewise.
24097 * math/s_cexp.c (__cexpl): Likewise.
24098 * math/s_csin.c (__csin): Likewise.
24099 * math/s_csinh.c (__csinh): Likewise.
24100 * math/s_ctan.c (__ctan): Likewise.
24101 * math/s_ctanh.c (ctanh): Likewise.
24102 * math/s_ccoshl.c (__ccoshl): Likewise.
24103 * math/s_cexpl.c (__cexpl): Likewise.
24104 * math/s_csinl.c (__csinl): Likewise.
24105 * math/s_csinhl.c (__csinhl): Likewise.
24106 * math/s_ctanl.c (__ctanl): Likewise.
24107 * math/s_ctanhl.c (__ctanhl): Likewise.
24108
203e5603
JM
241092012-09-25 Joseph Myers <joseph@codesourcery.com>
24110
24111 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24112 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24113 (_IO_off_t): Define to __off_t, not _G_off_t.
24114 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24115 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24116 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24117 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24118 type of __dummy and __dummy2 fields.
24119 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24120 (_G_ssize_t): Likewise.
24121 (_G_off_t): Likewise.
24122 (_G_pid_t): Likewise.
24123 (_G_uid_t): Likewise.
24124 (_G_wchar_t): Likewise.
24125 (_G_wint_t): Likewise.
24126 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24127 (_G_ssize_t): Likewise.
24128 (_G_off_t): Likewise.
24129 (_G_pid_t): Likewise.
24130 (_G_uid_t): Likewise.
24131 (_G_wchar_t): Likewise.
24132 (_G_wint_t): Likewise.
24133 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24134 (_G_ssize_t): Likewise.
24135 (_G_off_t): Likewise.
24136 (_G_pid_t): Likewise.
24137 (_G_uid_t): Likewise.
24138 (_G_wchar_t): Likewise.
24139 (_G_wint_t): Likewise.
24140
9fab36eb
SP
241412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24142
24143 * malloc/arena.c: Include malloc-sysdep.h.
24144 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24145 is sufficient to shrink the heap or an unmap is needed.
24146 * sysdeps/generic/malloc-sysdep.h: New file. Define
24147 new function check_may_shrink_heap.
24148 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24149 new function check_may_shrink_heap.
24150
2b4f00d1
SP
241512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24152
24153 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24154 comments.
24155
9a9028b1
DL
241562012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24157
57c69bef
DL
24158 * catgets/test-gencat.sh: Add "set -e".
24159 * elf/tst-pathopt.sh: Likewise.
24160 * grp/tst_fgetgrent.sh: Likewise.
24161 * iconvdata/run-iconv-test.sh: Likewise.
24162 * intl/tst-gettext.sh: Likewise.
24163 * intl/tst-gettext2.sh: Likewise.
24164 * intl/tst-gettext4.sh: Likewise.
24165 * intl/tst-gettext6.sh: Likewise.
24166 * intl/tst-translit.sh: Likewise.
24167 * io/ftwtest-sh: Likewise.
24168 * libio/test-freopen.sh: Likewise.
24169 * malloc/tst-mtrace.sh: Likewise.
24170 * posix/globtest.sh: Likewise.
24171 * posix/tst-getconf.sh: Likewise.
24172 * posix/wordexp-tst.sh: Likewise.
24173 * stdio-common/tst-printf.sh: Likewise.
24174 * stdio-common/tst-unbputc.sh: Likewise.
24175 * stdlib/tst-fmtmsg.sh: Likewise.
24176 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24177 * catgets/Makefile: Do not specify -e option when running
24178 testsuite shell scripts.
24179 * elf/Makefile: Likewise.
24180 * grp/Makefile: Likewise.
24181 * iconvdata/Makefile: Likewise.
24182 * intl/Makefile: Likewise.
24183 * io/Makefile: Likewise.
24184 * libio/Makefile: Likewise.
24185 * malloc/Makefile: Likewise.
24186 * posix/Makefile: Likewise.
24187 * stdio-common/Makefile: Likewise.
24188 * stdlib/Makefile: Likewise.
24189 * sysdeps/x86_64/Makefile: Likewise.
24190
9a9028b1
DL
24191 * io/ftwtest-sh: Add copyright header.
24192 * posix/globtest.sh: Likewise.
24193 * posix/tst-getconf.sh: Likewise.
24194 * posix/wordexp-tst.sh: Likewise.
24195 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24196
ced6f16e
L
241972012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24198
94b32c39
L
24199 [BZ #13679]
24200 * Makeconfig (+link): Defined as $(+link-static) if
24201 $(build-shared) isn't yes.
24202 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24203 isn't yes.
24204 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24205
189e935b
L
24206 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24207
ced6f16e
L
24208 [BZ #14562]
24209 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24210 new chunk size with MALLOC_ALIGN_MASK.
24211
a9f8e53a
JM
242122012-09-24 Joseph Myers <joseph@codesourcery.com>
24213
24214 [BZ #5044]
24215 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24216 <rounding-mode.h>.
24217 (__printf_fphex): Determine rounding using get_rounding_mode and
24218 round_away.
24219 * stdio-common/tst-printf-round.c (struct hex_test): New
24220 structure.
24221 (hex_tests): New variable.
24222 (test_hex_in_one_mode): New function.
24223 (do_test): Also run tests for hex float output.
24224
43153109
JM
242252012-09-21 Joseph Myers <joseph@codesourcery.com>
24226
24227 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24228 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24229 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24230 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24231 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24232 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24233 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24235
8a26625d
JM
242362012-09-20 Joseph Myers <joseph@codesourcery.com>
24237
24238 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24239 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24240 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24241 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24242
f3fd569c
DL
242432012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24244
24245 [BZ #14579]
24246 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24247 mode only.
24248 * elf/tst-rtld-load-self.sh: New test.
24249 * elf/Makefile: Run it.
24250
63bbedd4
JM
242512012-09-18 Joseph Myers <joseph@codesourcery.com>
24252
24253 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24254 (tst-writev-ENV): Remove.
24255 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24256
626f8b6a
CM
242572012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24258
24259 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24260
b7aaa4d6
JM
242612012-09-17 Joseph Myers <joseph@codesourcery.com>
24262
24263 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24264 unconditional.
24265 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24266 Likewise.
24267 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24268 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24270 Likewise.
24271
65513990
L
242722012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24273
24274 [BZ #14587]
24275 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24276 * config.make.in (have-cpp-asm-debuginfo): Removed.
24277 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24278 * configure: Regenerated.
24279
784761be
JM
242802012-09-14 Joseph Myers <joseph@codesourcery.com>
24281
24282 [BZ #5044]
24283 * stdio-common/printf_fp.c: Include <stdbool.h> and
24284 <rounding-mode.h>.
24285 (___printf_fp): Determine rounding using get_rounding_mode and
24286 round_away.
24287 * stdio-common/tst-printf-round.c: New file.
24288 * stdio-common/Makefile (tests): Add tst-printf-round.
24289 (link-libm): New variable.
24290 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24291
9503345f
L
242922012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24293
24294 [BZ #14576]
24295 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24296 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24297 Likewise.
24298 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24299 Likewise.
24300
ad35fc00
JM
243012012-09-13 Joseph Myers <joseph@codesourcery.com>
24302
24303 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24304 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24305 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24306 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24307
6c9b0f68
JM
243082012-09-12 Joseph Myers <joseph@codesourcery.com>
24309
24310 [BZ #14518]
24311 * include/rounding-mode.h: New file.
24312 * sysdeps/generic/get-rounding-mode.h: Likewise.
24313 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24314 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24315 (MAX_VALUE): New macro.
24316 (MIN_VALUE): Likewise.
24317 (overflow_value): New function.
24318 (underflow_value): Likewise.
24319 (round_and_return): Use overflow_value and underflow_value to
24320 determine return values in overflow and underflow cases. Use
24321 round_away to determine rounding depending on rounding mode.
24322 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24323 determine return values in overflow and underflow cases.
24324 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24325 (struct test_results): New structure.
24326 (struct test): Use struct test_results to store expected results
24327 for all rounding modes.
24328 (TEST): Include expected results for all rounding modes.
24329 (test_in_one_mode): New function.
24330 (do_test): Use test_in_one_mode to compute and check results.
24331 Check results for all rounding modes.
24332 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24333 $(link-libm).
24334
19fcedd5
AM
243352012-12-09 Allan McRae <allan@archlinux.org>
24336
1e9d84cd 24337 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24338
8bbfd2f1
JM
243392012-09-11 Joseph Myers <joseph@codesourcery.com>
24340
24341 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24342 (_G_int32_t): Likewise.
24343 (_G_uint16_t): Likewise.
24344 (_G_uint32_t): Likewise.
24345 (_G_HAVE_BOOL): Likewise.
24346 (_G_HAVE_ATEXIT): Likewise.
24347 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24348 (_G_HAVE_IO_FILE_OPEN): Likewise.
24349 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24350 (_G_int32_t): Likewise.
24351 (_G_uint16_t): Likewise.
24352 (_G_uint32_t): Likewise.
24353 (_G_HAVE_BOOL): Likewise.
24354 (_G_HAVE_ATEXIT): Likewise.
24355 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24356 (_G_HAVE_IO_FILE_OPEN): Likewise.
24357 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24358 (_G_int32_t): Likewise.
24359 (_G_uint16_t): Likewise.
24360 (_G_uint32_t): Likewise.
24361 (_G_HAVE_BOOL): Likewise.
24362 (_G_HAVE_ATEXIT): Likewise.
24363 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24364 (_G_HAVE_IO_FILE_OPEN): Likewise.
24365
b1dc5912
L
243662012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24367
24368 * csu/libc-tls.c: Update copyright years.
24369
0e886ef9
JM
243702012-09-10 Joseph Myers <joseph@codesourcery.com>
24371
28361c5e
JM
24372 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24373 [!_G_USING_THUNKS]: Remove conditional code.
24374 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24375 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24376
0e886ef9
JM
24377 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24378 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24379 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24380 (_G_VTABLE_LABEL_PREFIX): Likewise.
24381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24382 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24383 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24384 (_G_VTABLE_LABEL_PREFIX): Likewise.
24385 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24386 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24387 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24388 (_G_VTABLE_LABEL_PREFIX): Likewise.
24389 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24390
bcba7aa2
L
243912012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24392
24393 * libio/Makefile: Include ../Makeconfig before tests.
24394 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24395 only if $(build-shared) is yes.
24396
06585ee8
L
24397 * iconv/gconv_db.c: Update copyright years.
24398
80ccd52c
LD
243992012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24400
24401 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24402 unwind info if defined PIC. Fix special cases description.
24403 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24404
24405 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24406 DP_HI_MASK entry.
24407 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24408
691bc9c1
L
244092012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24410
3d9b46b3
L
24411 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24412
de2139a9
L
24413 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24414 is NULL.
24415
5ca78dd0
L
24416 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24417 (LDLIBS-tst-chk4): This.
24418 (LDFLAGS-tst-chk5): Renamed to ...
24419 (LDLIBS-tst-chk5): This.
24420 (LDFLAGS-tst-chk6): Renamed to ...
24421 (LDLIBS-tst-chk6): This.
24422 (LDFLAGS-tst-lfschk4): Renamed to ...
24423 (LDLIBS-tst-lfschk4): This.
24424 (LDFLAGS-tst-lfschk5): Renamed to ...
24425 (LDLIBS-tst-lfschk5): This.
24426 (LDFLAGS-tst-lfschk6): Renamed to ...
24427 (LDLIBS-tst-lfschk6): This.
24428
691bc9c1
L
24429 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24430 on $(common-objpfx)soversions.mk.
24431
65cafb1c
JM
244322012-09-07 Joseph Myers <joseph@codesourcery.com>
24433
24434 [BZ #10014]
24435 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24436 example host name.
24437
c78ab094
SP
244382012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24439
24440 * malloc/arena.c (arena_get_retry): New function that gets
24441 another arena for the caller to try its request on.
24442 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24443 current arena cannot fulfill the request.
24444 (__libc_memalign): Likewise.
24445 (__libc_memalign): Likewise.
24446 (__libc_pvalloc): Likewise.
24447 (__libc_calloc): Likewise.
24448
01f49f59
JT
244492012-09-05 John Tobey <john.tobey@gmail.com>
24450
24451 [BZ #13542]
24452 * manual/arith.texi (Operations on Complex): Fix description
24453 of carg branch cut.
24454
4c23fed5
JM
244552012-09-06 Joseph Myers <joseph@codesourcery.com>
24456
1d3c8572
JM
24457 [BZ #10014]
24458 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24459 host name.
24460
4c23fed5
JM
24461 [BZ #10038]
24462 * manual/memory.texi (Memory): Make order of menu items match
24463 order of sections.
24464
04570aaa
L
244652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24466
24467 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24468 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24469 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24470
b80af2f4
L
244712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24472
24473 * csu/libc-tls.c (static_dtv): Renamed to ...
24474 (_dl_static_dtv): This. Make it global.
24475 (_dl_initial_dtv): Removed.
24476 (__libc_setup_tls): Updated.
24477 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24478 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24479 DL_INITIAL_DTV.
24480
2abe9f15
PM
244812012-09-06 Petr Machata <pmachata@redhat.com>
24482
24483 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24484 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24485 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24486 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24487
0948c3af
L
244882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24489
24490 [BZ #14545]
24491 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24492 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24493 freeing dtv[-1].
24494
a5055ad1
L
244952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24496
24497 [BZ #14544]
24498 * Makeconfig (link-static-before-libc): Replace $(+prector)
24499 with $(+prectorT).
24500 (link-static-after-libc): Replace $(+postctor) with
24501 $(+postctorT).
24502 (link-bounded): Replace $(+prector)/$(+postctor) with
24503 $(+prectorT)/$(+postctorT).
24504 (+prectorT): New macro.
24505 (+postctorT): Likewise.
24506
ed8c2ecd
JM
245072012-09-06 Joseph Myers <joseph@codesourcery.com>
24508
24509 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24510 (round_str): Handle values above the maximum for IBM long double
24511 as inexact.
24512 * stdlib/tst-strtod-round.c (tests): Regenerated.
24513
14c996c8
AK
245142012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24515
24516 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24517 assembler flag.
24518 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24519 zarch_nohighgprs around the zarch optimized routines.
24520 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24521 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24523 for zarch.
24524
430d6ce6
DM
245252012-09-05 David S. Miller <davem@davemloft.net>
24526
24527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24528
57f41c40
AS
24529 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24530 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24531 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24532 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24533 entries.
24534
24d4e01b
AO
245352012-09-05 Alexandre Oliva <aoliva@redhat.com>
24536
24537 * malloc/arena.c: Fold copyright years.
24538 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24539
61d58174
AO
245402012-09-05 Alexandre Oliva <aoliva@redhat.com>
24541
24542 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24543
20196a5e
AO
245442012-09-05 Alexandre Oliva <aoliva@redhat.com>
24545
24546 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24547
5c447383
AO
245482012-09-05 Alexandre Oliva <aoliva@redhat.com>
24549
24550 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24551 change internal state upon failure.
24552
fad64255
AO
245532012-09-05 Alexandre Oliva <aoliva@redhat.com>
24554
24555 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24556 * malloc/memusage.c (mmap): Likewise.
24557 (mmap64, mremap): Likewise. Adjust name in comment.
24558
1ffb8c90
SP
245592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24560
24561 * libio/fileops.c: Fix typos in comments.
24562 * libio/oldfileops.c: Likewise.
24563 * libio/wfileops.c: Likewise.
24564
6ef9cc37
SP
245652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24566
24567 [BZ #1349]
24568 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24569 (tst-malloc-usable-ENV): Set environment for test case.
24570 * malloc/hooks.c (malloc_check_get_size): New function to get
24571 requested size.
24572 * malloc/malloc.c (musable): Use malloc_check_get_size.
24573 * malloc/tst-malloc-usable.c: New test case.
24574
4d038ae3
AS
245752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24576
24577 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24578
c4e85184
AM
245792012-09-05 Allan McRae <allan@archlinux.org>
24580
b9dafc56 24581 [BZ #13966]
c4e85184
AM
24582 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24583 determine header location.
24584 * configure: Regenerated.
24585
e1343020
AS
245862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24587
24588 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24589 float format.
24590 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24591 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24592 format.
e1343020
AS
24593 (test): Regenerate.
24594
0a9f1987
DM
245952012-09-04 David S. Miller <davem@davemloft.net>
24596
24597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24599 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24600
29237804
FW
246012012-09-04 Florian Weimer <fweimer@redhat.com>
24602
24603 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24604 failures.
24605
edb3cb88
FW
24606 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24607
60160d83
JM
246082012-09-04 Joseph Myers <joseph@codesourcery.com>
24609
24610 [BZ #9914]
24611 * libio/iogetdelim.c: Include <limits.h>.
24612 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24613 + len + 1 would overflow.
24614
bcd6c8dc
AJ
246152012-09-03 Andreas Jaeger <aj@suse.de>
24616
24617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24618 * sysdeps/i386/fpu/libm-test-ulps: Update.
24619
4ffffbd2
LD
246202012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24621
24622 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24623 Add s_sinf-sse2, s_conf-sse2.
24624
24625 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24626 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24627 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24628 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24629
24630 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24631 for using routine as __sinf_ia32.
24632 Use macro for function declaration and weak_alias.
24633 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24634 for using routine as __cosf_ia32.
24635 Use macro for function declaration and weak_alias.
24636
24637 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24638 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24639
24640 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24641 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24643
24644 * math/libm-test.inc (cos_test): Add more test cases.
24645 (sin_test): Likewise.
24646 (sincos_test): Likewise.
24647
511fa286
AK
246482012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24649
24650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24651 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24652 hidden.
24653 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24654
5f30cfec
L
246552012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24656
24657 [BZ #14538]
24658 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24659 first element of the GOT.
24660 (elf_machine_load_address): Return the difference between
24661 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24662
0786794f
AM
246632012-09-01 Allan McRae <allan@archlinux.org>
24664
5f30cfec
L
24665 [BZ #13412]
24666 * configure.in (AWK): Require gawk version 3.0 or later.
24667 * configure: Regenerated.
0786794f 24668
26889eac
JM
246692012-09-01 Joseph Myers <joseph@codesourcery.com>
24670
24671 * sysdeps/unix/sysv/linux/kernel-features.h
24672 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24674 [__NR_clock_getres]: Make code unconditional.
24675 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24676 (clock_getcpuclockid): Remove code left unreachable by removal of
24677 conditionals.
24678 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24679 code unconditional.
24680 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24682 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24683 Make code unconditional.
24684 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24685 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24686 * sysdeps/unix/sysv/linux/clock_settime.c
24687 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24688 conditional code.
24689 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24690 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24691
d22e28b0
L
246922012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24693
24694 [BZ #14476]
24695 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24696 scripts/test-installation.pl.
24697
24698 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24699 and $ld_so_version if it is set.
24700
050af9c4
SP
247012012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24702
24703 [BZ #14516]
24704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24705 failure if reading from procfs failed.
24706 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24707
ad845c0b
JM
247082012-08-27 Joseph Myers <joseph@codesourcery.com>
24709
24710 * sysdeps/unix/sysv/linux/kernel-features.h
24711 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24712 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24713 Remove conditional code.
24714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24715 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24716 Remove conditional code.
24717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24718 * sysdeps/unix/sysv/linux/i386/fxstat.c
24719 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24721 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24722 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24724 * sysdeps/unix/sysv/linux/i386/lxstat.c
24725 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24727 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24728 Remove conditional code.
24729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24730 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24731 Remove conditional code.
24732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24733 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24734 <kernel-features.h>.
24735 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24736 Remove.
24737 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24738 Remove conditional code.
24739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24740 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24741 Remove conditional.
24742
5dbf56af
MF
247432012-08-27 Mike Frysinger <vapier@gentoo.org>
24744
24745 [BZ #5400]
24746 * NEWS: Add fixed bug number.
24747
d6e70f43
JM
247482012-08-27 Joseph Myers <joseph@codesourcery.com>
24749
7efb4737
JM
24750 [BZ #14519]
24751 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24752 underflowing exponent in case of negative sign.
24753 * stdlib/tst-strtod-round-data: Add more tests.
24754 * stdlib/tst-strtod-round.c (tests): Regenerated.
24755
af92131a
JM
24756 [BZ #3479]
24757 * stdlib/strtod_l.c (NDIG): Remove.
24758 (HEXNDIG): Likewise.
24759 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24760 smallest representable value.
24761 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24762 lie within an exact representation of 1/2 ulp of the result.
24763 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24764 unconditionally.
24765 (TENS_P9_IDX): Define unconditionally.
24766 (TENS_P9_SIZE): Likewise.
24767 (TENS_P10_IDX): Likewise.
24768 (TENS_P10_SIZE): Likewise.
24769 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24770 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24771 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24772 entries for 10^2^13 and 10^2^14.
24773 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24774 (TENS_P13_IDX): Define.
24775 (TENS_P13_SIZE): Likewise.
24776 (TENS_P14_IDX): Likewise.
24777 (TENS_P14_SIZE): Likewise.
24778 (_fpioconst_pow10): Change array size to
24779 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24780 unconditional.
24781 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24782 1024]: Add entries for 10^2^13 and 10^2^14.
24783 [LAST_POW10 > _LAST_POW10]: Remove #error.
24784 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24785 (_fpioconst_pow10): Change array size to
24786 FPIOCONST_POW10_ARRAY_SIZE.
24787 * stdlib/gen-fpioconst.c: New file.
24788 * stdlib/gen-tst-strtod-round.c: Likewise.
24789 * stdlib/tst-strtod-round-data: Likewise.
24790 * stdlib/tst-strtod-round.c: Likewise.
24791 * stdlib/Makefile (tests): Add tst-strtod-round.
24792
d6e70f43
JM
24793 [BZ #14459]
24794 * stdlib/strtod_l.c: Include <stdint.h>.
24795 (NDEBUG): Do not define.
24796 (round_and_return): Change EXPONENT parameter to type intmax_t.
24797 Rearrange calculations to avoid internal overflow possibilities.
24798 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24799 Rearrange calculations to avoid internal overflow possibilities.
24800 Assert that number fits inside MPNSIZE limbs.
24801 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24802 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24803 calculations and add assertions to avoid internal overflow
24804 possibilities. Add casts to avoid signed/unsigned operations.
24805 * stdlib/tst-strtod-overflow.c: New file.
24806 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24807
1f529f7d
MP
248082012-08-25 Marek Polacek <polacek@redhat.com>
24809
24810 * time/time.h: Fix some typos in comments.
24811
59a629f1
RM
248122012-08-23 Roland McGrath <roland@hack.frob.com>
24813
24814 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24815 * posix/tst-rfc3484-2.c: Likewise.
24816 * posix/tst-rfc3484-3.c: Likewise.
24817
d3bafbc9
SM
248182012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24819
24820 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24821 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24822
4efcc022
JM
248232012-08-23 Joseph Myers <joseph@codesourcery.com>
24824
24825 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24826 #include of fxstatat64.c.
24827
3cc3ef96
RM
248282012-08-22 Roland McGrath <roland@hack.frob.com>
24829
f04e2132
RM
24830 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24831 * shadow/getspent_r.c: Likewise.
24832 * shadow/getspnam.c: Likewise.
24833 * shadow/getspnam_r.c: Likewise.
24834 * gshadow/getsgent.c: Likewise.
24835 * gshadow/getsgent_r.c: Likewise.
24836 * gshadow/getsgnam.c: Likewise.
24837 * gshadow/getsgnam_r.c: Likewise.
24838 * inet/getnetbyad.c: Likewise.
24839 * inet/getnetbyad_r.c: Likewise.
24840 * inet/getnetbynm.c: Likewise.
24841 * inet/getnetbynm_r.c: Likewise.
24842 * inet/getnetent.c: Likewise.
24843 * inet/getnetent_r.c: Likewise.
24844 * inet/getproto.c: Likewise.
24845 * inet/getproto_r.c: Likewise.
24846 * inet/getprtent.c: Likewise.
24847 * inet/getprtent_r.c: Likewise.
24848 * inet/getprtname.c: Likewise.
24849 * inet/getprtname_r.c: Likewise.
24850 * inet/getrpcbyname.c: Likewise.
24851 * inet/getrpcbyname_r.c: Likewise.
24852 * inet/getrpcbynumber.c: Likewise.
24853 * inet/getrpcbynumber_r.c: Likewise.
24854 * inet/getrpcent.c: Likewise.
24855 * inet/getrpcent_r.c: Likewise.
24856 * inet/getaliasent.c: Likewise.
24857 * inet/getaliasent_r.c: Likewise.
24858 * inet/getaliasname.c: Likewise.
24859 * inet/getaliasname_r.c: Likewise.
24860 * nscd/getgrgid_r.c: Likewise.
24861 * nscd/getgrnam_r.c: Likewise.
24862 * nscd/gethstbyad_r.c: Likewise.
24863 * nscd/gethstbynm3_r.c: Likewise.
24864 * nscd/getpwnam_r.c: Likewise.
24865 * nscd/getpwuid_r.c: Likewise.
24866 * nscd/getsrvbynm_r.c: Likewise.
24867 * nscd/getsrvbypt_r.c: Likewise.
24868 * nscd/gai.c: Likewise.
24869
c53d909c
RM
24870 * configure.in (build_nscd): New substituted variable, set
24871 by --disable-build-nscd and defaults to $use_nscd.
24872 * configure: Regenerated.
24873 * config.make.in (build-nscd): New substituted variable.
24874 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24875 Change conditional to require [$(build-nscd) = yes] as well.
24876 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24877
3cc3ef96
RM
24878 [BZ# 13696]
24879 * configure.in (use_nscd): New substituted variable, set by
24880 --disable-nscd. If enabled, define USE_NSCD.
24881 * configure: Regenerated.
24882 * config.h.in: Add USE_NSCD.
24883 * config.make.in (use-nscd): New substituted variable.
24884 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24885 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24886 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24887 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24888 (CFLAGS-getgrnam_r.c): Likewise.
24889 (CFLAGS-initgroups.c): Likewise.
24890 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24891 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24892 Variables removed.
24893 * inet/getnetgrent_r.c
24894 (nscd_setnetgrent): New function, broken out of ...
24895 (setnetgrent): ... here. Call it.
24896 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24897 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24898 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24899 * nscd/Makefile (routines, aux): Move definitions after include of
24900 Makeconfig. Conditionalize on [$(use-nscd) != no].
24901 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24902 Conditionalize on [USE_NSCD].
24903 (is_nscd, nscd_init_cb): Likewise.
24904 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24905 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24906 * nss/nss_db/db-init.c: Likewise.
24907 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24908 [USE_NSCD].
24909 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24910 (make_request): Use it.
24911 (cache_valid_p): New function.
24912 (__check_pf): Use it.
24913 * NEWS: Add item for --disable-nscd.
24914
07e51550
DL
249152012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24916
24917 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24918 to support sed >= 4.2.1-20-ga9bf076.
24919 * configure: Regenerated.
24920
35a5b08b
RM
249212012-08-22 Roland McGrath <roland@hack.frob.com>
24922
24923 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24924 Conditionalize whole body on [IREL].
24925
8479f23a
JL
249262012-08-22 Jeff Law <law@redhat.com>
24927
24928 [BZ #14505]
24929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24930 if the family is PF_UNSPEC.
24931
48da0b21
MF
249322012-08-22 Mike Frysinger <vapier@gentoo.org>
24933
24934 * Makerules (lib-version): Rename from V.
24935 (install-lib-nosubdir): Change V to lib-version.
24936
15d0da8c
WS
249372012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24938
24939 [BZ #14252]
24940 * powerpc32/power6/wcschr.c: New file.
24941 * powerpc32/power6/wcscpy.c: New file.
24942 * powerpc32/power6/wcsrchr.c: New file.
24943 * powerpc64/power6/wcschr.c: New file.
24944 * powerpc64/power6/wcscpy.c: New file.
24945 * powerpc64/power6/wcsrchr.c: New file.
24946
bcca0895
MK
249472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24948
24949 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24950 (two_way_short_needle): Use it.
5a4aaa33
RM
24951 * string/strstr.c (AVAILABLE1_USES_J): Define.
24952 * string/strcasestr.c: Likewise.
99677e57
MK
24953
24954 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24955 array references.
24956 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24957
400726de
MK
24958 [BZ #11607]
24959 * NEWS: Add an entry.
24960 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24961 define their defaults.
24962 (two_way_short_needle): Detect end-of-string on-the-fly.
24963 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24964 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24965 * string/bug-strcasestr1.c: New test.
24966 * string/Makefile: Run it.
24967
20a71f2c
MK
249682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24969
24970 [BZ #11607]
24971 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24972 the first character.
24973
21ad0558
RM
249742012-08-21 Roland McGrath <roland@hack.frob.com>
24975
24976 * csu/elf-init.c (__libc_csu_irel): Function removed.
24977 * csu/libc-start.c (apply_irel): New function.
24978 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24979
0e1d9911
JM
249802012-08-21 Joseph Myers <joseph@codesourcery.com>
24981
24982 * sysdeps/unix/sysv/linux/kernel-features.h
24983 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24984 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24985 <kernel-features.h>.
24986 [__NR_fadvise64_64]: Make code unconditional.
24987 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24988 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24989 !__NR_fadvise64_64)]: Likewise.
24990 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24991 !__NR_fadvise64_64))]: Likewise.
24992 [__NR_fadvise64]: Make code unconditional.
24993 [!__NR_fadvise64]: Remove conditional code.
24994 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24995 <kernel-features.h>.
24996 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24997 unconditional.
24998 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24999 conditional code.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25001 not include <kernel-features.h>.
25002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25003 unconditional.
25004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25005 conditional code.
25006 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25007 include <kernel-features.h>.
25008 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25009 unconditional.
25010 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25011 conditional code.
25012
14a50c9d
WS
250132012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25014
25015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25016 slight instruction rearrangements per scrollpipe analysis.
25017 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25018
c0f4faf0
RM
250192012-08-20 Roland McGrath <roland@hack.frob.com>
25020
696da859
RM
25021 * manual/syslog.texi (syslog; vsyslog, closelog):
25022 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25023 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25024
c0f4faf0
RM
25025 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25026 DSOCAPS to match condition on defining it.
25027
348363b2
JM
250282012-08-20 Joseph Myers <joseph@codesourcery.com>
25029
a35cbf28
JM
25030 * sysdeps/unix/sysv/linux/kernel-features.h
25031 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25033 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25034 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25036 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25037 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25039 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25040 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25041
445f7ecd
JM
25042 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25043 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25044
348363b2
JM
25045 * sysdeps/unix/sysv/linux/kernel-features.h
25046 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25047 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25048 unconditional.
25049 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25050 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25051 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25052 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25053 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25054 Make code unconditional.
25055 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25056 (__mmap64) [!__NR_mmap2]: Likewise.
25057 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25058 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25059 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25060 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25061 [__NR_mmap2]: Make code unconditional.
25062 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25063 (__mmap64) [!__NR_mmap2]: Likewise.
25064
bc5bc0e5
AK
250652012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25066
25067 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25068
88d506de
AJ
250692012-08-18 Andreas Jaeger <aj@suse.de>
25070
25071 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25072
493387d2
MF
250732012-08-18 Mike Frysinger <vapier@gentoo.org>
25074
25075 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25076 * include/unistd.h (__have_sock_cloexec): Likewise.
25077 (__have_pipe2): Likewise.
25078 (__have_dup3): Likewise.
25079
a277af22
MF
250802012-08-18 Mike Frysinger <vapier@gentoo.org>
25081
25082 [BZ #9685]
25083 * include/unistd.h (__have_pipe2): Change define into an extern int.
25084 (__have_dup3): Likewise.
25085 * socket/have_sock_cloexec.c: Include fcntl.h.
25086 (__have_pipe2): New variable.
25087 (__have_dup3): Likewise.
25088
fdab8fd3
MF
250892012-08-17 Mike Frysinger <vapier@gentoo.org>
25090
25091 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25092
31035e80
MP
250932012-08-17 Marek Polacek <polacek@redhat.com>
25094
25095 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25096 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25097
3bd9e993
RM
250982012-08-17 Roland McGrath <roland@hack.frob.com>
25099
c91c505f
RM
25100 * configure.in: Add AC_SUBST for sysheaders.
25101 * configure: Regenerated.
25102 * config.make.in (sysheaders): New substituted variable.
25103
7c6f9d53
RM
25104 * sysdeps/unix/mkfifo.c: Moved ...
25105 * sysdeps/posix/mkfifo.c: ... here.
25106 * sysdeps/unix/mkfifoat.c: Moved ...
25107 * sysdeps/posix/mkfifoat.c: ... here.
25108
25109 * sysdeps/unix/utime.c: Moved ...
25110 * sysdeps/posix/utime.c: ... here.
25111
25112 * sysdeps/unix/time.c: Moved ...
25113 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25114 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25115 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25116
25117 * sysdeps/unix/nice.c: Moved ...
25118 * sysdeps/posix/nice.c: ... here.
25119
25120 * sysdeps/unix/alarm.c: Moved ...
25121 * sysdeps/posix/alarm.c: ... here.
25122
3bd9e993
RM
25123 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25124
d1f09384
JL
251252012-08-17 Jeff Law <law@redhat.com>
25126
25127 * intl/Makefile (codeset_mo): New variable.
25128 ($(codeset_mo)): New target.
25129 (tst-codeset.out): Depend on that. Remove explicit rule.
25130 (tst-gettext3.out, tst-gettext5.out): Likewise.
25131 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25132 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25133 * intl/tst-codeset.sh: Remove.
25134 * intl/tst-gettext3.sh: Likewise.
25135 * intl/tst-gettext5.sh: Likewise.
25136
2ae1ae5c
RM
251372012-08-17 Roland McGrath <roland@hack.frob.com>
25138
c31fdb83
RM
25139 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25140 * sysdeps/unix/syscalls.list: ... here.
25141
a0844057
RM
25142 * sysdeps/posix/getaddrinfo.c
25143 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25144 (gaiconf_init, gaiconf_reload): Use them.
25145 [!_STATBUF_ST_NSEC]
25146 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25147 Define using time_t rather than struct timespec.
25148
750c1f2a
RM
25149 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25150 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25151 Macros removed.
25152 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25153 [!NO_THREADS].
25154 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25155 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25156 Likewise.
25157
2ae1ae5c
RM
25158 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25159 __libc_cleanup_push argument.
25160
e66a42f5
RM
25161 * bits/param.h: New file.
25162 * misc/sys/param.h: New file.
25163 * include/sys/param.h: New file.
25164 * misc/Makefile (headers): Add bits/param.h.
25165 * sysdeps/generic/sys/param.h: File removed.
25166 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25167 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25168 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25169 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25170
b7c08a66
RM
25171 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25172 last change.
25173
b2e1c562
RM
25174 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25175 [_IO_MTSAFE_IO].
25176 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25177 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25178 New macros.
25179
c75ccd4c
RM
25180 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25181 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25182 rather than -D_IO_MTSAFE_IO conditionally.
25183 * stdio-common/Makefile (CPPFLAGS): Likewise.
25184 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25185 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25186 Use $(libio-mtsafe).
25187 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25188 of -D_IO_MTSAFE_IO.
25189 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25190 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25191 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25192 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25193 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25194 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25195 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25196 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25197 (CFLAGS-fread_u_chk.c): Likewise.
25198 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25199 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25200 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25201 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25202 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25203 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25204 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25205 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25206 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25207
25208 * libio/Makefile: Test [$(libc-reentrant) = yes]
25209 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25210
25211 * Makeconfig
25212 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25213 * sysdeps/pthread/configure: File removed.
25214 * sysdeps/pthread/Makeconfig: New file.
25215 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25216 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25217
d9195db8
GB
252182012-08-16 Gary Benson <gbenson@redhat.com>
25219
25220 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25221 unmapping the first object in a namespace.
25222
86466cd9
RM
252232012-08-16 Roland McGrath <roland@hack.frob.com>
25224
25225 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25226 (__internal_setnetgrent): ... this. Add internal_function to
25227 definition. Add libc_hidden_def.
25228 (setnetgrent): Update caller.
25229 (internal_endnetgrent): Renamed to ...
25230 (__internal_endnetgrent): ... this. Add internal_function to
25231 definition. Add libc_hidden_def.
25232 (endnetgrent): Update caller.
25233 (internal_getnetgrent_r): Renamed to ...
25234 (__internal_getnetgrent_r): ... this. Add internal_function to
25235 definition. Add libc_hidden_def.
25236 (__getnetgrent_r): Update caller.
25237 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25238
c3c8283c
JM
252392012-08-16 Joseph Myers <joseph@codesourcery.com>
25240
25241 * stdlib/longlong.h: Update from GCC.
25242
db1ee0a8
RM
252432012-08-16 Roland McGrath <roland@hack.frob.com>
25244
25245 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25246 on _QL, which is set by umul_ppmm but never used.
25247 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25248 variables, which are set by GMP macros but never used.
25249 * stdio-common/_itowa.c (_itowa): Likewise.
25250 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25251 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25252
30f69637
CD
252532012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25254
25255 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25256 struct La_sh_regs is not constant.
25257 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25258 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25259 and struct La_sparc64_regs are not constant.
25260
93a78ac4
JM
252612012-08-16 Joseph Myers <joseph@codesourcery.com>
25262
25263 * sysdeps/unix/sysv/linux/kernel-features.h
25264 (__ASSUME_POSIX_TIMERS): Remove.
25265 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25267 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25268 Make code unconditional.
25269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25270 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25271 Make code unconditional.
25272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25273 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25274 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25276 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25277 Make code unconditional.
25278 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25279 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25280 (__libc_missing_posix_timers): Remove.
25281
dd924cd7
RM
252822012-08-15 Roland McGrath <roland@hack.frob.com>
25283
4b4f2771
RM
25284 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25285 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25286
601c888b
RM
25287 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25288
176790a7
RM
25289 * elf/dl-sym.c: Include <stdlib.h>.
25290
329bc018
RM
25291 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25292 constants, which avoids warnings in 32-bit builds.
25293
e04e272d
RM
25294 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25295 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25296
952bf94a
RM
25297 * misc/lseek.c: File moved to ...
25298 * io/lseek.c: ... here.
25299
7c99b50a
RM
25300 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25301
dd924cd7
RM
25302 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25303 shifting LEN more than 31 bits at once.
25304
b3f479a8
LD
253052012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25306
25307 [BZ #14195]
8c4ae0d4
RM
25308 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25309 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25310 * string/test-strncasecmp.c (check1): Renamed to...
25311 (bz12205): ...this.
25312 (bz14195): Add new testcase for two empty input strings and N > 0.
25313 (test_main): Call new testcase, adapt for renamed function.
25314
9c55864e
AJ
253152012-08-15 Andreas Jaeger <aj@suse.de>
25316
25317 [BZ #14090]
25318 * crypt/md5test2.c: New test, based on test supplied by Serge
25319 Belyshev <belyshev@depni.sinp.msu.ru>.
25320 * crypt/Makefile (xtests): Add md5test-giant..
25321 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25322
02dcb6c5
PE
253232012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25324
25325 [BZ #14090]
25326 * crypt/md5.c (md5_process_block): Don't assume the buffer
25327 length is less than 2**32.
25328 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25329 length is less than 2**64.
25330
a3f95dcc
RM
253312012-08-15 Roland McGrath <roland@hack.frob.com>
25332
be75d758
RM
25333 * string/str-two-way.h: Include <sys/param.h>.
25334 (MAX): Macro removed.
25335
7312ca90
RM
25336 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25337 Move #define and #undef of memmove to just before and after
25338 including <string.h>.
25339
9a0a5486
RM
25340 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25341 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25342 and after including <string.h>. Move declarations of
25343 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25344 to before #include "string/memmove.c".
25345
67cc348d
RM
25346 * include/dirent.h: Declare __getdirentries.
25347
a3f95dcc
RM
25348 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25349 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25350
ca98e171
MF
253512012-08-14 Mike Frysinger <vapier@gentoo.org>
25352
25353 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25354 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25355 * sysdeps/i386/configure: Regenerated.
25356 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25357 STABS_CURRENT_FILE, and STABS_FUN.
25358 (END): Remove call to STABS_FUN_END.
25359 (STABS_CURRENT_FILE1): Delete.
25360 (STABS_CURRENT_FILE): Likewise.
25361 (STABS_FUN): Likewise.
25362 (STABS_FUN_END): Likewise.
25363 (STABS_FUN2): Likewise.
25364 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25365 * sysdeps/x86_64/configure: Regenerated.
25366
5908bf46
RM
253672012-08-14 Roland McGrath <roland@hack.frob.com>
25368
25369 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25370 * elf/dl-lookup.c: Likewise.
5908bf46 25371
f2c05b9e
JM
253722012-08-14 Joseph Myers <joseph@codesourcery.com>
25373
25374 * sysdeps/unix/sysv/linux/kernel-features.h
25375 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25376 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25377 unconditionally.
25378 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25379 unconditionally.
25380 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25381 condition on __ASSUME_CLONE_THREAD_FLAGS.
25382
e11f5155
AJ
253832012-08-14 Andreas Jaeger <aj@suse.de>
25384
25385 * sysdeps/i386/fpu/libm-test-ulps: Update.
25386
51a9ba86
MK
253872012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25388
2fdd4f78
AJ
25389 * include/atomic.h (atomic_exchange_and_add): Split into ...
25390 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25391 New atomic macros.
51a9ba86 25392
ba6cba9e
MT
253932012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25394
25395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25396
42443a47
JL
253972012-08-13 Jeff Law <law@redhat.com>
25398
25399 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25400 null byte in the output string.
25401
121dce05
JM
254022012-08-10 Joseph Myers <joseph@codesourcery.com>
25403
25404 * sysdeps/unix/sysv/linux/kernel-features.h
25405 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25406 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25407 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25408 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25409 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25410 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25411 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25412
bf51f568
JL
254132012-08-09 Jeff Law <law@redhat.com>
25414
25415 [BZ #13939]
25416 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25417 When avoid_arena is set, don't retry in the that arena. Pick the
25418 next one, whatever it might be.
25419 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25420 (arena_lock): Pass in new parameter to arena_get2.
25421 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25422 arena_get2.
25423 (__libc_malloc): Unify retrying after main arena failure with
25424 __libc_memalign version.
25425 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25426
f85fa270
L
254272012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25428
25429 [BZ #14166]
25430 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25431 to __redirect_strstr.
25432 (__strstr_sse42): Use typeof __redirect_strstr.
25433 (__strstr_ia32): Likewise.
25434 (__libc_strstr): New prototype.
25435 (strstr): Renamed to ...
25436 (__libc_strstr): This.
25437 (strstr): New strong alias of __libc_strstr.
25438 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25439 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25440 __redirect_time.
25441 Include <time.h>.
25442 (__libc_time): New prototype.
25443 (time_ifunc): Replace time with __libc_time.
25444 (time): New strong alias and hidden definition of __libc_time.
25445 (__GI_time): Remove strong alias.
25446 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25447 Include <stddef.h>.
25448 (memmove): Redefined to __redirect_memmove.
25449 (__memmove_sse2): Use typeof __redirect_memmove.
25450 (__memmove_ssse3): Likewise.
25451 (__memmove_ssse3_back): Likewise.
25452 (__libc_memmove): New prototype.
25453 (memmove): Renamed to ...
25454 (__libc_memmove): This.
25455 (memmove): New strong alias of __libc_memmove.
25456
33b4a91e
MS
254572012-08-08 Mark Salter <msalter@redhat.com>
25458
25459 * elf/elf.h
25460 (R_MN10300_TLS_GD): Define.
25461 (R_MN10300_TLS_LD): Likewise.
25462 (R_MN10300_TLS_LDO): Likewise.
25463 (R_MN10300_TLS_GOTIE): Likewise.
25464 (R_MN10300_TLS_IE): Likewise.
25465 (R_MN10300_TLS_LE): Likewise.
25466 (R_MN10300_TLS_DTPMOD): Likewise.
25467 (R_MN10300_TLS_DTPOFF): Likewise.
25468 (R_MN10300_TLS_TPOFF): Likewise.
25469 (R_MN10300_SYM_DIFF): Likewise.
25470 (R_MN10300_ALIGN): Likewise.
25471 (R_MN10300_NUM): Update.
25472
b36137f1
JM
254732012-08-08 Joseph Myers <joseph@codesourcery.com>
25474
25475 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25476 Remove.
25477
cdd915fd
RM
254782012-08-08 Roland McGrath <roland@hack.frob.com>
25479
a2433aac
RM
25480 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25481
cdd915fd
RM
25482 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25483 sysdeps/unix -> sysdeps/posix move.
25484 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25485
bf9b740a
AM
254862012-08-07 Allan McRae <allan@archlinux.org>
25487
25488 [BZ #14303]
25489 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25490 (SUNOS_CPP): Likewise.
25491 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25492 not found.
25493 (open_input): Call CPP using execvp.
25494
93df14ee
JM
254952012-08-07 Joseph Myers <joseph@codesourcery.com>
25496
25497 * sysdeps/unix/sysv/linux/kernel-features.h
25498 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25499 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25500 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25501 (__ASSUME_WAITID_SYSCALL): Likewise.
25502 * sysdeps/unix/sysv/linux/dl-execstack.c
25503 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25504 code unconditional.
25505 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25506 conditional code.
25507 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25508 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25509 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25510 code.
25511 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25512 unconditional.
25513 [__ASSUME_WAITID_SYSCALL]: Likewise.
25514 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25515
d34689de
RM
255162012-08-07 Roland McGrath <roland@hack.frob.com>
25517
a281decc
RM
25518 * sysdeps/unix/closedir.c: Renamed to ...
25519 * sysdeps/posix/closedir.c: ... here.
25520 * sysdeps/unix/dirfd.c: Renamed to ...
25521 * sysdeps/posix/dirfd.c: ... here.
25522 * sysdeps/unix/dirstream.h: Renamed to ...
25523 * sysdeps/posix/dirstream.h: ... here.
25524 * sysdeps/unix/fdopendir.c: Renamed to ...
25525 * sysdeps/posix/fdopendir.c: ... here.
25526 * sysdeps/unix/opendir.c: Renamed to ...
25527 * sysdeps/posix/opendir.c: ... here.
25528 * sysdeps/unix/readdir.c: Renamed to ...
25529 * sysdeps/posix/readdir.c: ... here.
25530 * sysdeps/unix/readdir_r.c: Renamed to ...
25531 * sysdeps/posix/readdir_r.c: ... here.
25532 * sysdeps/unix/rewinddir.c: Renamed to ...
25533 * sysdeps/posix/rewinddir.c: ... here.
25534 * sysdeps/unix/seekdir.c: Renamed to ...
25535 * sysdeps/posix/seekdir.c: ... here.
25536 * sysdeps/unix/telldir.c: Renamed to ...
25537 * sysdeps/posix/telldir.c: ... here.
25538 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25539 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25540 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25541 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25542
22895b47
RM
25543 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25544 * bits/fcntl.h: ... here.
25545
707a53b6
RM
25546 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25547 not 0.
25548 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25549 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25550 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25551 (struct flock): Move l_start, l_len to the beginning.
25552 Use __pid_t for l_pid.
25553 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25554 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25555 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25556 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25557 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25558 [__USE_LARGEFILE64] (struct flock64): New type.
25559 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25560
f0bd3e25
RM
25561 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25562 * bits/dirent.h: ... here.
25563
d34689de
RM
25564 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25565 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25566
6dad2c06
JM
255672012-08-07 Joseph Myers <joseph@codesourcery.com>
25568
25569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25570 Change from 2.6.0 to 2.6.16.
25571 * sysdeps/unix/sysv/linux/configure: Regenerated.
25572 * sysdeps/unix/sysv/linux/kernel-features.h
25573 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25574 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25575 version.
25576 (__ASSUME_UTIMES): Likewise.
25577 (__ASSUME_CLONE_STOPPED): Remove.
25578 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25579 architectures, not kernel version.
25580 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25581 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25582 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25583 (__ASSUME_WAITID_SYSCALL): Likewise.
25584 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25585 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25586 * README: State 2.6.16 as minimum Linux kernel version. Do not
25587 refer to older versions.
25588
03af9520
RM
255892012-08-06 Roland McGrath <roland@hack.frob.com>
25590
8e49df1d
RM
25591 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25592 Define alphasort64 as an alias.
25593 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25594 Define versionsort64 as an alias.
25595 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25596 Define scandir64 as an alias.
25597 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25598 Define scandirat64 as an alias.
25599 * dirent/alphasort64.c (alphasort64):
25600 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25601 * dirent/versionsort64.c: Likewise.
25602 * dirent/scandir64.c: Likewise.
25603 * dirent/scandirat64.c: Likewise.
25604 * sysdeps/wordsize-64/alphasort.c: File removed.
25605 * sysdeps/wordsize-64/alphasort64.c: File removed.
25606 * sysdeps/wordsize-64/scandir.c: File removed.
25607 * sysdeps/wordsize-64/scandir64.c: File removed.
25608 * sysdeps/wordsize-64/scandirat.c: File removed.
25609 * sysdeps/wordsize-64/scandirat64.c: File removed.
25610 * sysdeps/wordsize-64/versionsort.c: File removed.
25611 * sysdeps/wordsize-64/versionsort64.c: File removed.
25612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25620
25621 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25623 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25625 [defined __arch64__ || defined __sparcv9]
25626 (__INO_T_MATCHES_INO64_T): New macro.
25627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25628 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25629 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25630 * sysdeps/unix/sysv/linux/bits/dirent.h
25631 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25632 (_DIRENT_MATCHES_DIRENT64): New macro.
25633
03af9520
RM
25634 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25635 Define lockf64 as an alias.
25636 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25637 Define fseeko64 as an alias.
25638 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25639 Define ftello64 as an alias.
25640 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25641 Define _IO_fgetpos64 and fgetpos64 as aliases.
25642 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25643 Define _IO_fsetpos64 and fsetpos64 as aliases.
25644 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25645 Conditionalize body on this.
25646 * libio/fseeko64.c: Likewise.
25647 * libio/ftello64.c: Likewise.
25648 * libio/iofgetpos64.c: Likewise.
25649 * libio/iofsetpos64.c: Likewise.
25650 * sysdeps/wordsize-64/lockf.c: File removed.
25651 * sysdeps/wordsize-64/lockf64.c: File removed.
25652 * sysdeps/wordsize-64/fseeko.c: File removed.
25653 * sysdeps/wordsize-64/fseeko64.c: File removed.
25654 * sysdeps/wordsize-64/ftello.c: File removed.
25655 * sysdeps/wordsize-64/ftello64.c: File removed.
25656 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25657 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25658 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25659 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25666 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25667 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25670
25671 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25673 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25675 [defined __arch64__ || defined __sparcv9]
25676 (__OFF_T_MATCHES_OFF64_T): New macro.
25677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25678 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25680 (__OFF_T_MATCHES_OFF64_T): New macro.
25681
c5757acd
L
256822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 * stdlib/secure-getenv.c (__secure_getenv): Replace
25685 GLIBC_2_16 with GLIBC_2_17.
25686
3a31811e
L
256872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25688
25689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25691
faa2bccb
DM
256922012-08-03 David S. Miller <davem@davemloft.net>
25693
25694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25695
85fe1997
JM
256962012-08-03 Joseph Myers <joseph@codesourcery.com>
25697
25698 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25699 Remove.
25700 (__ASSUME_CORRECT_SI_PID): Likewise.
25701 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25702 (__ASSUME_TMPFS_NAME): Likewise.
25703 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25704 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25705 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25706 (HAVE_AUX_SECURE): Make definition unconditional.
25707 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25708 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25709
4f75b7a0
RM
257102012-08-03 Roland McGrath <roland@hack.frob.com>
25711
25712 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25713 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25714 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25715 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25716 __eloop_threshold instead of SYMLOOP_MAX.
25717
25718 * sysdeps/generic/eloop-threshold.h: New file.
25719 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25720 of MAXSYMLINKS.
25721 * elf/chroot_canon.c (chroot_canon): Likewise.
25722
7aab07e4
JM
257232012-08-03 Joseph Myers <joseph@codesourcery.com>
25724
25725 [BZ #13717]
25726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25727 Change to 2.6.0 everywhere.
25728 * sysdeps/unix/sysv/linux/configure: Regenerated.
25729 * sysdeps/unix/sysv/linux/kernel-features.h
25730 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25731 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25732 kernel versions.
25733 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25734 (__ASSUME_FUTEX_REQUEUE): Remove.
25735 (__ASSUME_STATFS64): Define unconditionally.
25736 (__ASSUME_AT_SECURE): Likewise.
25737 (__ASSUME_CORRECT_SI_PID): Likewise.
25738 (__ASSUME_TGKILL): Define without depending on kernel version for
25739 i386.
25740 (__ASSUME_UTIMES): Likewise.
25741 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25742 kernel version.
25743 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25744 (__ASSUME_TMPFS_NAME): Likewise.
25745 * README: Update reference to Linux kernel versions.
25746
b67e9372
MP
257472012-08-02 Marek Polacek <polacek@redhat.com>
25748
1f529f7d 25749 [BZ# 14150]
b67e9372
MP
25750 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25751 libc_cv_asm_type_prefix with %.
25752 * configure: Regenerated.
d2441631
RM
25753 * include/libc-symbols.h: Remove comment about
25754 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25755 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25756 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25757 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25758 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25759 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25760 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25761 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25762 * elf/tst-unique2mod1.c: Likewise.
25763 * elf/tst-unique1mod2.c: Likewise.
25764 * elf/tst-unique1mod1.c: Likewise.
25765 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25766 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25767 Replace ASM_TYPE_DIRECTIVE with .type.
25768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25769 * sysdeps/i386/sysdep.h: Likewise.
25770 * sysdeps/x86_64/sysdep.h: Likewise.
25771 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25773 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25774 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25775 * sysdeps/powerpc/powerpc32/sysdep.h:
25776 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25777 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25778 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25779 * sysdeps/i386/fpu/e_powf.S: Likewise.
25780 * sysdeps/i386/fpu/e_expl.S: Likewise.
25781 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25782 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25783 * sysdeps/i386/fpu/e_pow.S: Likewise.
25784 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25785 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25786 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25787 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25788 * sysdeps/i386/fpu/e_log2.S: Likewise.
25789 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25790 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25791 * sysdeps/i386/fpu/e_powl.S: Likewise.
25792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25793 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25794 * sysdeps/i386/fpu/e_logl.S: Likewise.
25795 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25796 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25797 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25798 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25799 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25800 * sysdeps/i386/fpu/e_log.S: Likewise.
25801 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25802 * sysdeps/i386/fpu/e_logf.S: Likewise.
25803 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25804 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25805 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25806 * sysdeps/i386/fpu/e_log10.S: Likewise.
25807 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25809 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25810 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25812 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25813 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25814 * sysdeps/i386/i686/strtok.S: Likewise.
25815 * sysdeps/i386/i386-mcount.S: Likewise.
25816 * sysdeps/i386/strtok.S: Likewise.
25817 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25820 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25821 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25823 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25824 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25826 * sysdeps/x86_64/_mcount.S: Likewise.
25827 * sysdeps/x86_64/strtok.S: Likewise.
25828 * sysdeps/sh/_mcount.S: Likewise.
25829
2747bf9a
RM
258302012-08-01 Roland McGrath <roland@hack.frob.com>
25831
25832 * libio/iofopen.c: Include <fcntl.h>.
25833 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25834 (_IO_fopen64, fopen64): Define as aliases.
25835 * libio/iofopen64.c: Include <fcntl.h>.
25836 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25837 Conditionalize body on this.
25838 * sysdeps/wordsize-64/iofopen.c: File removed.
25839 * sysdeps/wordsize-64/iofopen64.c: File removed.
25840
3fb791b8
MP
258412012-08-01 Marek Polacek <polacek@redhat.com>
25842
25843 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25844 Use dlfcn directly instead of a variable.
25845 (binfmt-subdir): Do not define.
25846 (dlfcn): Likewise.
25847
a9f1039f
JM
258482012-08-01 Joseph Myers <joseph@codesourcery.com>
25849
23bddc06
JM
25850 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25851 Remove all definitions.
25852 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25853 <kernel-features.h>.
25854 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25855 (miss_F_GETOWN_EX): Remove all definitions.
25856 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25857 macro definition.
25858 [!__ASSUME_FCNTL64]: Remove conditional code.
25859 [__ASSUME_FCNTL64]: Make code unconditional.
25860 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25861 <kernel-features.h>.
25862 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25863 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25864 (lockf64) [__NR_fcntl64]: Make code unconditional.
25865 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25866
a9f1039f
JM
25867 * sysdeps/unix/sysv/linux/kernel-features.h
25868 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25869 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25870 Make code unconditional.
25871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25874 [__NR_vfork]: Make code unconditional.
25875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25878 [__NR_vfork]: Make code unconditional.
25879 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25880 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25881
09c0ee5f
RM
258822012-08-01 Roland McGrath <roland@hack.frob.com>
25883
48aec5b9
RM
25884 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25885 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25886
cd97c966
RM
25887 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25888 Define mkstemp64 as an alias.
3f55550c
RM
25889 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25890 Define mkstemps64 as an alias.
cd97c966
RM
25891 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25892 Define mkostemp64 as an alias.
b8625cfc
RM
25893 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25894 Define mkostemps64 as an alias.
cd97c966
RM
25895 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25896 Conditionalize body on this.
25897 * misc/mkostemp64.c: Likewise.
b8625cfc 25898 * misc/mkostemps64.c: Likewise.
3f55550c 25899 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25900 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25901 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25902 * sysdeps/wordsize-64/mkostemp.c: File removed.
25903 * sysdeps/wordsize-64/mkstemp.c: File removed.
25904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25907 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25908
09c0ee5f
RM
25909 [BZ #14138]
25910 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25911 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25912 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25913 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25914
25915 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25916 compat_symbol macros from <shlib-compat.h> rather than the underlying
25917 default_symbol_version and symbol_version macros, so that DEFAULT
25918 lines in shlib-versions are respected.
25919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25920
7e66ee51
FW
259212012-08-01 Florian Weimer <fweimer@redhat.com>
25922
25923 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25924 Declare with warn_unused_result.
25925 (setgid, setregid, setegid, setresgid): Likewise.
25926 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25927 Likewise.
25928 * WUR-REPORT: Remove set*id functions.
25929
d2a54255
PT
259302012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25931
25932 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25933
7ecdb005
RM
259342012-07-31 Roland McGrath <roland@hack.frob.com>
25935
b4180a5e 25936 [BZ #10191]
789bd351
RM
25937 * include/sys/socket.h (__libc_accept, __libc_accept4):
25938 Add attribute_hidden.
25939 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25940
40ce302d
RM
25941 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25942 use of PTR_MANGLE.
25943 * inet/getnetgrent_r.c (setup): Likewise.
25944
7ecdb005
RM
25945 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25946
e2eabb2c
DM
259472012-07-31 David S. Miller <davem@davemloft.net>
25948
25949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25950
d0419dbf
JM
259512012-07-31 Joseph Myers <joseph@codesourcery.com>
25952
25953 [BZ #13629]
25954 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25955 value between 1.0 and 2.0 and smaller part has absolute value less
25956 than 1.0.
25957 * math/s_clog10.c (__clog10): Likewise.
25958 * math/s_clog10f.c (__clog10f): Likewise.
25959 * math/s_clog10l.c (__clog10l): Likewise.
25960 * math/s_clogf.c (__clogf): Likewise.
25961 * math/s_clogl.c (__clogl): Likewise.
25962 * math/libm-test.inc (clog_test): Add more tests.
25963 (clog10_test): Likewise.
25964 * sysdeps/i386/fpu/libm-test-ulps: Update.
25965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25966
2bc13872
FW
259672012-07-31 Florian Weimer <fweimer@redhat.com>
25968
25969 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25970 Exit with zero in case no suitable GID is found, and write a
25971 message to standard error.
25972
bea9b193
RM
259732012-07-30 Roland McGrath <roland@hack.frob.com>
25974
25975 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25976 rather than to 1.
25977 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25978 (MAXPATHLEN): Removed.
25979 (NOGROUP, NODEV): New macros.
25980 (setbit, clrbit, isset, isclr): New macros.
25981 (howmany, roundup, powerof2): New macros.
25982 (DEV_BSIZE): New macro.
25983
25984 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25985 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25986
25987 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25988 definition on [!__NO_LONG_DOUBLE_MATH].
25989
25990 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25991 PTR_MANGLE and PTR_DEMANGLE.
25992
25993 * socket/accept4.c (accept4): Rename to __libc_accept4.
25994 Define accept4 as a weak alias.
25995
25996 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25997 on [_DIRENT_HAVE_D_TYPE].
25998 * io/ftw.c (ftw_dir): Likewise.
25999
26000 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26001
26002 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26003
26004 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26005 Use the BSD numbers rather than the arbitrary ones we had.
26006 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26007 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26008 (SIGXCPU, SIGXFSZ): New macros.
26009 (_NSIG): Now 32.
26010
26011 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26012 initializer on [_LIBC_REENTRANT].
26013
26014 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26015 definitions inside [_POSIX_MAPPED_FILES].
26016
26017 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26018
26019 * dirent/opendir.c: Include <fcntl.h>.
26020
26021 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26022 (__libc_getspecific): Likewise.
26023 (__libc_key_create): Likewise.
26024
26025 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26026 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26027 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26028 (tmpfile64): Define as alias.
26029 * sysdeps/wordsize-64/tmpfile.c: File removed.
26030 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26031 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26032 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26033
26034 * stdio-common/vfscanf.c: Include <stdbool.h>.
26035 * nss/makedb.c: Likewise.
26036 * stdio-common/_i18n_number.h: Likewise.
26037 * argp/argp-help.c: Likewise.
26038 * posix/wordexp.c: Likewise.
26039 * sysdeps/posix/spawni.c: Likewise.
26040 * nss/nss_files/files-initgroups.c: Likewise.
26041 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26042 * nss/nss_files/files-initgroups.c: Likewise.
26043 * nss/nss_db/db-netgrp.c: Likewise.
26044 * nss/nss_db/db-initgroups.c: Likewise.
26045 * io/fchmodat.c: Include <sys/stat.h>.
26046
26047 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26048 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26049
26050 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26051 [HAVE_MMAP].
26052
26053 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26054 Add multiple inclusion protection.
26055
e5abc686
DM
260562012-07-27 David S. Miller <davem@davemloft.net>
26057
26058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26059
815e6fa3
GB
260602012-07-27 Gary Benson <gbenson@redhat.com>
26061
26062 [BZ #14298]
26063 * elf/rtld.c: Include <stap-probe.h>.
26064 (dl_main): Added static probes "init_start" and "init_complete".
26065 * elf/dl-load.c: Include <stap-probe.h>.
26066 (lose): Take new parameter "nsid".
26067 Added static probe "map_failed".
26068 (_dl_map_object_from_fd): Pass namespace id to lose.
26069 Added static probe "map_start".
26070 (open_verify): Pass namespace id to lose.
26071 * elf/dl-open.c: Include <stap-probe.h>.
26072 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26073 and "reloc_complete".
26074 * elf/dl-close.c: Include <stap-probe.h>.
26075 (_dl_close_worker): Added static probes "unmap_start" and
26076 "unmap_complete".
26077 * elf/rtld-debugger-interface.txt: New file documenting the above.
26078
9f98c16c
RM
260792012-07-26 Roland McGrath <roland@hack.frob.com>
26080
26081 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26082 rather than a string variable.
26083 * sunrpc/rpc_main.c (h_output): Likewise.
26084 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26085
f3c22df3
PT
260862012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26087
26088 * inet/check_native.c: New file.
26089
3129cfc6
JM
260902012-07-26 Joseph Myers <joseph@codesourcery.com>
26091
da865e95
JM
26092 [BZ #13629]
26093 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26094 if larger part has absolute value 1.0.
26095 * math/s_clog10.c (__clog10): Likewise.
26096 * math/s_clog10f.c (__clog10f): Likewise.
26097 * math/s_clog10l.c (__clog10l): Likewise.
26098 * math/s_clogf.c (__clogf): Likewise.
26099 * math/s_clogl.c (__clogl): Likewise.
26100 * math/libm-test.inc (clog_test): Add more tests.
26101 (clog10_test): Likewise.
26102 * sysdeps/i386/fpu/libm-test-ulps: Update.
26103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26104
3129cfc6
JM
26105 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26106 (pltexit): Likewise.
26107 (La_regs): Likewise.
26108 (La_retval): Likewise.
26109 (int_retval): Likewise.
26110 Update #error for removed macros to refer only to definitions in
26111 tst-audit.h.
26112 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26113 macro.
26114 (pltexit): Likewise.
26115 (La_regs): Likewise.
26116 (La_retval): Likewise.
26117 (int_retval): Likewise.
26118 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26119 macro.
26120 (pltexit): Likewise.
26121 (La_regs): Likewise.
26122 (La_retval): Likewise.
26123 (int_retval): Likewise.
26124 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26125 macro.
26126 (pltexit): Likewise.
26127 (La_regs): Likewise.
26128 (La_retval): Likewise.
26129 (int_retval): Likewise.
26130 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26131 macro.
26132 (pltexit): Likewise.
26133 (La_regs): Likewise.
26134 (La_retval): Likewise.
26135 (int_retval): Likewise.
26136 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26137 macro.
26138 (pltexit): Likewise.
26139 (La_regs): Likewise.
26140 (La_retval): Likewise.
26141 (int_retval): Likewise.
26142 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26143 macro.
26144 (pltexit): Likewise.
26145 (La_regs): Likewise.
26146 (La_retval): Likewise.
26147 (int_retval): Likewise.
26148 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26149 macro definitions in tst-audit.h.
26150 * sysdeps/i386/tst-audit.h: New file.
26151 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26152 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26153 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26154 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26155 * sysdeps/sh/tst-audit.h: Likewise.
26156 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26157 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26158 * sysdeps/x86_64/tst-audit.h: Likewise.
26159
bfc07087
AJ
261602012-07-26 Andreas Jaeger <aj@suse.de>
26161
b1b2aaf8
AJ
26162 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26163 ptrace.
26164
26165 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26166 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26167 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26168 PTRACE_O_MASK.
26169 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26170 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26171 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26172
bfc07087
AJ
26173 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26174 value.
26175
26176 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26177 _sigsys.
26178 (si_call_addr, si_syscall, si_arch): Define new macro.
26179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26180 _sigsys.
26181 (si_call_addr, si_syscall, si_arch): Define new marcro.
26182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26183 _sigsys.
26184 (si_call_addr, si_syscall, si_arch): Define new macro.
26185 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26186 _sigsys.
26187 (si_call_addr, si_syscall, si_arch): Define new macro.
26188
89b4b02f
JM
261892012-07-25 Joseph Myers <joseph@codesourcery.com>
26190
26191 [BZ #13717]
26192 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26193 Change to 2.4.21 where previously 2.4.1.
26194 * sysdeps/unix/sysv/linux/configure: Regenerated.
26195 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26196 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26197 Linux kernel version.
26198 (__ASSUME_STD_AUXV): Remove.
26199 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26200 kernel version.
26201 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26202 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26203 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26204 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26205 (__ASSUME_NETLINK_SUPPORT): Likewise.
26206 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26207 (__no_netlink_support): Remove conditional definition.
26208 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26209 Remove.
26210 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26211 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26212 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26213 (if_nameindex_ioctl): Remove.
26214 (if_nameindex_netlink): Do not handle __no_netlink_support.
26215 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26216 code.
26217 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26218 Remove conditional code.
26219 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26220 code.
26221 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26222 unconditional.
26223 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26224 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26225 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26226 Remove.
26227 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26228 [!__ASSUME_STD_AUXV]: Remove conditional code.
26229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26230 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26231 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26233 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26234 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26235 code.
26236 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26238 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26239 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26240 conditional code.
26241 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26243 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26244 code.
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26246 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26247 conditional code.
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26249 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26250 code unconditional.
26251 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26252 conditional code.
26253 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26254 unconditional.
26255 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26256 conditional code.
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26258 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26259 unconditional.
26260 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26261 conditional code.
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26263 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26264 code unconditional.
26265 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26266 conditional code.
26267 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26268 unconditional.
26269 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26270 conditional code.
26271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26272 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26273 code unconditional.
26274 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26275 conditional code.
26276 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26277 unconditional.
26278 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26279 conditional code.
26280
842a39cd
AS
262812012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26282
26283 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26284 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26285 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26286 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26287 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26288 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26289 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26290 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26291 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26292 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26293 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26294 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26295 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26296 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26298 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26299 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26301 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26303 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26304 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26305 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26306
84b3fd84
FW
263072012-07-25 Florian Weimer <fweimer@redhat.com>
26308
26309 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26310 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26311 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26312 Introduce __libc_secure_getenv.
0c7936d5
FW
26313 * stdlib/Versions (2.17): Add secure_getenv
26314 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26315 * stdlib/secure-getenv.c: Rename __secure_getenv to
26316 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26317 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26318 * stdlib/tst-secure-getenv.c: New.
26319 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26320 * manual/startup.texi (Environment Access): Document
26321 secure_getenv.
84b3fd84
FW
26322 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26323 __libc_secure_getenv.
26324 * inet/ruserpass.c (ruserpass): Likewise.
26325 * malloc/mtrace.c (mtrace): Likewise.
26326 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26327 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26328 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26329 * sysdeps/posix/tempname.c: Likewise. Evaluate
26330 HAVE_SECURE_GETENV.
26331 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26332 __secure_getenv to __libc_secure_getenv.
84b3fd84 26333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26335 Likewise.
26336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26337 Likewise.
26338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26345
56e49b71
JM
263462012-07-25 Joseph Myers <joseph@codesourcery.com>
26347
26348 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26349 (struct La_i86_retval): Likewise.
26350 (struct La_x86_64_regs): Likewise.
26351 (struct La_x86_64_retval): Likewise.
26352 (struct La_x32_regs): Likewise.
26353 (struct La_x32_retval): Likewise.
26354 (struct La_ppc32_regs): Likewise.
26355 (struct La_ppc32_retval): Likewise.
26356 (struct La_ppc64_regs): Likewise.
26357 (struct La_ppc64_retval): Likewise.
26358 (struct La_sh_regs): Likewise.
26359 (struct La_sh_retval): Likewise.
26360 (struct La_s390_32_regs): Likewise.
26361 (struct La_s390_32_retval): Likewise.
26362 (struct La_s390_64_regs): Likewise.
26363 (struct La_s390_64_retval): Likewise.
26364 (struct La_sparc32_regs): Likewise.
26365 (struct La_sparc32_retval): Likewise.
26366 (struct La_sparc64_regs): Likewise.
26367 (struct La_sparc64_retval): Likewise.
26368 (struct audit_ifaces): Remove architecture-specific pltenter and
26369 pltexit members.
26370 * sysdeps/i386/ldsodefs.h: New file.
26371 * sysdeps/powerpc/ldsodefs.h: Likewise.
26372 * sysdeps/s390/ldsodefs.h: Likewise.
26373 * sysdeps/sh/ldsodefs.h: Likewise.
26374 * sysdeps/sparc/ldsodefs.h: Likewise.
26375 * sysdeps/x86_64/ldsodefs.h: Likewise.
26376
354691b7
MP
263772012-07-25 Marek Polacek <polacek@redhat.com>
26378
26379 [BZ #6808]
26380 * math/libm-test.inc (yn_test): Add another test.
26381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26382 to ERANGE when the result is +-Inf.
26383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26384 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26385 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26386 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26387
bf9e2071
JM
263882012-07-24 Joseph Myers <joseph@codesourcery.com>
26389
26390 * conform/data/time.h-data (NULL): Use macro-constant. Require
26391 equal to 0.
26392 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26393 clock_t.
26394 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26395
57633811
TS
263962012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26397
26398 * configure.in <sysdeps resolving>: Correct printing
26399 Implies_before.
26400 * configure: Regenerate.
26401
c23c33b0
TS
264022012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26403
26404 * math/w_ilogb.c: Include <limits.h>.
26405 * math/w_ilogbl.c: Likewise.
26406
b5982523
JM
264072012-07-20 Joseph Myers <joseph@codesourcery.com>
26408
26409 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26410 va_copy. Document allowing for unavailable va_copy only as
26411 pre-C99 compatibility.
26412 * manual/string.texi (Copying and Concatenation): Use va_copy
26413 instead of __va_copy in concat example.
26414
ac4ea442
PT
264152012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26416
26417 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26418 (__sendto): Use create_address_port. Initialize APORT and deallocate
26419 it if not null.
26420
f98eafbd
PT
26421 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26422 with O_NOLINK passed to __file_name_lookup.
26423
898c7aab
PT
26424 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26425 with O_NOLINK passed to __file_name_lookup.
26426
0ced335a
PT
26427 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26428 negative N or less than NGIDS.
26429
b3404dbd
PT
26430 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26431 type to string_t. Set ERANGE as errno and return it if NAME is not big
26432 enough. Use memcpy instead of strncpy.
26433
0f48659e
JM
264342012-07-20 Joseph Myers <joseph@codesourcery.com>
26435
26436 * elf/Makefile (check-data): Remove.
26437 (localplt.data): New vpath directive.
26438 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26439 instead of $(check-data).
26440 * scripts/data/localplt-generic.data: Move to ...
26441 * sysdeps/generic/localplt.data: ... here.
26442 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26443 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26444 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26446 ... here.
26447 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26449 ... here.
26450 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26452 ... here.
26453 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26455 ... here.
26456 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26458 ... here.
26459 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26461 ... here.
26462
d37cbdaa
AZ
264632012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26464
26465 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26466 PPC32 and PPC64 files.
26467 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26468 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26469
46f85fc2
AK
264702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26471
26472 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26473 __makecontext_ret to ...
26474 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26475 ... here and call exit if uc_link is NULL. New file.
26476 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26477 __makecontext_ret.S.
26478 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26479 __makecontext_ret to ...
26480 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26481 ... here and call exit if uc_link is NULL. New file.
26482 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26483 __makecontext_ret.S.
26484
08f43f9b
AK
264852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26486
26487 * elf/elf.h (R_390_IRELATIVE): New definition.
26488 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26489 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26490 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26491 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26492 (elf_machine_lazy_rel): Likewise.
26493 * sysdeps/s390/dl-irel.h: New file.
26494 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26495 * sysdeps/s390/s390-64/memset.S: New asm code.
26496 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26497 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26498 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26499 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26500 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26501 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26503 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26504 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26505 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26506 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26507 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26508 * sysdeps/s390/s390-32/memset.S: New asm code.
26509 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26510
3b05db33
MP
265112012-07-17 Marek Polacek <polacek@redhat.com>
26512
26513 [BZ #14349]
26514 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26515 * sysdeps/s390/s390-64/configure.in: Likewise.
26516 * sysdeps/sparc/configure.in: Likewise.
26517 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26518 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26519 * sysdeps/i386/configure.in: Likewise.
26520 * sysdeps/x86_64/configure.in: Likewise.
26521 * sysdeps/sh/configure.in: Likewise.
26522 * sysdeps/s390/s390-32/configure: Regenerated.
26523 * sysdeps/s390/s390-64/configure: Likewise.
26524 * sysdeps/x86_64/configure: Likewise.
26525 * sysdeps/sh/configure: Likewise.
26526 * sysdeps/powerpc/powerpc64/configure: Likewise.
26527 * sysdeps/powerpc/powerpc32/configure: Likewise.
26528 * sysdeps/sparc/configure: Likwise.
26529 * sysdeps/i386/configure: Likewise.
26530
a66877c6
MP
26531 * elf/dl-open.c: Comment fixes.
26532
cfc82fd8
JM
265332012-07-17 Joseph Myers <joseph@codesourcery.com>
26534
bd29910a
JM
26535 * Makefile [CXX] (check-data): Remove.
26536 [CXX] (c++-types.data): New vpath directive.
26537 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26538 vpath. Do not allow for C++ type data being missing.
26539 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26540 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26541 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26542 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26543 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26544 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26545 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26547 ... here.
26548 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26550 ... here.
26551 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26553 ... here.
26554 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26556 ... here.
26557 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26559 ... here.
26560 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26562 ... here.
26563 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26565 ... here.
26566 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26568
cfc82fd8
JM
26569 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26570 definitions to architecture-specific files.
26571 (TLS_IE): Likewise.
26572 (TLS_LD): Likewise.
26573 (TLS_GD): Likewise.
26574 * sysdeps/i386/tls-macros.h: New file.
26575 * sysdeps/powerpc/tls-macros.h: Likewise.
26576 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26577 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26578 * sysdeps/sh/tls-macros.h: Likewise.
26579 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26580 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26581 * sysdeps/x86_64/tls-macros.h: Likewise.
26582
f7db3170
TS
265832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26584
07cbfc23
TS
26585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26586 zero value for regular exit case.
26587
f7db3170
TS
26588 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26589 (__start_context): Preserve zero value for regular exit case.
26590
dc97c227
TS
265912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26592 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26593
26594 * manual/setjmp.texi (setcontext): Clarify normal process
26595 termination when uc_link is the null pointer.
26596 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26597 exit call.
26598
d0cd7d02
AS
265992012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26600
26601 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26602 preprocessor. Test for each exception mask separately.
26603
dd318934
AJ
266042012-07-16 Andreas Jaeger <aj@suse.de>
26605
26606 * po/ru.po: Update from translation team.
26607
8048311a
JM
266082012-07-15 Joseph Myers <joseph@codesourcery.com>
26609
26610 * conform/data/string.h-data (NULL): Use macro-constant. Require
26611 equal to 0.
26612 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26613 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26614 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26615 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26617
b637d46e
AJ
266182012-07-13 Andreas Jaeger <aj@suse.de>
26619
26620 * po/fr.po: Update from translation team.
26621
541428fe
MP
266222012-07-12 Marek Polacek <polacek@redhat.com>
26623
26624 [BZ #14173]
26625 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26626 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26627 loop condition.
26628
ec332e94
JM
266292012-07-12 Joseph Myers <joseph@codesourcery.com>
26630
26631 [BZ #13717]
26632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26633 Change to 2.4.1 where previously 2.4.0.
26634 * sysdeps/unix/sysv/linux/configure: Regenerated.
26635 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26636 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26637 version.
26638 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26639 (__ASSUME_AT_CLKTCK): Remove.
26640 (__ASSUME_AT_PAGESIZE): Likewise.
26641 (__ASSUME_AT_XID): Likewise.
26642 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26643 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26644 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26645 unconditionally.
26646 (HAVE_AUX_PAGESIZE): Likewise.
26647 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26648 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26649 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26650
7b6e99be
JB
266512012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26652
26653 [BZ #14307]
26654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26655 the temporary buffer used to invoke __gethostbyname2_r,
26656 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26657 host_data / struct gaih_addrtuple.
26658 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26659 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26660 header file nss/nsswitch.h.
26661 * nss/nsswitch.h (global scope): Add definition of implementation
26662 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26663 resolv/nss_dns/dns-host.c).
26664
608404eb
AJ
266652012-07-11 Andreas Jaeger <aj@suse.de>
26666
26667 * po/fr.po: Update from translation team.
26668
71220aca
AJ
26669 * po/sv.po: Update from translation team
26670 * po/fr.po: Another update from translation team.
26671
28cfe843
AZ
266722012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26673
26674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26675 for subnormals or multiply small sinh result by itself.
26676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26678
6b90f981
DM
266792012-07-11 David S. Miller <davem@davemloft.net>
26680
26681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26682
c6825772
AS
266832012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26684
26685 [BZ #14347]
26686 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26687 (INTERNAL_MARK): Shift it here.
26688
7b8e0d49
MP
266892012-07-10 Marek Polacek <polacek@redhat.com>
26690
26691 [BZ #14151]
26692 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26693 libc_cv_asm_global_directive with .globl.
26694 * configure: Regenerated.
26695 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26696 with .globl.
26697 * sysdeps/i386/configure: Regenerated.
26698 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26699 with .globl.
26700 * sysdeps/x86_64/configure: Regenerated.
26701 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26702 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26703 * elf/tst-unique2mod2.c: Likewise.
26704 * elf/tst-unique2mod1.c: Likewise.
26705 * elf/tst-unique1mod2.c: Likewise.
26706 * elf/tst-unique1mod1.c: Likewise.
26707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26708 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26711 * sysdeps/mach/sysdep.h: Likewise.
26712 * sysdeps/i386/sysdep.h: Likewise.
26713 * sysdeps/i386/i386-mcount.S: Likewise.
26714 * sysdeps/x86_64/_mcount.S: Likewise.
26715 * sysdeps/x86_64/sysdep.h: Likewise.
26716 * sysdeps/sh/_mcount.S: Likewise.
26717 * sysdeps/sh/sysdep.h: Likewise.
26718 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26719 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26720 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26721 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26722 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26723 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26724 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26725 * locale/localeinfo.h: Likewise.
26726 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26727 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26728
6c55cda3
RM
267292012-07-09 Roland McGrath <roland@hack.frob.com>
26730
26731 [BZ #14336]
26732 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26733 system".
26734 * manual/message.texi (The Uniforum approach): Likewise.
26735 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26736 (glibc iconv Implementation): Likewise.
26737
638a572e
JM
267382012-07-09 Joseph Myers <joseph@codesourcery.com>
26739
26740 [BZ #14337]
26741 * math/s_clog.c (__clog): Avoid scaling a value down where that
26742 could result in underflow.
26743 * math/s_clog10.c (__clog10): Likewise.
26744 * math/s_clog10f.c (__clog10f): Likewise.
26745 * math/s_clog10l.c (__clog10l): Likewise.
26746 * math/s_clogf.c (__clogf): Likewise.
26747 * math/s_clogl.c (__clogl): Likewise.
26748 * math/libm-test.inc (clog_test): Add more tests.
26749 (clog10_test): Likewise.
26750 * sysdeps/i386/fpu/libm-test-ulps: Update.
26751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26752
261f4859
AS
267532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26754
0abaf3e4
AS
26755 [BZ #14283]
26756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26757 by 7 not 8 to examine high bit of fractional part.
26758
261f4859
AS
26759 [BZ #14042]
26760 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26761 for call to __mcount_internal.
26762 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26763 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26764 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26765
f17ac40d
JM
267662012-07-06 Joseph Myers <joseph@codesourcery.com>
26767
9ad63c23
JM
26768 [BZ #14154]
26769 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26770 approximation for values within 0x1p-13f of an odd multiple of
26771 pi/4.
26772 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26773 exception. Add more tests.
26774 * sysdeps/i386/fpu/libm-test-ulps: Update.
26775
f17ac40d
JM
26776 [BZ #6778]
26777 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26778 inputs and return -1 for them. Do not check for +Inf in case not
26779 reachable for +Inf.
26780 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26781 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26782 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26783 and return -1 for them. Do not check for +Inf in case not
26784 reachable for +Inf.
26785 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26786 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26791 spurious underflow.
26792 * sysdeps/i386/fpu/libm-test-ulps: Update.
26793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26794
fb21f89b
MF
267952012-07-06 Mike Frysinger <vapier@gentoo.org>
26796
26797 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26798
cdfe2c5e
JM
267992012-07-05 Joseph Myers <joseph@codesourcery.com>
26800
26801 [BZ #14157]
26802 [BZ #14331]
26803 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26804 could result in spurious underflow. Scale down values above
26805 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26806 * math/s_csqrtf.c (__csqrtf): Likewise.
26807 * math/s_csqrtl.c (__csqrtl): Likewise.
26808 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26809 spurious underflow.
26810 * sysdeps/i386/fpu/libm-test-ulps: Update.
26811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26812
70d35b67
AS
268132012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26814
704bc459
AS
26815 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26816 xopen-msg.sed.
26817 * catgets/xopen-msg.awk: New file.
26818 * catgets/xopen-msg.sed: Removed.
26819
70d35b67
AS
26820 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26821 po2text.sed.
26822 * intl/po2test.awk: New file.
26823 * intl/po2test.sed: Removed.
26824
ca61cf32
JM
268252012-07-04 Joseph Myers <joseph@codesourcery.com>
26826
26827 [BZ #14328]
26828 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26829 or multiply small sinh result by itself.
26830 * math/s_ctanf.c (__ctanf): Likewise.
26831 * math/s_ctanh.c (__ctanh): Likewise.
26832 * math/s_ctanhf.c (__ctanhf): Likewise.
26833 * math/s_ctanhl.c (__ctanhl): Likewise.
26834 * math/s_ctanl.c (__ctanl): Likewise.
26835 * math/libm-test.inc (ctan_test_tonearest): New function.
26836 (ctan_test_towardzero): Likewise.
26837 (ctan_test_downward): Likewise.
26838 (ctan_test_upward): Likewise.
26839 (ctanh_test_tonearest): Likewise.
26840 (ctanh_test_towardzero): Likewise.
26841 (ctanh_test_downward): Likewise.
26842 (ctanh_test_upward): Likewise.
26843 (main): Call these new functions.
26844 * sysdeps/i386/fpu/libm-test-ulps: Update.
26845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26846
ca48a46a
MF
268472012-07-03 Mike Frysinger <vapier@gentoo.org>
26848
26849 * .gitignore: Delete /ports entry.
26850
9d63d37d
AJ
268512012-07-03 Andreas Jaeger <aj@suse.de>
26852
26853 * po/bg.po: Update from translation team.
26854 * po/cs.po: Likewise.
26855 * po/de.po: Likewise.
26856 * po/hr.po: Likewise.
26857 * po/nl.pl: Likewise.
26858 * po/pl.po: Likewise.
26859 * po/vi.po: Likewise.
26860
370ca3d2
JM
268612012-07-03 Joseph Myers <joseph@codesourcery.com>
26862
95f5a9a8
JM
26863 * Makeconfig [!+link] (+link-before-libc): New variable.
26864 [!+link] (+link-after-libc): Likewise.
26865 [!+link] (+link-tests): Likewise.
26866 [!+link] (+link): Define in terms of $(+link-before-libc) and
26867 $(+link-after-libc).
26868 [!+link-static] (+link-static-before-libc): New variable.
26869 [!+link-static] (+link-static-after-libc): Likewise.
26870 [!+link-static] (+link-static-tests): Likewise.
26871 [!+link-static] (+link-static): Define in terms of
26872 $(+link-static-before-libc) and $(+link-static-after-libc).
26873 [build-shared] (link-libc-before-gnulib): New variable.
26874 [build-shared] (link-libc-tests): Likewise.
26875 [build-shared] (link-libc): Define in terms of
26876 $(link-libc-before-gnulib).
26877 [!build-shared] (link-libc-tests): New variable.
26878 (link-libc-static-tests): New variable.
26879 [!gnulib] (gnulib-arch): New variable.
26880 [!gnulib] (gnulib-tests): Likewise.
26881 [!gnulib] (static-gnulib-arch): Likewise.
26882 [!gnulib] (static-gnulib-tests): Likewise.
26883 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26884 Define with "=" instead of ":=".
26885 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26886 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26887 * Rules (binaries-all-notests): New variable.
26888 (binaries-all-tests): Likewise.
26889 (binaries-static-notests): Likewise.
26890 (binaries-static-tests): Likewise.
26891 (binaries-all): Define using $(binaries-all-notests) and
26892 $(binaries-all-tests).
26893 (binaries-static): Define using $(binaries-static-notests) and
26894 $(binaries-static-tests).
26895 (binaries-shared-tests): New variable.
26896 (binaries-shared-notests): Likewise.
26897 (binaries-shared): Remove variable.
26898 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26899 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26900 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26901 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26902 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26903 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26904 * elf/Makefile (sln-modules): New variable.
26905 (extra-objs): Add $(sln-modules:=.o).
26906 (ldconfig-modules): Add static-stubs.
26907 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26908 * elf/static-stubs.c: New file.
26909
7a845b2c
JM
26910 [BZ #14283]
26911 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26912 by 7 not 8 to examine high bit of fractional part. Use volatile
26913 variables when splitting into final array of floats if
26914 __FLT_EVAL_METHOD__ != 0.
26915 * math/libm-test.inc (cos_test): Add another test.
26916 (sin_test): Likewise.
26917 * sysdeps/i386/fpu/libm-test-ulps: Update.
26918
e2283f38
JM
26919 [BZ #14273]
26920 * math/libm-test.inc (cosh_test): Add more tests.
26921
370ca3d2
JM
26922 * version.h (RELEASE): Set to "development".
26923 (VERSION): Set to "2.16.90".
26924
ee9247c3
CD
269252012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26926
26927 * NEWS: Update copyright. Remove last-updated date.
26928 Mention math library bug fixes and timezone data changes.
26929 * README: Mention GNU/Hurd, x32, and HPPA support status.
26930
4648c381
TS
269312012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26932
26933 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26934
aac78a43
AJ
269352012-06-27 Andreas Jaeger <aj@suse.de>
26936
26937 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26938
ed3dbfad
AJ
269392012-06-25 Andreas Jaeger <aj@suse.de>
26940
26941 * sysdeps/s390/fpu/libm-test-ulps: Update.
26942
4d0ee855
AS
269432012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26944 Thomas Schwinge <thomas@codesourcery.com>
26945
26946 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26947 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26949 fanotify_mark.
26950
af1bce34
TS
269512012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26952
a9fa33ba
TS
26953 * sysdeps/mach/start.c: Remove file.
26954 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26955 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26956 * sysdeps/sh/init-first.c: Likewise.
26957
58f902b8
TS
26958 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26959 registers for frame unwinding purposes, add CFI directives.
26960 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26961 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26962 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26963 Likewise.
26964
1518f58b
TS
26965 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26966 __fortify_fail returning.
26967 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26968
db9b5059
TS
26969 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26970 sysdeps/sh/____longjmp_chk.S.
26971 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26972 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26973 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26974 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26975
967705fe
TS
26976 * sysdeps/sh/abort-instr.h: New file.
26977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26978 process in case exit returns.
26979
a9def8c4
TS
26980 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26981 initialize the GOT register before use.
26982
2a649725
TS
26983 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26984 calculation of ARGC > 4.
26985
af1bce34
TS
26986 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26987 meaningful names to some local labels.
26988
d230f50a
KK
269892012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26990 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26991
26992 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26993 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26994 (__arch_compare_and_exchange_val_16_acq): Likewise.
26995 (__arch_compare_and_exchange_val_32_acq): Likewise.
26996 (atomic_exchange_and_add): Fix gUSA sequence.
26997 (atomic_add): Likewise.
26998 (atomic_add_negative): Likewise.
26999 (atomic_add_zero): Likewise.
27000 (atomic_bit_test_set): Likewise.
27001
0479b305
AS
270022012-06-22 Andreas Schwab <schwab@redhat.com>
27003
27004 [BZ #13579]
27005 * include/link.h (struct link_map): Add l_free_initfini.
27006 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27007 l_initfini.
27008 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27009 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27010 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27011 set.
27012
0e3933b9
CD
270132012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27014
27015 * configure.in: Use AC_LANG_SOURCE.
27016 * configure: Regenerate.
27017
4248b1b1
RM
270182012-06-22 Roland McGrath <roland@hack.frob.com>
27019
27020 * configure.in (libc_cv_localstatedir): New substituted variable.
27021 * configure: Regenerated.
27022 * config.make.in (localstatedir): New variable, substituted from
27023 libc_cv_localstatedir.
27024 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27025 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27026 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27027 * sysdeps/gnu/configure: Regenerated.
27028
006dd861
JL
270292012-06-21 Jeff Law <law@redhat.com>
27030
27031 [BZ #14277]
27032 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27033 free. Simplify list management for _LIBC case.
27034
79662d42
JM
270352012-06-21 Joseph Myers <joseph@codesourcery.com>
27036
b7abb4bf
JM
27037 [BZ #14273]
27038 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27039 Clear sign bit of 64-bit integer value before comparing against
27040 overflow value.
27041
79662d42
JM
27042 * sysdeps/mach/configure: Regenerated.
27043
1f150908
L
270442012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27045
27046 [BZ #14278]
27047 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27048
28363bbf
JL
270492012-06-21 Jeff Law <law@redhat.com>
27050
27051 [BZ #13882]
27052 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27053 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27054 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27055 * elf/dl-open.c (dl_open_worker): Likewise.
27056
09615db4
CD
270572012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27058
27059 * scripts/list-sources.sh: Scan PORTS for translations.
27060 * po/libc.pot: Regenerated.
27061
2174c6dd
AJ
270622012-06-21 Andreas Jaeger <aj@suse.de>
27063
27064 [BZ #12194]
27065 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27066 warning.
27067 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27068 * bits/byteswap-16.h (__bswap_16): Likewise.
27069 * bits/byteswap.h (__bswap_constant_16): Likewise.
27070
3ee947b1
L
270712012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27072
27073 [BZ #14117]
a2f34833
L
27074 * sysdeps/i386/fpu_control.h: Removed.
27075 * sysdeps/x86_64/fpu_control.h: Moved to ...
27076 * sysdeps/x86/fpu_control.h: Here.
27077
3ee947b1
L
27078 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27079 (_FPU_SETCW): Likewise.
27080
ed1825f8
L
270812012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27082
25f1282a
L
27083 [BZ #14117]
27084 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27085 * sysdeps/x86/fpu/bits/mathinline.h: This.
27086 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27087
ed1825f8
L
27088 [BZ #14050]
27089 [BZ #14117]
27090 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27091 functions if __x86_64__ is defined.
27092
36d54b74
CLT
270932012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27094
27095 * string/endian.h: Add !__ASSEMBLER__ condition for including
27096 conversion interfaces.
27097
10285c21
JM
270982012-06-15 Joseph Myers <joseph@codesourcery.com>
27099
27100 [BZ #14241]
27101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27102 of ABS(x) in calculating zero to negative powers other than odd
27103 integers.
27104 * math/libm-test.inc (pow_test): Add more tests.
27105
06c5abbd
AJ
271062012-06-15 Andreas Jaeger <aj@suse.de>
27107
27108 * manual/contrib.texi (Contributors): Update entry of Liubov
27109 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27110 Machado Filho.
27111
a3aeac40
CH
271122012-06-15 Cyril Hrubis <metan@ucw.cz>
27113
27114 * string/string.h: Add __wur to GNU version of strerror_r.
27115
49bdf4c1
L
271162012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27117
27118 [BZ #14229]
27119 * string/Makefile (tests): Add tst-strtok_r.
27120 * string/tst-strtok_r.c: New file.
27121 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27122 RAX_LP/RDX_LP on SAVE_PTR.
27123
834f9b8d
RM
271242012-06-14 Roland McGrath <roland@hack.frob.com>
27125
27126 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27127
75fa1921
JM
271282012-06-14 Joseph Myers <joseph@codesourcery.com>
27129
27130 * libm_test.inc (csqrt_test): Allow more spurious underflow
27131 exceptions.
27132 (j0_test): Likewise.
27133 (j1_test): Likewise.
27134 (y0_test): Likewise.
27135 (y1_test): Likewise.
27136
771766df
CD
271372012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27138
27139 * po/Makefile (libc.pot): Use UTF-8 charset.
27140
ceb9e56b
PP
271412012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27142
27143 [BZ #14210]
27144 Suppress sign-conversion warning from FD_SET.
27145 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27146 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27147 not unsigned long int.
27148 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27149
ddb28975
L
271502012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27151
27152 [BZ #14050]
27153 [BZ #14117]
27154 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27155 __extern_always_inline instead of __extern_inline.
27156 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27157 (__signbit): Likewise.
27158 (__signbitl): Support C++ namespace.
27159 (lrintf): New inline function.
27160 (lrint): Likewise.
27161 (llrintf): Likewise.
27162 (llrint): Likewise.
27163 (fmaxf): Likewise.
27164 (fmax): Likewise.
27165 (fminf): Likewise.
27166 (fmin): Likewise.
27167 (rint): Likewise.
27168 (rintf): Likewise.
27169 (ceil): Likewise.
27170 (ceilf): Likewise.
27171 (floor): Likewise.
27172 (floorf): Likewise.
27173 (nearbyint): Likewise.
27174 (nearbyintf): Likewise.
27175
d7b4fb26
TS
271762012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27177
27178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27179 non-default versions.
27180
eb55f5c2
RM
271812012-06-11 Roland McGrath <roland@hack.frob.com>
27182
27183 [BZ #14218]
27184 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27185
366af02c
TS
271862012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27187
99ff6e5c
TS
27188 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27189 (FE_UPWARD, FE_DOWNWARD): Don't define.
27190 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27191 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27192
366af02c
TS
27193 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27194 reading it.
27195 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27197
793ea851
KK
271982012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27199
27200 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27202 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27203 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27204
a728a38f
L
272052012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27206
27207 [BZ #14117]
c08010c7
L
27208 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27209 * sysdeps/i386/fpu/Implies: New file.
27210 * sysdeps/x86_64/fpu/Implies: Likewise.
27211 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27212 * sysdeps/x86/fpu/bits/fenv.h: This.
27213
a728a38f
L
27214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27215 __SSE_MATH__.
27216
6e230d11
SP
272172012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27218
27219 [BZ #14134]
27220 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27221 character 0xffff that matches the last element of the
27222 conversion table.
27223
1b671feb
AZ
272242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27225
27226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27227 fmodl commit.
27228
6043738b
AZ
272292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27230
27231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27232 values higher than 25.6283.
27233
34ae0b32
AZ
272342012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27235
27236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27237 subnormal exponent extraction and add some __builtin_expect.
27238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27239 Fix for subnormal mantissa calculation.
27240
1214ec8f
MF
272412012-06-04 Mike Frysinger <vapier@gentoo.org>
27242
27243 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27244 cpu2 is -1 and errno is not ENOSYS.
27245
f3d1f93c
L
272462012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27247
27248 [BZ #14117]
0e4a3cd7
L
27249 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27250 * sysdeps/x86/bits/string.h: This.
27251 * sysdeps/x86_64/bits/string.h: Removed.
27252
6704c645
L
27253 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27254 if not compiling for x86-64, but compiling for >= i486.
27255
48495318
L
27256 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27257 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27258
14adcbfc
L
27259 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27260 New macro from Linux kernel 3.4.0.
27261 (FP_XSTATE_MAGIC2): Likewise.
27262 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27263 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27264 (struct _fpx_sw_bytes): New struct.
27265 (struct _xsave_hdr): Likewise.
27266 (struct _ymmh_state): Likewise.
27267 (struct _xstate): Likewise.
27268
68e408ab
L
27269 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27270 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27272 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27274 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27275
f3d1f93c
L
27276 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27277 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27278 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27279 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27280 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27281 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27282
d9dc34cd
TMQMF
272832012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27284
27285 [BZ #13743]
27286 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27287 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27288 (sysdep_headers): Include sys/platform/ppc.h.
27289 * sysdeps/powerpc/test-gettimebase.c: Test for
27290 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27291 * manual/Makefile (appendices): Include platform.texi.
27292 * manual/contrib.texi (Contributors): Update @node pointers.
27293 * manual/maint.texi (Maintenance): Likewise.
27294 (Platform): New node.
27295 * manual/platform.texi: New file. Document the new features.
27296
4af3879c
SP
272972012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27298 Jakub Jelinek <jakub@redhat.com>
27299
27300 [BZ #14188]
27301 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27302 where __builtin_expect is unavailable.
27303
2fd6ff13
DM
273042012-06-03 David S. Miller <davem@davemloft.net>
27305
27306 * stdlib/longlong.h: Updated from GCC.
27307
173f7220
AS
273082012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27309
27310 [BZ #14042]
27311 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27312 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27313 __mcount_internal.
27314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27315 (GLIBC_2.16): Likewise.
27316
f34a1c6f
L
273172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27318
27319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27320
88a4576f
JM
273212012-06-01 Joseph Myers <joseph@codesourcery.com>
27322
ea32bcdd
JM
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27324 (default-abi): New variable.
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27326 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27327 variable.
27328 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27329 Likewise.
27330 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27331 Likewise.
27332 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27333 Likewise.
27334
88a4576f
JM
27335 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27336 definition. Document in comment.
27337
402fe938
DM
273382012-06-01 David S. Miller <davem@davemloft.net>
27339
27340 * stdlib/longlong.h: Updated from GCC.
27341
3553723f
L
273422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27343
27344 [BZ #14117]
3bd872c4
L
27345 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27346 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27347 sys/debugreg.h sys/io.h here.
27348 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27349 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27350 sys/io.h.
27351 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27352 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27353 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27354 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27355 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27356 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27357
3553723f
L
27358 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27359 Define only if __x86_64__ is defined.
27360
4842e4fe
JM
273612012-06-01 Joseph Myers <joseph@codesourcery.com>
27362
c5bfe3d5
JM
27363 [BZ #14048]
27364 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27365 Use int64_t for variable i.
27366 * math/libm-test.inc (fmod_test): Add more tests.
27367
4842e4fe
JM
27368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27369 z computation is not scheduled after fetestexcept.
27370 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27371 Use math_force_eval instead of asm to ensure calculation scheduled
27372 before exception test.
27373 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27374 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27375
efb73488
AJ
273762012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27377
27378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27379 computation is not scheduled after fetestexcept.
27380
29bcce7c
L
273812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27382
27383 [BZ #14117]
27384 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27385 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27386
73a68f94
AZ
273872012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27388
27389 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27390 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27391
67b6df78
L
273922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27393
edf2933a 27394 [BZ #14117]
ebc64a18
L
27395 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27396 <bits/wordsize.h>.
27397 (__WCHAR_MIN): Support __WORDSIZE == 64.
27398 (__WCHAR_MAX): Likewise.
27399
edf2933a
L
27400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27402
57c6cf40
L
27403 [BZ #14183]
27404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27405 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27406
67b6df78 27407 [BZ #14117]
8eb6281e
L
27408 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27409 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27410
aac639f4
L
27411 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27412 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27413
67b6df78
L
27414 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27415 Defined to 1 if __x86_64__ isn't defined.
27416 (_STAT_VER_LINUX_OLD): New.
27417 (st_atime): Remove duplicate.
27418 (st_mtime): Likewise.
27419 (st_ctime): Likewise.
27420
1c2cfe81
DM
274212012-05-31 David S. Miller <davem@davemloft.net>
27422
27423 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27424 entries.
27425
5be8418c
AS
274262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27427
e7725326
AS
27428 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27429 gen-libm-test.pl.
27430
5be8418c
AS
27431 [BZ #14132]
27432 * elf/dl-reloc.c: Include <_itoa.h>.
27433 (_dl_reloc_bad_type): Remove use of INTUSE.
27434 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27435 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27436 * stdio-common/psiginfo.c (psiginfo): Likewise.
27437 * stdio-common/psignal.c (psignal): Likewise.
27438 * string/strsignal.c (strsignal): Likewise.
27439 * include/signal.h (_sys_siglist): Declare hidden proto.
27440 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27441 INTVARDEF with libc_hidden_data_def.
27442 * stdio-common/itoa-udigits.c: Likewise.
27443 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27444 (_itoa_lower_digits_internal): Remove declaration.
27445 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27446 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27447 (_sys_sigabbrev_internal): Remove aliases.
27448 (_sys_siglist): Define hidden alias.
27449
507352f1
MT
274502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27451
27452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27453 bits/sysctl.h.
27454
42bbb1c3
L
274552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27456
27457 [BZ #14117]
6bd784b6
L
27458 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27459 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27460
8bca20f0
L
27461 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27462 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27463 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27464 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27466 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27467
f9e890a9
L
27468 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27469 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27470 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27471
471101a1
L
27472 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27473 with __addr.
27474 (insw): Likewise.
27475 (insl): Likewise.
27476 (outsb): Likewise.
27477 (outsw): Likewise.
27478 (outsl): Likewise.
27479
6451c862
L
27480 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27481 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27482 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27483
a254b8c9
L
27484 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27485 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27486 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27487 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27488 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27489 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27490
b8dfdd92
L
27491 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27492 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27493
578cd270
L
27494 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27495 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27496
de662f5f
L
27497 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27500
25653439
L
27501 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27502 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27503 to ...
27504 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27505
6bad24a0
L
27506 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27507 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27508 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27509
42bbb1c3
L
27510 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27511 for x86-64.
27512 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27513
2d10d547
JM
275142012-05-31 Joseph Myers <joseph@codesourcery.com>
27515
27516 * math/math.h (M_El): Use two more decimal places.
27517 (M_LOG2El): Likewise.
27518 (M_LOG10El): Likewise.
27519 (M_LN2l): Likewise.
27520 (M_LN10l): Likewise.
27521 (M_PIl): Likewise.
27522 (M_PI_2l): Likewise.
27523 (M_PI_4l): Likewise.
27524 (M_1_PIl): Likewise.
27525 (M_2_PIl): Likewise.
27526 (M_2_SQRTPIl): Likewise.
27527 (M_SQRT2l): Likewise.
27528 (M_SQRT1_2l): Likewise.
27529
f230c29b
DM
275302012-05-31 David S. Miller <davem@davemloft.net>
27531
27532 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27533 values between float registers.
27534 * sysdeps/sparc/sparc64/memset.S: Likewise.
27535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27536
fed806c3
MF
275372012-05-31 Mike Frysinger <vapier@gentoo.org>
27538
27539 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27540 -D_FORTIFY_SOURCE=1.
27541 (CPPFLAGS-tst-longjmp_chk.c): Define.
27542 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27543 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27544 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27545 CFLAGS-tst-wchar-h.c.
27546
30917259
MP
275472012-05-31 Marek Polacek <polacek@redhat.com>
27548
27549 [BZ #14132]
27550 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27551 __endmntent_internal): Remove declaration.
27552 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27553 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27554 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27555
1c58d5dc
DM
275562012-05-30 David S. Miller <davem@davemloft.net>
27557
27558 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27559 (___Q_simulate_exceptions): Use real FP ops rather than writing
27560 into the %fsr.
27561 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27562 Likewise.
27563
7dc00e0d
L
275642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27565
27566 [BZ #14117]
0bd53985
L
27567 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27568 * sysdeps/x86/bits/xtitypes.h: This.
27569
3a257e66
L
27570 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27571 * sysdeps/x86/bits/wordsize.h: This.
27572
62f62904
L
27573 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27574 * sysdeps/x86/bits/huge_vall.h: This.
27575
404fe9d9
L
27576 * sysdeps/i386/bits/select.h: Removed.
27577 * sysdeps/x86_64/bits/select.h: Renamed to ...
27578 * sysdeps/x86/bits/select.h: This.
27579
d48d0446
L
27580 * sysdeps/i386/bits/setjmp.h: Removed.
27581 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27582 * sysdeps/x86/bits/setjmp.h: This.
27583
7dc00e0d
L
27584 * sysdeps/i386/bits/mathdef.h: Removed.
27585 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27586 * sysdeps/x86/bits/mathdef.h: This.
27587
03277f8f
AS
275882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27589
27590 [BZ #14132]
27591 * include/sys/socket.h (__connect_internal)
27592 (__libc_sa_len_internal): Remove declaration.
27593 (__connect, __libc_sa_len): Declare hidden_proto.
27594 (SA_LEN): Remove use of INTUSE.
27595 * socket/connect.c: Add libc_hidden_def.
27596 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27597 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27598 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27599 alias.
27600 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27601 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27602 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27603 of adding _internal alias.
27604
13764867
L
276052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27606
27607 [BZ #14117]
6bd97696
L
27608 * sysdeps/i386/bits/link.h: Removed.
27609 * sysdeps/i386/bits/linkmap.h: Likewise.
27610 * sysdeps/x86_64/bits/link.h: Renamed to ...
27611 * sysdeps/x86/bits/link.h: This.
27612 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27613 * sysdeps/x86/bits/linkmap.h: This.
27614
f726f0bb
L
27615 * sysdeps/i386/bits/endian.h: Removed.
27616 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27617 * sysdeps/x86/bits/endian.h: This.
27618
13764867
L
27619 * sysdeps/i386/bits/byteswap.h: Removed.
27620 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27621 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27622 * sysdeps/x86/bits/byteswap.h: This.
27623 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27624 * sysdeps/x86/bits/byteswap-16.h: This.
27625 * sysdeps/i386/Implies: Add x86.
27626 * sysdeps/x86_64/Implies: Likewise.
27627
ae251b0b
DM
276282012-05-30 David S. Miller <davem@davemloft.net>
27629
27630 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27631 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27633 (FP_TRAPPING_EXCEPTIONS): Define.
27634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27635 (FP_TRAPPING_EXCEPTIONS): Define.
27636 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27637 subnormals only when inexact has been signalled or underflow
27638 exceptions are enabled.
27639 (_FP_PACK_CANONICAL): Likewise.
27640
d5c90867
L
276412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27642
27643 [BZ #14183]
27644 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27645 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27646
63f1549e
RH
276472012-05-30 Richard Henderson <rth@twiddle.net>
27648
8d8f2279
RH
27649 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27650 with #ifndef NOT_IN_libc.
27651
63f1549e
RH
27652 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27653 marked to avoid plt entry.
27654
0ab0291b
L
276552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27656
27657 [BZ #14112]
27658 * Makeconfig (default-abi): New macro.
27659 (abi-includes): Likewise.
27660 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27661 $(abi-$(default-abi)-lib-soname) for soname if defined.
27662 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27663 abi-variants.
27664 * Makefile (installed-stubs): Likewise.
27665 * include/stubs-biarch.h: Removed.
27666 * scripts/lib-names.awk: Only handle one library at a time.
27667 * scripts/soversions.awk: Remove WORDSIZE support.
27668 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27669 entries.
27670 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27671 Removed.
27672 (syscall-list-default-condition): Likewise.
27673 (syscall-list-default-condition): Likewise.
27674 (syscall-list-includes): Likewise.
27675 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27676 syscall-list-* with abi-*. Handle undefined abi-variants.
27677 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27678 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27679 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27680 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27681 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27682 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27683 Removed.
27684 (syscall-list-32-options): Likewise.
27685 (syscall-list-32-condition): Likewise.
27686 (syscall-list-64-options): Likewise.
27687 (syscall-list-64-condition): Likewise.
27688 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27689 macro.
27690 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27691 Renamed to ...
27692 (abi-*): This.
27693 (abi-64-ld-soname): New macro.
27694 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27695 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27696 Renamed to ...
27697 (abi-*): This.
27698 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27699 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27700
4da0431d
JM
277012012-05-30 Joseph Myers <joseph@codesourcery.com>
27702
3a85279c
JM
27703 * sysdeps/unix/sysv/linux/kernel-features.h
27704 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27705 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27706 include <kernel-features.h>.
27707 [!__NR_ftruncate64]: Remove conditional code.
27708 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27709 [__NR_ftruncate64]: Make code unconditional.
27710 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27711 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27712 include <kernel-features.h>.
27713 [!__NR_ftruncate64]: Remove conditional code.
27714 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27715 [__NR_ftruncate64]: Make code unconditional.
27716 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27718 include <kernel-features.h>.
27719 [!__NR_ftruncate64]: Remove conditional code.
27720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27721 [__NR_ftruncate64]: Make code unconditional.
27722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27724 include <kernel-features.h>.
27725 [!__NR_ftruncate64]: Remove conditional code.
27726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27727 [__NR_ftruncate64]: Make code unconditional.
27728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27729
4da0431d
JM
27730 * configure.in (libc_cv_fpie): Weaken to a compile test using
27731 LIBC_TRY_CC_OPTION.
27732 * configure: Regenerated.
27733
11ef492c
AK
277342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27735
27736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27740 Refreshed.
27741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27747 Refreshed.
27748
d66ef399
DM
277492012-05-27 David S. Miller <davem@davemloft.net>
27750
27751 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27752 (___Q_zero): New.
27753 (__Q_simulate_exceptions): Return void. Change to simulate
27754 exceptions by writing into the %fsr.
27755 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27756 (__Qp_handle_exceptions): Likewise.
27757 (numbers): Delete.
27758 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27759 __Qp_handle_exceptions.
27760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27761 __Qp_handle_exceptions.
27762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27763 as unused and give dummy FP_RND_NEAREST initializer.
27764 (FP_INHIBIT_RESULTS): Define.
27765 (___Q_simulate_exceptions): Update declaration.
27766 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27767 formatting.
27768 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27769 as unused and give dummy FP_RND_NEAREST initializer.
27770 (__Qp_handle_exceptions): Update declaration.
27771 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27772 formatting.
27773
04fb54b5
TS
277742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27775
27776 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27777 the temporary FPU control word.
27778 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27779 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27781 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27782 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27783 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27784 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27785 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27786 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27787 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27788 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27789
3f99608f
KK
277902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27791
27792 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27793 fields.
27794
65a4de4e
CLT
277952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27796
27797 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27798 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27799 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27800 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27801 Likewise.
27802 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27803 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27804 Likewise.
27805
15749d40
UD
278062012-05-27 Ulrich Drepper <drepper@gmail.com>
27807
27808 * po/h.po: Update from translation team.
27809
25dbcb27
AS
278102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27811
3d3f8e55
AS
27812 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27813
25dbcb27
AS
27814 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27815 handling of denormals.
27816 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27817 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27818 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27819 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27823 Likewise.
27824
7ad47a80 278252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27826
27827 [BZ #14152]
27828 * math/libm-test.inc (fma_test): Don't always expect underflow
27829 exception.
27830
9c6ea9fa
SP
278312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27832
27833 [BZ #12416]
27834 * elf/tst-execstack.c: Include stackinfo.h.
27835 (do_test): Adjust test case to ensure that pthread_getattr_np
27836 behaviour remains the same after marking stack executable.
27837
a8239222
JM
278382012-05-25 Joseph Myers <joseph@codesourcery.com>
27839
27840 * sysdeps/unix/sysv/linux/kernel-features.h
27841 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27842 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27843 kernel-features.h.
27844 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27845 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27846 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27847 kernel-features.h.
27848 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27849 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27850
918b5606
L
278512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27852
27853 * configure.in: Define the default includes to being none.
27854 * configure: Regenerated.
27855
3a097cc7
RM
278562012-05-25 Roland McGrath <roland@hack.frob.com>
27857
8422c9a5
RM
27858 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27859 * sysdeps/x86_64/setjmp.S: Likewise.
27860 * sysdeps/i386/bsd-setjmp.S: Likewise.
27861 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27862 * sysdeps/i386/setjmp.S: Likewise.
27863 * sysdeps/i386/__longjmp.S: Likewise.
27864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27865 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27866
3a097cc7
RM
27867 * include/stap-probe.h: New file.
27868 * configure.in: Handle --enable-systemtap.
27869 * configure: Regenerated.
27870 * config.h.in (USE_STAP_PROBE): New #undef.
27871 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27872 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27873 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27874
21708942
JM
278752012-05-25 Joseph Myers <joseph@codesourcery.com>
27876
27877 [BZ #13717]
27878 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27879 to 2.4.0 where earlier.
27880 * sysdeps/unix/sysv/linux/configure: Regenerated.
27881 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27882 <kernel-features.h>.
27883 [__ASSUME_32BITUIDS]: Make code unconditional.
27884 [!__ASSUME_32BITUIDS]: Remove conditional code.
27885 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27886 <kernel-features.h>.
27887 [__ASSUME_32BITUIDS]: Make code unconditional.
27888 [!__ASSUME_32BITUIDS]: Remove conditional code.
27889 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27890 [__ASSUME_32BITUIDS]: Make code unconditional.
27891 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27892 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27893 <kernel-features.h>.
27894 [__ASSUME_32BITUIDS]: Make code unconditional.
27895 [!__ASSUME_32BITUIDS]: Remove conditional code.
27896 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27897 <kernel-features.h>.
27898 [__ASSUME_32BITUIDS]: Make code unconditional.
27899 [!__ASSUME_32BITUIDS]: Remove conditional code.
27900 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27901 <kernel-features.h>.
27902 [__ASSUME_32BITUIDS]: Make code unconditional.
27903 [!__ASSUME_32BITUIDS]: Remove conditional code.
27904 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27905 <kernel-features.h>.
27906 [__ASSUME_32BITUIDS]: Make code unconditional.
27907 [!__ASSUME_32BITUIDS]: Remove conditional code.
27908 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27909 <kernel-features.h>.
27910 [__ASSUME_32BITUIDS]: Make code unconditional.
27911 [!__ASSUME_32BITUIDS]: Remove conditional code.
27912 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27913 <kernel-features.h>.
27914 [__ASSUME_32BITUIDS]: Make code unconditional.
27915 [!__ASSUME_32BITUIDS]: Remove conditional code.
27916 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27917 <kernel-features.h>.
27918 [__ASSUME_32BITUIDS]: Make code unconditional.
27919 [!__ASSUME_32BITUIDS]: Remove conditional code.
27920 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27921 <kernel-features.h>.
27922 [__ASSUME_32BITUIDS]: Make code unconditional.
27923 [!__ASSUME_32BITUIDS]: Remove conditional code.
27924 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27925 <kernel-features.h>.
27926 [__ASSUME_32BITUIDS]: Make code unconditional.
27927 [!__ASSUME_32BITUIDS]: Remove conditional code.
27928 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27929 <kernel-features.h>.
27930 [__ASSUME_32BITUIDS]: Make code unconditional.
27931 [!__ASSUME_32BITUIDS]: Remove conditional code.
27932 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27933 <kernel-features.h>.
27934 [__NR_setresgid] (__setresgid): Do not declare.
27935 [__ASSUME_32BITUIDS]: Make code unconditional.
27936 [!__ASSUME_32BITUIDS]: Remove conditional code.
27937 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27938 <kernel-features.h>.
27939 [__NR_setresuid] (__setresuid): Do not declare.
27940 [__ASSUME_32BITUIDS]: Make code unconditional.
27941 [!__ASSUME_32BITUIDS]: Remove conditional code.
27942 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27943 <kernel-features.h>.
27944 [__ASSUME_32BITUIDS]: Make code unconditional.
27945 [!__ASSUME_32BITUIDS]: Remove conditional code.
27946 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27947 <kernel-features.h>.
27948 [__ASSUME_32BITUIDS]: Make code unconditional.
27949 [!__ASSUME_32BITUIDS]: Remove conditional code.
27950 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27951 <kernel-features.h>.
27952 [__ASSUME_32BITUIDS]: Make code unconditional.
27953 [!__ASSUME_32BITUIDS]: Remove conditional code.
27954 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27955 <kernel-features.h>.
27956 [__ASSUME_32BITUIDS]: Make code unconditional.
27957 [!__ASSUME_32BITUIDS]: Remove conditional code.
27958 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27959 <kernel-features.h>.
27960 [__ASSUME_32BITUIDS]: Make code unconditional.
27961 [!__ASSUME_32BITUIDS]: Remove conditional code.
27962 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27963 <kernel-features.h>.
27964 [__ASSUME_32BITUIDS]: Make code unconditional.
27965 [!__ASSUME_32BITUIDS]: Remove conditional code.
27966 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27967 <kernel-features.h>.
27968 [__ASSUME_32BITUIDS]: Make code unconditional.
27969 [!__ASSUME_32BITUIDS]: Remove conditional code.
27970 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27971 <kernel-features.h>.
27972 [__ASSUME_32BITUIDS]: Make code unconditional.
27973 [!__ASSUME_32BITUIDS]: Remove conditional code.
27974 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27975 <kernel-features.h>.
27976 [__ASSUME_32BITUIDS]: Make code unconditional.
27977 [!__ASSUME_32BITUIDS]: Remove conditional code.
27978 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27979 <kernel-features.h>.
27980 [__ASSUME_32BITUIDS]: Make code unconditional.
27981 [!__ASSUME_32BITUIDS]: Remove conditional code.
27982 * sysdeps/unix/sysv/linux/kernel-features.h
27983 (__ASSUME_SETRESUID_SYSCALL): Remove.
27984 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27985 (__ASSUME_32BITUIDS): Likewise.
27986 (__ASSUME_LDT_WORKS): Likewise.
27987 (__ASSUME_O_DIRECTORY): Likewise.
27988 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27989 architecture but not kernel version.
27990 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27991 (__ASSUME_MMAP2_SYSCALL): Likewise.
27992 (__ASSUME_STAT64_SYSCALL): Likewise.
27993 (__ASSUME_IPC64): Likewise.
27994 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27995 <kernel-features.h>.
27996 [__ASSUME_32BITUIDS]: Make code unconditional.
27997 [!__ASSUME_32BITUIDS]: Remove conditional code.
27998 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27999 <kernel-features.h>.
28000 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28001 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28002 132096]: Remove conditional code.
28003 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28004 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28005 <kernel-features.h>.
28006 [__ASSUME_32BITUIDS]: Make code unconditional.
28007 [!__ASSUME_32BITUIDS]: Remove conditional code.
28008 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28009 <kernel-features.h>.
28010 [__ASSUME_32BITUIDS]: Make code unconditional.
28011 [!__ASSUME_32BITUIDS]: Remove conditional code.
28012 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28013 <kernel-features.h>.
28014 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28015 unconditional.
28016 (__setresgid): Do not declare.
28017 [__ASSUME_32BITUIDS]: Make code unconditional.
28018 [!__ASSUME_32BITUIDS]: Remove conditional code.
28019 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28020 <kernel-features.h>.
28021 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28022 unconditional.
28023 (__setresuid): Do not declare.
28024 [__ASSUME_32BITUIDS]: Make code unconditional.
28025 [!__ASSUME_32BITUIDS]: Remove conditional code.
28026 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28027 <kernel-features.h>.
28028 [__ASSUME_32BITUIDS]: Make code unconditional.
28029 [!__ASSUME_32BITUIDS]: Remove conditional code.
28030 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28031 <kernel-features.h>.
28032 [__ASSUME_32BITUIDS]: Make code unconditional.
28033 [!__ASSUME_32BITUIDS]: Remove conditional code.
28034
a386f1cc
RH
280352012-05-25 Richard Henderson <rth@twiddle.net>
28036
28037 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28038 dl_hwcap to ifunc resolver.
28039 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28040 elf_ifunc_invoke.
28041 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28042 dl_hwcap to ifunc resolver.
28043 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28044
b6550497
JM
280452012-05-24 Joseph Myers <joseph@codesourcery.com>
28046
28047 [BZ #14153]
28048 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28049 for |x| <= 2**-26, not 2**-57.
28050 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28051 exception.
28052
b0bc23a1
JL
280532012-05-24 Jeff Law <law@redhat.com>
28054
28055 * stdio-common/Makefile (tests): Add bug25.
28056 * stdio-common/bug25.c: New test.
28057
347c92e9
L
280582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28059
28060 [BZ #13576]
28061 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28062 multiple of MALLOC_ALIGNMENT in size.
28063 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28064
6bcc8b3f
JM
280652012-05-24 Joseph Myers <joseph@codesourcery.com>
28066
28067 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28068 Require >= 256.
28069 (FILENAME_MAX): Use macro-int-constant.
28070 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28071 (_IOFBF): Use macro-int-constant.
28072 (_IOLBF): Likewise.
28073 (_IONBF): Likewise.
28074 (SEEK_CUR): Likewise.
28075 (SEEK_END): Likewise.
28076 (SEEK_SET): Likewise.
28077 (TMP_MAX): Likewise.
28078 (EOF): Use macro-int-constant. Require < 0.
28079 (NULL): Use macro-constant. Require == 0.
28080 (stdin): Require type to be FILE *.
28081 (stdout): Likewise.
28082 (stderr): Likewise.
28083 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28084 macro-int-constant.
28085 (EXIT_SUCCESS): Likewise.
28086 (NULL): Use macro-constant. Require == 0.
28087 (RAND_MAX): Use macro-int-constant.
28088 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28089 [C99-based standards] (strtof): Require function.
28090 [C99-based standards] (strtold): Likewise.
28091 [C99-based standards] (strtoll): Likewise.
28092 [C99-based standards] (strtoull): Likewise.
28093 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28094 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28095 [ISO || ISO99 || ISO11] (math.h): Likewise.
28096 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28097 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28099
d18ea0c5
AS
281002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28101
28102 [BZ #14132]
56d25bb8
AS
28103 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28104 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28105 * intl/dgettext.c (DCGETTEXT): Likewise.
28106 * intl/gettext.c (DCGETTEXT): Likewise.
28107 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28108 * posix/regex_internal.h (gettext): Likewise.
28109 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28110 Remove declaration.
28111 * include/argz.h (__argz_count_internal)
28112 (__argz_stringify_internal): Remove declaration.
28113 (__argz_count, __argz_stringify): Declare hidden proto.
28114 * intl/dcgettext.c: Remove use of INTDEF.
28115 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28116 * string/argz-stringify.c: Likewise.
28117 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28118 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28119 Declare hidden proto.
d18ea0c5
AS
28120 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28121 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28122 Declare hidden proto.
28123 * include/stdio.h (__asprintf_internal): Don't declare.
28124 (__asprintf): Don't define as macro. Declare hidden proto.
28125 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28126 (__fsetlocking): Declare hidden proto.
28127 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28128 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28129 hidden proto.
28130 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28131 (_IO_setlinebuf): Remove use of INTUSE.
28132 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28133 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28134 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28135 Remove declaration.
28136 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28137 (_IO_do_flush): Remove use of INTUSE.
28138 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28139 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28140 (_IO_adjust_column, _IO_least_wmarker)
28141 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28142 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28143 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28144 (_IO_default_doallocate, _IO_wdefault_doallocate)
28145 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28146 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28147 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28148 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28149 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28150 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28151 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28152 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28153 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28154 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28155 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28156 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28157 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28158 proto.
28159 (_IO_flush_all_internal, _IO_adjust_column_internal)
28160 (_IO_default_uflow_internal, _IO_default_finish_internal)
28161 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28162 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28163 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28164 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28165 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28166 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28167 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28168 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28169 (_IO_file_close_internal, _IO_file_close_it_internal)
28170 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28171 (_IO_file_init_internal, _IO_file_attach_internal)
28172 (_IO_file_fopen_internal, _IO_file_read_internal)
28173 (_IO_file_sync_internal, _IO_file_seek_internal)
28174 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28175 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28176 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28177 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28178 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28179 (_IO_list_all_internal, _IO_link_in_internal)
28180 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28181 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28182 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28183 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28184 (_IO_do_write_internal, _IO_padn_internal)
28185 (_IO_getline_info_internal, _IO_getline_internal)
28186 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28187 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28188 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28189 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28190 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28191 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28192 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28193 with libc_hidden_ver, remove use of INTUSE.
28194 * libio/genops.c: Likewise.
28195 * libio/freopen.c: Likewise.
28196 * libio/freopen64.c: Likewise.
28197 * libio/iofclose.c: Likewise.
28198 * libio/iofdopen.c: Likewise.
28199 * libio/iofflush.c: Likewise.
28200 * libio/iofflush_u.c: Likewise.
28201 * libio/iofgets.c: Likewise.
28202 * libio/iofgets_u.c: Likewise.
28203 * libio/iofopen.c: Likewise.
28204 * libio/iofopncook.c: Likewise.
28205 * libio/iofread.c: Likewise.
28206 * libio/iofread_u.c: Likewise.
28207 * libio/ioftell.c: Likewise.
28208 * libio/iofwrite.c: Likewise.
28209 * libio/iogetline.c: Likewise.
28210 * libio/iogets.c: Likewise.
28211 * libio/iogetwline.c: Likewise.
28212 * libio/iopadn.c: Likewise.
28213 * libio/iopopen.c: Likewise.
28214 * libio/ioseekoff.c: Likewise.
28215 * libio/ioseekpos.c: Likewise.
28216 * libio/iosetbuffer.c: Likewise.
28217 * libio/iosetvbuf.c: Likewise.
28218 * libio/ioungetc.c: Likewise.
28219 * libio/ioungetwc.c: Likewise.
28220 * libio/iovdprintf.c: Likewise.
28221 * libio/iovsprintf.c: Likewise.
28222 * libio/iovsscanf.c: Likewise.
28223 * libio/memstream.c: Likewise.
28224 * libio/obprintf.c: Likewise.
28225 * libio/oldfileops.c: Likewise.
28226 * libio/oldiofclose.c: Likewise.
28227 * libio/oldiofdopen.c: Likewise.
28228 * libio/oldiofopen.c: Likewise.
28229 * libio/oldiopopen.c: Likewise.
28230 * libio/oldstdfiles.c: Likewise.
28231 * libio/putc.c: Likewise.
28232 * libio/setbuf.c: Likewise.
28233 * libio/setlinebuf.c: Likewise.
28234 * libio/stdfiles.c: Likewise.
28235 * libio/strops.c: Likewise.
28236 * libio/vasprintf.c: Likewise.
28237 * libio/vscanf.c: Likewise.
28238 * libio/vsnprintf.c: Likewise.
28239 * libio/vswprintf.c: Likewise.
28240 * libio/wfiledoalloc.c: Likewise.
28241 * libio/wfileops.c: Likewise.
28242 * libio/wgenops.c: Likewise.
28243 * libio/wmemstream.c: Likewise.
28244 * libio/wstrops.c: Likewise.
28245 * libio/__fpurge.c: Likewise.
28246 * libio/__fsetlocking.c: Likewise.
28247 * assert/assert.c: Likewise.
28248 * debug/fgets_chk.c: Likewise.
28249 * debug/fgets_u_chk.c: Likewise.
28250 * debug/fread_chk.c: Likewise.
28251 * debug/fread_u_chk.c: Likewise.
28252 * debug/gets_chk.c: Likewise.
28253 * debug/obprintf_chk.c: Likewise.
28254 * debug/vasprintf_chk.c: Likewise.
28255 * debug/vdprintf_chk.c: Likewise.
28256 * debug/vsnprintf_chk.c: Likewise.
28257 * debug/vsprintf_chk.c: Likewise.
28258 * malloc/mtrace.c: Likewise.
28259 * misc/error.c: Likewise.
28260 * misc/syslog.c: Likewise.
28261 * stdio-common/asprintf.c: Likewise.
28262 * stdio-common/fxprintf.c: Likewise.
28263 * stdio-common/getw.c: Likewise.
28264 * stdio-common/isoc99_fscanf.c: Likewise.
28265 * stdio-common/isoc99_scanf.c: Likewise.
28266 * stdio-common/isoc99_vfscanf.c: Likewise.
28267 * stdio-common/isoc99_vscanf.c: Likewise.
28268 * stdio-common/isoc99_vsscanf.c: Likewise.
28269 * stdio-common/printf-prs.c: Likewise.
28270 * stdio-common/printf_fp.c: Likewise.
28271 * stdio-common/printf_fphex.c: Likewise.
28272 * stdio-common/printf_size.c: Likewise.
28273 * stdio-common/putw.c: Likewise.
28274 * stdio-common/scanf.c: Likewise.
28275 * stdio-common/sprintf.c: Likewise.
28276 * stdio-common/tmpfile.c: Likewise.
28277 * stdio-common/vfprintf.c: Likewise.
28278 * stdio-common/vfscanf.c: Likewise.
28279 * stdlib/strfmon_l.c: Likewise.
28280 * sunrpc/openchild.c: Likewise.
28281 * sunrpc/xdr_stdio.c: Likewise.
28282 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28283 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28284
d6c33fda
RM
282852012-05-24 Roland McGrath <roland@hack.frob.com>
28286
c1487492
RM
28287 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28288
28289 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28290 in the third column, to generate for the shared library an IFUNC
28291 that uses _dl_vdso_vsym.
28292 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28293 * Makeconfig (object-suffixes-noshared): New variable.
28294
28295 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28296 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28297 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28298 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28299
d6c33fda
RM
28300 [BZ #14132]
28301 * include/sys/time.h (__gettimeofday): Remove macro.
28302 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28303 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28304 Remove INTDEF.
28305 (__gettimeofday): Add libc_hidden_def.
28306 (gettimeofday): Add libc_hidden_weak.
28307 * sysdeps/mach/gettimeofday.c: Likewise.
28308 * sysdeps/posix/gettimeofday.c: Likewise.
28309 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28310 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28312 (__gettimeofday_internal): Remove strong_alias.
28313 (__gettimeofday): Add libc_hidden_def.
28314 (gettimeofday): Add libc_hidden_weak.
28315 * sysdeps/unix/syscalls.list (gettimeofday):
28316 Remove __gettimeofday_internal alias.
28317
b5a2bbe6
L
283182012-05-24 Daniel Jacobowitz <drow@false.org>
28319 H.J. Lu <hongjiu.lu@intel.com>
28320
28321 [BZ #12495]
28322 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28323 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28324 (largebin_index_32_big): New.
28325 (largebin_index): Use it for 16-byte alignment.
28326 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28327 correction with front_misalign.
28328
cfba4fda
L
283292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28330
7f907421
L
28331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28333 Likewise.
28334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28335 Likewise.
28336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28337 Likewise.
28338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28339 Likewise.
28340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28343 Likewise.
28344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28345 Likewise.
28346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28347 Likewise.
28348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28349 Likewise.
28350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28351 Likewise.
28352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28353 Likewise.
28354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28355 Likewise.
28356
cfba4fda
L
28357 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28358 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28359
80bad0cc
JM
283602012-05-24 Joseph Myers <joseph@codesourcery.com>
28361
7a25eb06
JM
28362 [BZ #10846]
28363 [BZ #14036]
28364 * math/libm-test.inc (exp_test): Add test from bug 14036.
28365 (pow_test): Add test from bug 10846.
28366
795405f9
JM
28367 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28368 and other flags.
28369 (special_function): Do not include flags in test name.
28370 (parse_args): Likewise.
28371 * sysdeps/i386/fpu/libm-test-ulps: Update.
28372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28373 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28374 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28376
80bad0cc
JM
28377 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28378 exceptions.
28379 * math/libm-test.inc ("Philosophy"): Update comment about
28380 exception testing.
28381 (UNDERFLOW_EXCEPTION): New macro.
28382 (UNDERFLOW_EXCEPTION_OK): Likewise.
28383 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28384 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28385 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28386 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28387 (INVALID_EXCEPTION_OK): Update value.
28388 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28389 (OVERFLOW_EXCEPTION_OK): Likewise.
28390 (IGNORE_ZERO_INF_SIGN): Likewise.
28391 (test_exceptions): Handle underflow exceptions.
28392 (acos_test): Update for underflow exception expectations.
28393 (cexp_test): Likewise.
28394 (clog_test): Likewise.
28395 (clog10_test): Likewise.
28396 (csqrt_test): Likewise.
28397 (ctan_test): Likewise.
28398 (ctanh_test): Likewise.
28399 (exp_test): Likewise.
28400 (exp10_test): Likewise.
28401 (exp2_test): Likewise.
28402 (expm1_test): Likewise.
28403 (fma_test): Likewise.
28404 (j0_test): Likewise.
28405 (jn_test): Likewise.
28406 (nexttoward_test): Likewise.
28407 (pow_test): Likewise.
28408 (scalbn_test): Likewise.
28409 (scalbln_test): Likewise.
28410 (tan_test): Likewise.
28411 (y1_test): Likewise.
28412 * sysdeps/i386/fpu/libm-test-ulps: Update.
28413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28414
9e0e3d0b
DM
284152012-05-23 David S. Miller <davem@davemloft.net>
28416
28417 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28418 (__libc_sigaction): Remove unused local variables.
28419
ccd0a08f
L
284202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28423
62bdf9a6
PE
284242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28425
f8591f80
PE
28426 mktime: avoid signed integer overflow
28427 * time/mktime.c (__mktime_internal): Do not mishandle the case
28428 where diff == INT_MIN.
28429
94c7d826
PE
28430 mktime: simplify computation of average
28431 * time/mktime.c (ranged_convert): Use new time_t_avg function
28432 instead of rolling our own (probably-slower) code.
28433
ce73d683
PE
28434 mktime: do not assume signed right shift propagates sign bit
28435 * time/mktime.c (isdst_differ): New static function.
28436 (__mktime_internal): No need to normalize tm_isdst now.
28437 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28438 tm_isdst values.
28439
72a22e59
PE
28440 mktime: merge another wrapv change from gnulib
28441 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28442 from some compilers.
28443
68605433
PE
28444 mktime: remove incorrect attempt at unusual arithmetics
28445 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28446 The code didn't really work on such machines anyway.
28447 (TYPE_MINIMUM): Assume two's complement.
28448 (twos_complement_arithmetic): Verify that long_int and time_t
28449 are two's complement (or unsigned, in the latter case).
28450
03cf7fe3
PE
28451 mktime: check signed shifts on long_int and time_t, too
28452 * time/mktime.c (SHR): Check that shifts work as desired
28453 on the types long_int and time_t too, as SHR is used on
28454 such types.
28455
f04dfbc2
PE
28456 mktime: do not assume 'long' is wide enough
28457 * time/mktime.c (verify): Move decl up.
28458 (long_int): New type.
28459 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28460 to remove assumption in the code that 'long' is wide enough to
28461 store year values. This assumption is not true on x32 and on
28462 some non-glibc platforms.
28463
62bdf9a6
PE
28464 mktime: merge wrapv change from gnulib
28465 * time/mktime.c (WRAPV): New macro.
28466 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28467 (guess_time_tm, __mktime_internal): Do not assume that signed
28468 integer overflow wraps around; modern compilers generate code
28469 where this assumption is no longer valid.
28470
5e292e4f
L
284712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28474 Replace "jmp L(pseudo_end)" with "ret".
28475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28476 Likewise.
28477
8caf8c87
AJ
284782012-05-23 Andreas Jaeger <aj@suse.de>
28479
28480 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28481 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28482
1a09dc56
AJ
284832012-05-23 Andreas Jaeger <aj@suse.de>
28484 Maximilian Attems <max@stro.at>
28485
28486 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28487 New macros.
28488
1c87aba0
L
284892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28490
28491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28492 code so that pseudo_end is just ret and the stack pointer is
28493 correct also for static library in error case.
28494
40e45bd5
JM
284952012-05-23 Joseph Myers <joseph@codesourcery.com>
28496
c2670533
JM
28497 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28498 move to syscalls.list.
28499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28503
40e45bd5
JM
28504 * manual/install.texi (Running make install): Do not mention Linux
28505 kernel version for which pt_chown is not needed.
28506 (Linux): Do not mention problems with nscd with 2.0 kernels.
28507 * INSTALL: Regenerated.
28508
be08eda5
AJ
285092012-05-23 Andreas Jaeger <aj@suse.de>
28510
28511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28512 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28513 macro.
28514 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28516 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28518 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28520 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28522 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28523 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28524 * sysdeps/unix/sysv/linux/bits/in.h
28525 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28526
a6a056bb
RM
285272012-05-22 Roland McGrath <roland@hack.frob.com>
28528
28529 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28530 (PREPARE_VERSION): Just use assert instead, it will be elided
28531 under [NDEBUG] anyway.
28532
c9009328
L
285332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28534
28535 * sysdeps/unix/sysv/linux/Makefile: Include
28536 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28537 (sysdep_routines): Remove sysctl.
c9009328
L
28538 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28539 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28540 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28541 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28542 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28543
73338355
AJ
285442012-05-22 Andreas Jaeger <aj@suse.de>
28545
28546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28547 that pseudo_end is just ret and the stack pointer is correct also
28548 for static library in error case.
28549
d44638b0
PP
285502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28551
28552 [BZ #14122]
28553 * nss/nsswitch.c (defconfig_entries): New variable.
28554 (__nss_database_lookup): Don't leak defconfig entries.
28555 (nss_parse_service_list): Don't leak on error paths.
28556 (free_database_entries): New function.
28557 (free_defconfig): New function.
28558 (free_mem): Move common code to free_database_entries.
28559
31a39bd8
L
285602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28561
da0331a8
L
28562 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28563 Add arch_prctl.
28564 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28565
31a39bd8
L
28566 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28567 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28569 New macro.
28570 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28571 (INTERNAL_SYSCALL_TYPES): Likewise.
28572 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28573 (LOAD_REGS_TYPES_[1-6]): Likewise.
28574 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28575 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28576
45470df3
AZ
285772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28578
28579 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28580 copysignl for GLIBC_2_0.
28581 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28582 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28584 logbl for GLIBC_2_0.
28585 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28586 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28587
98a61bcb
L
285882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28589
a4f6e481
L
28590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28591 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28592
f63d5db6
L
28593 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28594 Use "neg %eax".
28595
98a61bcb
L
28596 * time/mktime.c: Update copyright years.
28597
95770f14
PE
285982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28599
6226efbd
PE
28600 mktime: merge comment-quoting-style change from gnulib
28601 * time/mktime.c: Quote 'like this' in comments.
28602 The GNU coding standards suggest that we no longer quote `like this',
28603 as "`" and "'" are typically rendered asymmetrically nowadays.
28604 The typical gnulib style is to quote 'like this' when quoting
28605 code, and "like this" when quoting English.
28606
b99e4f78
PE
28607 * time/mktime.c (compile-command): Add "-I.".
28608
643e01e6
PE
28609 mktime: merge mktime-internal.h change from gnulib
28610 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28611
2554247d
PE
28612 mktime: merge time_r change from gnulib
28613 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28614
826dd0ab
PE
28615 mktime: merge DEBUG change from gnulib
28616 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28617 case system <time.h> has a #define.
28618
bd83aabe
PE
28619 mktime: merge <sys/types.h> change from gnulib
28620 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28621 since <time.t> is now guaranteed to define time_t.
28622
95770f14
PE
28623 mktime: merge HAVE_CONFIG_H change from gnulib
28624 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28625
5e1a27a9
L
286262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28627
0e44a77e
L
28628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28629 Use "neg %eax".
28630
5e1a27a9
L
28631 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28632 __rlim_t cast.
28633 (struct rusage): Use anonymous union to pad each field to
28634 __syscall_slong_t.
28635
46259bec
DM
286362012-05-21 David S. Miller <davem@davemloft.net>
28637
28638 * Makefules (o-iterator): Remove .s cases.
28639 (compile-command.s): Delete.
28640 (COMPILE.s): Delete.
28641 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28642
59f0c22e
JM
286432012-05-21 Joseph Myers <joseph@codesourcery.com>
28644
28645 * configure.in (libc_cv_predef_stack_protector): Only consider
28646 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28647 * configure: Regenerated.
28648
20c07380
L
286492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28650
bbb3154b
L
28651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28652 New macro. Use R*LP on int and pointer.
28653 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28654 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28655 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28656 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28657
20c07380
L
28658 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28659 [__WORDSIZE_TIME64_COMPAT32] instead of
28660 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28661 (struct utmp): Likewise.
28662 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28663 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28664 Renamed to ...
28665 (__WORDSIZE_TIME64_COMPAT32): This.
28666 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28667 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28668 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28669 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28670 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28671 (__WORDSIZE_TIME64_COMPAT32): New macro.
28672
d8d1017e
AJ
286732012-05-21 Andreas Jaeger <aj@suse.de>
28674
28675 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28676 only if [SHARED]. Add prototype for __wcschr_ia32.
28677
6c7fb145
RM
286782012-05-21 Roland McGrath <roland@hack.frob.com>
28679
28680 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28681 of %rbp unmolested in the jmp_buf while mangling the low bits.
28682 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28683 unmolested high bits of %rbp while demangling the low bits.
28684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28685
66274218
AJ
286862012-05-21 Andreas Jaeger <aj@suse.de>
28687
07c58f8f
AJ
28688 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28689 * sunrpc/svc_simple.c: Use it for registerrpc.
28690 * sunrpc/xcrypt.c: Use it for passwd2des.
28691
66274218
AJ
28692 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28693
61f65140
L
286942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28695
28696 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28697 Don't define if [__SYSCALL_WORDSIZE != 32].
28698 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28699 New macro.
28700
5fefb436
AJ
287012012-05-21 Bruno Haible <bruno@clisp.org>
28702 Andreas Jaeger <aj@suse.de>
28703
28704 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28705 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28706 inptr and inend for must_buffer_ch.
28707 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28708 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28709 * stdio-common/Makefile (tests): Remove bug15.
28710 (bug15-ENV): Remove macro.
28711 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28712 anymore.
28713
d8e272ab
AJ
287142012-05-19 Andreas Jaeger <aj@suse.de>
28715 Roland McGrath <roland@hack.frob.com>
28716
28717 * manual/contrib.texi: Completely rewritten. It contains now an
28718 alphabetical list of contributors and their contributions.
28719
4a56a162
RH
287202012-05-21 Richard Henderson <rth@twiddle.net>
28721
28722 * misc/getauxval.c (__getauxval): Use unsigned long int.
28723 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28724 (getauxval): Use unsigned long int.
28725
d024d23c
L
287262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28727
28728 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28729
cbc00a03
RM
287302012-05-21 Roland McGrath <roland@hack.frob.com>
28731
28732 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28733 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28734 __alignof__ (long double).
28735
478143fa
AZ
287362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28737
28738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28739
c7683a6d
RH
287402012-05-20 Richard Henderson <rth@twiddle.net>
28741
28742 * misc/getauxval.c: New file.
28743 * misc/sys/auxv.h: New file.
28744 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28745 (routines): Add getauxval.
28746 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28747 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28748 * elf/dl-sysdep.c (_dl_auxv): Remove.
28749 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28750 * elf/dl-support.c (_dl_auxv): New variable.
28751 (_dl_aux_init): Initialize it.
28752 * manual/startup.texi (Auxiliary Vector): New node.
28753 * sysdeps/generic/bits/hwcap.h: New file.
28754 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28755 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28756 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28757 * sysdeps/sparc/sysdep.h: ... here. Include it.
28758 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28761 Update.
c7683a6d
RH
28762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28770
a6f1845d
AZ
287712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28772
28773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28774
cbcbe830
DM
287752012-05-19 David S. Miller <davem@davemloft.net>
28776
28777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28778
e0b16cc2
JM
287792012-05-19 Joseph Myers <joseph@codesourcery.com>
28780
28781 [BZ #14123]
28782 * math/s_ccosh.c: Include <float.h>
28783 (__ccosh): Avoid internal overflow calculating sinh and cosh
28784 values before multiplying by sin and cos values.
28785 * math/s_ccoshf.c: Likewise.
28786 * math/s_ccoshl.c: Likewise.
28787 * math/s_csin.c: Likewise.
28788 * math/s_csinf.c: Likewise.
28789 * math/s_csinl.c: Likewise.
28790 * math/s_csinh.c: Likewise.
28791 * math/s_csinhf.c: Likewise.
28792 * math/s_csinhl.c: Likewise.
28793 * math/libm-test.inc (ccos_test): Add more tests.
28794 (ccosh_test): Likewise.
28795 (csin_test): Likewise.
28796 (csinh_test): Likewise.
28797 * sysdeps/i386/fpu/libm-test-ulps: Update.
28798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28799
6ad13e08
L
288002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28801
f66f0ce8
L
28802 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28803 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28804
6ad13e08
L
28805 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28806
b1d072a7
JM
288072012-05-19 Joseph Myers <joseph@codesourcery.com>
28808
28809 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28810 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28811 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28812 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28813 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28814 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28815 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28816 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28817 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28818 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28819 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28820 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28821 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28822 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28823 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28824 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28825 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28826 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28827 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28828 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28829 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28830 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28831 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28832 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28833 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28834 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28835 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28836 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28837 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28838 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28839 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28840
9eae47cb
AJ
288412012-05-18 Andreas Jaeger <aj@suse.de>
28842
28843 * csu/.gitignore: Delete.
28844
bb07f69f
L
288452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28846
28847 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28848 (timex): Use __syscall_slong_t.
28849
e6bdb741
AJ
288502012-05-18 Andreas Jaeger <aj@suse.de>
28851 Carlos O'Donell <carlos_odonell@mentor.com>
28852
28853 * manual/install.texi (Configuring and compiling): Update
28854 description about files modified in the source directory.
d6c33fda 28855 * INSTALL: Regenerated.
e6bdb741 28856
1b74487e
L
288572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28860 value. Use "or" to set return value to -1.
28861 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28862 negate return value.
28863
a88b64b9
TMQMF
288642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28865
57f41c40
AS
28866 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28867 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28868 failure if the compiler has Graphite support disabled.
28869 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28870 Likewise.
57f41c40
AS
28871 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28872 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28874 Likewise.
28875
3707636e
L
288762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28877
610b8622
L
28878 * sysdeps/x86_64/x32/_itoa.h: New file.
28879
7cd195df
L
28880 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28881 getdents system call only if kernel and user dirents have the
28882 same d_ino and d_off.
28883
94b07d20
L
28884 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28885 LLONG_MAX != LONG_MAX.
28886 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28887 (_fitoa_word): Likewise.
28888
18298070
L
28889 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28890 years.
28891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28894
553c7ea4
L
28895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28896 include <bits/wordsize.h>. Check __x86_64__ instead of
28897 __WORDSIZE.
28898 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28899 if __x86_64__ is defined. Use anonymous union on fpstate.
28900
3707636e
L
28901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28902 anonymous union.
28903
b53ef01a
AS
289042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28905
37fb1dc0
AS
28906 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28907 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28909 Refer to _rtld_local_ro instead of _rtld_global_ro.
28910 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28911 Likewise.
28912 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28913 Likewise.
28914 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28915 Likewise.
28916 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28917 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28918 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28919
b53ef01a
AS
28920 * sysdeps/powerpc/powerpc32/dl-machine.c
28921 (__elf_machine_runtime_setup) [PROF]: Don't reference
28922 _dl_prof_resolve.
28923
7a185db2
AJ
289242012-05-18 Andreas Jaeger <aj@suse.de>
28925
28926 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28927 function only available for GCCs before 3.4 since GCC 3.4
28928 introduced a builtin.
28929 (lrint): Likewise.
28930 (llrintf): Likewise.
28931 (llrint): Likewise.
28932 (fmaxf): Likewise.
28933 (fmax): Likewise.
28934 (fminf): Likewise.
28935 (fmin): Likewise.
28936 (rint): Likewise.
28937 (rintf): Likewise.
28938 (nearbyint): Likewise.
28939 (nearbyintf): Likewise.
28940 (ceil): Likewise.
28941 (ceilf): Likewise.
28942 (floor): Likewise.
28943 (floorf): Likewise.
28944
3e5aef87
L
289452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28946
428bd707
L
28947 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28948 on both fields and cast pointer to __syscall_ulong_t.
28949
3e5aef87
L
28950 * bits/types.h (__fsword_t): New type.
28951 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28952 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28954 (__FSWORD_T_TYPE): Likewise.
28955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28956 (__FSWORD_T_TYPE): Likewise.
28957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28958 (__FSWORD_T_TYPE): Likewise.
28959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28960 (__FSWORD_T_TYPE): Likewise.
28961 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28962 __SWORD_TYPE with __fsword_t.
28963 (statfs64): Likewise.
28964
1ba7c3dc
DM
289652012-05-17 David S. Miller <davem@davemloft.net>
28966
28967 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28968
59910343
AJ
289692012-05-17 Andreas Jaeger <aj@suse.de>
28970
28971 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28972 warning.
28973
2e4c1e9e
L
289742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28977
de7f5ce7
AJ
289782012-05-17 Andreas Jaeger <aj@suse.de>
28979
28980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28981 when it is used.
28982
286abc3d
CM
289832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28984
28985 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28986
477cc68e
L
289872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28988
28989 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28990 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28991
1a0994f5
CD
289922012-05-17 Andreas Jaeger <aj@suse.de>
28993 Carlos O'Donell <carlos_odonell@mentor.com>
28994
28995 [BZ #14059]
28996 * sysdeps/x86_64/multiarch/init-arch.h
28997 (bit_YMM_Usable): Rename to...
28998 (bit_AVX_Usable): ... this.
28999 (bit_FMA4_Usable): New macro.
29000 (bit_XMM_state): New macro.
29001 (bit_YMM_state): New macro.
29002 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29003 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29004 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29005 (CPUID_OSXSAVE): New macro.
29006 (CPUID_AVX): New macro.
29007 (CPUID_FMA4): New macro.
29008 (index_YMM_Usable): Rename to...
29009 (index_AVX_Usable): ... this.
29010 (HAS_AVX): Use HAS_ARCH_FEATURE.
29011 (HAS_FMA4): Likewise.
29012 (HAS_YMM_USABLE): Remove.
29013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29014 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29015 are present.
29016 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29017 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29018 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29019 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29020 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29021
0af797de
CM
290222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29023
29024 * math/libm-test.c: Support platforms without multiple rounding modes.
29025 * math/bug-nextafter.c: Support platforms without FP exceptions.
29026 * math/bug-nexttoward.c: Likewise.
29027 * math/test-fenv.c: Likewise.
29028 * math/test-misc.c: Likewise.
29029 * stdlib/bug-getcontext.c: Likewise.
29030
e39745ff
AJ
290312012-05-17 Andreas Jaeger <aj@suse.de>
29032
29033 * manual/examples/search.c (critter_cmp): Change signature to
29034 avoid warnings.
29035 * manual/string.texi (Collation Functions): Likewise.
29036
48970aba
L
290372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29038
29039 * bits/types.h: Fold copyright years.
29040 * bits/typesizes.h: Likewise.
29041 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29045 * time/time.h: Likewise.
29046
bedee953
PP
290472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29048
29049 [BZ #208]
29050 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29051 in instead of returning them. Return void.
29052 (__libc_mallinfo): Accumulate over all arenas.
29053 (__malloc_stats): Adjust for change in int_mallinfo interface.
29054
61653dfb
RM
290552012-05-16 Roland McGrath <roland@hack.frob.com>
29056
30b99d79
RM
29057 [BZ #10375]
29058 * configure.in (NM): Add AC_CHECK_TOOL for it.
29059 (libc_extra_cflags): New substituted variable.
29060 Check for -fstack-protector being used implicitly.
29061 * configure: Regenerated.
29062 * config.make.in (config-extra-cflags): New variable,
29063 gets @libc_extra_cflags@.
29064 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29065
61653dfb
RM
29066 [BZ #10375]
29067 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29068 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29069 * configure: Regenerated.
29070 * config.make.in (CPPUNDEFS): New substituted variable.
29071 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29072 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29073 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29074
661768bb
L
290752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29076
29077 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29078 (mq_attr): Use __syscall_slong_t.
29079
d4261567
L
290802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29081
29082 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29083 Check __x86_64__ instead of __WORDSIZE.
29084 (_STAT_VER_LINUX): Likewise.
29085 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29086 __syscall_ulong_t and __syscall_slong_t.
29087 (stat64): Likewise.
29088
cf3ff365
L
290892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29090
29091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29092
76cf3e4d
L
290932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29094
29095 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29096
a637753a
L
290972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29100 __syscall_ulong_t.
29101
d5e05119
L
29102 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29103 include <bits/wordsize.h>. Check __x86_64__ instead of
29104 __WORDSIZE.
29105 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29106 defined.
29107 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29108
f62ee380
L
29109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29110 include <bits/wordsize.h>. Check __x86_64__ instead of
29111 __WORDSIZE.
29112 (user_regs_struct): Use "__extension__ unsigned long long"
29113 instead of "unsigned long" if __x86_64__ is defined.
29114 (user): Likewise. Pad after pointer field if __ILP32__ is
29115 defined.
29116
4e124ced
JM
291172012-05-16 Joseph Myers <joseph@codesourcery.com>
29118
6a3951a0
JM
29119 * configure.in (makeinfo): Require version 4.5 or later. Allow
29120 versions 5 to 9.
29121 * configure: Regenerated.
29122 * manual/install.texi (texinfo): Increase version requirement to
29123 4.5 or later.
29124 * INSTALL: Regenerated.
29125
4e124ced
JM
29126 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29127
953ca31a
L
291282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29129
29130 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29131
617aca05
L
29132 * sysdeps/x86_64/x32/ffs.c: New file.
29133
5762f7ae
L
29134 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29135 __syscall_ulong_t.
29136 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29137 defined. Use __syscall_ulong_t.
29138 (shminfo): Use __syscall_ulong_t.
29139 (shm_info): Likewise.
29140
a26b6856
L
29141 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29142 __syscall_ulong_t.
29143
cb2b9ef7
L
29144 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29145 <bits/wordsize.h>.
29146 (msgqnum_t): Use __syscall_ulong_t.
29147 (msglen_t): Likewise.
29148 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29149 __syscall_ulong_t.
29150
34683bb0
L
29151 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29152 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29153
84a68786
L
29154 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29155
48baa5f1
L
29156 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29157 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29158
180be88b
L
29159 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29160 __syscall_slong_t.
29161
5e90c8ad
L
29162 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29163 include <bits/wordsize.h>. Check __x86_64__ instead of
29164 __WORDSIZE.
29165
23dfb58b
L
29166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29167 "unsigned long long int" if __x86_64__ is defined.
29168 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29169
ce5d54b0
L
29170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29171 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29172 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29173
13dc9eac
L
29174 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29175 <stdint.h>.
29176 (GET_PC): Cast to uintptr_t first.
29177 (GET_FRAME): Likewise.
29178 (GET_STACK): Likewise.
29179
a7895d15
L
29180 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29181 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29182 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29183 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29184 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29185 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29186 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29187 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29188 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29189 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29190 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29192 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29193 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29194 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29195 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29196 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29209
656416c9
AS
292102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29211
5bd66283
AS
29212 * Makerules (+depfiles): Also collect depfiles from .oS in
29213 $(extra-objs).
29214 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29215 .oS, $(libnldbl-routines)).
29216
656416c9
AS
29217 * Makerules (native-compile-mkdep-flags): Define.
29218 * sunrpc/Makefile (extra-objs): Add $(addprefix
29219 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29220 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29221 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29222 calling $(make-target-directory).
29223
a46f2169
L
292242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29225
29226 * bits/types.h (__snseconds_t): Removed.
29227 * time/time.h (struct timespec): Replace __snseconds_t with
29228 __syscall_slong_t.
29229 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29230 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29231 Likewise.
29232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29233 (__SNSECONDS_T_TYPE): Likewise.
29234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29235 (__SNSECONDS_T_TYPE): Likewise.
29236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29237 (__SNSECONDS_T_TYPE): Likewise.
29238
6af6528b
L
292392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29240
29241 * sysdeps/mach/hurd/bits/typesizes.h
29242 (__SYSCALL_SLONG_TYPE): New macro.
29243 (__SYSCALL_ULONG_TYPE): Likewise.
29244
de986b56
L
292452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29246
29247 * bits/types.h (__syscall_slong_t): New type.
29248 (__syscall_ulong_t): Likewise.
29249
29250 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29251 (__SYSCALL_ULONG_TYPE): Likewise.
29252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29253 (__SYSCALL_SLONG_TYPE): Likewise.
29254 (__SYSCALL_ULONG_TYPE): Likewise.
29255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29256 (__SYSCALL_SLONG_TYPE): Likewise.
29257 (__SYSCALL_ULONG_TYPE): Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29259 (__SYSCALL_SLONG_TYPE): Likewise.
29260 (__SYSCALL_ULONG_TYPE): Likewise.
29261
85736dc7
L
292622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29263
29264 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29265 Add sigaltstack-offsets.sym.
29266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29267 <sigaltstack-offsets.h>.
29268 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29269 longjmp_msg pointer.
29270 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29271 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29272 signal stack.
29273 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29274
cc03b296
JM
292752012-05-15 Joseph Myers <joseph@codesourcery.com>
29276
a9538892
JM
29277 * elf/stackguard-macros.h: Remove file.
29278 * sysdeps/generic/stackguard-macros.h: New file.
29279 * sysdeps/i386/stackguard-macros.h: Likewise.
29280 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29281 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29282 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29283 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29284 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29285 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29286 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29287 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29288 <elf/stackguard-macros.h>.
29289
cc03b296
JM
29290 [BZ #14109]
29291 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29292 __aligned__ in attribute.
29293 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29294 (gregset_t): Likewise.
29295
93171016
L
292962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29297
29298 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29299 * sysdeps/x86_64/64/Implies-after: Here. New file.
29300 * sysdeps/x86_64/x32/Implies-after: New file.
29301
d86813a0
L
293022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29303
29304 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29305 and access return value for _dl_profile_fixup. Use R10_LP to
29306 load frame size.
29307
2953ec75
L
293082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29309
29310 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29311
3b550e9e
L
293122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29313
29314 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29315 * sysdeps/x86_64/x32/sysdep.h: New file.
29316
eda41706
L
293172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29318
29319 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29320 * sysdeps/x86_64/setjmp.S: Likewise.
29321
9ea01d93
AZ
293222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29323
29324 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29325 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29326 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29327 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29328 remove unused global constant.
29329
02a91938
CM
293302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29331
29332 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29333 include of <not-cancel.h>.
29334
6540185f
RM
293352012-05-15 Roland McGrath <roland@hack.frob.com>
29336
29337 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29338
509072a0
AJ
293392012-05-15 Jeff Law <law@redhat.com>
29340 Andreas Jaeger <aj@suse.de>
29341
29342 [BZ #13594]
29343 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29344 out from...
29345 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29346 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29347 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29348 code changing __hst_map_handle.map.
29349
ba75122d
RM
293502012-05-15 Roland McGrath <roland@hack.frob.com>
29351
29352 * configure.in (sysnames): Look for Implies-before and Implies-after
29353 files.
29354 * configure: Regenerated.
29355
890d8bd8
L
293562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29357
29358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29359 8-byte data alignment with LP_SIZE alignment.
29360
f6ee6623
L
293612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29362
29363 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29364 into R10_LP.
29365
ea2626f6
L
293662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29367
29368 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29369
085f715e
L
293702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29371
29372 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29373 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29374 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29375 Likewise.
29376 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29377
be8498fc
L
293782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29379
29380 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29381 (stackinfo_sub_sp): Likewise.
29382
70bc83b9
L
293832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29384
29385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29386 RAX_LP.
29387
9bc0b730
L
293882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29391 into R*_LP.
29392
6d2850e7
L
293932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29394
29395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29396 sizes into R*_LP.
29397
3cb84561
L
293982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29399
29400 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29401
54e2ed81
L
294022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29403
29404 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29405 into R11_LP and load __x86_64_shared_cache_size_half into
29406 R8_LP.
29407
8a17f349
L
294082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29409
29410 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29411 R8_LP.
29412
777b1eea
AZ
294132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29414
29415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29416 logb for POWER7.
29417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29418 logbf for POWER7.
29419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29420 logbl for POWER7.
29421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29422 powerpc32/power7/fpu/s_logb.c via #include.
29423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29424 powerpc32/power7/fpu/s_logbf.c via #include.
29425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29426 powerpc32/power7/fpu/s_logbl.c via #include.
29427
d20d4ac2
JM
294282012-05-15 Joseph Myers <joseph@codesourcery.com>
29429
29430 * README.libm: Remove file.
29431
6cdef1ab
L
294322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29433
29434 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29435 count for x32. Use R*_LP and omit operand-size suffix.
29436
0b254d8f
L
294372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29438
29439 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29440 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29441 * sysdeps/x86_64/x32/shlib-versions: New file.
29442
ceb809dc
RM
294432012-05-14 Roland McGrath <roland@hack.frob.com>
29444
29445 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29446 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29447 Use _dl_fatal_printf instead.
29448
37f1abd4
JM
294492012-05-14 Joseph Myers <joseph@codesourcery.com>
29450
29451 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29452 set if not set by the user. Do not allow for being unset.
29453 * sysdeps/unix/sysv/linux/configure: Regenerated.
29454
11de3a33
L
294552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29456
29457 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29458 the `q' suffix from lea and replace .quad with ASM_ADDR.
29459
e02f153a
L
294602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29461
29462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29463 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29464 instead of $17.
29465 (PTR_DEMANGLE): Likewise.
29466
520ae0fd
L
294672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29468
29469 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29470 (LP_OP): Likewise.
29471 (ASM_ADDR): Likewise.
29472 (RAX_LP): Likewise.
29473 (RBP_LP): Likewise.
29474 (RBX_LP): Likewise.
29475 (RCX_LP): Likewise.
29476 (RDI_LP): Likewise.
29477 (RSI_LP): Likewise.
29478 (RSP_LP): Likewise.
29479 (R8_LP): Likewise.
29480 (R9_LP): Likewise.
29481 (R10_LP): Likewise.
29482 (R10_LP): Likewise.
29483 (R11_LP): Likewise.
29484 (R12_LP): Likewise.
29485 (R13_LP): Likewise.
29486 (R14_LP): Likewise.
29487 (R15_LP): Likewise.
29488
b985be81
L
294892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29490
29491 * sysdeps/x86_64/x32/dl-machine.h: New file.
29492
6a4888ff
AJ
294932012-05-14 Andreas Jaeger <aj@suse.de>
29494
29495 * manual/Makefile (subdir): Remove export of subdir.
29496 (all): Remove target.
29497 (.PHONY): Remove all from list.
29498 (mkinstalldirs): Remove.
29499 (.PHONY): Remove installdirs from list.
29500 ($(inst_infodir)/libc.info): Use make-target-directory.
29501 (installdirs): Remove.
29502 (subdir_%): Remove.
29503 (glibc-targets): Remove.
29504 (lib): Remove.
29505 (stubs): Remove.
29506 ($(objpfx)stubs ../po/manual.pot): Remove.
29507 ($(objpfx)stamp%): Remove.
29508 (make-target-directory): Remove.
29509 (subdir_install): Remove.
29510 (routines): Remove.
29511 (aux): Remove.
29512 (sources): Remove.
29513 (objects): Remove.
29514 (headers): Remove.
29515
29516 [BZ #13750]
29517 * manual/.gitignore: Remove, it's not needed anymore.
29518 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29519 all files in it.
29520 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29521 directory.
29522 (texis): Renamed to $(objpfx)texis.
29523 (texis-path): New, contains path to generated files.
29524 (chapters.%): Use texis-path for complete path, add extra argument
29525 libc-texinfo.sh.
29526 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29527 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29528 (summary,texi, stamp-summary): Use complete path of
29529 files. Generate files in build dir.
29530 (dir-add.texi): Build in build dir.
29531 (libm-err.texi,stamp-libm-err): Likewise.
29532 (version.texi, stamp-version): Likewise.
29533 (.%c.texi): Likewise.
29534 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29535 (mostlyclean): Remove target.
29536 (realclean): Remove target.
29537 (generated): Add new variable with contents from mostlyclean and
29538 realclean, remove entries duplicated in common-mostlyclean, add
29539 stamp-libm-err and stamp-version.
29540 (generated-dirs): Add libc directory.
29541 ($(inst_infodir)/libc.info): Install files from build dir.
29542
29543 * manual/install.texi (Configuring and compiling): Adjust since
29544 the info files are not part of the tar ball anymore.
29545
7ac77294
AJ
295462012-05-14 Andreas Jaeger <aj@suse.de>
29547
29548 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29549 variable.
29550
ffb7875d
JM
295512012-05-14 Joseph Myers <joseph@codesourcery.com>
29552
29553 [BZ #13717]
29554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29555 to 2.2.0 where earlier.
29556 * sysdeps/unix/sysv/linux/configure: Regenerated.
29557 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29558 Remove conditional code.
29559 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29560 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29561 Remove conditional code.
29562 [!__NR_lchown]: Likewise.
29563 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29564 [__NR_lchown]: Likewise.
29565 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29566 comment referencing __ASSUME_LCHOWN_SYSCALL.
29567 * sysdeps/unix/sysv/linux/i386/sigaction.c
29568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29570 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29571 Remove conditional code.
29572 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29573 (__protocol_available): Remove #if 0 code.
29574 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29575 conditional code.
29576 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29577 * sysdeps/unix/sysv/linux/kernel-features.h
29578 (__ASSUME_GETCWD_SYSCALL): Don't define.
29579 (__ASSUME_REALTIME_SIGNALS): Likewise.
29580 (__ASSUME_PREAD_SYSCALL): Likewise.
29581 (__ASSUME_PWRITE_SYSCALL): Likewise.
29582 (__ASSUME_POLL_SYSCALL): Likewise.
29583 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29584 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29585 non-SPARC.
29586 (__ASSUME_SIOCGIFNAME): Don't define.
29587 (__ASSUME_MSG_NOSIGNAL): Likewise.
29588 (__ASSUME_SENDFILE): Define unconditionally.
29589 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29590 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29591 conditional code.
29592 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29593 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29594 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29595 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29596 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29597 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29598 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29600 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29603 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29606 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29609 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29610 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29615 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29616 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29621 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29622 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29623 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29624 Remove conditional code.
29625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29626 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29627 Remove conditional code.
29628 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29629 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29630 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29631 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29632 Remove conditional code.
29633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29634 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29635 Remove conditional code.
29636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29637 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29638 Remove conditional code.
29639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29640 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29641 Remove conditional code.
29642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29643 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29644 Remove conditional code.
29645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29646 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29647 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29649 * sysdeps/unix/sysv/linux/sigaction.c
29650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29652 * sysdeps/unix/sysv/linux/sigpending.c
29653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29655 * sysdeps/unix/sysv/linux/sigprocmask.c
29656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29658 * sysdeps/unix/sysv/linux/sigsuspend.c
29659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29661 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29662 (__libc_missing_rt_sigs): Remove.
29663 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29664 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29665 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29666 Remove conditional code.
29667 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29668 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29669 return 1.
29670 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29671 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29672 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29673 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29674
1bfb7291
AJ
296752012-05-14 Andreas Jaeger <aj@suse.de>
29676
caae5a81
AJ
29677 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29678 it's not used in glibc.
29679 (__coshm1): Likewise.
29680 (__acosh1p): Likewise.
29681 (__sgn): Likewise.
29682
1bfb7291
AJ
29683 * manual/string.texi (Copying and Concatenation): Add missing
29684 variable in concat example.
29685 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29686
c044d724
L
296872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29688
144c5467 29689 [BZ #14103]
c044d724
L
29690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29691 __builtin_clzl with __builtin_clzll.
29692
2523c62b
L
296932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29694
29695 [BZ #14104]
29696 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29697 libc_freeres_ptr.
29698
d7bb4c42
LD
296992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29700
29701 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29702 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29703 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29704 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29705
9dc4e1fb
MF
297062012-05-14 Mike Frysinger <vapier@gentoo.org>
29707
29708 * NEWS: Update ia64 info.
29709
c7df0112
AS
297102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29711
29712 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29713 used as bcopy.
29714
dc70356c
TS
297152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29716
29717 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29718 * sysdeps/unix/syscalls.list (dup3): Likewise.
29719 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29720 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29721
9fb1a21f
L
297222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29723
29724 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29725 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29726
4822a2a5
L
297272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29728
29729 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29730 thread pointer.
29731 (TLS_IE): Use mov/add instead of movq/addq to load thread
29732 pointer.
29733 (TLS_GD_PREFIX): New.
29734 (TLS_GD): Use it.
29735
842b81d6
DM
297362012-05-11 David S. Miller <davem@davemloft.net>
29737
29738 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29739 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29740 (_FPU_SETCW): Likewise.
29741
1cf463cd
L
297422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29745 is 32-byte aligned.
29746
60cc4a18
AS
297472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29748
29749 [BZ #11837]
29750 * iconvdata/gb18030.c: Update tables.
29751 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29752 characters specially.
29753 (BODY for TO_LOOP): Add encoding of missing ranges.
29754
febb44a4
TS
297552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29756
29757 [BZ #13673]
29758 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29759 * sysdeps/mach/hurd/dup3.c: Likewise.
29760 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29761 * sysdeps/powerpc/memmove.c:: Likewise.
29762
0a10fb9e
L
297632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29766 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29767
df8a552f
L
297682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29769
29770 * elf/elf.h (R_X86_64_RELATIVE64): New.
29771 (R_X86_64_NUM): Updated.
29772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29773 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29774 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29775 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29776 tst-quad1pie tst-quad2pie
29777 (modules-names): Add tst-quadmod1 tst-quadmod2.
29778 ($(objpfx)tst-quad1): New dependency.
29779 ($(objpfx)tst-quad2): Likewise.
29780 ($(objpfx)tst-quad1pie): Likewise.
29781 ($(objpfx)tst-quad2pie): Likewise.
29782 * sysdeps/x86_64/tst-quad1.c: New file.
29783 * sysdeps/x86_64/tst-quad1pie.c: New file.
29784 * sysdeps/x86_64/tst-quad2.c: Likewise.
29785 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29786 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29787 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29788 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29789 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29790
f34d6f84
ST
297912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29792
f42d41d1
ST
29793 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29794 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29795 * streams/stropts.h (t_scalar_t): Define type.
29796
3c3571fc
ST
29797 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29798 (_PATH_PRESERVE): Set to "/var/lib".
29799 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29800
61f06bd3
ST
29801 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29802 instead of int.
29803
918d4d71
ST
29804 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29805 if __dir_mkfile succeeded.
29806
f34d6f84
ST
29807 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29808 checking for _hurd_dtablesize. Unlock it right after having
29809 finished _hurd_dtable allocation.
29810
10589b4a
TS
298112012-05-10 Thomas Schwinge <thomas@schwinge.name>
29812
674cdbc7
TS
29813 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29814 * sysdeps/mach/hurd/configure: Regenerated.
29815 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29816 special-casing to...
29817 * sysdeps/gnu/configure.in: ... this new file.
29818 * sysdeps/unix/sysv/linux/configure: Regenerated.
29819 * sysdeps/gnu/configure: New generated file.
29820
8e41b99f
TS
29821 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29822 for Linux: use nsec instead of usec, as well as:
29823 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29824 members of type struct timespec.
29825 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29826 New macros.
29827 (struct stat64): Likewise.
29828 (_STATBUF_ST_NSEC): New macro.
29829 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29830
10589b4a
TS
29831 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29832 __strtoul_internal rather than strtoul.
29833
63643c85
PT
298342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29835
29836 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29837 and reject them.
29838
3faebe6a
ST
298392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29840
29841 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29842 which preserves existing values.
29843 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29844
c6474b07
PT
298452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29846
29847 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29848 TIMEOUT values. Return EINVAL for NFDS values either negative or
29849 greater than FD_SETSIZE.
29850
1043890b
ST
298512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29852
29853 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29854 allocated, call __vm_protect to finish enabling the existing space, and
29855 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29856 allocate the remainder.
29857
37ed8b9b
PT
298582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29859
29860 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29861 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29862
db653660
ST
298632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29864
37ed8b9b
PT
29865 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29866 sysdeps/mach/hurd/readlink.c.
b29d4053 29867
db653660
ST
29868 * posix/tst-sysconf.c (posix_options): Only use
29869 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29870 _POSIX_SYNCHRONIZED_IO when they are defined
29871 * sysdeps/mach/hurd/bits/posix_opt.h:
29872 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29873 (_XOPEN_REALTIME): Undefine macro.
29874 (_XOPEN_REALTIME_THREADS): Undefine macro.
29875 (_XOPEN_SHM): Undefine macro.
29876 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29877 macro to -1.
29878 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29879 macro to -1.
29880 (_POSIX_ASYNC_IO): Undefine macro.
29881 (_POSIX_PRIORITIZED_IO): Undefine macro.
29882 (_POSIX_SPIN_LOCKS): Define macro to -1.
29883
ee16e894
ST
29884 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29885 SA_NODEFER, SA_RESETHAND.
29886 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29887 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29888 F_DUPFD_CLOEXEC.
29889
6103ae3b
TS
298902012-05-10 Thomas Schwinge <thomas@schwinge.name>
29891
29892 * elf/Makefile (pldd-modules): Define unconditionally.
29893
80b4e5f3
TS
298942012-05-10 Thomas Schwinge <thomas@schwinge.name>
29895
29896 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29897
edadcbd6
ST
298982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29899
29900 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29901 Return ENOENT when name is empty.
29902 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29903
80694780
TS
299042012-05-10 Thomas Schwinge <thomas@schwinge.name>
29905
1792c087
TS
29906 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29907
80694780
TS
29908 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29909
6b645f0d
ST
299102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29911
80694780
TS
29912 Fix mlock in all cases except non-readable pages.
29913 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29914 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29915
6b645f0d
ST
29916 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29917 (__mkdir): When path is `/', just fail with EEXIST.
29918 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29919
e468f8a3
TS
299202012-05-10 Thomas Schwinge <thomas@schwinge.name>
29921
29922 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29923 <sys/uio.h> (for writev).
29924 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29925 and <sys/param.h> (for MIN).
29926
a4186cff
PT
299272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29928
29929 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29930 REQUESTED_TIME. Properly set the remaining time and return EINTR
29931 if interrupted.
29932
510bbf14
TS
299332012-05-10 Thomas Schwinge <thomas@schwinge.name>
29934
29935 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29936 Depend on against $(link-rpcuserlibs).
29937
5d5722e8
ST
299382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29939
a4186cff
PT
29940 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29941 (__libc_stack_end): Do not use attribute_relro.
29942 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29943 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29944 to libthread-provided value.
a4186cff
PT
29945 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29946 attribute_relro.
5d5722e8 29947
37233df9
TS
299482012-05-10 Thomas Schwinge <thomas@schwinge.name>
29949
be971a2b
TS
29950 [BZ #3748]
29951 * bits/libc-lock.h (__libc_once_get): New macro.
29952 * sysdeps/mach/bits/libc-lock.h: Likewise.
29953 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29954 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29955 instead of using implementation details.
29956
37233df9
TS
29957 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29958 * libio/freopen.c: Likewise.
29959 * libio/freopen64.c: Likewise.
29960 * misc/syslog.c: Likewise.
29961 * nscd/connections.c: Likewise.
29962 * nscd/netgroupcache.c: Likewise.
29963 * sysdeps/posix/getcwd.c: Likewise.
29964
38de94a5
RM
299652012-05-10 Roland McGrath <roland@hack.frob.com>
29966
29967 * math/w_ilogbf.c: Add #include <limits.h>.
29968
67530489
ST
299692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29970
a4186cff 29971 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29972 path instead of returning without unlocking.
29973
67530489
ST
29974 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29975 immediate-write ioctls.
29976 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29977
5aa3a74a
TS
299782012-05-10 Thomas Schwinge <thomas@schwinge.name>
29979
18bad2ae
TS
29980 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29981 __builtin_frame_address instead of making assumptions about the
29982 location of the return address relative to DATA. Force early load of
29983 the return address.
29984 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29985 __builtin_frame_address.
29986
5aa3a74a
TS
29987 dup3 for GNU Hurd.
29988 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29989 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29990 implement dup3 and do some further code clean-ups.
29991 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29992 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29993
ecd0de9a
ST
299942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29995
cd9fa985
ST
29996 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29997
a4186cff
PT
29998 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29999 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30000 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30001 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30002 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30003 d->port.lock.
802ca5a5 30004
a4186cff
PT
30005 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30006 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30007 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30008
bcf55240
TS
300092012-05-10 Thomas Schwinge <thomas@schwinge.name>
30010
6960eb42
TS
30011 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30012 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30013 definitions.
30014
eb43375f
TS
30015 accept4 for GNU Hurd.
30016 * include/sys/socket.h (__libc_accept4): New prototype.
30017 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30018 to implement __libc_accept4.
30019 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30020 __libc_accept4.
30021 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30022
bcf55240
TS
30023 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30024 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30025 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30026 signal-defines.sym.
30027
6178c55b
ST
300282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30029
a4186cff 30030 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30031
6f080c2f
TS
300322012-05-10 Thomas Schwinge <thomas@schwinge.name>
30033
30034 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30035 assertion on O_CLOEXEC flag.
30036 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30037 * hurd/intern-fd.c: Likewise.
30038 * hurd/port2fd.c: Likewise.
30039
bcfe3a54
ST
300402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30041
30042 [BZ #3906]
30043 * bits/in.h (IPV6_PKTINFO): Define new macro.
30044 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30045
89c9aa49
AZ
300462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30047
30048 [BZ #13954]
30049 [BZ #13955]
30050 [BZ #13956]
30051 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30053 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30054 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30056 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30057 * math/libm-test.inc (logb_test) : Additional logb tests.
30058
021db4be
AJ
300592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30060 Andreas Jaeger <aj@suse.de>
30061
30062 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30063 * configure: Regenerated.
30064 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30065 * config.make.in (link-obsolete-rpc): New substituted variable.
30066 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30067 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30068 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30069 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30070 so that libc.a contains the symbols.
30071 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30072 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30073 * sunrpc/auth_none.c: Likewise.
30074 * sunrpc/auth_unix.c: Likewise.
30075 * sunrpc/authdes_prot.c: Likewise.
30076 * sunrpc/authuxprot.c: Likewise.
30077 * sunrpc/clnt_gen.c: Likewise.
30078 * sunrpc/clnt_perr.c: Likewise.
30079 * sunrpc/clnt_raw.c: Likewise.
30080 * sunrpc/clnt_simp.c: Likewise.
30081 * sunrpc/clnt_tcp.c: Likewise.
30082 * sunrpc/clnt_udp.c: Likewise.
30083 * sunrpc/clnt_unix.c: Likewise.
30084 * sunrpc/des_crypt.c: Likewise.
30085 * sunrpc/des_soft.c: Likewise.
30086 * sunrpc/get_myaddr.c: Likewise.
30087 * sunrpc/key_call.c: Likewise.
30088 * sunrpc/key_prot.c: Likewise.
30089 * sunrpc/netname.c: Likewise.
30090 * sunrpc/pm_getmaps.c: Likewise.
30091 * sunrpc/pm_getport.c: Likewise.
30092 * sunrpc/pmap_clnt.c: Likewise.
30093 * sunrpc/pmap_prot.c: Likewise.
30094 * sunrpc/pmap_prot2.c: Likewise.
30095 * sunrpc/pmap_rmt.c: Likewise.
30096 * sunrpc/publickey.c: Likewise.
30097 * sunrpc/rpc_cmsg.c: Likewise.
30098 * sunrpc/rpc_common.c: Likewise.
30099 * sunrpc/rpc_dtable.c: Likewise.
30100 * sunrpc/rpc_prot.c: Likewise.
30101 * sunrpc/rpc_thread.c: Likewise.
30102 * sunrpc/rtime.c: Likewise.
30103 * sunrpc/svc.c: Likewise.
30104 * sunrpc/svc_auth.c: Likewise.
30105 * sunrpc/svc_raw.c: Likewise.
30106 * sunrpc/svc_run.c: Likewise.
30107 * sunrpc/svc_tcp.c: Likewise.
30108 * sunrpc/svc_udp.c: Likewise.
30109 * sunrpc/svc_unix.c: Likewise.
30110 * sunrpc/svcauth_des.c: Likewise.
30111 * sunrpc/xcrypt.c: Likewise.
30112 * sunrpc/xdr.c: Likewise.
30113 * sunrpc/xdr_array.c: Likewise.
30114 * sunrpc/xdr_float.c: Likewise.
30115 * sunrpc/xdr_intXX_t.c: Likewise.
30116 * sunrpc/xdr_mem.c: Likewise.
30117 * sunrpc/xdr_rec.c: Likewise.
30118 * sunrpc/xdr_ref.c: Likewise.
30119 * sunrpc/xdr_sizeof.c: Likewise.
30120 * sunrpc/xdr_stdio.c: Likewise.
30121
b5c086a2
RM
301222012-05-10 Roland McGrath <roland@hack.frob.com>
30123
30124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30125 change. Update copyright years.
30126
6d74dd09
JM
301272012-05-10 Joseph Myers <joseph@codesourcery.com>
30128
30129 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30130
28e72501
MK
301312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30132 Joseph Myers <joseph@codesourcery.com>
30133 Paul Pluzhnikov <ppluzhnikov@google.com>
30134
30135 [BZ #14012]
30136 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30137 requiring rpcgen.
30138 [cross-compiling] (extra-libs): Likewise.
30139 [cross-compiling] (extra-libs-others): Likewise.
30140 [cross-compiling] (librpcsvc-routines): Likewise.
30141 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30142 [cross-compiling] (omit-deps): Likewise.
30143 (sunrpc-CPPFLAGS): New variable.
30144 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30145 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30146 (cross-rpcgen-objs): New variable.
30147 (extra-objs): Append $(cross-rpcgen-objs).
30148 ($(cross-rpcgen-objs)): New rule.
30149 ($(objpfx)cross-rpcgen): Likewise.
30150 (rpcgen-cmd): Define to use $(built-program-file). Expand
30151 comment.
30152 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30153 ($(objpfx)x%.stmp): Likewise.
30154 * sunrpc/proto.h [IS_IN_build] (_): Define.
30155 [IS_IN_build] (_libc_intl_domainname): Likewise.
30156
c8c59454
L
301572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30158
30159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30160 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30161 and R_X86_64_TPOFF64.
30162
6f27cd16
JM
301632012-05-10 Joseph Myers <joseph@codesourcery.com>
30164
30165 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30166 sysdeps/unix/sysv/syscalls.list.
30167 (stime): Likewise.
30168 (utime): Likewise.
30169 * sysdeps/unix/sysv/syscalls.list: Remove file.
30170
02467e1c
PE
301712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30172
30173 [BZ #3440]
30174 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30175 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30176 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30177 (__LC_IDENTIFICATION): Make these macros useful in #if
30178 expressions, as required by C99.
30179
da392631
AS
301802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30181
30182 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30183 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30184 after this.
30185
8115f29b
L
301862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30187
30188 * stdlib/longlong.h: Updated from GCC.
30189
bdd74070
AJ
301902012-05-09 Andreas Jaeger <aj@suse.de>
30191
edfe0dbe
AJ
30192 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30193 default is first entry.
30194 (run_mode): Set type.
30195 (main): Remove informal message about syslog.
30196 (options): Fix typo.
30197
bcfe3a54
ST
30198 [BZ #14053]
30199 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30200 to asm.
bcfe3a54
ST
30201 (lrint): Likewise.
30202 (llrintf): Likewise.
30203 (llrint): Likewise.
30204 (rint): Likewise.
30205 (rintf): Likewise.
30206 (nearbyint): Likewise.
30207 (nearbyintf): Likewise.
bdd74070 30208
91d8d69e
AJ
302092012-05-09 Andreas Jaeger <aj@suse.de>
30210 Pedro Alves <palves@redhat.com>
30211
30212 * nscd/nscd.c (run_mode): Use enum.
30213 (main): Cleanup coding style issue.
30214
bb90b80b
AJ
302152012-05-09 Alexandre Oliva <aoliva@redhat.com>
30216 Andreas Jaeger <aj@suse.de>
30217
bcfe3a54
ST
30218 * nscd/nscd.c (go_background): Replaced with...
30219 (run_mode): ... this.
bb90b80b 30220 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30221 (options): Add -F --foreground.
30222 (main): Implement it.
30223 (parse_opt): Parse it.
bb90b80b 30224
1a4b75a1
AJ
302252012-05-09 Andreas Jaeger <aj@suse.de>
30226
30227 [BZ #14083]
30228 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30229 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30230 -Wconversion warning.
30231 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30232 Likewise.
30233
b1cc2472
JM
302342012-05-09 Joseph Myers <joseph@codesourcery.com>
30235
30236 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30237 == 0.
30238 (LC_ALL): Use macro-int-constant.
30239 (LC_COLLATE): Likewise.
30240 (LC_CTYPE): Likewise.
30241 (LC_MESSAGES): Likewise.
30242 (LC_MONETARY): Likewise.
30243 (LC_NUMERIC): Likewise.
30244 (LC_TIME): Likewise.
30245 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30246 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30248 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30249 Specify type.
30250 [C99-based standards] (float_t): Expect type.
30251 [C99-based standards] (double_t): Expect type.
30252 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30253 type.
30254 [C99-based standards] (HUGE_VALL): Likewise.
30255 [C99-based standards] (INFINITY): Likewise.
30256 [C99-based standards] (NAN): Likewise.
30257 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30258 [C99-based standards] (FP_NAN): Likewise.
30259 [C99-based standards] (FP_NORMAL): Likewise.
30260 [C99-based standards] (FP_SUBNORMAL): Likewise.
30261 [C99-based standards] (FP_ZERO): Likewise.
30262 [C99-based standards] (FP_FAST_FMA): Use
30263 optional-macro-int-constant. Specify type. Require == 1.
30264 [C99-based standards] (FP_FAST_FMAF): Likewise.
30265 [C99-based standards] (FP_FAST_FMAL): Likewise.
30266 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30267 [C99-based standards] (FP_ILOGBNAN): Likewise.
30268 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30269 Specify type.
30270 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30271 [C99-based standards] (math_errhandling): Specify type.
30272 [ISO99 || ISO11] (signgam): Do not allow.
30273 [non-C99-based standards] (copysignf): Do not allow.
30274 [non-C99-based standards] (exp2f): Likewise.
30275 [non-C99-based standards] (log2f): Likewise.
30276 [non-C99-based standards] (modff): Allow.
30277 [non-C99-based standards] (erff): Do not allow.
30278 [non-C99-based standards] (erfcf): Likewise.
30279 [non-C99-based standards] (gammaf): Likewise.
30280 [non-C99-based standards] (hypotf): Likewise.
30281 [non-C99-based standards] (j0f): Likewise.
30282 [non-C99-based standards] (j1f): Likewise.
30283 [non-C99-based standards] (jnf): Likewise.
30284 [non-C99-based standards] (lgammaf): Likewise.
30285 [non-C99-based standards] (tgammaf): Likewise.
30286 [non-C99-based standards] (y0f): Likewise.
30287 [non-C99-based standards] (y1f): Likewise.
30288 [non-C99-based standards] (ynf): Likewise.
30289 [non-C99-based standards] (isnanf): Likewise.
30290 [non-C99-based standards] (acoshf): Likewise.
30291 [non-C99-based standards] (asinhf): Likewise.
30292 [non-C99-based standards] (atanhf): Likewise.
30293 [non-C99-based standards] (cbrtf): Likewise.
30294 [non-C99-based standards] (expm1f): Likewise.
30295 [non-C99-based standards] (ilogbf): Likewise.
30296 [non-C99-based standards] (log1pf): Likewise.
30297 [non-C99-based standards] (logbf): Likewise.
30298 [non-C99-based standards] (nextafterf): Likewise.
30299 [non-C99-based standards] (remainderf): Likewise.
30300 [non-C99-based standards] (rintf): Likewise.
30301 [non-C99-based standards] (scalbf): Likewise.
30302 [non-C99-based standards] (copysignl): Likewise.
30303 [non-C99-based standards] (exp2l): Likewise.
30304 [non-C99-based standards] (log2l): Likewise.
30305 [non-C99-based standards] (modfl): Allow.
30306 [non-C99-based standards] (erfl): Do not allow.
30307 [non-C99-based standards] (erfcl): Likewise.
30308 [non-C99-based standards] (gammal): Likewise.
30309 [non-C99-based standards] (hypotl): Likewise.
30310 [non-C99-based standards] (j0l): Likewise.
30311 [non-C99-based standards] (j1l): Likewise.
30312 [non-C99-based standards] (jnl): Likewise.
30313 [non-C99-based standards] (lgammal): Likewise.
30314 [non-C99-based standards] (tgammal): Likewise.
30315 [non-C99-based standards] (y0l): Likewise.
30316 [non-C99-based standards] (y1l): Likewise.
30317 [non-C99-based standards] (ynl): Likewise.
30318 [non-C99-based standards] (isnanl): Likewise.
30319 [non-C99-based standards] (acoshl): Likewise.
30320 [non-C99-based standards] (asinhl): Likewise.
30321 [non-C99-based standards] (atanhl): Likewise.
30322 [non-C99-based standards] (cbrtl): Likewise.
30323 [non-C99-based standards] (expm1l): Likewise.
30324 [non-C99-based standards] (ilogbl): Likewise.
30325 [non-C99-based standards] (log1pl): Likewise.
30326 [non-C99-based standards] (logbl): Likewise.
30327 [non-C99-based standards] (nextafterl): Likewise.
30328 [non-C99-based standards] (remainderl): Likewise.
30329 [non-C99-based standards] (rintl): Likewise.
30330 [non-C99-based standards] (scalbl): Likewise.
30331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30332 [non-C99-based standards] (FP_*): Do not allow.
30333 [C99-based standards] (FP_*): Change to
30334 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30335 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30336 allow.
30337 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30338 (SIG_ERR): Likewise.
30339 [X/Open-based standards] (SIG_HOLD): Likewise.
30340 (SIG_IGN): Likewise.
30341 (SIGABRT): Use macro-int-constant. Specify type. Require
30342 positive value.
30343 (SIGFPE): Likewise.
30344 (SIGILL): Likewise.
30345 (SIGINT): Likewise.
30346 (SIGSEGV): Likewise.
30347 (SIGTER): Likewise.
30348 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30349 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30350 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30351 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30352 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30353 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30354 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30355 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30356 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30357 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30358 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30359 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30360 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30361 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30366 [X/Open-based standards] (SIGTRAP): Likewise.
30367 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30368 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30371 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30372 allow.
30373
b9f1922d
IW
303742012-05-08 Ian Wienand <ianw@vmware.com>
30375
30376 [BZ #14080]
30377 * time/tzset.c (__tzset_parse_tz): Update default rules for
30378 daylight time changes in the Energy Policy Act of 2005.
30379
1db86e88
AJ
303802012-05-09 Andreas Jaeger <aj@suse.de>
30381
30382 [BZ #13983]
30383 * elf/ldconfig.c (parse_conf): Change string to make clear that
30384 ldconfig only issued a warning if ld.so.conf does not exist.
30385
dee4a4e3
DM
303862012-05-08 David S. Miller <davem@davemloft.net>
30387
ee0db190
DM
30388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30389 movxtod instead of popping the value on the stack.
30390
dee4a4e3
DM
30391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30392
6a43ec98
CD
303932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30394
30395 * config.h.in: Add HAVE_ARM_PCS_VFP.
30396
05c2c961
RMG
303972012-05-08 Roland Mc Grath <roland@hack.frob.com>
30398
bcfe3a54
ST
30399 [BZ #13979]
30400 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30401 checking but the checks are disabled for any reason.
05c2c961 30402
4b30f61a
L
304032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30404
30405 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30406 and ELF64_R_TYPE with ELFW(R_TYPE).
30407
eee2bc67
JM
304082012-05-08 Joseph Myers <joseph@codesourcery.com>
30409
7ea5391a
JM
30410 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30411 (ulimit): Likewise.
30412
eee2bc67
JM
30413 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30414 (settimeofday): Likewise.
30415
abb66a67
MF
304162012-05-08 Mike Frysinger <vapier@gentoo.org>
30417
30418 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30419 a struct th_u2 inside the union, and move tu_block/tu_code into
30420 a new th_u3 union of tu_block/tu_code inside of that. Move
30421 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30422 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30423 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30424 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30425 (th_stuff): Change to th_u1.tu_stuff.
30426 (th_data): Define.
30427 (th_msg): Change to th_u1.th_u2.tu_data.
30428
7f18b530
DM
304292012-05-07 David S. Miller <davem@davemloft.net>
30430
05760585
DM
30431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30432
7f18b530
DM
30433 [BZ #14074]
30434 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30435 (SETUP_PIC_REG): Use it.
30436 (SETUP_PIC_REG_LEAF): Use it.
30437
495fd99f
JM
304382012-05-07 Joseph Myers <joseph@codesourcery.com>
30439
30440 [BZ #13885]
30441 [BZ #13923]
30442 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30443 USE_AS_EXPM1L.
30444 (EXPL_FINITE): Likewise.
30445 (FLDLOG): Likewise.
30446 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30447 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30448 e_expl.S.
30449 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30450 USE_AS_EXPM1L.
30451 (EXPL_FINITE): Likewise.
30452 (FLDLOG): Likewise.
30453 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30454 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30455 e_expl.S.
30456 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30457 test of -max_value argument for long double.
30458 * sysdeps/i386/fpu/libm-test-ulps: Update.
30459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30460
6693d694
DM
304612012-05-06 David S. Miller <davem@davemloft.net>
30462
30463 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30464 quad soft-float symbols whose references which are compiler
30465 generated.
30466 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30467
6c23e11c
JM
304682012-05-06 Joseph Myers <joseph@codesourcery.com>
30469
d8b82cad
JM
30470 [BZ #13884]
30471 [BZ #13914]
30472 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30473 USE_AS_EXP10L.
30474 (EXPL_FINITE): Likewise.
30475 (FLDLOG): Likewise.
30476 (c0): Likewise.
30477 (c1): Likewise.
30478 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30479 Adjust comments for base varying.
30480 (__expl_finite): Change alias to EXPL_FINITE.
30481 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30482 e_expl.S.
30483 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30484 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30486 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30487 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30488 USE_AS_EXP10L.
30489 (EXPL_FINITE): Likewise.
30490 (FLDLOG): Likewise.
30491 (c0): Likewise.
30492 (c1): Likewise.
30493 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30494 Adjust comments for base varying.
30495 (__expl_finite): Change alias to EXPL_FINITE.
30496 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30497 tests for bugs.
30498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30499
6c23e11c
JM
30500 [BZ #14064]
30501 * math/libm-test.inc (check_float_internal): Correct ulp
30502 calculation for subnormal expected results.
30503
29ba805c
AJ
305042012-05-06 Andreas Jaeger <aj@suse.de>
30505
30506 * Makeconfig (+math-flags): New, set to -frounding-math.
30507 (+cflags): Add +math-flags so that all of glibc gets compiled with
30508 it.
30509
30510 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30511
7b17aeda
JM
305122012-05-05 Joseph Myers <joseph@codesourcery.com>
30513
5779f134
JM
30514 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30515 Disable one test.
30516
41498f4d
JM
30517 [BZ #13787]
30518 [BZ #13922]
30519 [BZ #14036]
30520 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30521 (__ieee754_expl): Allow for and saturate large arguments.
30522 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30523 (u_threshold): Likewise.
30524 (__exp): Call __ieee754_exp before checking for overflow and
30525 underflow.
30526 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30527 (u_threshold): Likewise.
30528 (__expf): Call __ieee754_expf before checking for overflow and
30529 underflow.
30530 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30531 (u_threshold): Likewise.
30532 (__expl): Call __ieee754_expl before checking for overflow and
30533 underflow.
30534 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30535 (__ieee754_expl): Allow for and saturate large arguments.
30536 * math/libm-test.inc (exp_test): Add another test. Do not allow
30537 missing overflow exception on overflow.
30538 (expm1_test): Do not allow missing overflow exception on overflow.
30539
6698b8bf
JM
30540 * sysdeps/i386/fpu/e_expl.c: Move to ...
30541 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30542 rather than using inline asm.
30543 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30544 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30545 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30546
7b17aeda
JM
30547 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30548 (nice): Likewise.
30549 (poll): Likewise.
30550 (signal): Likewise.
30551 (time): Likewise.
30552 (times): Likewise.
30553
f7c85819
JM
305542012-05-04 Joseph Myers <joseph@codesourcery.com>
30555
30556 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30557 sysdeps/unix/common/syscalls.list.
30558 (fchmod): Likewise.
30559 (fchown): Likewise.
30560 (ftruncate): Likewise.
30561 (getrusage): Likewise.
30562 (gettimeofday): Likewise.
30563 (setpgid): Likewise.
30564 (setregid): Likewise.
30565 (setreuid): Likewise.
30566 (sigaction): Likewise.
30567 (truncate): Likewise.
30568 (vhangup): Likewise.
30569 * sysdeps/unix/common/syscalls.list: Remove file.
30570 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30571 * sysdeps/unix/sysv/linux/Implies: Likewise.
30572
336270d0
L
305732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30574
30575 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30577 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30578 Moved to ...
30579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30580 Here.
30581 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30582 to ...
30583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30584 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30585 to ...
30586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30587 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30588 to ...
30589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30590 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30591 to ...
30592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30593 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30594 to ...
30595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30596 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30597 to ...
30598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30599 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30600 to ...
30601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30602 Here.
30603 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30604 to ...
30605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30606 Here.
30607 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30608 to ...
30609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30610 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30611 Moved to ...
30612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30613 Here.
30614 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30615 to ...
30616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30617
d128e450
JM
306182012-05-04 Joseph Myers <joseph@codesourcery.com>
30619
fa8ee516
JM
30620 * sysdeps/unix/common/bits/dirent.h: Remove file.
30621 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30622
d128e450
JM
30623 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30624 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30625 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30626 * sysdeps/unix/bsd/isatty.c: Likewise.
30627 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30628 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30629 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30630
ff8faaf0 306312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30632
62881be4 30633 [BZ #13563]
31dc8730
AZ
30634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30635 long double comparison inaccuracies.
30636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30638
6fef930c
AS
306392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30640
30641 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30642 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30643
8f203e6c
JM
306442012-05-04 Joseph Myers <joseph@codesourcery.com>
30645
30646 [BZ #14049]
30647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30648 nonzero digits before rounding a hex value.
30649 * stdlib/tst-strtod.c (tests): Add another test.
30650
5197d9c2
AK
306512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30652
30653 * sysdeps/s390/fpu/libm-test-ulps: Update.
30654
f0c1dedf
AJ
306552012-05-03 Andreas Jaeger <aj@suse.de>
30656
30657 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30658 does not get optimized out.
30659 (malloc_opt_barrier): New.
30660
a65ef2ae 306612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30662 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30663
2b942cb7 30664 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30665 intermediate file deletion.
2b942cb7 30666 (generated): Add .symlist files.
a65ef2ae 30667
54b71e02
JM
306682012-05-03 Joseph Myers <joseph@codesourcery.com>
30669
30670 [BZ #13775]
30671 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30672 Redirect under this condition.
30673 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30674 [__USE_GNU] (__dprintf_chk): Not under this condition.
30675 [__USE_GNU] (__vdprintf_chk): Likewise.
30676 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30677 under this condition.
30678 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30679 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30680 [__USE_XOPEN2K8] (vdprintf): Likewise.
30681 [__USE_GNU] (__dprintf_chk): Not under this condition.
30682 [__USE_GNU] (__vdprintf_chk): Likewise.
30683 [__USE_GNU] (dprintf): Likewise.
30684 [__USE_GNU] (vdprintf): Likewise.
30685
d3dfcc41
RM
306862012-05-03 Roland McGrath <roland@hack.frob.com>
30687
30688 * elf/Makefile (common-generated): Set this instead of generated for
30689 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30690 $(all-built-dso)-derived lists.
30691
7ac30cc5
AJ
306922012-05-03 Andreas Jaeger <aj@suse.de>
30693
0c51e550
AJ
30694 * sysdeps/i386/fpu/libm-test-ulps: Update.
30695
7ac30cc5
AJ
30696 * FAQ: Removed.
30697 * FAQ.in: Likewise.
30698 * scripts/gen-FAQ.pl: Likewise.
30699 * manual/install.texi (Installation): Point to online location of
30700 FAQ.
30701 * Makefile (files-for-dist): Remove FAQ.
30702 (FAQ): Remove.
30703
d4c2917f
AM
307042012-05-02 Allan McRae <allan@archlinux.org>
30705
30706 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30707 (LDFLAGS-reldepmod5.so): Likewise.
30708 (LDFLAGS-reldep6mod1.so): Likewise.
30709 (LDFLAGS-reldep6mod4.so): Likewise.
30710 (LDFLAGS-reldep8mod3.so): Likewise.
30711 (LDFLAGS-unload4mod1.so): Likewise.
30712 (LDFLAGS-unload4mod2.so): Likewise.
30713 (LDFLAGS-tst-initorder): Likewise.
30714 (LDFLAGS-tst-initordera2.so): Likewise.
30715 (LDFLAGS-tst-initordera3.so): Likewise.
30716 (LDFLAGS-tst-initordera4.so): Likewise.
30717 (LDFLAGS-tst-initorderb2.so): Likewise.
30718 (LDFLAGS-noload): Likewise.
30719 (LDFLAGS-next): Likewise.
30720 (LDFLAGS-order2mod1.so): Likewise.
30721 (LDFLAGS-order2mod2.so): Likewise.
30722 (LDFLAGS-tst-initorder2): Likewise.
30723 (LDFLAGS-tst-initorder2a.so): Likewise.
30724 (LDFLAGS-tst-initorder2b.so): Likewise.
30725 (LDFLAGS-tst-initorder2c.so): Likewise.
30726 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30727
d77f993f
DM
307282012-05-02 David S. Miller <davem@davemloft.net>
30729
30730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30731
171a70b4
PP
307322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30733
30734 [BZ #14055]
30735 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30736
0be196ad
AJ
307372012-05-02 Andreas Jaeger <aj@suse.de>
30738
30739 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30740 since we manipulate rounding mode.
30741 (CPPFLAGS-test-idouble.c): Likewise.
30742 (CPPFLAGS-test-ifloat.c): Likewise.
30743 (CFLAGS-test-ldouble.c): Likewise.
30744 (CFLAGS-test-double.c): Likewise.
30745 (CFLAGS-test-float.c): Likewise.
30746 (CFLAGS-test-misc.c): Likewise.
30747 (CFLAGS-test-test-fenv.c): Likewise.
30748
4f9d04aa
AZ
307492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30750
2b942cb7
RM
30751 [BZ #2550]
30752 [BZ #2570]
30753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30754 comparisons to determine direction to adjust input.
4f9d04aa 30755
82a79e7d
RM
307562012-05-01 Roland McGrath <roland@hack.frob.com>
30757
f5a01ca9
RM
30758 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30759 output to the target.
30760
90fe4186
RM
30761 * scripts/localplt.awk: New file.
30762 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30763 (check-localplt-CFLAGS): Variable removed.
30764 ($(all-built-dso:=.jmprel)): New static pattern rule.
30765 (generated): Add those targets.
30766 (localplt-built-dso): New variable.
30767 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30768
30769 * elf/check-localplt.c: File removed.
30770
82397ed6
RM
30771 * scripts/check-execstack.awk: New file.
30772 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30773 (check-execstack-CFLAGS): Variable removed.
30774 ($(objpfx)check-execstack.h): Target removed.
30775 ($(objpfx)execstack-default): New target.
30776 (generated): Add that instead of check-execstack.h.
30777 ($(all-built-dso:=.phdr)): New static pattern rule.
30778 (generated): Add those targets.
30779 * elf/check-execstack.c: File removed.
30780
82a79e7d
RM
30781 * scripts/check-textrel.awk: New file.
30782 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30783 (check-textrel-CFLAGS): Variable removed.
30784 (all-built-dso): Use := to define.o
30785 ($(all-built-dso:=.dyn)): New static pattern rule.
30786 (generated): Add those targets.
30787 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30788 * config.make.in (READELF): New substituted variable.
30789 * elf/check-textrel.c: File removed.
30790
62fde54f 307912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30792
615605c9
JM
30793 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30794 allow.
30795 * conform/data/ctype.h-data [C99-based standards] (isblank):
30796 Expect function.
30797 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30798 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30800 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30801 Specify type. Require positive value.
30802 (EILSEQ): Likewise.
30803 (ERANGE): Likewise.
30804 [ISO || POSIX] (EILSEQ): Do not expect.
30805 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30806 Specify type. Require positive value.
30807 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30808 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30809 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30810 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30811 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30812 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30813 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30814 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30815 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30816 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30817 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30818 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30819 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30820 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30821 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30822 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30824 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30825 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30847 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30852 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30853 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30854 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30855 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30856 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30857 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30861 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30862 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30868 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30870 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30874 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30875 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30876 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30877 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30878 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30880 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30881 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30882 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30883 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30884 Require >= 2.
30885 (FLT_ROUNDS): Expect as macro, not constant.
30886 (FLT_MANT_DIG): Use macro-int-constant.
30887 (DBL_MANT_DIG): Likewise.
30888 (LDBL_MANT_DIG): Likewise.
30889 (FLT_DIG): Likewise.
30890 (DBL_DIG): Likewise.
30891 (LDBL_DIG): Likewise.
30892 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30893 (DBL_MIN_EXP): Likewise.
30894 (LDBL_MIN_EXP): Likewise.
30895 (FLT_MAX_EXP): Use macro-int-constant.
30896 (DBL_MAX_EXP): Likewise.
30897 (LDBL_MAX_EXP): Likewise.
30898 (FLT_MAX_10_EXP): Likewise.
30899 (DBL_MAX_10_EXP): Likewise.
30900 (LDBL_MAX_10_EXP): Likewise.
30901 (FLT_MAX): Use macro-constant.
30902 (DBL_MAX): Likewise.
30903 (LDBL_MAX): Likewise.
30904 (FLT_EPSILON): Use macro-constant. Give upper bound.
30905 (DBL_EPSILON): Likewise.
30906 (LDBL_EPSILON): Likewise.
30907 (FLT_MIN): Likewise.
30908 (DBL_MIN): Likewise.
30909 (LDBL_MIN): Likewise.
30910 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30911 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30912 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30913 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30914 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30915 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30916 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30917 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30918 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30919 [ISO11] (FLT_TRUE_MIN): Likewise.
30920 [ISO11] (LDBL_TRUE_MIN): Likewise.
30921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30922 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30923 (SCHAR_MIN): Use macro-int-constant. Specify type.
30924 (SCHAR_MAX): Likewise.
30925 (UCHAR_MAX): Likewise.
30926 (CHAR_MIN): Likewise.
30927 (CHAR_MAX): Likewise.
30928 (MB_LEN_MAX): Use macro-int-constant.
30929 (SHRT_MIN): Use macro-int-constant. Specify type.
30930 (SHRT_MAX): Likewise.
30931 (USHRT_MAX): Likewise.
30932 (INT_MAX): Likewise.
30933 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30934 bound negative.
30935 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30936 bound with "U".
30937 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30938 bound with "L".
30939 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30940 bound negative. Suffix upper bound with "L".
30941 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30942 bound with "UL".
30943 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30944 Specify type.
30945 [C99-based standards] (LLONG_MAX): Likewise.
30946 [C99-based standards] (ULLONG_MAX): Likewise.
30947 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30948 == 0.
30949 [ISO11] (max_align_t): Require type.
30950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30951
c9140a62
JM
30952 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30953 from $CFLAGS, without defining away __attribute__ calls.
30954 (checknamespace): Use $CFLAGS_namespace.
30955
9af0bf29
JM
30956 * conform/conformtest.pl (@keywords): Only include C99 keywords
30957 for standards based on C99 or C11.
30958
343222a2
JM
30959 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30960 Disable tests.
30961 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30962 UNIX98]: Likewise.
30963
661f8cf0
JM
30964 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30965 usability of symbols in #if.
30966
ee74b9cb
JM
30967 * conform/conformtest.pl: If macro or constant types start
30968 "promoted:", expect the symbol to be of the following type
30969 promoted by the integer promotions.
62fde54f 30970
aafc49b3
JM
30971 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30972 in one place. Also handle "macro-constant".
30973
fefdf574
JM
30974 * conform/conformtest.pl: Only accept expected macro values with
30975 "==". Parse all "macro" lines in one place.
30976 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30977
f2d922fe
JM
30978 * conform/conformtest.pl: Handle braced types on "constant" lines
30979 instead of handling "typed-constant".
30980 * conform/data/signal.h-data: Use "constant" instead of
30981 "typed-constant".
30982
d22956c9
JM
30983 * conform/conformtest.pl: Handle "optional-" at start of lines in
30984 one place rather than duplicating several cases. Handle each
30985 format of "macro" line with initial "optional-".
30986
028e2e38
JM
30987 * conform/conformtest.pl: Only accept expected constant or
30988 optional-constant values with "==". Parse all "constant" lines in
30989 one place. Parse all "optional-constant" lines in one place.
30990 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30991 * conform/data/fmtmsg.h-data: Likewise.
30992 * conform/data/netinet/in.h-data: Likewise.
30993 * conform/data/tar.h-data: Likewise.
30994 * conform/data/limits.h-data: Use "==" form on "constant" and
30995 "optional-constant" lines.
30996
1b8f2850
JM
30997 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30998 Use -std=c99 for XOPEN2K.
30999 (@knownproblems): Remove.
31000 (newtoken): Don't check %isknown.
31001
a05a144b
JM
31002 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31003 Do not expect macro.
31004 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31016 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31017 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31034 [XPG3] (acosh): Likewise.
31035 [XPG3] (asinh): Likewise.
31036 [XPG3] (atanh): Likewise.
31037 [XPG3] (cbrt): Likewise.
31038 [XPG3] (expm1): Likewise.
31039 [XPG3] (ilogb): Likewise.
31040 [XPG3] (log1p): Likewise.
31041 [XPG3] (logb): Likewise.
31042 [XPG3] (nextafter): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31045 [XPG3] (remainder): Likewise.
31046 [XPG3] (rint): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31054 [UNIX98 || XOPEN2K] (scalb): Expect.
31055 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31056 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31129 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31130 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31131 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31192
73c5ebe3
JM
31193 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31194 _XOPEN_SOURCE_EXTENDED for XPG4.
31195
39c33b6c
JM
31196 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31197
62fde54f
JM
31198 * Makeconfig (localtime): Remove variable.
31199 (inst_localtime-file): Likewise.
31200
0741d64c
AS
312012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31202
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31204 Update.
31205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31206 Update.
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31208 Update.
31209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31210 Update.
31211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31212 Update.
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31214 Update.
31215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31216 Update.
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31218 Update.
31219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31220 Update.
31221
7cb029ee
JM
312222012-05-01 Joseph Myers <joseph@codesourcery.com>
31223
31224 [BZ #2550]
31225 [BZ #2570]
31226 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31227 comparisons to determine direction to adjust input.
31228 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31229 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31231 Likewise.
31232 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31233 Likewise.
31234 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31235 Likewise.
31236 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31237 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31238 Likewise.
31239 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31240 Likewise.
31241 * math/libm-test.inc (nexttoward_test): Add more tests.
31242
412bd966
AS
312432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31244
31245 [BZ #14040]
31246 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31247 in version GLIBC_2.1, not GLIBC_2.0.
31248 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31249 Likewise.
31250
9568c0c2
JM
312512012-04-30 Joseph Myers <joseph@codesourcery.com>
31252
adfbc8ac
JM
31253 [BZ #13942]
31254 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31255 (1 - x) * (1 + x).
31256 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31257 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31258 * math/libm-test.inc (acos_test): Add more tests.
31259 (asin_test): Likewise.
31260 * sysdeps/i386/fpu/libm-test-ulps: Update.
31261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31262
5ba3cc69
JM
31263 [BZ #14034]
31264 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31265 of square root.
31266 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31267 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31268 * math/libm-test.inc (acos_test_tonearest): New function.
31269 (acos_test_towardzero): Likewise.
31270 (acos_test_downward): Likewise.
31271 (acos_test_upward): Likewise.
31272 (asin_test_tonearest): Likewise.
31273 (asin_test_towardzero): Likewise.
31274 (asin_test_downward): Likewise.
31275 (asin_test_upward): Likewise.
31276 (main): Call the new functions.
31277 * sysdeps/i386/fpu/libm-test-ulps: Update.
31278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31279
9568c0c2
JM
31280 [BZ #13884]
31281 [BZ #13924]
31282 * math/e_exp10.c: Include <float.h>.
31283 (__ieee754_exp10): Handle underflow here rather than multiplying
31284 large negative argument by M_LN10.
31285 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31286 of __ieee754_expf.
31287 * math/e_exp10l.c: Include <float.h>.
31288 (__ieee754_exp10l): Handle underflow here rather than multiplying
31289 large negative argument by M_LN10l.
31290 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31291 spurious overflow exception on underflow.
31292
5ac3ea17
MP
312932012-04-29 Marek Polacek <polacek@redhat.com>
31294
31295 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31296 (__fortify_function): New macro.
31297 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31298 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31299 __extern_always_inline.
31300 * libio/bits/stdio2.h: Likewise.
31301 * libio/bits/stdio.h: Likewise.
31302 * string/string.h: Likewise.
31303 * string/bits/string3.h: Likewise.
31304 * include/stdio.h: Likewise.
31305 * stdlib/bits/stdlib.h: Likewise.
31306 * stdlib/stdlib.h: Likewise.
31307 * rt/bits/mqueue2.h: Likewise.
31308 * rt/mqueue.h: Likewise.
31309 * posix/bits/unistd.h: Likewise.
31310 * posix/unistd.h: Likewise.
31311 * io/bits/poll2.h: Likewise.
31312 * io/bits/fcntl2.h: Likewise.
31313 * io/fcntl.h: Likewise.
31314 * io/sys/poll.h: Likewise.
31315 * misc/bits/syslog.h: Likewise.
31316 * misc/bits/syslog-ldbl.h: Likewise.
31317 * misc/sys/syslog.h: Likewise.
31318 * socket/bits/socket2.h: Likewise.
31319 * socket/sys/socket.h: Likewise.
31320 * debug/tst-chk1.c: Likewise.
31321 * wcsmbs/bits/wchar2.h: Likewise.
31322 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31323 * wcsmbs/wchar.h: Likewise.
31324
ecf0ebfb
AJ
313252012-04-29 Andreas Jaeger <aj@suse.de>
31326
31327 * Makerules (tests): Remove enable-check-abi protection.
31328 (check-abi-warn): Remove.
31329 (check-abi-%): Remove check-abi-warn usage.
31330
31331 * configure.in: Remove check-abi configure option.
31332 * configure: Regenerated.
31333 * config.make.in (enable-check-abi): Remove.
31334
6d5c57fa
AS
313352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31336
24c5d07e 31337 [BZ #14033]
ded5180a
AS
31338 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31339 double functions to double *_finite functions.
31340
7e0d315d
AS
31341 [BZ #13941]
31342 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31343 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31344 LDBL_MIN_EXP.
31345 * stdio-common/Makefile (tests): Add tst-sprintf3.
31346 * stdio-common/tst-sprintf3.c: New file.
31347
6d5c57fa
AS
31348 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31349 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31350
0749ff8b
JM
313512012-04-28 Joseph Myers <joseph@codesourcery.com>
31352
31353 * conform/conformtest.pl: Remove duplicate typed-constant
31354 handling.
31355
8dbd5d7b
DM
313562012-04-28 David S. Miller <davem@davemloft.net>
31357
31358 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31359 (check-abi-%): Remove AWK script prerequisite and explicit
31360 abilist directory.
31361 (check-abi): Rewrite to just diff the symlist with the abilist.
31362 (config-tls, config-abi-config): Delete, no longer used.
31363 (update-abi-%): Remove AWK script and explicit abilist directory.
31364 (update-abi): Rewrite to simply compare and conditionally copy the
31365 symlist and the sysdep abilist file. Remove update-abi-config
31366 checks.
31367 * abilist/ld.abilist: Remove.
31368 * abilist/libBrokenLocale.abilist: Remove.
31369 * abilist/libanl.abilist: Remove.
31370 * abilist/libcrypt.abilist: Remove.
31371 * abilist/libdl.abilist: Remove.
31372 * abilist/librt.abilist: Remove.
31373 * abilist/libthread_db.abilist: Remove.
31374 * abilist/libutil.abilist: Remove.
31375 * scripts/extract-abilist.awk: Remove.
31376 * scripts/merge-abilist.awk: Remove.
31377 * sysdeps/generic/libcidn.abilist: New file.
31378 * sysdeps/generic/libnss_compat.abilist: New file.
31379 * sysdeps/generic/libnss_db.abilist: New file.
31380 * sysdeps/generic/libnss_dns.abilist: New file.
31381 * sysdeps/generic/libnss_files.abilist: New file.
31382 * sysdeps/generic/libnss_hesiod.abilist: New file.
31383 * sysdeps/generic/libnss_nis.abilist: New file.
31384 * sysdeps/generic/libnss_nisplus.abilist: New file.
31385 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31386 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31387 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31388 file.
31389 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31390 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31391 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31392 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31393 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31394 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31395 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31396 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31397 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31398 file.
31399 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31400 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31401 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31402 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31403 file.
31404 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31405 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31406 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31407 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31408 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31409 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31410 file.
31411 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31412 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31413 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31414 file.
31415 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31417 New file.
31418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31419 New file.
31420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31421 New file.
31422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31423 New file.
31424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31425 New file.
31426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31427 New file.
31428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31429 New file.
31430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31431 New file.
31432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31433 New file.
31434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31435 New file.
31436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31437 New file.
31438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31439 New file.
31440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31441 New file.
31442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31443 file.
31444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31445 New file.
31446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31447 New file.
31448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31449 file.
31450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31451 New file.
31452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31453 New file.
31454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31455 file.
31456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31457 New file.
31458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31459 New file.
31460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31461 New file.
31462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31463 New file.
31464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31465 New file.
31466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31467 New file.
31468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31470 file.
31471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31472 New file.
31473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31474 file.
31475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31476 file.
31477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31478 file.
31479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31480 file.
31481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31482 file.
31483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31484 New file.
31485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31486 file.
31487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31488 file.
31489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31490 New file.
31491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31492 file.
31493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31495 file.
31496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31497 New file.
31498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31499 file.
31500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31501 file.
31502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31503 file.
31504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31505 file.
31506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31507 file.
31508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31509 New file.
31510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31511 file.
31512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31513 file.
31514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31515 New file.
31516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31517 file.
31518 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31519 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31520 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31521 file.
31522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31523 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31524 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31525 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31526 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31527 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31528 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31529 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31530 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31531 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31534 file.
31535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31536 New file.
31537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31538 file.
31539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31540 file.
31541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31542 file.
31543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31544 file.
31545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31546 file.
31547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31548 New file.
31549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31550 New file.
31551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31552 file.
31553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31554 New file.
31555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31556 file.
31557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31559 file.
31560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31561 New file.
31562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31563 file.
31564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31565 file.
31566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31567 file.
31568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31569 file.
31570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31571 file.
31572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31573 New file.
31574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31575 New file.
31576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31577 file.
31578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31579 New file.
31580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31581 file.
31582
41d73a1b
JM
315832012-04-28 Joseph Myers <joseph@codesourcery.com>
31584
31585 * conform/conformtest.pl: Fix typo in handling typed-constant from
31586 allow-header.
31587
28aeeda4
JM
315882012-04-27 Joseph Myers <joseph@codesourcery.com>
31589
adae8f5e
JM
31590 * README: Cut down references to pre-2.6 Linux kernels and
31591 Linuxthreads. Update lists of configurations in libc and ports
31592 and sort alphabetically. Say "or newer" with Linux kernel version
31593 requirements.
31594
28aeeda4
JM
31595 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31596
a462cb63
RA
315972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31598
31599 [BZ #887]
31600 * math/libm-test.inc (logb_test_downward): New test to expose
31601 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31602 rounding mode.
31603
6ad3493e
JM
316042012-04-27 Joseph Myers <joseph@codesourcery.com>
31605
31606 [BZ #14027]
31607 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31608 to be done.
31609 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31610 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31611
2ce4f015
JM
316122012-04-26 Joseph Myers <joseph@codesourcery.com>
31613
5aeb141a
JM
31614 * sysdeps/unix/i386/brk.S: Remove file.
31615 * sysdeps/unix/i386/dl-brk.S: Likewise.
31616 * sysdeps/unix/i386/pipe.S: Likewise.
31617 * sysdeps/unix/i386/sigreturn.S: Likewise.
31618 * sysdeps/unix/i386/syscall.S: Likewise.
31619 * sysdeps/unix/i386/vfork.S: Likewise.
31620 * sysdeps/unix/i386/wait.S: Likewise.
31621
7143acae
JM
31622 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31623 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31624
2ce4f015
JM
31625 * configure.in (arm*-none*): Do not allow without
31626 --enable-hacker-mode.
31627 (netbsd*): Remove case setting base_os.
31628 (386bsd*): Likewise.
31629 (freebsd*): Likewise.
31630 (bsdi*): Likewise.
31631 (osf*): Likewise.
31632 (sunos*): Likewise.
31633 (ultrix*): Likewise.
31634 (newsos*): Likewise.
31635 (dynix*): Likewise.
31636 (*bsd*): Likewise.
31637 (sysv*): Likewise.
31638 (isc*): Likewise.
31639 (esix*): Likewise.
31640 (sco*): Likewise.
31641 (minix*): Likewise.
31642 (irix4*): Likewise.
31643 (irix6*): Likewise.
31644 (solaris[2-9]*): Likewise.
31645 (none): Likewise.
31646 * configure: Regenerated.
31647
0ac229c8
AZ
316482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31649
31650 [BZ #11521]
31651 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31652 overflow or cancellation in calculating denominator.
31653 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31654 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31655 down expression to avoid unexpected rounding in newer GCCs.
31656 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31657
33f244f4
DM
316582012-04-26 David S. Miller <davem@davemloft.net>
31659
31660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31661 long-double compat symbols.
31662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31675
cfa1f3e8
DM
316762012-04-25 David S. Miller <davem@davemloft.net>
31677
31678 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31679 HWCAP_* values only after the memory barriers have been defined.
31680 (atomic_full_barrier): Define.
31681 (atomic_read_barrier): Define.
31682 (atomic_write_barrier): Define.
31683
6e236b92
SP
316842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31685
31686 * shlib-versions: Add libgcc_s version information.
31687 * sysdeps/generic/libgcc_s.h: Remove.
31688 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31689 libgcc_s.h.
31690 * sysdeps/gnu/unwind-resume.c: Likewise.
31691 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31692
aab39a09
DM
316932012-04-25 David S. Miller <davem@davemloft.net>
31694
31695 * sysdeps/unix/sparc/brk.S: Delete.
31696 * sysdeps/unix/sparc/dl-brk.S: Delete.
31697 * sysdeps/unix/sparc/pipe.S: Delete.
31698 * sysdeps/unix/sparc/sysdep.S: Delete.
31699 * sysdeps/unix/sparc/sysdep.h: Delete.
31700 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31701 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31702 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31704 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31705 (JUMPTARGET): Remove.
31706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31707 sysdeps/unix/sparc/sysdep.h
31708 (ENTRY, END): Remove.
31709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31710
a3cc4f48
JM
317112012-04-25 Joseph Myers <joseph@codesourcery.com>
31712
2ed8cda2
JM
31713 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31714 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31715 -DIS_IN_build.
31716
35d76d59
JM
31717 * timezone/README: Update upstream location and email address for
31718 tzcode and tzdata.
31719 * timezone/zdump.c: Update from tzcode 2012b.
31720 * timezone/zic.c: Likewise.
31721
a3cc4f48
JM
31722 * configure.in (libc_cv_as_needed): Remove test.
31723 * configure: Regenerated.
31724 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31725 conditional definition.
31726 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31727 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31728 * config.make.in (have-as-needed): Remove variable.
31729
ceab42c3
SP
317302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31731 Paul Pluzhnikov <ppluzhnikov@google.com>
31732
31733 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31734 strings correctly.
31735
3ce2865f
CLT
317362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31737
31738 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31739 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31740 * sysdeps/sh/strlen.S: Likewise.
31741
f37e0d68
JM
317422012-04-24 Joseph Myers <joseph@codesourcery.com>
31743
ae186e9a
JM
31744 * sysdeps/unix/fork.S: Remove file.
31745 * sysdeps/unix/i386/fork.S: Likewise.
31746 * sysdeps/unix/sparc/fork.S: Likewise.
31747
b96914af
JM
31748 * sysdeps/unix/system.c: Remove file.
31749 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31750
f37e0d68
JM
31751 * sysdeps/unix/getegid.S: Remove file.
31752 * sysdeps/unix/geteuid.S: Likewise.
31753
87ef29ca
RM
317542012-04-24 Roland McGrath <roland@hack.frob.com>
31755
83bcd236
RM
31756 * scripts/check-localplt.awk: New file.
31757 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31758 of diff.
31759 * scripts/data/localplt-generic.data: Add a comment.
31760
87ef29ca
RM
31761 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31762 NODE when __dir_mkfile failed.
31763 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31764 Reported by Ludovic Courtès <ludo@gnu.org>.
31765
e5a6e567
AJ
317662012-04-24 Andreas Jaeger <aj@suse.de>
31767
31768 * Makerules (common-clean): Also remove gen-as-const-headers
31769 files.
31770
c1820385
JM
317712012-04-24 Joseph Myers <joseph@codesourcery.com>
31772
31773 * Makerules (native-compile): Do not change working directory for
31774 build. Use $(OUTPUT_OPTION) in command.
31775 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31776
94e02fc4
AZ
317772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31778
31779 [BZ #13886]
31780 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31781 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31782 * math/libm-test.inc (floor_test): Add more tests.
31783 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31784
3a533ca3
JM
317852012-04-24 Joseph Myers <joseph@codesourcery.com>
31786
940ab4b3
JM
31787 * sysdeps/unix/getdents.c: Remove file.
31788 * sysdeps/unix/sysv/getdents.c: Likewise.
31789 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31790
90e037bd
JM
31791 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31792 sysdeps/unix/mman/syscalls.list.
31793 (mmap): Likewise.
31794 (mprotect): Likewise.
31795 (msync): Likewise.
31796 (munmap): Likewise.
31797 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31798 * sysdeps/unix/mman/syscalls.list: Remove.
31799 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31800
3a533ca3
JM
31801 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31802 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31803 * configure: Regenerated.
31804 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31805 $(libgcc_s_suffix).
31806 * config.make.in (libgcc_s_suffix): Remove variable.
31807
1ad743de
JM
318082012-04-23 Joseph Myers <joseph@codesourcery.com>
31809
4ad451e2
JM
31810 * sysdeps/unix/sysv/gethostname.c: Move to ...
31811 * sysdeps/posix/gethostname.c: ... here.
31812
5e37ce39
JM
31813 * sysdeps/unix/execve.S: Remove file.
31814
1ad743de
JM
31815 * sysdeps/unix/_exit.S: Remove file.
31816
4e681b5b
AJ
318172012-04-23 Andreas Jaeger <aj@suse.de>
31818
31819 [BZ #13739]
31820 * manual/Makefile: Remove make dist support, there's no
31821 need for a stand-alone documentation tar ball.
31822 (TEXI2DVI): Define always, it's not in Makeconfig.
31823 (dist): Removed.
31824 (tar-it): Removed.
31825 (edition): Removed.
31826 (glibc-doc-$(edition).tar): Removed
31827 (%.Z): Removed.
31828 (%.gz): Removed.
31829 (%.uu): Removed.
31830 (ETAGS): Remove, it's in Makeconfig.
31831 (move-if-change): Remove, it's in Makeconfig.
31832
38686a03 318332012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31834
31835 [BZ #13970]
31836 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31837 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31838 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31839 (strtod_l, strtof_l, strtold_l): Remove __wur.
31840 It is not necessarily an error to ignore strtol's return value.
31841 One can reliably look at the stored endptr to decide whether
31842 the number had valid syntax.
31843
7c0616fa
AJ
318442012-04-21 Andreas Jaeger <aj@suse.de>
31845
803cb6b7 31846 [BZ #13739]
7c0616fa
AJ
31847 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31848
b0fe253f
JM
318492012-04-21 Joseph Myers <joseph@codesourcery.com>
31850
31851 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31852 * sysdeps/unix/sysv/Versions: Remove file.
31853
8280f22d
MT
318542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31855
31856 [BZ #13927]
31857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31858
75ce411f 318592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31860
31861 [BZ #7064]
31862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31863 version from __vm86.
31864
097d59fa
JM
318652012-04-20 Joseph Myers <joseph@codesourcery.com>
31866
a90f3bcb
JM
31867 * sysdeps/unix/common/lxstat.c: Remove file.
31868 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31869
edc7ea78
JM
31870 * sysdeps/unix/sysv/Makefile: Remove file.
31871
cb78c221
JM
31872 * sysdeps/unix/sysv/direct.h: Remove file.
31873
efa6a45f
JM
31874 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31875 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31876 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31877 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31878 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31879 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31880 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31881
9c9f2d0c
JM
31882 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31883
4541c83b
JM
31884 * sysdeps/unix/xmknod.c: Remove file.
31885 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31886
f5d153a0
JM
31887 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31888
aa746595
JM
31889 * sysdeps/unix/sysv/i386/time.S: Remove file.
31890
cce5905e
JM
31891 * sysdeps/unix/fxstat.c: Remove file.
31892 * sysdeps/unix/xstat.c: Likewise.
31893 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31894
37fa3841
JM
31895 * sysdeps/unix/sysv/sigaction.c: Remove file.
31896
ff1962a3
JM
31897 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31898 (sysdep_headers): Remove variable.
31899 [termio.h not in sysdep_headers] (generated): Likewise.
31900 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31901 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31902 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31903 * sysdeps/unix/sysv/tcflow.c: Likewise.
31904 * sysdeps/unix/sysv/tcflush.c: Likewise.
31905 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31906 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31907 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31908 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31909 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31910
e7740d31
JM
31911 * sysdeps/unix/siglist.c: Remove file.
31912
ee06f18b
JM
31913 * sysdeps/unix/getppid.S: Remove file.
31914
097d59fa
JM
31915 * sysdeps/unix/mkdir.c: Remove file.
31916 * sysdeps/unix/rmdir.c: Likewise.
31917
ff3d51ec
AS
319182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31919
31920 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31921 ERR_MAX value.
31922 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31923 errlist-compat value.
31924
50f81fd7
DM
319252012-04-18 David S. Miller <davem@davemloft.net>
31926
31927 * sysdeps/generic/memcopy.h (reg_char): Delete.
31928 * debug/strcat_chk.c: Use char, not reg_char.
31929 * debug/strcpy_chk.c: Likewise.
31930 * debug/strncat_chk.c: Likewise.
31931 * debug/strncpy_chk.c: Likewise.
31932 * string/memchr.c: Likewise.
31933 * string/memrchr.c: Likewise.
31934 * string/rawmemchr.c: Likewise.
31935 * string/strcat.c: Likewise.
31936 * string/strchr.c: Likewise.
31937 * string/strchrnul.c: Likewise.
31938 * string/strcmp.c: Likewise.
31939 * string/strcpy.c: Likewise.
31940 * string/strncat.c: Likewise.
31941 * string/strncmp.c: Likewise.
31942 * string/strncpy.c: Likewise.
31943
8ff41c46
WS
319442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31945
31946 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31947 __builtin_memcopy is called when src and dest ranges are known to not
31948 overlap.
31949
6b652f46
WS
319502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31951
31952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31953 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31954 fwd_align_merge macro call.
31955 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31956 bwd_align_merge macro call.
31957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31958
b282631e
WS
319592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31960
31961 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31962 bwd_align_merge macros.
31963 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31964 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31965 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31966
95aa737c
DM
319672012-04-18 David S. Miller <davem@davemloft.net>
31968
31969 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31970
7a99a614
AJ
319712012-04-18 Andreas Jaeger <aj@suse.de>
31972
31973 [BZ# 6794]
31974 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31975 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31976 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31977
31978 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31979 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31980 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31981
31982 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31983 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31984 Adjust for changed ldbl-128 files.
31985
31986 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31987 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31988 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31989
e5270c23
DM
319902012-04-17 David S. Miller <davem@davemloft.net>
31991
31992 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31993
fb5e92c9
AS
319942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31995
31996 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31997 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31998 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31999 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32000 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32001 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32002
76da7265
AZ
320032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32004
32005 [BZ #6794]
32006 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32007 * math/libm-test.inc: Add ilogb errno and exception tests.
32008 * math/w_ilogb.c: New file: ilogb wrapper.
32009 * math/w_ilogbf.c: New file: ilogbf wrapper.
32010 * math/w_ilogbl.c: New file: ilogbl wrapper.
32011 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32012 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32013 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32014 exception being thrown with 0.0 as argument.
32015 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32016 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32017 exception being thrown with 0.0 as argument.
32018 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32019 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32020 exception being thrown with 0.0 as argument.
32021 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32022 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32023 exception being thrown with 0.0 as argument.
32024 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32025 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32027 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32028 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32029 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32030 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32031 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32032 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32033
0396e69d
PB
320342012-04-17 Petr Baudis <pasky@ucw.cz>
32035
32036 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32037 with altivec.
32038
750b5926
MP
320392012-04-16 Marek Polacek <polacek@redhat.com>
32040
32041 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32042
751728a1
MP
320432012-04-16 Marek Polacek <polacek@redhat.com>
32044
32045 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32046 operands of fdivp instruction.
32047
34a27407
L
320482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32049
32050 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32051 * elf/tst-auditmod3b.c: Likewise.
32052 * elf/tst-auditmod4b.c: Likewise.
32053 * elf/tst-auditmod5b.c: Likewise.
32054 * elf/tst-auditmod6b.c: Likewise.
32055 * elf/tst-auditmod6c.c: Likewise.
32056 * elf/tst-auditmod7b.c: Likewise.
32057 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32058 * sysdeps/x86_64/preconfigure.in: Likewise.
32059 * sysdeps/x86_64/preconfigure: Regenerated.
32060
7e73e17d
L
320612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32062
32063 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32064 __ILP32__.
32065
c7a6ab72
AB
320662012-04-13 Antoine Balestrat <merkil33@gmail.com>
32067
32068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32069 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32070
a9e8e0e0
CL
320712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32072
32073 [BZ #13973]
32074 * locale/iso-639.def: Fix gl language name. Spotted by
32075 Yaron Shahrabani.
32076
ec98af7d
RM
320772012-04-12 Roland McGrath <roland@hack.frob.com>
32078
32079 [BZ #2074]
32080 * libio/libio.h (__io_write_fn): Update comment.
32081
247c3ede
PB
320822012-04-12 Petr Baudis <pasky@ucw.cz>
32083
32084 [BZ #2074]
32085 * stdio.texi (Hook Functions): The user provided writer function
32086 is not allowed to return -1.
32087
55939d6d
DM
320882012-04-11 David S. Miller <davem@davemloft.net>
32089
32090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32091
90020f5a
MF
320922012-04-11 Mike Frysinger <vapier@gentoo.org>
32093
32094 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32095 Add a leading slash to rtkaio.
32096
288f9098
JM
320972012-04-11 Jim Meyering <meyering@redhat.com>
32098
90020f5a
MF
32099 [BZ #11959]
32100 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32101 It is not necessarily an error to ignore fwrite's return
32102 value. One can reliably use ferror to test for errors after
32103 the fact.
288f9098 32104
4be2b570
L
321052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32106
32107 * bits/types.h (__snseconds_t): New type.
32108 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32109
32110 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32112 (__SNSECONDS_T_TYPE): Likewise.
32113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32114 (__SNSECONDS_T_TYPE): Likewise.
32115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32116 (__SNSECONDS_T_TYPE): Likewise.
32117
288f9098 321182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32119
32120 [BZ #2636]
32121 * manual/time.texi (Processor Time): Return type of times is
32122 elapsed real time since an arbitrary point in the past.
32123 (CPU Time): Move CLK_TCK from here...
32124 (Processor Time): ...to here. Correct description.
32125 * manual/conf.texi (Constants for Sysconf): Correct description of
32126 _SC_CLK_TCK.
32127
d7dd4413
DM
321282012-04-10 David S. Miller <davem@davemloft.net>
32129
32130 [BZ #13967]
32131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32132 where the is a gap between DT_REL(A) and DT_JMPREL.
32133
b46068fc
L
321342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32135
32136 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32137 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32138 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32139
73d65cc3
SP
321402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32141
32142 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32143 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32144 (dl_main): Handle --inhibit-cache.
32145 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32146 _dl_inhibit_cache.
32147 * elf/dl-load.c (_dl_map_object): Use it.
32148 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32149
bcc8d661
JM
321502012-04-09 Joseph Myers <joseph@codesourcery.com>
32151
8f9a2fae
JM
32152 [BZ #13872]
32153 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32154 (__ieee754_powl): Saturate large exponents rather than testing for
32155 overflow of y*log2(x).
32156 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32157 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32158 exceptions.
32159
bcc8d661
JM
32160 [BZ #11521]
32161 * math/s_ctan.c: Include <float.h>.
32162 (__ctan): Avoid internal overflow or cancellation in calculating
32163 denominator.
32164 * math/s_ctanf.c: Likewise.
32165 * math/s_ctanl.c: Likewise.
32166 * math/s_ctanh.c: Likewise.
32167 * math/s_ctanhf.c: Likewise.
32168 * math/s_ctanhl.c: Likewise.
32169 * math/libm-test.inc (ctan_test): Add more tests.
32170 (ctanh_test): Likewise.
32171 * sysdeps/i386/fpu/libm-test-ulps: Update.
32172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32173
823fbbb4
AJ
321742012-04-09 Andreas Jaeger <aj@suse.de>
32175
03879793
AJ
32176 [BZ #6894]
32177 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32178 is an optional BSD extension.
32179
823fbbb4
AJ
32180 [BZ #10254]
32181 * manual/stdio.texi (Opening Streams): Document additional fopen
32182 parameters.
32183
8de131cb
RM
321842012-04-09 Roland McGrath <roland@hack.frob.com>
32185
32186 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32187 %eax without telling the compiler.
32188
c0ed9d7d
CD
321892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32190
32191 [BZ # 13963]
32192 * manual/install.texi: Use sourceware.org.
32193
c483f6b4
JM
321942012-04-09 Joseph Myers <joseph@codesourcery.com>
32195
d7dd9453
JM
32196 [BZ #13873]
32197 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32198 (__ieee754_pow): Generate overflow and underflow using huge*huge
32199 and tiny*tiny rather than just returning constant infinity or zero
32200 for large exponents.
32201 * math/libm-test.inc (pow_test): Require overflow exceptions for
32202 applicable cases of large exponents.
32203
c483f6b4
JM
32204 [BZ #706]
32205 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32206 (__ieee754_pow): Use iterative multiplication algorithm only for
32207 integer exponents with absolute value below 1024. Check for odd
32208 integer exponents when using algorithm for real exponents.
32209 * math/libm-test.inc (pow_test): Add more tests.
32210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32211
d2de7579
JM
322122012-04-08 Joseph Myers <joseph@codesourcery.com>
32213
32214 [BZ #13705]
32215 * math/libm-test.inc (exp_test): Do not allow overflow exception
32216 on underflow test.
32217
f77f1232
AJ
322182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32219
32220 [BZ #13705]
32221 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32222 instead of __kernel_standard_f.
32223
3884932b
MF
322242012-04-08 Mike Frysinger <vapier@gentoo.org>
32225
32226 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32227 * sysdeps/x86_64/memset_chk.S: Likewise.
32228
54472e9c
AJ
322292012-04-08 Andreas Jaeger <aj@suse.de>
32230
6ab0fbfc
AJ
32231 [BZ #10153]
32232 * manual/startup.texi (Environment Access): Describe return value
32233 for putenv and setenv.
32234
61efba8c
AJ
32235 [BZ #6895]
32236 * manual/filesys.texi (Directory Entries): Add description for
32237 DT_LNK.
32238
95c3f29a
AJ
32239 [BZ #6890]
32240 * manual/filesys.texi (Directory Entries): Clarify that it's file
32241 system not operating system in the description of DT_UNKNOWN.
32242
54472e9c
AJ
32243 [BZ #6578]
32244 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32245
624254b1
SC
322462012-04-08 Stephen Compall <s11@member.fsf.org>
32247
32248 [BZ #6649]
32249 * manual/llio.texi (Opening and Closing Files): Add cross
32250 reference to explain mode argument.
32251
1e4920e0
MF
322522012-04-07 Mike Frysinger <vapier@gentoo.org>
32253
32254 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32255 * sysdeps/x86_64/memset_chk.S: Likewise.
32256
5ed848f3
DM
322572012-04-07 David S. Miller <davem@davemloft.net>
32258
32259 * elf/elf.h (R_SPARC_WDISP10): Define.
32260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32261 R_SPARC_SIZE32.
32262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32263 R_SPARC_SIZE64 and R_SPARC_H34.
32264
96154cd8
CD
322652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32266
32267 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32268 conditions and remove no longer applicable assertion.
32269
9904dc47
L
322702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32271
32272 * bits/byteswap.h: Include <features.h>.
32273 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32274 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32275
f8887d0a
L
322762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32277
32278 * bits/byteswap.h (__bswap_16): Removed.
32279 Include <bits/byteswap-16.h> to get __bswap_16.
32280 * sysdeps/i386/bits/byteswap.h: Likewise.
32281 * sysdeps/s390/bits/byteswap.h: Likewise.
32282 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32283 * bits/byteswap-16.h: New file.
32284 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32285 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32286 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32287 * string/Makefile (headers): Add bits/byteswap-16.h.
32288
62470f60
PP
322892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32290
32291 [BZ #13895]
32292 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32293 extra indirection.
32294 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32295 * nss/tst-nss-static.c: New.
32296
4dad7bab
RM
322972012-04-06 Robert Millan <rmh@gnu.org>
32298
32299 [BZ #6486]
32300 * manual/llio.texi (File Position Primitive): lseek
32301 refers to WHENCE when it really means OFFSET.
32302
e9142a17
AJ
323032012-04-06 Andreas Jaeger <aj@suse.de>
32304
2c040eff
AJ
32305 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32306 strncmp declarations.
32307
e9142a17
AJ
32308 * abilist/libc.abilist: Add __poll and __ppoll.
32309
ff9f1c5f
DM
323102012-04-05 David S. Miller <davem@davemloft.net>
32311
dcd2ae90
DM
32312 * scripts/check-local-headers.sh: Accept a host triplet in the
32313 path matched by the exclude regexp.
32314
993eb054
DM
32315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32316 definition.
32317 * sysdeps/powerpc/powerpc32/dl-machine.h
32318 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32319 * sysdeps/s390/s390-32/dl-machine.h
32320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32321 * sysdeps/sparc/sparc32/dl-machine.h
32322 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32323 * sysdeps/sparc/sparc64/dl-machine.h
32324 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32325
ff9f1c5f
DM
32326 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32327 lazy binding.
48e2e132 32328 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32329 undefined symbol errors.
32330
48e2e132 32331 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32332 DT_NEEDED entries.
32333
e80d6f94
MM
323342012-04-05 Michael Matz <matz@suse.de>
32335
32336 [BZ #13592]
32337 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32338
349fa79f
AJ
323392012-04-05 Andreas Jaeger <aj@suse.de>
32340
32341 [BZ #13908]
32342 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32343 comment.
32344
f402708f
KK
323452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32346
32347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32348 which ROUND is no valid rounding mode.
32349
2ecccfc9
KK
323502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32351
32352 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32353 read again.
32354 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32355
8a53f50f
KK
323562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32357
32358 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32359 an exception using FPU order intentionally.
32360
323612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32362
32363 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32364 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32365 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32366 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32367
d653abb7
SJ
323682012-04-05 Simon Josefsson <simon@josefsson.org>
32369
32370 [BZ #12340]
32371 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32372 EINVAL when BUFLEN is too smal.
32373
c3b1bf7d
TS
323742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32375
32376 [BZ #13553]
32377 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32378 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32379
b1aa60f3
AJ
323802012-04-03 Andreas Jaeger <aj@suse.de>
32381
c3b1bf7d 32382 [BZ #13938]
67f60a26
AJ
32383 * manual/setjmp.texi (System V contexts): Fix sentence.
32384
b1aa60f3
AJ
32385 [BZ #13926]
32386 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32387 New macro for this case.
32388 [!__GNUC__] (__bswap_64): New inline function for this case.
32389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32390 * bits/byteswap.h: Likewise.
32391 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32392 ull, guard with __GLIBC_HAVE_LONG_LONG.
32393
32394 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32395 __GLIBC_HAVE_LONG_LONG.
32396
32397 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32398 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32399
39c59c35
TMQMF
324002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32401
32402 [BZ #13691]
32403 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32404 inptr and inend, rather than using last_ch.
32405
135ffda8
DM
324062012-04-02 David S. Miller <davem@davemloft.net>
32407
32408 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32409 * stdio-common/printf-parse.h (read_int): Change return type to
32410 'int', return -1 on INT_MAX overflow.
32411 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32412 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32413 overflows INT_MAX. Check for overflow of in-format-string precision
32414 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32415 SIZE_MAX not INT_MAX for integer overflow test.
32416 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32417 skip the construct in the format string but do not record anything.
32418 * stdio-common/bug22.c: Adjust to test both width/prevision
32419 INT_MAX overflow as well as total length INT_MAX overflow. Check
32420 explicitly for proper errno values.
32421
228c019e
TS
324222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32423
302cadd3
TS
32424 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32425 CHAR_MAX.
32426 * string/test-strcmp.c [! WIDE]: Likewise.
32427 * time/tst-mktime2.c: Likewise for INT_MAX.
32428 * string/test-string.h: #include <sys/param.h> for MIN.
32429
228c019e
TS
32430 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32431 * sysdeps/i386/init-first.c (init): Likewise.
32432 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32433 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32434 * sysdeps/sh/init-first.c (init): Likewise.
32435
cfa633f5
UD
324362012-04-01 Ulrich Drepper <drepper@gmail.com>
32437
32438 * po/ru.po: Update from translation team.
d1635ef8 32439 * po/vi.po: Likewise.
cfa633f5 32440
6cd0a5ea
SP
324412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32442
32443 * resolv/nss_dns/dns-host.c: Merge copyright years.
32444
4b43400f
LD
324452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32446
32447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32448 Optimize memcpy with prefetch if
32449 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32450 src, dst pointers have unequal 16 byte alignments.
32451
48c41d04
SP
324522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32453
32454 [BZ #13928]
32455 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32456 from a CNAME entry and return the minimum ttl for the query.
32457 (gaih_getanswer_slice): Likewise.
32458
b8dc394d
JL
324592012-03-30 Jeff Law <law@redhat.com>
32460
32461 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32462 due to long keys.
32463 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32464 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32465
2f5a5ed0
JL
32466 * resolv/nss_dns/dns-host.c: Update copyright year.
32467
1d39e359
UD
324682012-03-30 Ulrich Drepper <drepper@gmail.com>
32469
c030f70c 32470 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32471 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32472
1d39e359
UD
32473 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32474 comments for sendmmsg.
32475
324762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32477
32478 [BZ #13691]
32479 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32480 with only 1 character between 0x0041 and 0x01b0.
32481 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32482 * wcsmbs/tst-mbsnrtowcs.c: New file.
32483
20fde227
DM
324842012-03-29 David S. Miller <davem@davemloft.net>
32485
32486 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32487 small copies by hand.
32488
984a4237
JL
324892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32490
32491 [BZ #13761]
57f41c40
AS
32492 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32493 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32494 group memberships.
984a4237 32495
18c9d62b
DM
324962012-03-28 David S. Miller <davem@davemloft.net>
32497
88d85d4f
DM
32498 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32499 that branches into memcpy.
32500 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32503 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32505 bits.
32506 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32507 implementation too.
32508 * sysdeps/sparc/mempcpy.S: New file.
32509
e5aa83e1
DM
32510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32511 the IFUNC routine in the libc case.
32512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32513
88570753
DM
32514 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32515 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32516 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32517 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32518 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32519 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32520 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32521 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32522
249d7567
DM
32523 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32524 loop to 256 bytes instead of 64 bytes and fix test signedness.
32525
18c9d62b
DM
32526 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32527 * sysdeps/sparc/sparc32/Makefile: rather than here...
32528 * sysdeps/sparc/sparc64/Makefile: and here.
32529
05f3d1f6
UD
325302012-03-28 Ulrich Drepper <drepper@gmail.com>
32531
32532 * malloc/mallocbug.c: Avoid warnings about unused variables.
32533
86ae07a8
JL
325342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32535
32536 [BZ #13760]
32537 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32538 in the right place. Discard and retry query if response is
32539 larger than input buffer size.
32540
41bf21a1
JM
325412012-03-28 Joseph Myers <joseph@codesourcery.com>
32542
d6270972
JM
32543 [BZ #369]
32544 [BZ #2678]
32545 [BZ #3866]
32546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32547 x for large integer exponent.
32548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32550 sign of result as needed afterwards.
32551 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32552 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32553 result for underflowing pow the same as for overflow.
32554 (__kernel_standard_l): Handle powl overflow and underflow here
32555 rather than calling __kernel_standard.
32556 * math/libm-test.inc (pow_test): Add more tests.
32557
414fca03 32558 [BZ #3868]
41bf21a1
JM
32559 [BZ #13879]
32560 [BZ #13910]
32561 [BZ #13911]
32562 [BZ #13912]
32563 [BZ #13913]
32564 [BZ #13915]
32565 [BZ #13916]
32566 [BZ #13917]
32567 [BZ #13918]
32568 [BZ #13919]
32569 [BZ #13920]
32570 [BZ #13921]
32571 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32572 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32573 (__kernel_standard_l): New function.
32574 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32575 __kernel_standard.
32576 * math/w_acosl.c (__acosl): Likewise.
32577 * math/w_asinl.c (__asinl): Likewise.
32578 * math/w_atan2l.c (__atan2l): Likewise.
32579 * math/w_atanhl.c (__atanhl): Likewise.
32580 * math/w_coshl.c (__coshl): Likewise.
32581 * math/w_exp10l.c (__exp10l): Likewise.
32582 * math/w_exp2l.c (__exp2l): Likewise.
32583 * math/w_fmodl.c (__fmodl): Likewise.
32584 * math/w_hypotl.c (__hypotl): Likewise.
32585 * math/w_j0l.c (__j0l, __y0l): Likewise.
32586 * math/w_j1l.c (__j1l, __y1l): Likewise.
32587 * math/w_jnl.c (__jnl, __ynl): Likewise.
32588 * math/w_lgammal.c (__lgammal): Likewise.
32589 * math/w_log10l.c (__log10l): Likewise.
32590 * math/w_log2l.c (__log2l): Likewise.
32591 * math/w_logl.c (__logl): Likewise.
32592 * math/w_powl.c (__powl): Likewise.
32593 * math/w_remainderl.c (__remainderl): Likewise.
32594 * math/w_scalbl.c (sysv_scalbl): Likewise.
32595 * math/w_sinhl.c (__sinhl): Likewise.
32596 * math/w_sqrtl.c (__sqrtl): Likewise.
32597 * math/w_tgammal.c (__tgammal): Likewise.
32598 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32599 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32600 * math/libm-test.inc (acos_test): Add more tests.
32601 (acosh_test): Likewise.
32602 (asin_test): Likewise.
32603 (atanh_test): Likewise.
32604 (exp_test): Likewise.
32605 (exp10_test): Likewise.
32606 (exp2_test): Likewise.
32607 (expm1_test): Likewise.
32608 (lgamma_test): Likewise.
32609 (log_test): Likewise.
32610 (log10_test): Likewise.
32611 (log1p_test): Likewise.
32612 (log2_test): Likewise.
32613 (pow_test): Do not allow some spurious overflow exceptions.
32614 (sqrt_test): Add more tests.
32615 (tgamma_test): Likewise.
32616 (y0_test): Likewise.
32617 (y1_test): Likewise.
32618 (yn_test): Likewise.
32619
dd62fda6
AB
326202012-03-27 Anton Blanchard <anton@samba.org>
32621
32622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32623 MAP_HUGETLB.
32624 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32625 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32626 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32627
1e3cdfda
AJ
326282012-03-27 David S. Miller <davem@davemloft.net>
32629
b855ab85
DM
32630 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32631
1e3cdfda
AJ
32632 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32633 have-as-vis3 check.
32634
326352012-03-27 Andreas Jaeger <aj@suse.de>
32636
32637 * sysdeps/x86_64/elf/configure.in: Moved to ...
32638 * sysdeps/x86_64/configure.in: ... here.
32639 * sysdeps/x86_64/elf/start.S: Moved to ...
32640 * sysdeps/x86_64/start.S: ... here.
32641 * sysdeps/x86_64/elf/configure: Delete.
32642
32643 * sysdeps/x86_64/configure.in: Merge contents from
32644 sysdeps/i386/configure.in (without i686 check).
32645
32646 * sysdeps/i386/elf/Versions: Merge into ...
32647 * sysdeps/i386/Versions: ... this.
32648 * sysdeps/i386/elf/Versions: Delete file.
32649 * sysdeps/i386/elf/start.S: Moved to ...
32650 * sysdeps/i386/start.S: ...here.
32651 * sysdeps/i386/elf/configure.in: Merge into...
32652 * sysdeps/i386/configure.in: ...here.
32653 * sysdeps/i386/elf/configure.in: Delete file.
32654 * sysdeps/i386/elf/configure: Delete file.
32655
32656 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32657 * debug/backtracesyms.c: ... here.
32658 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32659 * debug/backtracesymsfd.c: ... here.
32660 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32661 * sysdeps/generic/ifunc-sel.h: ... here.
32662
32663 * sysdeps/unix/i386/start.c: Delete file.
32664 * sysdeps/unix/sparc/start.c: Delete file.
32665 * sysdeps/unix/start.c: Delete file.
32666
32667 * sysdeps/sh/elf/configure.in: Moved to ...
32668 * sysdeps/sh/configure.in: ... here.
32669 * sysdeps/sh/elf/start.S: Moved to ...
32670 * sysdeps/sh/start.S: ... here.
32671 * sysdeps/sh/elf/configure: Delete file.
32672
32673 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32674 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32675 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32676 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32677 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32678 * sysdeps/powerpc/powerpc64/start.S: here.
32679 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32680 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32681 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32682 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32683 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32684
32685 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32686 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32687 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32688 * sysdeps/powerpc/powerpc32/start.S: ... here.
32689 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32690 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32691 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32692
32693 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32694 * sysdeps/powerpc/ifunc-sel.h: ... here.
32695 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32696 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32697
32698 * sysdeps/sparc/elf/configure.in: Moved to ...
32699 * sysdeps/sparc/configure.in: ... here.
32700 * sysdeps/sparc/elf/configure: Delete file.
32701 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32702 * sysdeps/sparc/sparc32/start.S: ... here.
32703 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32704 * sysdeps/sparc/sparc64/start.S: ... here.
32705 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32706 * sysdeps/sparc/sparc32/Makefile: ... this.
32707 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32708 * sysdeps/sparc/sparc64/Makefile: ... this.
32709
32710 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32711 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32712 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32713 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32714 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32715 * sysdeps/s390/s390-32/setjmp.S: ... here.
32716 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32717 * sysdeps/s390/s390-32/configure.in: ... here.
32718 * sysdeps/s390/s390-32/elf/configure: Delete file.
32719 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32720 * sysdeps/s390/s390-32/start.S: ... here.
32721
32722 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32723 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32724 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32725 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32726 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32727 * sysdeps/s390/s390-64/setjmp.S: ... here.
32728 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32729 * sysdeps/s390/s390-64/configure.in: ... here
32730 * sysdeps/s390/s390-64/elf/configure: Delete file.
32731 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32732 * sysdeps/s390/s390-64/start.S: ... here.
32733 * sysdeps/s390/s390-64/elf/configure: Delete.
32734
32735 * configure.in: Remove support for elf directories in sysdeps.
32736
32737 * configure: Regenerated.
32738 * sysdeps/i386/configure: Regenerated.
32739 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32740 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32741 * sysdeps/s390/s390-32/configure: Regenerated.
32742 * sysdeps/s390/s390-64/configure: Regenerated.
32743 * sysdeps/sh/configure: Regenerated.
32744 * sysdeps/sparc/configure: Regenerated.
32745 * sysdeps/x86_64/configure: Regenerated.
32746
a3f61311
AS
327472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32748
c876e002
AS
32749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32750
a3f61311
AS
32751 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32752 denormal result into account.
32753
ac4c54f0
RM
327542012-03-25 Roland McGrath <roland@hack.frob.com>
32755
32756 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32757 Reported by Allan McRae <allan@archlinux.org>.
32758
6a9b9c02
JL
327592012-03-23 Jeff Law <law@redhat.com>
32760
32761 * nss/getnssent.c (__nss_getent): Fix typo.
32762
4c42a0c1
DM
327632012-03-23 David S. Miller <davem@davemloft.net>
32764
32765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32766
1532c7ac
L
327672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32768
32769 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32770 to pad to uint64_t for each field.
32771 (dl_tls_index): Replace unsigned long with uint64_t.
32772
3ff42526
PP
327732012-03-23 Daniel Jacobowitz <dmj@google.com>
32774 Paul Pluzhnikov <ppluzhnikov@google.com>
32775
32776 [BZ #6528]
32777 * grp/Makefile (otherlibs): Don't set it.
32778 * inet/Makefile (otherlibs): Likewise.
32779 * login/Makefile (otherlibs): Likewise.
32780 * nscd/Makefile (otherlibs): Likewise.
32781 * posix/Makefile (otherlibs): Likewise.
32782 * pwd/Makefile (otherlibs): Likewise.
32783 * rt/Makefile (otherlibs): Likewise.
32784 * sunrpc/Makefile (otherlibs): Likewise.
32785 * nss/Makefile (otherlibs): Likewise.
32786 Add libnss_files to routines and static-only-routines.
32787 ($(objpfx)getent): Remove rule.
32788 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32789 static-only-routines.
32790
7c69cd14
JM
327912012-03-22 Joseph Myers <joseph@codesourcery.com>
32792
32793 [BZ #13892]
32794 * math/s_cexp.c: Include <float.h>.
32795 (__cexp): Handle exp result overflowing not necessarily
32796 overflowing both real and imaginary parts of result.
32797 * math/s_cexpf.c: Likewise.
32798 * math/s_cexpl.c: Likewise.
32799 * math/libm-test.inc (cexp_test): Add more tests.
32800 * sysdeps/i386/fpu/libm-test-ulps: Update.
32801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32802
81b035fe
L
328032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32804
32805 * include/link.h (ELFW): New macro.
32806 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32807 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32808
1da7940c
L
328092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32810
32811 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32812 with uint64_t.
32813
b749dbb9
L
328142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32817 declaration.
32818 (struct La_x32_retval): Likewise.
32819
2ff87f3f
L
328202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32821
32822 * sysdeps/x86_64/preconfigure.in: New file.
32823 * sysdeps/x86_64/preconfigure: New generated file.
32824
c0df8e69
JM
328252012-03-22 Joseph Myers <joseph@codesourcery.com>
32826
48e44791
JM
32827 [BZ #13824]
32828 * math/e_exp2l.c: Include <float.h>.
32829 (__ieee754_exp2l): Handle overflow and underflow cases
32830 separately. Only pass fractional part of argument to
32831 __ieee754_expl.
32832 * math/libm-test.inc (exp2_test): Add more tests.
32833
c0df8e69
JM
32834 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32835 negating x to take absolute value.
32836 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32837 Likewise.
32838 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32839 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32840 Likewise.
32841 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32842 computing low part if x was negated.
32843 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32844
c8e43ba7
L
328452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32846
32847 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32848 la_x32_gnu_pltexit.
32849 (pltexit): Cast int_retval to ptrdiff_t.
32850 * elf/tst-auditmod3b.c: Likewise.
32851 * elf/tst-auditmod4b.c: Likewise.
32852 * elf/tst-auditmod5b.c: Likewise.
32853 * elf/tst-auditmod6b.c: Likewise.
32854 * elf/tst-auditmod6c.c: Likewise.
32855 * elf/tst-auditmod7b.c: Likewise.
32856
32857 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32858 and x32_gnu_pltexit.
32859
32860 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32861 __ELF_NATIVE_CLASS.
32862 (La_x32_regs): New macro.
32863 (La_x32_retval): Likewise.
32864 (la_x32_gnu_pltenter): New function prototype.
32865 (la_x32_gnu_pltexit): Likewise.
32866
7998fa78
AS
328672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32868
dcb33988
AS
32869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32870 exponent.
32871
233fc563
AS
32872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32873
7998fa78
AS
32874 * configure.in (libc_cv_cc_nofma): Check for option to disable
32875 generation of FMA instructions.
32876 * configure: Regenerate.
32877 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32878 * sysdeps/ieee754/dbl-64/Makefile: New file.
32879 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32880 Remove brandred-fma4.
32881 (CFLAGS-brandred-fma4.c): Remove.
32882 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32884 define.
32885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32886 define.
32887
8e95c99a
L
328882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32889
32890 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32891 LLONG_MAX != LONG_MAX.
32892 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32893 (_fitoa_word): Likewise.
32894 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32895 LLONG_MAX != LONG_MAX.
32896 * stdio-common/_itowa.h: Include <_itoa.h>.
32897 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32898 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32899 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32900 only if not defined.
32901 (_ITOA_WORD_TYPE): Likewise.
32902 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32903 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32904
6f4db457
DM
329052012-03-21 David S. Miller <davem@davemloft.net>
32906
32907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32908
7785fe5a
L
329092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32912 of x86_64 when setting libc_cv_slibdir, libdir and
32913 libc_cv_localedir.
32914 * sysdeps/unix/sysv/linux/configure: Regenerated.
32915
4535cd55
JM
329162012-03-21 Joseph Myers <joseph@codesourcery.com>
32917
32918 * manual/lang.texi (Old Varargs): Remove section.
32919 (How Variadic): Update menu.
32920 (va_start): Do not mention varargs.h.
32921
17228132
TS
329222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32923 Joseph Myers <joseph@codesourcery.com>
32924
32925 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32926 link test.
32927 * configure: Regenerated.
32928
8149f976
TS
329292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32930
05f3d1f6
UD
32931 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32932 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32933 conformtest.pl
8149f976 32934
1a4ac776
JM
329352012-03-21 Joseph Myers <joseph@codesourcery.com>
32936
be22ce65
JM
32937 * NOTES: Remove.
32938 * Makefile (files-for-dist): Remove NOTES.
32939 (NOTES): Remove rule.
32940 * README: Don't refer to NOTES.
32941 * manual/creature.texi: Don't include macros.texi.
32942 * manual/intro.texi (creature.texi): Remove comment referring to
32943 NOTES.
32944
40b601fb
JM
32945 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32946 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32947 * configure: Regenerated.
32948 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32949 LIBC_TRY_CC_OPTION.
32950 (libc_cv_as_i686): Likewise.
32951 (libc_cv_cc_avx): Likewise.
32952 (libc_cv_cc_sse2avx): Likewise.
32953 (libc_cv_cc_fma4): Likewise.
32954 (libc_cv_cc_novzeroupper): Likewise.
32955 * sysdeps/i386/configure: Regenerated.
32956
1a4ac776
JM
32957 [BZ #13883]
32958 * sysdeps/i386/fpu/s_cexp.S: Remove.
32959 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32960 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32961 * math/libm-test.inc (cexp_test): Add more tests.
32962 * sysdeps/i386/fpu/libm-test-ulps: Update.
32963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32964
a458e7fe
AM
329652012-03-21 Allan McRae <allan@archlinux.org>
32966
32967 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32968
0cb7efc5
JM
329692012-03-21 Joseph Myers <joseph@codesourcery.com>
32970
32971 [BZ #13871]
32972 * math/w_exp2.c: Do not include <float.h>.
32973 (o_threshold, u_threshold): Remove.
32974 (__exp2): Calculate result before checking finiteness and calling
32975 __kernel_standard.
32976 * math/w_exp2f.c: Likewise.
32977 * math/w_exp2l.c: Likewise.
32978 * math/libm-test.inc (exp2_test): Require overflow exception for
32979 1e6 input.
2460d3aa
JM
32980
32981 [BZ #3866]
32982 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32983 range of signed 64-bit integers before using fistpll. Remove
32984 checks for whether integers fit in mantissa bits.
32985 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32986 the range of signed 32-bit integers before using fistpl. Remove
32987 checks for whether integers fit in mantissa bits.
32988 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32989 (__ieee754_powl): Test for y outside the range of signed 64-bit
32990 integers before using fistpll. Reduce 64-bit values to 63-bit
32991 ones as needed.
32992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32993 divide-by-zero is raised for zero to large negative powers.
32994 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32995 (__ieee754_powl): Test for y outside the range of signed 64-bit
32996 integers before using fistpll. Reduce 64-bit values to 63-bit
32997 ones as needed.
32998 * math/libm-test.inc (pow_test): Add more tests.
32999
eb96ffb0
L
330002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33001
33002 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33003 <stdio-common/_itoa.h>.
33004 * debug/segfault.c: Likewise.
33005 * elf/dl-cache.c: Likewise.
33006 * elf/dl-minimal.c: Likewise.
33007 * elf/dl-misc.c: Likewise.
33008 * elf/dl-sysdep.c: Likewise.
33009 * elf/dl-version.c: Likewise.
33010 * elf/rtld.c: Likewise.
33011 * hurd/hurdsock.c: Likewise.
33012 * hurd/lookup-retry.c: Likewise.
33013 * malloc/malloc.c: Likewise.
33014 * malloc/mtrace.c: Likewise.
33015 * nscd/nscd_getgr_r.c: Likewise.
33016 * nscd/nscd_getpw_r.c: Likewise.
33017 * nscd/nscd_getserv_r.c: Likewise.
33018 * posix/getopt_init.c: Likewise.
33019 * posix/wordexp.c: Likewise.
33020 * stdio-common/_itoa.c: Likewise.
33021 * stdio-common/printf_fphex.c: Likewise.
33022 * stdio-common/vfprintf.c: Likewise.
33023 * string/_strerror.c: Likewise.
33024 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33025 * sysdeps/i386/i686/hp-timing.h: Likewise.
33026 * sysdeps/mach/_strerror.c: Likewise.
33027 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33028 * sysdeps/mach/hurd/sethostid.c: Likewise.
33029 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33030 * sysdeps/mach/xpg-strerror.c: Likewise.
33031 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33033 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33034 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33035 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33036 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33037 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33038 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33039 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33040 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33041 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33042 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33043 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33044 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33045 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33046 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33047 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33048 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33049 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33050 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33051 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33052
33053 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33054
33055 * stdio-common/_itoa.h: Moved to ...
33056 * sysdeps/generic/_itoa.h: Here.
33057
33058 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33059
33060 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33061 instead of "_itoa.h" and "_itowa.h".
33062 * stdio-common/vfprintf.: Likewise.
33063
d1af992d
L
330642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33065
33066 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33067 <bits/wordsize.h>.
33068 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33069 (__signbit): Likwise.
33070 (llrintf): Likwise.
33071 (llrint): Likwise.
33072
114883e0
L
330732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33074
33075 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33076 __WORDSIZE != 64.
33077
c135cc1b
JM
330782012-03-20 Joseph Myers <joseph@codesourcery.com>
33079
33080 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33081 OVERFLOW_EXCEPTION_OK.
33082 * math/libm-test.inc ("Philosophy"): Update comment about
33083 exception testing.
33084 (OVERFLOW_EXCEPTION): Define.
33085 (OVERFLOW_EXCEPTION_OK): Likewise.
33086 (INVALID_EXCEPTION_OK): Renumber.
33087 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33088 (IGNORE_ZERO_INF_SIGN): Likewise.
33089 (test_exceptions): Handle FE_OVERFLOW.
33090 (exp10_test): Expect overflow exceptions.
33091 (exp2_test): Likewise.
33092 (expm1_test): Likewise.
33093 (nextafter_test): Likewise.
33094 (pow_test): Likewise.
33095 (scalbn_test): Likewise.
33096 (scalbln_test): Likewise.
33097
95443d88
L
330982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33099
33100 * sysdeps/x86_64/bits/atomic.h
33101 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33102 64bit integer.
33103 (atomic_exchange_acq): Likewise.
33104 (__arch_exchange_and_add_body): Likewise.
33105 (__arch_add_body): Likewise.
33106 (atomic_add_negative): Likewise.
33107 (atomic_add_zero): Likewise.
33108
490df6c4
L
331092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33110
c2722551 33111 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33112 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33113
5e52b189
L
331142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33115
33116 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33117 Check __x86_64__ instead of __WORDSIZE.
33118
a9879d4c
L
331192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33122
5df98260
DM
331232012-03-19 David S. Miller <davem@davemloft.net>
33124
e1497744
DM
33125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33126
5df98260
DM
33127 * sysdeps/sparc/fpu/fenv_private.h: New file.
33128 * sysdeps/sparc/fpu/math_private.h: Use it.
33129 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33130 Remove.
57f41c40 33131 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33132 (libc_feholdexcept_setroundl): Remove.
33133 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33134 Remove.
33135 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33136 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33137
b4c35121
L
331382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33139
33140 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33141 int64_t instead of long int.
33142 (INSERT_WORDS64): Likwise.
33143
56965fd7
L
331442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33145
33146 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33147 _Unwind_GetCFA return to _Unwind_Ptr first.
33148
83d1aec8
JM
331492012-03-19 Joseph Myers <joseph@codesourcery.com>
33150
1897ad44
JM
33151 [BZ #13629]
33152 * math/s_clog.c: Include <float.h>.
33153 (__clog): Scale large or subnormal inputs.
33154 * math/s_clogf.c: Likewise.
33155 * math/s_clogl.c: Likewise.
33156 * math/s_clog10.c: Include <float.h>.
33157 (M_LOG10_2): Define.
33158 (__clog10): Scale large or subnormal inputs.
33159 * math/s_clog10f.c: Likewise.
33160 * math/s_clog10l.c: Likewise.
33161 * math/libm-test.inc (clog_test): Add more tests.
33162 (clog10_test): Likewise.
33163 * sysdeps/i386/fpu/libm-test-ulps: Update.
33164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33165
7726d6a9
JM
33166 [BZ #11451]
33167 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33168 x and y.
33169 * math/libm-test.inc (atan2_test): Add another test.
33170
83d1aec8
JM
33171 * Makerules (common-objdir-compile): Remove.
33172 * sysdeps/unix/Makefile (config-generated): Do not add
33173 $(unix-generated) to variable.
33174 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33175 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33176 Remove rule.
33177 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33178 Likewise.
33179 [generic bits/local_lim.h] (before-compile): Do not append to
33180 variable.
33181 [generic bits/local_lim.h] (common-generated): Likewise.
33182 [generic sys/param.h] (before-compile): Do not append to variable.
33183 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33184 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33185 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33186 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33187 include.
33188 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33189 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33190 [generic sys/param.h] ($(addprefix
33191 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33192 [generic sys/param.h] (common-generated): Do not append to
33193 variable.
33194 [generic sys/param.h] (sysdep_headers): Likewise.
33195 [generic bits/errno.h] (before-compile): Do not append to
33196 variable.
33197 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33198 rule.
33199 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33200 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33201 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33202 [generic bits/errno.h] (common-generated): Do not append to
33203 variable.
33204 [generic bits/ioctls.h] (before-compile): Do not append to
33205 variable.
33206 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33207 rule.
33208 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33209 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33210 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33211 rule.
33212 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33213 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33214 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33215 [generic bits/ioctls.h] (common-generated): Do not append to
33216 variable.
33217 [generic sys/syscall.h] (syscall.h): Remove variable.
33218 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33219 rule.
33220 [generic sys/syscall.h] (before-compile): Do not append to
33221 variable.
33222 [generic sys/syscall.h] (common-generated): Likewise.
33223 * sysdeps/unix/errnos-tmpl.c: Remove file.
33224 * sysdeps/unix/errnos.awk: Likewise.
33225 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33226 * sysdeps/unix/ioctls.awk: Likewise.
33227 * sysdeps/unix/mk-local_lim.c: Likewise.
33228 * sysdeps/unix/snarf-ioctls: Likewise.
33229
4851a949
RH
332302012-03-19 Richard Henderson <rth@twiddle.net>
33231
bd37f2ee
RH
33232 * sysdeps/i386/fpu/fenv_private.h: New file.
33233 * sysdeps/i386/fpu/math_private.h: Use it.
33234 (math_opt_barrier, math_force_eval): Remove.
33235 (libc_feholdexcept_setround_53bit): Remove.
33236 (libc_feupdateenv_53bit): Remove.
33237 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33238 (math_opt_barrier, math_force_eval): Remove.
33239 (libc_feholdexcept): Remove.
33240 (libc_feholdexcept_setround): Remove.
33241 (libc_fetestexcept, libc_fesetenv): Remove.
33242 (libc_feupdateenv_test): Remove.
33243 (libc_feupdateenv, libc_feholdsetround): Remove.
33244 (libc_feresetround): Remove.
33245
d0adc922
RH
33246 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33247 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33248
0fe0f1f8
RH
33249 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33250 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33251 (libc_feupdateenv_testl): New.
33252 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33253 (libc_feupdateenv_testf): New.
33254 (libc_feupdateenv): Use libc_feupdateenv_test.
33255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33256 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33257
eb92c487
RH
33258 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33259 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33260 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33261 (libc_feresetround_noex): New.
33262 (libc_feresetround_noexf): New.
33263 (libc_feresetround_noexl): New.
33264 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33265 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33266 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33267 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33268 SET_RESTORE_ROUND.
33269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33271 (__cos): Likewise.
33272 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33274 SET_RESTORE_ROUND_NOEX.
33275 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33276 SET_RESTORE_ROUND_NOEXF.
33277 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33278 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33279 (libc_feholdsetroundf): New.
33280 (libc_feresetround, libc_feresetroundf): New.
33281
7d2e8012
RH
33282 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33283 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33284 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33285
b4dabbb4
RH
33286 * sysdeps/generic/math_private.h: Include <fenv.h>.
33287 (default_libc_feholdexcept): New.
33288 (default_libc_feholdexcept_setround): New.
33289 (default_libc_fesetenv, default_libc_feupdateenv): New.
33290 (libc_feholdexcept): Only define if undefined.
33291 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33292 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33293 (libc_feholdexcept_setroundl): Likewise.
33294 (libc_feholdexcept_setround_53bit): Likewise.
33295 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33296 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33297 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33298 (libc_feupdateenv_53bit): Likewise.
33299 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33300 (libc_feholdexcept): Convert from macro to inline function.
33301 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33302 (libc_fesetenv, libc_feupdateenv): Likewise.
33303
4851a949
RH
33304 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33305 not previously defined.
33306 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33307 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33308 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33309 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33310 * sysdeps/ieee754/flt-32/math_private.h: New file.
33311 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33312 math_private.h below SET_FLOAT_WORD.
33313 (__isnan, __isinf_ns, __finite): Remove.
33314 (__isnanf, __isinf_nsf, __finitef): Remove.
33315
e79d442e
AS
333162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33317
33318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33319
90b80344
DM
333202012-03-17 David S. Miller <davem@davemloft.net>
33321
33322 [BZ #6471]
33323 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33324 for 2.16.
33325
edc21804
DM
333262012-03-16 David S. Miller <davem@davemloft.net>
33327
77e927af
DM
33328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33329 warnings.
33330
374976dd
DM
33331 [BZ #6471]
33332 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33333 properly.
33334 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33335 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33336 sysdep_routines when subdir is sysvipc.
33337 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33338 __getshmlba helper.
33339
edc21804
DM
33340 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33341
473c3ef3
L
333422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33343
33344 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33345 [__LP64__].
33346
eb0f39b6
L
333472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33348
33349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33350 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33351 (__lround): Renamed to ...
33352 (__llround): This. Replace long int with long long int.
33353 Define lround functions as aliases of llround functions.
33354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33355
6b6cd74b
L
333562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33357
33358 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33359 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33360 adresses to uintptr_t. Replace "long int" and "unsigned long
33361 int" with "greg_t" on va_arg.
33362
f1a77b01
L
333632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33364
33365 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33366 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33367
33368 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33369 Move e_machine check before EI_CLASS check. Handle x32
33370 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33371 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33372 SKIP_EM_IA_64 and include
33373 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33374
33375 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33376 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33377 (add_system_dir): New macro.
33378
33379 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33380 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33381
11b90b9f
JM
333822012-03-16 Joseph Myers <joseph@codesourcery.com>
33383
c36e1d23
JM
33384 [BZ #2551]
33385 [BZ #2552]
33386 [BZ #2553]
33387 [BZ #2554]
33388 [BZ #2562]
33389 [BZ #2563]
33390 [BZ #2565]
33391 [BZ #2566]
33392 [BZ #2576]
33393 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33394 (y0): Likewise.
33395 * math/w_j0f.c (j0f): Likewise.
33396 (y0f): Likewise.
33397 * math/w_j0l.c (__j0l): Likewise.
33398 (__y0l): Likewise.
33399 * math/w_j1.c (j1): Likewise.
33400 (y1): Likewise.
33401 * math/w_j1f.c (j1f): Likewise.
33402 (y1f): Likewise.
33403 * math/w_j1l.c (__j1l): Likewise.
33404 (__y1l): Likewise.
33405 * math/w_jn.c (jn): Likewise.
33406 (yn): Likewise.
33407 * math/w_jnf.c (jnf): Likewise.
33408 (ynf): Likewise.
33409 * math/w_jnl.c (__jnl): Likewise.
33410 (__ynl): Likewise.
33411 * math/libm-test.inc (j0_test): Add more tests.
33412 (j1_test): Likewise.
33413 (jn_test): Likewise. Add trailing semicolon to existing test.
33414 (y0_test): Likewise.
33415 (y1_test): Likewise.
33416 * sysdeps/i386/fpu/libm-test-ulps: Update.
33417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33418
11b90b9f
JM
33419 [BZ #13851]
33420 [BZ #13854]
33421 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33422 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33423 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33425 (__tanl): Set errno for infinite argument.
33426 * sysdeps/i386/fpu/mptan.c: Remove.
33427 * sysdeps/i386/fpu/s_tan.S: Likewise.
33428 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33429 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33430 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33431 * math/libm-test.inc (tan_test): Add more tests and enable more
33432 tests for double and long double.
33433 * sysdeps/i386/fpu/libm-test-ulps: Update.
33434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33435
6a1bd2a1
JK
334362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33437
33438 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33439 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33440
10a803e0
RM
334412012-03-16 Roland McGrath <roland@hack.frob.com>
33442
33443 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33444 * configure.in: Use it for both main tree and add-ons.
33445 * configure: Regenerated.
33446
f196c7f7
L
334472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33448
33449 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33450
8848d99d
JM
334512012-03-16 Joseph Myers <joseph@codesourcery.com>
33452
96cbe7f4
JM
33453 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33454 in comment.
33455
8848d99d
JM
33456 [BZ #13851]
33457 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33458 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33462 infinite argument.
33463 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33464 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33465 != 0 for prec == 2.
33466 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33467 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33468 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33469 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33470 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33471 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33472 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33473 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33474 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33475 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33476 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33477 * math/libm-test.inc (cos_test): Add more tests and enable more
33478 tests for long double.
33479 (sin_test): Likewise.
33480 (sincos_test): Likewise.
33481 * sysdeps/i386/fpu/libm-test-ulps: Update.
33482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33483
dd7f4703
DM
334842012-03-16 David S. Miller <davem@davemloft.net>
33485
33486 * sysdeps/sparc/fpu/math_private.h: New file.
33487
006f1daa
DM
334882012-03-15 David S. Miller <davem@davemloft.net>
33489
c0c83bc8
DM
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33491 file.
e6a62e18 33492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33494 file.
e6a62e18
DM
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33501 sysdep routines.
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33503
88cb87d9
DM
33504 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33505 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33506
006f1daa 33507 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33509 sparc-ifunc.h
006f1daa 33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33512 Likewise.
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33514 Likewise.
006f1daa
DM
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33519 Likewise.
006f1daa
DM
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33525 Likewise.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33527 Likewise.
006f1daa
DM
33528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33552
11e0098e
AS
335532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33554
33555 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33556 scaling.
33557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33558
e85b09d0
AJ
335592012-03-15 Andreas Jaeger <aj@suse.de>
33560
33561 [BZ #13852]
33562 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33563 ieee754/flt-32 implementation for sin, cos and sincos.
33564 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33565 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33566 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33567 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33568 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33569 ieee754/flt-32 implementation for tan.
33570
33571 * math/libm-test.inc (cos_test): Enable some large input tests for
33572 float as well
33573 (sin_test): Likewise.
33574 (sincos_test): Likewise.
33575 (tan_test): Add tests for large input.
33576
33577 * sysdeps/i386/fpu/libm-test-ulps: Update.
33578
81c64153
AJ
335792012-03-15 Andreas Jaeger <aj@suse.de>
33580
33581 [BZ #13658]
33582 * math/libm-test.inc (cos_test): Add more test cases.
33583 (sin_test): Likewise.
33584 (sincos_test): Likewise.
33585
7bbfa5c6
AJ
335862012-03-15 Andreas Jaeger <aj@suse.de>
33587
33588 [BZ #13837]
33589 * math/libm-test.inc (cos_test): Add a test case for large input
33590 value.
33591 (sin_test): Likewise.
33592 (sincos_test): Likewise.
33593
57f41c40
AS
335942012-03-15 Andreas Jaeger <aj@suse.de>
33595 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33596
33597 [BZ #13658]
0671f479 33598 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33599 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33600 * sysdeps/i386/fpu/branred.c: Likewise.
33601 * sysdeps/i386/fpu/dosincos.c: Likewise.
33602 * sysdeps/i386/fpu/mpa.c: Likewise.
33603 * sysdeps/i386/fpu/s_cos.S: Likewise.
33604 * sysdeps/i386/fpu/s_sin.S: Likewise.
33605 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33606 * sysdeps/i386/fpu/sincos32.c: Likewise.
33607
33608 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33609 Define.
33610 (libc_feupdateenv_53bit): Define.
33611 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33612 Define.
33613 (libc_feupdateenv_53bit): Define.
33614
33615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33616 53 bit (without extend i386 double precision).
33617
33618 * math/libm-test.inc (sincos_test): Add tests for large input.
33619 (sin): Likewise.
33620 (cos): Likewise.
33621
33622 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33623
9cad04ea
AS
336242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33625
33626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33627
f7062b9a
DM
336282012-03-15 David S. Miller <davem@davemloft.net>
33629
33630 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33631 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33632 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33633 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33646 file.
f7062b9a 33647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33649 file.
f7062b9a 33650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33652 file.
f7062b9a 33653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33655 file.
f7062b9a
DM
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33658 fmin/fmax sysdep routines.
33659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33660
7bd951ff
DM
336612012-03-14 David S. Miller <davem@davemloft.net>
33662
559398ab
DM
33663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33692 routines.
33693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33694 file.
559398ab 33695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33697 file.
559398ab 33698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33700 file.
559398ab 33701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33703 file.
559398ab 33704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33706 file.
559398ab 33707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33709 file.
33710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33711 file.
33712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33713 file.
33714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33715 file.
33716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33717 New file.
33718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33719 file.
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33721 file.
559398ab 33722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33724 file.
559398ab 33725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33727 file.
559398ab 33728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33730 file.
559398ab 33731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33733 VIS3 routines.
559398ab
DM
33734
33735 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33736 New file.
33737
5a1c1e32
DM
33738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33739
eae47a36
DM
33740 * sysdeps/sparc/configure.in: New file.
33741 * sysdeps/sparc/configure: Generate.
33742 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33743 * configure: Regenerate.
33744 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33745 * config.make.in (have-as-vis3): New.
33746 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33747 available use -Av9d instead of -Av9a.
33748 * sysdeps/sparc/sparc64/Makefile: Likewise.
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33751 New file.
33752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33753 file.
33754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33755 New file.
33756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33757 file.
eae47a36
DM
33758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33762 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33763
c0c83bc8
DM
33764 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33765 fzeros/fnegs to load 0x80000000 into a float register instead of
33766 using the stack.
7bd951ff
DM
33767 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33768
bd951ccb
JM
337692012-03-14 Joseph Myers <joseph@codesourcery.com>
33770
33771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33772 bits/syscall.h.
33773 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33774 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33775 ($(inst_includedir)/bits/syscall.h): Remove rule.
33776 ($(objpfx)bits/syscall.d): Include instead of
33777 $(objpfx)syscall-list.d.
33778 (generated): Change syscall-list.h and syscall-list.d to
33779 bits/syscall.h and bits/syscall.d.
33780
bb4e6db2
RM
337812012-03-14 Roland McGrath <roland@hack.frob.com>
33782
33783 [BZ #13846]
33784 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33785
aa4a2ae1
JM
337862012-03-14 Joseph Myers <joseph@codesourcery.com>
33787
e456826d
JM
33788 [BZ #13841]
33789 * math/s_csqrt.c: Include <float.h>.
33790 (__csqrt): Scale large or subnormal inputs.
33791 * math/s_csqrtf.c: Likewise.
33792 * math/s_csqrtl.c: Likewise.
33793 * math/libm-test.inc (csqrt_test): Add more tests.
33794 * sysdeps/i386/fpu/libm-test-ulps: Update.
33795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796
aa4a2ae1
JM
33797 [BZ #13840]
33798 * math/libm-test.inc (hypot_test): Add more tests.
33799
7c10fd35
DM
338002012-03-13 David S. Miller <davem@davemloft.net>
33801
33802 [BZ #13840]
33803 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33804 double-precision for the calculation instead of scaling.
33805
f453b98b
JM
338062012-03-13 Joseph Myers <joseph@codesourcery.com>
33807
33808 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33809 manipulate bits before adding and subtracting TWO52[sx].
33810 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33811 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33812 Likewise.
33813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33814
09a3453f
DM
338152012-03-13 David S. Miller <davem@davemloft.net>
33816
8e59da90
DM
33817 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33818 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33820 rtld-global-offsets.h
33821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33822
2a8ab7f2
DM
33823 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33824 large parameters.
33825
10f62770
DM
33826 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33827
5f0bdb18
DM
33828 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33829 'err' in the ifdef scope in which it is actually used.
33830
09a3453f
DM
33831 * nss/nss_db/db-init.c: Include string.h
33832
b4b2eb5e
DM
338332012-03-12 David S. Miller <davem@davemloft.net>
33834
98bb2f1c
DM
33835 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33836 masking out of the most significant byte of random value used.
33837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33838 Fix coding style in previous change.
33839
b4b2eb5e
DM
33840 * sysdeps/unix/sysv/linux/kernel-features.h
33841 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33842 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33843 expression.
33844 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33845 later.
33846
6e226b09
DM
338472012-03-11 David S. Miller <davem@davemloft.net>
33848
a1bcbd40
DM
33849 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33850 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33851 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33852 for 'resultvar' otherwise things get truncated on 64-bit.
33853
cb9d6174
DM
33854 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33855 Fix masking out of the most significant byte of random value used.
33856
6e226b09
DM
33857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33858
058c132d
AS
338592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33860
33861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33862
2d2cd515
DM
338632012-03-09 David S. Miller <davem@davemloft.net>
33864
33865 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33866 variables with appropriate CPP guards.
57f41c40
AS
33867 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33868 from the frame pointer, not the stack pointer. Correct layout
33869 comments. Fix test on resulting framesize and the management of
33870 the outregs buffer for pltexit. Preserve floating point return
33871 values across _dl_call_pltexit call.
2d2cd515
DM
33872 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33873 framesize and the management of the outregs buffer for pltexit.
33874 Preserve floating point return values across _dl_call_pltexit
33875 call.
57f41c40
AS
33876 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33877 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33878 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33879 (print_exit): Fix format string for return register value.
33880
9a07f9d0
JM
338812012-03-10 Joseph Myers <joseph@codesourcery.com>
33882
33883 * sunrpc/Makefile (others): Add rpcgen.
33884 ($(objpfx)rpcgen): Remove special build rule and dependency on
33885 libc.
33886 * sunrpc/rpcgen.c: New file.
33887
547b5e30
PE
338882012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33889
c524201a
PE
33890 [BZ #13673]
33891 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33892 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33893 * sysdeps/i386/crti.S: Likewise.
33894 * sysdeps/i386/crtn.S: Likewise.
33895 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33896 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33897 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33898 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33899 * sysdeps/sh/crti.S: Likewise.
33900 * sysdeps/sh/crtn.S: Likewise.
33901 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33902
7b6235f2
PE
33903 [BZ #13673]
33904 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33905 with URL.
33906 * locale/programs/locfile-kw.gperf: Likewise.
33907 * locale/programs/charmap-kw.h: Regenerated.
33908 * locale/programs/locfile-kw.h: Likewise.
33909
547b5e30
PE
33910 [BZ #13673]
33911 * intl/plural.y: Replace FSF snail mail address with URL.
33912 * intl/plural.c: Regenerated.
33913
5f0a5dae
RH
339142012-03-09 Richard Henderson <rth@twiddle.net>
33915
33916 * include/math_private.h: Remove file.
33917 * math/math_private.h: Move file ...
33918 * sysdeps/generic/math_private.h: ... here.
33919
b8c03620
RH
33920 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33921 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33922 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33923
4e234f5d 33924 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33925 and <math_private.h>.
33926 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33927 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33928 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33929 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33930 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33931 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33932 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33934 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33938 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33940 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33941 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33942 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33945 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33947 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33948 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33950 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33951 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33956 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33966 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33967 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33968 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33969 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33970 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33973 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33974 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33975 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33984 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33985 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33986 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33987 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33998 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34000 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34013 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34014 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34015 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34016 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34017 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34018 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34019 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34020 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34021 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34022 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34023 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34024 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34025 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34026 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34027 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34028 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34029 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34030 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34031 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34032 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34033 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34034 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34035 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34036 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34037 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34038 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34039 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34040 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34041 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34042 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34043 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34044 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34045 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34046 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34047 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34048 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34049 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34050 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34051 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34052 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34053 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34054 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34055 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34056 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34057 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34058 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34059 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34060 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34061 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34062 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34064 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34065 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34066 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34067 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34068 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34069 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34070 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34071 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34072 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34073 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34074 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34075 * sysdeps/ieee754/k_standard.c: Likewise.
34076 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34124 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34164 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34167 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34168 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34169 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34184 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34185 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34188 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34190 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34191 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34195 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34196 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34198 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34201 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34202 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34203 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34208 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34212 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34216 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34219 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34220 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34224 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34225 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34235 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34236 * sysdeps/ieee754/s_lib_version.c: Likewise.
34237 * sysdeps/ieee754/s_matherr.c: Likewise.
34238 * sysdeps/ieee754/s_signgam.c: Likewise.
34239 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34240 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34241 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34242 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34243 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34244 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34245 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34246 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34247 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34248 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34249 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34250 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34251 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34252 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34253 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34254 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34255 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34256 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34257 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34260
1991fa03
JM
342612012-03-09 Joseph Myers <joseph@codesourcery.com>
34262
34263 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34264 * sunrpc/rpc_main.c: Likewise.
34265 * sunrpc/rpc_svcout.c: Likewise.
34266
60d6f5a6
DM
342672012-03-09 David S. Miller <davem@davemloft.net>
34268
34269 * include/math_private.h: New file.
34270
4962050e
JM
342712012-03-09 Joseph Myers <joseph@codesourcery.com>
34272
02a6f887
JM
34273 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34274 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34275 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34276 from <bits/socket_type.h>.
34277 (enum __socket_type): Don't define here.
34278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34280 bits/socket_type.h.
34281
c6e013c1
JM
34282 [BZ #13566]
34283 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34284 checking __USE_GNU.
34285
4962050e
JM
34286 * Makerules ($(inst_includedir)/%.h): New rule.
34287 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34288 (install-others): Remove variable setting.
34289 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34290
38842f45
RH
342912012-03-08 Richard Henderson <rth@twiddle.net>
34292
67bb6da6
RH
34293 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34294 from macro to inline function; merge with the
34295 !__LIBC_INTERNAL_MATH_INLINES version.
34296 (__ieee754_sqrtf): Likewise.
34297
15194b4b
RH
34298 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34299 to inline function.
34300 (__rintf, __floor, __floorf): Likewise.
34301
64e21ede
RH
34302 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34303 macro to inline function.
34304 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34305
38842f45
RH
34306 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34307 not <math/math_private.h>.
34308
c64bf5fe
DM
343092012-03-08 David S. Miller <davem@davemloft.net>
34310
34311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34312 copyright year.
34313 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34314
82d86f28
TS
343152012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34316
34317 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34318 normalization.
34319 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34320 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34321
aea5d727
UD
343222012-03-08 Ulrich Drepper <drepper@gmail.com>
34323
34324 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34325 be defined individually, they must be defined as a block. Define
34326 S for printing a string instead of hidint the different by using a
34327 macro for adding the 'l'.
34328 * stdio-common/tst-fphex-wide.c: Adjust.
34329
70bca0a3
MP
343302012-03-07 Marek Polacek <polacek@redhat.com>
34331
34332 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34333
65b81130
MP
343342012-03-08 Marek Polacek <polacek@redhat.com>
34335
34336 [BZ #13806]
34337 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34338 * stdio-common/tst-fphex.c: Define a few macros to make the
34339 test reusable. Use them.
34340 * stdio-common/tst-fphex-wide.c: New file.
34341
07037eeb
JM
343422012-03-08 Joseph Myers <joseph@codesourcery.com>
34343
a7a93d50
JM
34344 [BZ #6911]
34345 * manual/macros.texi (gnusystems): New macro.
34346 (nongnusystems): Likewise.
34347 (gnulinuxhurdsystems): Likewise.
34348 (gnuhurdsystems): Likewise..
34349 (gnulinuxsystems): Likewise.
34350 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34351 variants of the GNU system, not "GNU system".
34352 * manual/conf.texi: Likewise.
34353 * manual/errno.texi: Likewise. Update example of errno macro
34354 expansion.
34355 * manual/filesys.texi: Likewise.
34356 (getumask): Document as specific to GNU/Hurd.
34357 * manual/install.texi: Likewise. Reword some references to
34358 GNU/Linux.
34359 * manual/intro.texi: Likewise.
34360 * manual/io.texi: Likewise.
34361 (File Name Portability): Detail which constraints are inapplicable
34362 to all GNU systems and which are only inapplicable to GNU/Hurd.
34363 * manual/job.texi: Likewise.
34364 * manual/llio.texi: Likewise.
34365 (O_NOCTTY): Document as present on GNU/Linux.
34366 * manual/maint.texi: Likewise.
34367 * manual/memory.texi: Likewise.
34368 * manual/pattern.texi: Likewise.
34369 * manual/pipe.texi: Likewise.
34370 * manual/process.texi: Likewise.
34371 * manual/resource.texi: Likewise.
34372 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34373 child on GNU/Hurd.
34374 * manual/setjmp.texi: Likewise.
34375 * manual/signal.texi: Likewise.
34376 * manual/startup.texi: Likewise.
34377 * manual/stdio.texi: Likewise.
34378 * manual/terminal.texi: Likewise.
34379 (ONLCR): Document as POSIX.
34380 (OXTABS): Document availability on GNU/Linux as XTABS.
34381 (ONOEOT): Document availability separately from other bits.
34382 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34383 * manual/time.texi: Likewise.
34384 * manual/users.texi: Likewise.
34385 * INSTALL: Regenerated.
34386 * sysdeps/gnu/errlist.c: Regenerated.
34387
07037eeb
JM
34388 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34389 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34390 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34391 puts.
34392 * configure: Regenerated.
34393
d1d3431a
JM
343942012-03-07 Joseph Myers <joseph@codesourcery.com>
34395
af6a1e37
JM
34396 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34397 default includes instead of AC_HEADER_CHECK.
34398 * sysdeps/i386/configure: Regenerated.
34399
d1d3431a
JM
34400 [BZ #10716]
34401 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34402 * math/s_cacoshf.c (__cacoshf): Likewise.
34403 * math/s_cacoshl.c (__cacoshl): Likewise.
34404 * math/s_casinh.c (__casinh): Set signs of result from argument.
34405 * math/s_casinhf.c (__casinhf): Likewise.
34406 * math/s_casinhl.c (__casinhl): Likewise.
34407 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34408 (casinh_test): Add more tests.
34409 * sysdeps/i386/fpu/libm-test-ulps: Update.
34410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34411
482ff4da
UD
344122012-03-07 Ulrich Drepper <drepper@gmail.com>
34413
872fda05
UD
34414 * po/zh_TW.po: Update from translation team.
34415
a4300c7a
UD
34416 * login/Makefile (distribute): Remove variable.
34417 * catgets/Makefile: Likewise.
34418 * mach/Makefile: Likewise.
34419 * malloc/Makefile: Likewise.
34420 * misc/Makefile: Likewise.
34421 * iconv/Makefile: Likewise.
34422 * nscd/Makefile: Likewise.
34423 * hurd/Makefile: Likewise.
34424 * manual/Makefile: Likewise.
34425 * locale/Makefile: Likewise.
34426 * intl/Makefile: Likewise.
34427 * conform/Makefile: Likewise.
34428 * nss/Makefile: Likewise.
34429 * time/Makefile: Likewise.
34430 * soft-fp/Makefile: Likewise.
34431 * dirent/Makefile: Likewise.
34432 * gmon/Makefile: Likewise.
34433 * po/Makefile: Likewise.
34434 * rt/Makefile: Likewise.
34435 * socket/Makefile: Likewise.
34436 * math/Makefile: Likewise.
34437 * signal/Makefile: Likewise.
34438 * debug/Makefile: Likewise.
34439 * elf/Makefile: Likewise.
34440 * timezone/Makefile: Likewise.
34441 * stdlib/Makefile: Likewise.
34442 * iconvdata/Makefile: Likewise.
34443 * sunrpc/Makefile: Likewise.
34444 * io/Makefile: Likewise.
34445 * argp/Makefile: Likewise.
34446 * inet/Makefile: Likewise.
34447 * hesiod/Makefile: Likewise.
34448 * grp/Makefile: Likewise.
34449 * csu/Makefile: Likewise.
34450 * wctype/Makefile: Likewise.
34451 * crypt/Makefile: Likewise.
34452 * libio/Makefile: Likewise.
34453 * string/Makefile: Likewise.
34454 * nis/Makefile: Likewise.
34455 * resolv/Makefile: Likewise.
34456 * stdio-common/Makefile: Likewise.
34457 * wcsmbs/Makefile: Likewise.
34458 * dlfcn/Makefile: Likewise.
34459 * posix/Makefile: Likewise.
34460
3b7c4e74 34461 [BZ #6959]
482ff4da
UD
34462 * timezone/Makefile: Don't install timezone files, just the programs
34463 and scripts.
34464
f72ed77d
UD
344652012-03-06 Ulrich Drepper <drepper@gmail.com>
34466
a000466f
UD
34467 * nss/databases.def: Add missing gshadow entry.
34468
f72ed77d
UD
34469 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34470
a53b7a4e
MP
344712012-03-06 Marek Polacek <polacek@redhat.com>
34472
34473 [BZ #13726]
34474 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34475 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34476 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34477 * stdio-common/tst-long-dbl-fphex.c: New file.
34478
e9258400
DM
344792012-03-06 David S. Miller <davem@davemloft.net>
34480
34481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34482 (set_obp_int): New function.
34483 (get_obp_int): New function.
34484 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34485 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34486 Avoid unused variable warnings on 'val' and use builtin_expect.
34487 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34488 __builtin_expect.
e9258400
DM
34489 (INLINE_CLONE_SYSCALL): Likewise.
34490
3bd2c723
DM
344912012-03-05 David S. Miller <davem@davemloft.net>
34492
34493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34494
bbb78d03
AS
344952012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34496
884c5db4
AS
34497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34498
bbb78d03
AS
34499 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34500 only for |x| >= 40.
34501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34502
1c9f702a 345032012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34504
34505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34506 Replace gettimeofday with __vdso_gettimeofday.
34507
7be16f82
RM
34508 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34509 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34510 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34511
34512 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34513 time with __vdso_time.
34514
ed58a00f
JM
345152012-03-05 Joseph Myers <joseph@codesourcery.com>
34516
34517 * manual/lang.texi (size_t): Note types to which size_t may be
34518 equivalent with the GNU C Library, but do not describe when
34519 differences between them are significant.
34520
30ee4ced
AJ
345212012-03-05 Andreas Jaeger <aj@suse.de>
34522
34523 * sysdeps/i386/fpu/libm-test-ulps: Update.
34524
b7cd39e8
JM
345252012-03-05 Joseph Myers <joseph@codesourcery.com>
34526
34527 [BZ #3976]
34528 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34529 (__ieee754_pow): Save and restore rounding mode and use
34530 round-to-nearest for main computations.
34531 * math/libm-test.inc (pow_test_tonearest): New function.
34532 (pow_test_towardzero): Likewise.
34533 (pow_test_downward): Likewise.
34534 (pow_test_upward): Likewise.
34535 (main): Call the new functions.
34536 * sysdeps/i386/fpu/libm-test-ulps: Update.
34537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34538
34539 [BZ #3976]
34540 * math/libm-test.inc (cosh_test_tonearest): New function.
34541 (cosh_test_towardzero): Likewise.
34542 (cosh_test_downward): Likewise.
34543 (cosh_test_upward): Likewise.
34544 (sinh_test_tonearest): Likewise.
34545 (sinh_test_towardzero): Likewise.
34546 (sinh_test_downward): Likewise.
34547 (sinh_test_upward): Likewise.
34548 (main): Call the new functions.
34549 * sysdeps/i386/fpu/libm-test-ulps: Update.
34550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34551
6c6a98c9
TV
345522012-03-05 Tom de Vries <tom@codesourcery.com>
34553
34554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34555 default stack guard is set in last bytes.
34556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34557
21bb2d2e 345582012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34559
21bb2d2e 34560 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34561
21bb2d2e
AJ
34562 [BZ #13656]
34563 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34564 possibly allocate from heap instead of stack.
34565 * stdio-common/bug-vfprintf-nargs.c: New file.
34566 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34567
c6922934
AS
345682012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34569
34570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34571
bc957d53
MP
345722012-03-03 Marek Polacek <polacek@redhat.com>
34573
34574 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34575 * math/math_private.h: Likewise.
34576 * stdlib/tst-strtod.c: Likewise.
34577 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34578 * sysdeps/x86_64/bits/atomic.h: Likewise.
34579
6358490d
DM
345802012-03-02 David S. Miller <davem@davemloft.net>
34581
34582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34586 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34587 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34588 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34589 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34590
01ae168d
RM
345912012-03-02 Roland McGrath <roland@hack.frob.com>
34592
d9a17c07
RM
34593 [BZ #13792]
34594 * manual/examples/README: New file, says the example source files
34595 can be used under GPL>=2.
34596 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34597 line containing just "*/".
34598 * manual/examples/add.c: Add copyright header (GPL>=2).
34599 * manual/examples/argp-ex1.c: Likewise.
34600 * manual/examples/argp-ex2.c: Likewise.
34601 * manual/examples/argp-ex3.c: Likewise.
34602 * manual/examples/argp-ex4.c: Likewise.
34603 * manual/examples/atexit.c: Likewise.
34604 * manual/examples/db.c: Likewise.
34605 * manual/examples/dir.c: Likewise.
34606 * manual/examples/dir2.c: Likewise.
34607 * manual/examples/execinfo.c: Likewise.
34608 * manual/examples/filecli.c: Likewise.
34609 * manual/examples/filesrv.c: Likewise.
34610 * manual/examples/fmtmsgexpl.c: Likewise.
34611 * manual/examples/genpass.c: Likewise.
34612 * manual/examples/inetcli.c: Likewise.
34613 * manual/examples/inetsrv.c: Likewise.
34614 * manual/examples/isockad.c: Likewise.
34615 * manual/examples/longopt.c: Likewise.
34616 * manual/examples/memopen.c: Likewise.
34617 * manual/examples/memstrm.c: Likewise.
34618 * manual/examples/mkfsock.c: Likewise.
34619 * manual/examples/mkisock.c: Likewise.
34620 * manual/examples/mygetpass.c: Likewise.
34621 * manual/examples/pipe.c: Likewise.
34622 * manual/examples/popen.c: Likewise.
34623 * manual/examples/rprintf.c: Likewise.
34624 * manual/examples/search.c: Likewise.
34625 * manual/examples/select.c: Likewise.
34626 * manual/examples/setjmp.c: Likewise.
34627 * manual/examples/sigh1.c: Likewise.
34628 * manual/examples/sigusr.c: Likewise.
34629 * manual/examples/stpcpy.c: Likewise.
34630 * manual/examples/strdupa.c: Likewise.
34631 * manual/examples/strftim.c: Likewise.
34632 * manual/examples/strncat.c: Likewise.
34633 * manual/examples/subopt.c: Likewise.
34634 * manual/examples/swapcontext.c: Likewise.
34635 * manual/examples/termios.c: Likewise.
34636 * manual/examples/testopt.c: Likewise.
34637 * manual/examples/testpass.c: Likewise.
34638 * manual/examples/timeval_subtract.c: Likewise.
34639
01ae168d
RM
34640 [BZ #13792]
34641 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34642 function to ...
34643 * manual/timeval_subtract.c.texi: ... here, new file.
34644
49efa33d
DM
346452012-03-02 David S. Miller <davem@davemloft.net>
34646
34647 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34648
28afd92d
JM
346492012-03-02 Joseph Myers <joseph@codesourcery.com>
34650
804360ed
JM
34651 [BZ #3976]
34652 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34653 (__sin): Save and restore rounding mode and use round-to-nearest
34654 for all computations.
34655 (__cos): Save and restore rounding mode and use round-to-nearest
34656 for all computations.
34657 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34658 <fenv.h>.
34659 (tan): Save and restore rounding mode and use round-to-nearest for
34660 all computations.
34661 * math/libm-test.inc (cos_test_tonearest): New function.
34662 (cos_test_towardzero): Likewise.
34663 (cos_test_downward): Likewise.
34664 (cos_test_upward): Likewise.
34665 (sin_test_tonearest): Likewise.
34666 (sin_test_towardzero): Likewise.
34667 (sin_test_downward): Likewise.
34668 (sin_test_upward): Likewise.
34669 (tan_test_tonearest): Likewise.
34670 (tan_test_towardzero): Likewise.
34671 (tan_test_downward): Likewise.
34672 (tan_test_upward): Likewise.
34673 (main): Call the new functions.
34674 * sysdeps/i386/fpu/libm-test-ulps: Update.
34675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34676
a6d06d7b
JM
34677 [BZ #10135]
34678 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34679 small n, then large n, before computing and testing k+n.
34680 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34682 Likewise.
34683 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34684 Likewise.
34685 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34686 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34691 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34692 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34693 * math/libm-test.inc (scalbn_test): Add more tests.
34694 (scalbln_test): Likewise.
34695
07e12bb3
JM
34696 * manual/filesys.texi (mode_t): Describe constraints on size and
34697 signedness, not exact equivalence to a particular type.
34698 (ino_t): Likewise.
34699 (ino64_t): Likewise.
34700 (dev_t): Likewise.
34701 (nlink_t): Likewise.
34702 (blkcnt_t): Likewise.
34703 (blkcnt64_t): Likewise.
34704 * manual/llio.texi (off_t): Likewise.
34705
28afd92d
JM
34706 [BZ #3976]
34707 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34708 (__ieee754_exp): Save and restore rounding mode and use
34709 round-to-nearest for all computations.
34710 * math/libm-test.inc (exp_test_tonearest): New function.
34711 (exp_test_towardzero): Likewise.
34712 (exp_test_downward): Likewise.
34713 (exp_test_upward): Likewise.
34714 (main): Call the new functions.
34715 * sysdeps/i386/fpu/libm-test-ulps: Update.
34716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34717
b1eeb65d
CD
347182012-03-01 Chris Demetriou <cgd@google.com>
34719
34720 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34721 have predictable order.
34722
53362a4b
DM
347232012-03-01 David S. Miller <davem@davemloft.net>
34724
3c969083
DM
34725 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34726
759707de
DM
34727 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34728 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34729 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34730 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34731
dfdb8ff2
DM
34732 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34733 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34734 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34736 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34737 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34738 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34739 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34740 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34741
ead89f96
DM
34742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34743
7f66bd07
DM
34744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34745 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34746 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34747
53362a4b
DM
34748 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34749 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34750 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34751 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34752 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34755 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34756 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34757 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34758 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34759 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34761 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34762 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34764 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34765 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34766 * sysdeps/sparc/elf/configure: Regenerated.
34767
7b1902cb
JM
347682012-03-01 Joseph Myers <joseph@codesourcery.com>
34769
bec039bc
JM
34770 * configure.in (AS, LD): Require binutils 2.20 or later.
34771 * configure: Regenerated.
34772 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34773 as required minimum version.
34774 * INSTALL: Regenerated.
34775
7b1902cb
JM
34776 [BZ #2541]
34777 [BZ #4108]
34778 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34779 before squaring exponent.
34780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34781 bottom long double and 27 bits of top long double before squaring
34782 exponent.
34783 * math/libm-test.inc (erfc_test): Add more tests.
34784 * sysdeps/i386/fpu/libm-test-ulps: Update.
34785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34787
f775c276
KT
347882012-03-01 Kai Tietz <ktietz@redhat.com>
34789
34790 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34791 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34792 containing bit-fields.
34793 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34794 * soft-fp/single.h (_FP_UNION_S): Likewise.
34795 * soft-fp/double.h (_FP_UNION_D): Likewise.
34796
5b8a4d4a
JM
347972012-02-29 Joseph Myers <joseph@codesourcery.com>
34798
0bab47b6
JM
34799 [BZ #13786]
34800 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34801 not include ../strcmp.S.
34802 [USE_AS_STRNCASECMP_L]: Likewise.
34803 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34804 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34805 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34806 (__strncasecmp_l_ia32): Define as alias to
34807 __strncasecmp_l_nonascii.
34808
0fcad3e2
JM
34809 [BZ #5794]
34810 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34811 * sysdeps/i386/fpu/libm-test-ulps: Update.
34812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34813
5b8a4d4a
JM
34814 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34816
8fdceb2e
JL
348172012-02-29 Jeff Law <law@redhat.com>
34818
34819 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34820 out of bounds read.
34821
1f393a11
MP
348222012-02-29 Marek Polacek <polacek@redhat.com>
34823
34824 [BZ #13706]
34825 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34826 * elf/Makefile: Add rules to run tst-unused-dep.out.
34827
8847f037
DM
348282012-02-28 David S. Miller <davem@davemloft.net>
34829
34830 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34831 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34834 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34835 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34836
169d7f11
JM
348372012-02-29 Joseph Myers <joseph@codesourcery.com>
34838
34839 * math/libm-test.inc (llround_test): Move one test from
34840 lround_test. Use TEST_f_L in moved test.
34841 (lround_test): Move misplaced test to llround_test. Add testcase
34842 from bug 2561.
34843
39adf059
UD
348442012-02-28 Ulrich Drepper <drepper@gmail.com>
34845
34846 * sysdeps/x86_64/fpu/e_expf.S: New file.
34847 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34848
71b5d1c5
SB
348492012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34850
34851 [BZ #13637]
34852 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34853 of remain_len that may cause incomplete multi-byte character and
34854 false match.
34855 * posix/bug-regex33.c: New file.
34856 * posix/Makefile (tests): Add bug-regex33.
34857
1f77f049
JM
348582012-02-28 Joseph Myers <joseph@codesourcery.com>
34859
34860 * manual/macros.texi: New file.
34861 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34862 * manual/libc.texinfo: Include macros.texi.
34863 * manual/creatute.texi: Likewise.
34864 * manual/install.texi: Likewise.
34865 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34866 @glibcadj{} in references to the GNU C Library.
34867 * manual/charset.texi: Likewise.
34868 * manual/conf.texi: Likewise.
34869 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34870 when not using those macros.
34871 * manual/creature.texi: Likewise.
34872 * manual/crypt.texi: Likewise.
34873 * manual/errno.texi: Likewise.
34874 * manual/filesys.texi: Likewise.
34875 * manual/header.texi: Likewise.
34876 * manual/install.texi: Likewise.
34877 * manual/intro.texi: Likewise.
34878 * manual/io.texi: Likewise.
34879 * manual/job.texi: Likewise.
34880 * manual/lang.texi: Likewise.
34881 * manual/libc.texiinfo: Likewise.
34882 * manual/llio.texi: Likewise.
34883 * manual/locale.texi: Likewise.
34884 * manual/maint.texi: Likewise.
34885 * manual/math.texi: Likewise.
34886 * manual/memory.texi: Likewise.
34887 * manual/message.texi: Likewise.
34888 * manual/nss.texi: Likewise.
34889 * manual/pattern.texi: Likewise.
34890 * manual/process.texi: Likewise.
34891 * manual/resource.texi: Likewise.
34892 * manual/search.texi: Likewise.
34893 * manual/setjmp.texi: Likewise.
34894 * manual/signal.texi: Likewise.
34895 * manual/socket.texi: Likewise.
34896 * manual/startup.texi: Likewise.
34897 * manual/stdio.texi: Likewise.
34898 * manual/string.texi: Likewise.
34899 * manual/sysinfo.texi: Likewise.
34900 * manual/syslog.texi: Likewise.
34901 * manual/terminal.texi: Likewise.
34902 * manual/time.texi: Likewise.
34903 * manual/users.texi: Likewise.
34904 * INSTALL: Regenerated.
34905 * NOTES: Regenerated.
d40c5d54 34906 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34907
450bf206
AS
349082012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34909
34910 * include/dirent.h: Include <dirstream.h> before
34911 <dirent/dirent.h>.
34912
741a235b
DM
349132012-02-28 David S. Miller <davem@davemloft.net>
34914
34915 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34916 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34917 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34918 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34919
d6b5aa58
DM
349202012-02-27 David S. Miller <davem@davemloft.net>
34921
1aff59a3
DM
34922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34924 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34925 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34926
d6b5aa58
DM
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34928 frame pointer instead of stack pointer relative arg slot.
34929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34930 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34931 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34932
433f48bf
CD
349332012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34934
34935 [BZ #3992]
34936 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34937
d674b76d
DM
349382012-02-27 David S. Miller <davem@davemloft.net>
34939
34940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34946 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34948
0e7727f7
JM
349492012-02-27 Joseph Myers <joseph@codesourcery.com>
34950
34951 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34952 later. Allow versions 5-9.
43be4ca2 34953 * configure: Regenerated.
0e7727f7
JM
34954 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34955 required minimum version and 4.6 as recommended version. Do not
34956 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34957 * INSTALL: Regenerated.
0e7727f7 34958
a78bc654
DM
349592012-02-27 David S. Miller <davem@davemloft.net>
34960
428d5830
DM
34961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34967 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34969
a78bc654
DM
34970 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34971 manipulate bits before adding and subtracting TWO112[sx].
34972 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34973
4579f81c
RM
349742012-02-27 Roland McGrath <roland@hack.frob.com>
34975
36c8acb4
RM
34976 [BZ #13775]
34977 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34978 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34979 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34980 being in POSIX, because they are in 1003.1-2008.
34981
84ad622b
RM
34982 * rt/tst-aio.c: Include <fcntl.h>.
34983 * rt/tst-aio7.c: Likewise.
34984 * rt/tst-aio64.c: Likewise.
34985
4579f81c
RM
34986 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34987
abd923db
JM
349882012-02-27 Joseph Myers <joseph@codesourcery.com>
34989
34990 * manual/install.texi (--with-headers): Describe headers as
34991 interface headers, not private headers.
34992 (Specific advice for GNU/Linux systems): Describe use of headers
34993 from "make headers_install", not private headers from older
34994 kernels.
43be4ca2 34995 * INSTALL: Regenerated.
abd923db
JM
34996 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34997 Change to 2.6.19.
34998 * sysdeps/unix/sysv/linux/configure: Regenerated.
34999
6664049b
JM
35000 * manual/llio.texi (fclean): Remove documentation.
35001
bb8b6697
JM
35002 * manual/Makefile (libc-texi-generated): New variable. Include
35003 version.texi.
35004 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35005 $(libc-texi-generated), not duplicated list of files.
35006 (version.texi, stamp-version): New rules.
35007 (realclean): Remove $(libc-texi-generated), not individual files
35008 from that list. Do not remove dir-add.texinfo.
35009 * manual/libc.texinfo: Comment out uses of edition numbers and
35010 references to printed manual. Remove last-updated dates.
35011 (EDITION): Comment out.
35012 (ISBN): Likewise.
35013 (VERSION, UPDATED): Remove.
35014 (version.texi): Include.
35015
12e5c3b9
AS
350162012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35017
35018 * sysdeps/posix/spawni.c: Include <signal.h>.
35019 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35020 * sysdeps/pthread/aio_fsync.c: Likewise.
35021
4efeffc1 350222012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35023
ba63ba08
UD
35024 * conform/Makefile (tests): Run only when not cross-compiling and
35025 when fast-check is not defined.
35026
d94a4670
UD
35027 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35028 * conform/data/limits.h-data: Fixes for POSIX2008.
35029 * conform/run-conformtest.sh: Run all tests.
35030 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35031 headers.
35032 * include/bits/dlfcn.h: Likewise.
35033 * include/langinfo.h: Likewise.
35034 * include/monetary.h: Likewise.
35035 * include/sys/poll.h: Likewise.
35036
35037 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35038 for __USE_GNU.
35039 * posix/spawn.h: Define __need_sigset_t.
35040 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35041 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35042 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35043 to get sigevent_t only.
35044 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35045 only for __USE_GNU.
35046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35047 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35048 process_vm_writev only for __USE_GNU.
35049 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35050
35051 * conform/Makefile: For now ignore errors from run-conformtest.
35052 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35053 POSIX to avoid namespace pollution. Don't prepend headers.
35054 * conform/data/aio.h-data: Fixes for POSIX testing.
35055 * conform/data/fcntl.h-data: Likewise.
35056 * conform/data/glob.h-data: Likewise.
35057 * conform/data/grp.h-data: Likewise.
35058 * conform/data/pthread.h-data: Likewise.
35059 * conform/data/pwd.h-data: Likewise.
35060 * conform/data/signal.h-data: Likewise.
35061 * conform/data/spawn.h-data: Likewise.
35062 * conform/data/stdio.h-data: Likewise.
35063 * conform/data/stdlib.h-data: Likewise.
35064 * conform/data/stropts.h-data: Likewise.
35065 * conform/data/sys/mman.h-data: Likewise.
35066 * conform/data/sys/stat.h-data: Likewise.
35067 * conform/data/sys/types.h-data: Likewise.
35068 * conform/data/sys/wait.h-data: Likewise.
35069 * conform/data/time.h-data: Likewise.
35070 * conform/data/unistd.h-data: Likewise.
35071 * conform/data/utime.h-data: Likewise.
35072
35073 * io/sys/stat.h: fchmod was always in POSIX.
35074 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35075 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35076 * rt/aio.h: Define __need_timespec before including <time.h>.
35077 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35078 struct. Add forward declaration of pthread_attr_t and use it in
35079 sigevent.
35080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35082 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35083 always remove CLK_TCK definition.
35084
c20105c3
AS
350852012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35086
35087 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35088
7a270350
UD
350892012-02-25 Ulrich Drepper <drepper@gmail.com>
35090
31341567
UD
35091 * conform/run-conformtest.sh: New file.
35092 * conform/Makefile: Run run-conformtest for tests.
35093 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35094 support.
35095
35096 * conform/data/uchar.h-data: New file.
35097 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35098 * conform/data/arpa/inet.h-data: Likewise.
35099 * conform/data/assert.h-data: Likewise.
35100 * conform/data/complex.h-data: Likewise.
35101 * conform/data/cpio.h-data: Likewise.
35102 * conform/data/ctype.h-data: Likewise.
35103 * conform/data/dirent.h-data: Likewise.
35104 * conform/data/dlfcn.h-data: Likewise.
35105 * conform/data/errno.h-data: Likewise.
35106 * conform/data/fcntl.h-data: Likewise.
35107 * conform/data/float.h-data: Likewise.
35108 * conform/data/fmtmsg.h-data: Likewise.
35109 * conform/data/fnmatch.h-data: Likewise.
35110 * conform/data/ftw.h-data: Likewise.
35111 * conform/data/glob.h-data: Likewise.
35112 * conform/data/grp.h-data: Likewise.
35113 * conform/data/iconv.h-data: Likewise.
35114 * conform/data/inttypes.h-data: Likewise.
35115 * conform/data/langinfo.h-data: Likewise.
35116 * conform/data/libgen.h-data: Likewise.
35117 * conform/data/limits.h-data: Likewise.
35118 * conform/data/locale.h-data: Likewise.
35119 * conform/data/math.h-data: Likewise.
35120 * conform/data/monetary.h-data: Likewise.
35121 * conform/data/mqueue.h-data: Likewise.
35122 * conform/data/ndbm.h-data: Likewise.
35123 * conform/data/net/if.h-data: Likewise.
35124 * conform/data/netdb.h-data: Likewise.
35125 * conform/data/netinet/in.h-data: Likewise.
35126 * conform/data/nl_types.h-data: Likewise.
35127 * conform/data/poll.h-data: Likewise.
35128 * conform/data/pthread.h-data: Likewise.
35129 * conform/data/pwd.h-data: Likewise.
35130 * conform/data/regex.h-data: Likewise.
35131 * conform/data/sched.h-data: Likewise.
35132 * conform/data/search.h-data: Likewise.
35133 * conform/data/semaphore.h-data: Likewise.
35134 * conform/data/setjmp.h-data: Likewise.
35135 * conform/data/signal.h-data: Likewise.
35136 * conform/data/spawn.h-data: Likewise.
35137 * conform/data/stdarg.h-data: Likewise.
35138 * conform/data/stdio.h-data: Likewise.
35139 * conform/data/stdlib.h-data: Likewise.
35140 * conform/data/string.h-data: Likewise.
35141 * conform/data/strings.h-data: Likewise.
35142 * conform/data/stropts.h-data: Likewise.
35143 * conform/data/sys/ipc.h-data: Likewise.
35144 * conform/data/sys/mman.h-data: Likewise.
35145 * conform/data/sys/msg.h-data: Likewise.
35146 * conform/data/sys/resource.h-data: Likewise.
35147 * conform/data/sys/select.h-data: Likewise.
35148 * conform/data/sys/sem.h-data: Likewise.
35149 * conform/data/sys/shm.h-data: Likewise.
35150 * conform/data/sys/socket.h-data: Likewise.
35151 * conform/data/sys/stat.h-data: Likewise.
35152 * conform/data/sys/statvfs.h-data: Likewise.
35153 * conform/data/sys/time.h-data: Likewise.
35154 * conform/data/sys/timeb.h-data: Likewise.
35155 * conform/data/sys/times.h-data: Likewise.
35156 * conform/data/sys/types.h-data: Likewise.
35157 * conform/data/sys/uio.h-data: Likewise.
35158 * conform/data/sys/un.h-data: Likewise.
35159 * conform/data/sys/utsname.h-data: Likewise.
35160 * conform/data/sys/wait.h-data: Likewise.
35161 * conform/data/syslog.h-data: Likewise.
35162 * conform/data/tar.h-data: Likewise.
35163 * conform/data/termios.h-data: Likewise.
35164 * conform/data/utime.h-data: Likewise.
35165 * conform/data/utmpx.h-data: Likewise.
35166 * conform/data/varargs.h-data: Likewise.
35167 * conform/data/wchar.h-data: Likewise.
35168 * conform/data/wctype.h-data: Likewise.
35169 * conform/data/wordexp.h-data: Likewise.
35170
35171 * include/stropts.h: New file.
35172 * include/uchar.h: New file.
35173 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35174 * include/assert.h: Likewise.
35175 * include/ctype.h: Likewise.
35176 * include/dirent.h: Likewise.
35177 * include/dlfcn.h: Likewise.
35178 * include/fcntl.h: Likewise.
35179 * include/fnmatch.h: Likewise.
35180 * include/glob.h: Likewise.
35181 * include/grp.h: Likewise.
35182 * include/libio.h: Likewise.
35183 * include/locale.h: Likewise.
35184 * include/math.h: Likewise.
35185 * include/net/if.h: Likewise.
35186 * include/netdb.h: Likewise.
35187 * include/netinet/in.h: Likewise.
35188 * include/pthread.h: Likewise.
35189 * include/pwd.h: Likewise.
35190 * include/regex.h: Likewise.
35191 * include/sched.h: Likewise.
35192 * include/search.h: Likewise.
35193 * include/setjmp.h: Likewise.
35194 * include/signal.h: Likewise.
35195 * include/stdio.h: Likewise.
35196 * include/stdlib.h: Likewise.
35197 * include/string.h: Likewise.
35198 * include/sys/cdefs.h: Likewise.
35199 * include/sys/mman.h: Likewise.
35200 * include/sys/msg.h: Likewise.
35201 * include/sys/resource.h: Likewise.
35202 * include/sys/select.h: Likewise.
35203 * include/sys/socket.h: Likewise.
35204 * include/sys/stat.h: Likewise.
35205 * include/sys/statvfs.h: Likewise.
35206 * include/sys/time.h: Likewise.
35207 * include/sys/times.h: Likewise.
35208 * include/sys/uio.h: Likewise.
35209 * include/sys/utsname.h: Likewise.
35210 * include/sys/wait.h: Likewise.
35211 * include/termios.h: Likewise.
35212 * include/time.h: Likewise.
35213 * include/ulimit.h: Likewise.
35214 * include/unistd.h: Likewise.
35215 * include/utime.h: Likewise.
35216 * include/wchar.h: Likewise.
35217 * include/wctype.h: Likewise.
35218 * include/wordexp.h: Likewise.
35219
35220 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35221
7a270350
UD
35222 * time/time.h: TIME_UTC must be a macro.
35223 Make timespec_get available for ISO C11 only as well.
35224
7724defc
UD
352252012-02-24 Ulrich Drepper <drepper@gmail.com>
35226
35227 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35228 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35229
6b1d1d46
JM
352302012-02-24 Joseph Myers <joseph@codesourcery.com>
35231
35232 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35233
0f8bbd69
JM
352342012-02-24 Joseph Myers <joseph@codesourcery.com>
35235
35236 * manual/texinfo.tex: Update to version 2012-01-19.16.
35237
66ab80bc
JM
352382012-02-24 Joseph Myers <joseph@codesourcery.com>
35239
35240 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35241
74981cc5
RM
352422012-02-24 Roland McGrath <roland@hack.frob.com>
35243
ee968201
RM
35244 [BZ #13738]
35245 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35246 * manual/fdl-1.3.texi: New file.
35247 * manual/fdl-1.1.texi: File removed.
35248
74981cc5
RM
35249 [BZ #13738]
35250 * manual/libc.texinfo (FDL_VERSION): New @set.
35251 Use it for mention of FDL in cover text.
35252 (Documentation License): Use it in @include file name.
35253
7bb764bc
JM
352542012-02-22 Joseph Myers <joseph@codesourcery.com>
35255 Roland McGrath <roland@hack.frob.com>
35256
35257 [BZ #5461]
57f41c40
AS
35258 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35259 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35260 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35261 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35262 name.
35263 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35264
6cbeae47
JM
352652012-02-22 Joseph Myers <joseph@codesourcery.com>
35266
35267 [BZ #2547]
35268 [BZ #11365]
35269 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35270 manipulate bits before adding and subtracting TWO23[sx].
35271 * math/libm-test.inc (nearbyint_test): Add more tests.
35272
fe45ce09
JM
352732012-02-22 Joseph Myers <joseph@codesourcery.com>
35274
35275 [BZ #2548]
35276 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35277 bits before adding and subtracting TWO23[sx].
35278 * math/libm-test.inc (rint_test): Add more tests.
35279 (rint_test_tonearest): Likewise.
35280 (rint_test_towardzero): Likewise.
35281 (rint_test_downward): Likewise.
35282 (rint_test_upward: Likewise.
35283
ff3b3d82
JM
352842012-02-22 Joseph Myers <joseph@codesourcery.com>
35285
35286 [BZ #10110]
35287 * include/stdc-predef.h: New file. Extracted from features.h.
35288 * include/features.h: Include stdc-predef.h.
35289 * Makefile (headers): Add stdc-predef.h.
35290 * CONFORMANCE (Compiler limitations): Update.
35291
ef0aab35
JM
352922012-02-22 Joseph Myers <joseph@codesourcery.com>
35293
35294 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35295
58639409
DM
352962012-02-21 David S. Miller <davem@davemloft.net>
35297
35298 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35299 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35300
c0e70b25
DM
353012012-02-20 David S. Miller <davem@davemloft.net>
35302
35303 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35304 using a normal save/restore sequence, rather than allocating a
35305 dummy stack frame just to store a frame pointer and restore.
35306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35307
fb06851d
JM
353082012-02-21 Joseph Myers <joseph@codesourcery.com>
35309
35310 * manual/install.texi: Fix stray word in line-wrapped comment.
35311
7a8b71c3
DM
353122012-02-20 David S. Miller <davem@davemloft.net>
35313
d510c123
DM
35314 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35315 both binutils and gcc support GOTDATA.
35316
0722d7c2
DM
35317 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35318 "rd %pc" in the PIC register setup sequences.
35319
3d2b3019
DM
35320 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35321 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35322 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35323 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35329 (SYSCALL_ERROR_HANDLER): Likewise.
35330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35331 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35333 (SYSCALL_ERROR_HANDLER): Likewise.
35334
c80098a9
DM
35335 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35336 (HAVE_GCC_GOTDATA): New.
35337 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35338 relocation support in both binutils and gcc.
35339 * sysdeps/sparc/elf/configure: Regenerate.
35340
3a2545a0
DM
35341 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35342 * sysdeps/sparc/sparc32/elf/configure: Delete.
35343 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35344 * sysdeps/sparc/sparc64/elf/configure: Delete.
35345 * sysdeps/sparc/elf/configure.in: New file.
35346 * sysdeps/sparc/elf/configure: Generate.
35347
7a8b71c3
DM
35348 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35349 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35350 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35351 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35352 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35353
f1e86fca
JM
353542012-02-21 Joseph Myers <joseph@codesourcery.com>
35355
35356 * manual/install.texi: Do not mention specific glibc version
35357 numbers.
35358 * manual/libc.texinfo (VERSION, UPDATED): Update.
35359 (@copying): Use @copyright{} and range of years.
35360
0e7dfaef
JM
353612012-02-21 Joseph Myers <joseph@codesourcery.com>
35362
35363 [BZ #13695]
35364 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35365 [crti.S not in sysdirs] (generated): Do not append.
35366 [crti.S not in sysdirs] (omit-deps): Likewise.
35367 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35368 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35369 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35370 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35371 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35372 Likewise.
35373 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35374 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35375 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35376 * csu/defs.awk: Remove file.
35377 * sysdeps/generic/initfini.c: Likewise.
35378 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35379 variable.
35380 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35381 Likewise.
35382
599af3ca
JM
353832012-02-20 Joseph Myers <joseph@codesourcery.com>
35384
35385 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35386 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35387 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35389 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35390 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35391 <bits/epoll.h>.
35392 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35393 (__EPOLL_PACKED): Define to empty if not defined by
35394 <bits/epoll.h>.
35395 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35397 bits/epoll.h.
35398
0e499750
JM
353992012-02-20 Joseph Myers <joseph@codesourcery.com>
35400
35401 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35402 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35403 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35404 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35405 <bits/timerfd.h>.
35406 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35408 bits/timerfd.h.
35409
5ad91f6e
JM
354102012-02-20 Joseph Myers <joseph@codesourcery.com>
35411
35412 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35413 in C locale.
35414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35415 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35418
06b99b02
AJ
354192012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35420
35421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35422 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35423
7638c0fd
AS
354242012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35425
35426 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35427 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35428 defined.
35429 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35430 Likewise.
35431 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35432 entry for 2.16.
35433
92221550
AJ
354342012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35435
35436 * math/w_acos.c: Use non-signaling floating-point comparisons.
35437 * math/w_acosf.c: Likewise.
35438 * math/w_acosh.c: Likewise.
35439 * math/w_acoshf.c: Likewise.
35440 * math/w_acoshl.c: Likewise.
35441 * math/w_acosl.c: Likewise.
35442 * math/w_asin.c: Likewise.
35443 * math/w_asinf.c: Likewise.
35444 * math/w_asinl.c: Likewise.
35445 * math/w_atanh.c: Likewise.
35446 * math/w_atanhf.c: Likewise.
35447 * math/w_atanhl.c: Likewise.
35448 * math/w_exp2.c: Likewise.
35449 * math/w_exp2f.c: Likewise.
35450 * math/w_exp2l.c: Likewise.
35451 * math/w_j0.c: Likewise.
35452 * math/w_j0f.c: Likewise.
35453 * math/w_j0l.c: Likewise.
35454 * math/w_j1.c: Likewise.
35455 * math/w_j1f.c: Likewise.
35456 * math/w_j1l.c: Likewise.
35457 * math/w_jn.c: Likewise.
35458 * math/w_jnf.c: Likewise.
35459 * math/w_log.c: Likewise.
35460 * math/w_log10.c: Likewise.
35461 * math/w_log10f.c: Likewise.
35462 * math/w_log10l.c: Likewise.
35463 * math/w_log2.c: Likewise.
35464 * math/w_log2f.c: Likewise.
35465 * math/w_log2l.c: Likewise.
35466 * math/w_logf.c: Likewise.
35467 * math/w_logl.c: Likewise.
35468 * math/w_sqrt.c: Likewise.
35469 * math/w_sqrtf.c: Likewise.
35470 * math/w_sqrtl.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35473 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35474 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35475 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35476
ebaf36eb
JM
354772012-02-19 Joseph Myers <joseph@codesourcery.com>
35478
35479 [BZ #9739]
35480 * manual/string.texi (strnlen): Use correct parameter name in
35481 equivalent expression.
35482
71c254a6
JM
354832012-02-19 Joseph Myers <joseph@codesourcery.com>
35484
35485 [BZ #11174]
35486 * manual/users.texi (seteuid): Consistently use neweuid for
35487 argument name.
35488
16d2c631
JM
354892012-02-19 Joseph Myers <joseph@codesourcery.com>
35490
35491 [BZ #13704]
35492 * manual/nss.texi (Services in the NSS configuration): Correct
35493 list of services in example configuration file.
35494
cd837b09
NB
354952012-02-19 Nick Bowler <nbowler@draconx.ca>
35496
35497 [BZ #11322]
35498 * manual/arith.texi: Remove statements about negative zero
35499 behaving identically to zero.
35500
02c4bbad
JM
355012012-02-18 Joseph Myers <joseph@codesourcery.com>
35502
35503 [BZ #5993]
35504 * manual/install.texi: Do not document upgrading from libc5.
35505
366842e7
JM
355062012-02-18 Joseph Myers <joseph@codesourcery.com>
35507
35508 [BZ #4596]
35509 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35510
dd54084d
DM
355112012-02-18 David S. Miller <davem@davemloft.net>
35512
35513 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35514 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35515 %o7 across the call.
35516 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35517 instead.
35518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35519 SETUP_PIC_REG_LEAF.
35520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35521 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35522 * sysdeps/sparc/crtn.S: Likewise.
35523
2bcc53a3
UD
355242012-02-17 Ulrich Drepper <drepper@gmail.com>
35525
35526 * aout/Makefile: Remove.
35527
09c093b5
RK
355282012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35529
35530 [BZ #13058]
35531 * manual/examples/argp-ex1.c (main): Format definition in GNU
35532 style.
35533 * manual/examples/argp-ex2.c (main): Likewise.
35534 * manual/examples/argp-ex3.c (main): Likewise.
35535 * manual/examples/argp-ex4.c (main): Likewise.
35536 * manual/examples/longopt.c (main): Use new-style prototype
35537 definition.
35538 * manual/examples/strncat.c (main): Specify return type and use
35539 (void) for arguments.
35540 * manual/examples/subopt.c (main): Use char **argv argument.
35541
2ee633a2
JM
355422012-02-17 Joseph Myers <joseph@codesourcery.com>
35543
35544 [BZ #5077]
35545 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35546 rounding modes.
35547
0520adde
FB
355482012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35549
35550 [BZ #6907]
35551 * manual/string.texi (strchr): Change when strchrnul is
35552 recommended.
35553
3f4081cd
DGM
355542012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35555
35556 [BZ #174]
35557 * manual/locale.texi (setlocale): Document LOCPATH.
35558
d1b10e78
JM
355592012-02-17 Joseph Myers <joseph@codesourcery.com>
35560
35561 [BZ #10210]
35562 * manual/process.texi (execle): Move @dots{} before last argument.
35563
79c6869c
PB
355642012-02-17 Paul Bolle <pebolle@tiscali.nl>
35565
35566 [BZ #12047]
35567 * manual/charset.texi (Generic Charset Conversion): Fix typo
35568 (LC_TYPE -> LC_CTYPE).
35569
cc6e48bc
NB
355702012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35571
35572 [BZ #5805]
35573 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35574 (scalbnf): Likewise.
35575 (scalbnl): Likewise.
35576 (scalbln): Likewise.
35577 (scalblnf): Likewise.
35578 (scalblnl): Likewise.
35579 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35580 (vwarnx): Likewise.
35581 (verr): Likewise.
35582 (verrx): Likewise.
35583 * manual/filesys.texi (telldir): Use braces around return type.
35584 * manual/llio.texi (mmap): Add space after comma.
35585 (mmap64): Likewise.
35586 * manual/math.texi (jn): Use @var{} on parameter names.
35587 (jnf): Likewise.
35588 (jnl): Likewise.
35589 (yn): Likewise.
35590 (ynf): Likewise.
35591 (ynl): Likewise.
35592 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35593 line.
35594 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35595 "...".
35596 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35597 (sched_get_priority_max): Likewise.
35598 * manual/signal.texi (sigvec): Add space after comma.
35599 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35600 names.
35601 (if_indextoname): Likewise.
35602 (if_freenameindex): Likewise.
35603 (sendto): Use ',' instead of '.' in prototype.
35604 * manual/startup.texi (syscall): Use @dots{} instead of literal
35605 "...".
35606 * manual/stdio.texi (__fpending): Separate initial words of
35607 paragraph from @deftypefun line.
35608 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35609 "...".
35610 (vsyslog): Use @var{} on parameter names.
35611 * manual/terminal.texi (stty): Use @var{} on parameter names.
35612 * manual/users.texi (getutmp): Use @var{} on parameter names.
35613 (getutmpx): Likewise.
35614
5b23062f
JM
356152012-02-17 Joseph Myers <joseph@codesourcery.com>
35616
35617 [BZ #6884]
35618 * manual/stdio.texi (fopen): Fix typos in description of
35619 ",ccs=STRING".
35620
8dee4833
AJ
356212012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35622
35623 [BZ #4026]
35624 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35625 get clock_id definition.
35626
9078ce93
TS
356272012-02-17 Thomas Schwinge <thomas@schwinge.name>
35628
35629 [BZ #4822]
35630 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35631 (madvise): Cast every argument to void on its own.
35632
3835c55f
JM
356332012-02-17 Joseph Myers <joseph@codesourcery.com>
35634
35635 [BZ #9902]
35636 * manual/startup.texi (Exit Status): Fix typo.
35637
35c47e37
JM
356382012-02-17 Joseph Myers <joseph@codesourcery.com>
35639
35640 [BZ #10140]
35641 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35642 * manual/examples/argp-ex2.c: Likewise.
35643 * manual/examples/argp-ex3.c: Likewise.
35644
e3b69ca7
RH
356452012-02-16 Richard Henderson <rth@redhat.com>
35646
35647 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35648 * sysdeps/s390/s390-32/initfini.c: Remove.
35649 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35650 * sysdeps/s390/s390-64/initfini.c: Remove.
35651
df83af67
KK
356522012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35653
35654 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35655 compiler output for sysdeps/generic/initfini.c.
35656 * sysdeps/sh/elf/initfini.c: Remove file.
35657
f63f3380
DM
356582012-02-16 David S. Miller <davem@davemloft.net>
35659
fb59b3a4
DM
35660 [BZ #11494]
35661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35662
f63f3380
DM
35663 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35664 * sysdeps/sparc/crti.S: New file.
35665 * sysdeps/sparc/crtn.S: New file.
35666 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35667 * sysdeps/sparc/sparc64/Makefile: Likewise.
35668
df6a4a4a
MF
356692012-02-15 Mike Frysinger <vapier@gentoo.org>
35670
6dd8f3dc 35671 [BZ #3335]
df6a4a4a
MF
35672 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35673
1cac7236
RM
356742012-02-15 Roland McGrath <roland@hack.frob.com>
35675
d2c736f8
RM
35676 [BZ #4822]
35677 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35678
1cac7236
RM
35679 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35680 (write, read, close): Likewise.
35681 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35682
8e475601
JM
356832012-02-15 Joseph Myers <joseph@codesourcery.com>
35684
35685 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35686 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35687 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35688 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35689 <bits/signalfd.h>.
35690 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35692 bits/signalfd.h.
35693
ed656b40
MP
356942012-02-14 Marek Polacek <polacek@redhat.com>
35695
35696 * sysdeps/x86_64/crti.S: New file.
35697 * sysdeps/x86_64/crtn.S: New file.
35698 * sysdeps/x86_64/elf/initfini.c: Remove file.
35699
2a979d3a
JM
357002012-02-13 Joseph Myers <joseph@codesourcery.com>
35701
35702 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35703 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35704 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35705 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35706 <bits/inotify.h>.
35707 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35709 bits/inotify.h.
35710
2a418ac3
JM
357112012-02-13 Joseph Myers <joseph@codesourcery.com>
35712
35713 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35714 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35715 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35716 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35717 <bits/eventfd.h>.
35718 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35720 bits/eventfd.h.
35721
fb779be7
TS
357222012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35723
e19e83c5
RM
35724 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35725 __feraiseexcept instead of feraiseexcept.
7c35ffed 35726
fb779be7
TS
35727 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35728 nanosleep invocations.
35729 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35730 strings, and add error checking for a nanosleep invocations.
35731
59ba27a6
PE
357322012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35733
35734 Replace FSF snail mail address with URLs, as per GNU coding standards.
35735 Most of the snail mail addresses were wrong anyway, and omitting
35736 them makes the source code easier to maintain. Almost all of the
35737 changes are to license notices and to locale LC_IDENTIFICATION
35738 addresses, except for this one:
35739 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35740 not its snail mail address.
35741
57b957eb
RH
357422012-02-09 Richard Henderson <rth@twiddle.net>
35743
af850b1c
RH
35744 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35745 of kernel-features.h.
35746
57b957eb
RH
35747 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35748
6b73181a
MP
357492012-02-08 Marek Polacek <polacek@redhat.com>
35750
35751 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35752 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35753 * sysdeps/gnu/_G_config.h: Likewise.
35754 * sysdeps/generic/_G_config.h: Likewise.
35755
26ecc33a
AS
357562012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35757
6c6dbc63
AS
35758 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35759 tests.
35760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35761
e216c012
AS
35762 * sysdeps/powerpc/powerpc32/crti.S: New file.
35763 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35764 * sysdeps/powerpc/powerpc64/crti.S: New file.
35765 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35766
26ecc33a
AS
35767 * Makeconfig (have-initfini): Don't set.
35768 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35769 * configure.in (nopic_initfini): Don't substitute.
35770 * config.h.in (HAVE_INITFINI): Don't #undef.
35771 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35772 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35773
3add8e13
JM
357742012-02-08 Joseph Myers <joseph@codesourcery.com>
35775
35776 Support crti.S and crtn.S provided directly by architectures.
35777 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35778 [crti.S in sysdirs] (omit-deps): Likewise.
35779 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35780 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35781 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35782 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35783 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35784 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35785 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35786 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35787 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35788 compiler output for sysdeps/generic/initfini.c.
35789 * sysdeps/i386/elf/Makefile: Remove file.
35790 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35791
a22f12b4
MP
357922012-02-07 Marek Polacek <polacek@redhat.com>
35793
35794 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35795 * sysdeps/gnu/_G_config.h: Likewise.
35796 * sysdeps/mach/hurd/_G_config.h: Likewise.
35797
148cf100
MP
357982012-02-07 Marek Polacek <polacek@redhat.com>
35799
35800 * math/Makefile (tests): Add tst-CMPLX2.
35801 * math/tst-CMPLX2.c: New file.
35802
cfdc0dd7
AS
358032012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35804
84ba42c4
AS
35805 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35806
cfdc0dd7
AS
35807 * math/libm-test.inc (jn_test): Add missing L suffix.
35808
622c86f4
MP
358092012-02-06 Marek Polacek <polacek@redhat.com>
35810
35811 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35812 * sysdeps/i386/fpu/e_powf.S: Likewise.
35813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35814 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35815 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35816 * sysdeps/i386/fpu/e_pow.S: Likewise.
35817 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35818 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35819 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35820 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35821 * sysdeps/i386/fpu/e_log2.S: Likewise.
35822 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35823 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35824 * sysdeps/i386/fpu/e_powl.S: Likewise.
35825 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35826 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35827 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35828 * sysdeps/i386/fpu/e_logl.S: Likewise.
35829 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35830 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35831 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35832 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35833 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35834 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35835 * sysdeps/i386/fpu/e_log.S: Likewise.
35836 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35837 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35838 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35839 * sysdeps/i386/fpu/e_logf.S: Likewise.
35840 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35841 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35842 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35843 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35844 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35845 * sysdeps/i386/fpu/e_log10.S: Likewise.
35846 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35847 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35848 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35849 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35850 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35851 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35852 * sysdeps/i386/asm-syntax.h: Likewise.
35853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35854 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35856 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35857 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35859 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35860 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35862 * sysdeps/powerpc/sysdep.h: Likewise.
35863 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35864 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35865
d4a54ac6
JM
358662012-02-06 Joseph Myers <joseph@codesourcery.com>
35867
35868 [BZ #411]
35869 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35870
314054ea
JM
358712012-02-06 Joseph Myers <joseph@codesourcery.com>
35872
35873 * sysdeps/i386/sysdep.h: Include <features.h>.
35874 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35875 version.
35876
d8e0ca50
JM
358772012-02-05 Joseph Myers <joseph@codesourcery.com>
35878
35879 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35880 Define.
35881 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35882 LOAD_PIC_REG_STR.
35883
b1da7dd9
JM
358842012-02-03 Joseph Myers <joseph@codesourcery.com>
35885
35886 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35887 (SETUP_PIC_REG): Use GET_PC_THUNK.
35888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35889 macro.
35890
9a1d9254
JM
358912012-02-03 Joseph Myers <joseph@codesourcery.com>
35892
35893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35894 for non-PIC compilation.
35895 (SETUP_PIC_REG): Add .p2align directive.
35896 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35897 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35932 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35933 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35937
65dc3b75
JM
359382012-02-03 Joseph Myers <joseph@codesourcery.com>
35939
35940 * math/tst-CMPLX.c: Include <stdio.h>.
35941
d55bf177
JM
359422012-01-31 Joseph Myers <joseph@codesourcery.com>
35943
35944 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35945 float.
35946 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35947 * sysdeps/sparc/bits/mathdef.h: Likewise.
35948
69db4f8f
MP
359492012-01-31 Marek Polacek <polacek@redhat.com>
35950
35951 * libio/libio.h: Don't define _PARAMS.
35952 * locale/programs/config.h: Don't define PARAMS.
35953 * stdlib/strtol_l.c: Likewise.
35954 (__strtol_l): Remove PARAMS from the prototype.
35955
41b81892
UD
359562012-01-31 Ulrich Drepper <drepper@gmail.com>
35957
3b49edc0
UD
35958 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35959 names. Just use the correct names. Remove unnecessary wrapper
35960 functions.
35961 * malloc/arena.c: Likewise.
35962 * malloc/hooks.c: Likewise.
35963
41b81892
UD
35964 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35965 ARENA_TEST says not to. Simplify test for creation of a new arena.
35966 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35967
27a25b6e
UD
359682012-01-30 Ulrich Drepper <drepper@gmail.com>
35969
35970 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35971 into tail calls.
35972 (update_get_addr): New function.
35973 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35974 GET_ADDR_MODULE parameter.
35975
c8a89e7d
JM
359762012-01-30 Joseph Myers <joseph@codesourcery.com>
35977
35978 * crypt/cert.c: Remove __STDC__ conditionals.
35979 * crypt/crypt-entry.c: Likewise.
35980 * crypt/crypt_util.c: Likewise.
35981 * libio/filedoalloc.c: Likewise.
35982 * libio/fileops.c: Likewise.
35983 * libio/genops.c: Likewise.
35984 * libio/iofclose.c: Likewise.
35985 * libio/iofdopen.c: Likewise.
35986 * libio/iofopen.c: Likewise.
35987 * libio/iofopen64.c: Likewise.
35988 * libio/iogetdelim.c: Likewise.
35989 * libio/iopopen.c: Likewise.
35990 * libio/obprintf.c: Likewise.
35991 * libio/oldfileops.c: Likewise.
35992 * libio/oldiofclose.c: Likewise.
35993 * libio/oldiofdopen.c: Likewise.
35994 * libio/oldiofopen.c: Likewise.
35995 * libio/oldiopopen.c: Likewise.
35996 * libio/wfiledoalloc.c: Likewise.
35997 * libio/wgenops.c: Likewise.
35998 * locale/programs/xmalloc.c: Likewise.
35999 * misc/syslog.c: Likewise.
36000 * stdio-common/xbug.c: Likewise.
36001 * string/memchr.c: Likewise.
36002 * string/memcmp.c: Likewise.
36003 * string/memrchr.c: Likewise.
36004 * string/rawmemchr.c: Likewise.
36005 * sysdeps/posix/getcwd.c: Likewise.
36006 * time/strftime_l.c: Likewise.
36007
3b100462
JM
360082012-01-30 Joseph Myers <joseph@codesourcery.com>
36009
36010 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36011 * config.make.in (config-cflags-sse2avx): Define.
36012 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36013 Fix typo.
36014
607998af
CM
360152012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36016
36017 * scripts/config.guess: Update from upstream config git repository.
36018 * scripts/config.sub: Likewise.
36019
3601428f
CM
360202012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36021
3ac8b282
CM
36022 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36023 (EM_NUM): Update.
36024 (R_TILEPRO_*, R_TILEGX_*): New macros.
36025
e034841e
CM
36026 * scripts/firstversions.awk: Fix bug in version range handling.
36027
540d7568
CM
36028 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36029
3601428f
CM
36030 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36031
463de862
CM
36032 * include/sys/epoll.h: New file.
36033 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36034 libc_hidden_def.
36035
73139a76
UD
360362012-01-28 Ulrich Drepper <drepper@gmail.com>
36037
96bc5b45
UD
36038 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36039 Avoid unnecessary __WORDSIZE == 64 test.
36040 (fmaxf): Use VEX format if possible.
36041 (fmax): Likewise.
36042 (fminf): Likewise.
36043 (fmin): Likewise.
36044
56f6f6a2
UD
36045 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36046 * math/math_private.h: Remove libc_fegetround* and
36047 libc_fesetround*.
36048 * sysdeps/i386/configure.in: Check for -msse2avx.
36049 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36050 also if SSE2AVX is defined.
36051 Remove libc_fegetround* and libc_fesetround*.
36052 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36053 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36054 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36055 of HAS_YMM_USABLE.
36056 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36057 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36058 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36059 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36060 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36061
73139a76
UD
36062 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36063
d73f93a4
AZ
360642012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36065
36066 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36067 size is not set.
36068 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36069
6ee65ed6
UD
360702012-01-27 Ulrich Drepper <drepper@gmail.com>
36071
36072 [BZ #13618]
36073 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36074 relocation.
36075 * Makeconfig (libm): Define.
36076 * elf/Makefile: Add rules to build and run tst-relsort1.
36077 * elf/tst-relsort1.c: New file.
36078 * elf/tst-relsort1mod1.c: New file.
36079 * elf/tst-relsort1mod2.c: New file.
36080
8db21882
JM
360812012-01-27 Joseph Myers <joseph@codesourcery.com>
36082
36083 * math/s_ldexp.c: Remove __STDC__ conditionals.
36084 * math/s_ldexpf.c: Likewise.
36085 * math/s_ldexpl.c: Likewise.
36086 * math/s_nextafter.c: Likewise.
36087 * math/s_nexttowardf.c: Likewise.
36088 * math/s_significand.c: Likewise.
36089 * math/s_significandf.c: Likewise.
36090 * math/s_significandl.c: Likewise.
36091 * math/w_jnl.c: Likewise.
36092 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36093 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36094 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36095 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36096 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36097 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36104 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36106 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36111 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36112 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36113 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36114 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36116 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36117 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36118 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36119 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36120 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36122 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36123 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36124 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36125 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36126 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36127 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36128 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36129 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36130 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36131 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36132 * sysdeps/ieee754/k_standard.c: Likewise.
36133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36137 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36139 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36142 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36146 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36147 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36151 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36152 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36163 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36165 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36172 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36173 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36181 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36182 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36186 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36187 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36188 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36189 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36190 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36191 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36192 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36193 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36194 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36195 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36196 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36197 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36199 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36202 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36203 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36204 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36205 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36206 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36207 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36208 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36209 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36210 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36211 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36212 * sysdeps/ieee754/s_matherr.c: Likewise.
36213 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36214 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36217
965a54a4
JM
362182012-01-26 Joseph Myers <joseph@codesourcery.com>
36219
36220 * crypt/md5.h: Remove __STDC__ conditionals.
36221 * libio/libioP.h: Likewise.
36222 * locale/programs/config.h: Likewise.
36223 * sysdeps/generic/sysdep.h: Likewise.
36224 * sysdeps/i386/asm-syntax.h: Likewise.
36225 * sysdeps/s390/asm-syntax.h: Likewise.
36226 * sysdeps/unix/sysdep.h: Likewise.
36227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36229
7071ad79
JM
362302012-01-26 Joseph Myers <joseph@codesourcery.com>
36231
36232 * libio/libio.h: Remove __STDC__ conditionals.
36233 * malloc/obstack.h: Likewise.
36234 * math/complex.h: Likewise.
36235 * math/math.h: Likewise.
36236 * sysdeps/generic/_G_config.h: Likewise.
36237 * sysdeps/gnu/_G_config.h: Likewise.
36238 * sysdeps/mach/hurd/_G_config.h: Likewise.
36239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36240 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36241 * sysdeps/sparc/bits/mathdef.h: Likewise.
36242
afc5ed09
UD
362432012-01-26 Ulrich Drepper <drepper@gmail.com>
36244
36245 [BZ #13583]
36246 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36247 Clean up HAS_* macros.
afc5ed09 36248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36249 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36250 possible.
36251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36252 HAS_AVX.
36253 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36254 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36255 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36257 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36258
bdb6de1d
JM
362592012-01-25 Joseph Myers <joseph@codesourcery.com>
36260
36261 * elf/tst-unique3.cc (gets): Remove declaration.
36262 * elf/tst-unique3lib.cc (gets): Likewise.
36263 * elf/tst-unique3lib2.cc (gets): Likewise.
36264 * elf/tst-unique4.cc (gets): Likewise.
36265
b15549e6
UD
362662012-01-24 Ulrich Drepper <drepper@gmail.com>
36267
36268 * include/stdio.h: Add C++ protection. Add gets declarations and
36269 definitions.
36270 * debug/tst-chk1.c: Don't declare gets here.
36271 * stdio-common/tst-gets.c: Likewise.
36272
a037381f
JM
362732012-01-24 Joseph Myers <joseph@codesourcery.com>
36274
36275 * posix/glob: Remove directory.
36276
f1d4aa75
JM
362772012-01-24 Joseph Myers <joseph@codesourcery.com>
36278
36279 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36280
81c0c964
PT
362812012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36282
36283 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36284 of the non-standard EPFNOSUPPORT.
36285
0ea698ae
ST
362862011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36287
36288 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36289 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36290 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36291
d220b117
UD
362922012-01-21 Ulrich Drepper <drepper@gmail.com>
36293
36294 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36295
3e1aa84e
UD
362962012-01-20 Ulrich Drepper <drepper@gmail.com>
36297
36298 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36299 transient errors.
36300 * nscd/grpcache.c (cache_addgr): Likewise.
36301 * nscd/hstcache.c (cache_addhst): Likewise.
36302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36303 * nscd/pwdcache.c (cache_addpw): Likewise.
36304 * nscd/servicescache.c (cache_addserv): Likewise.
36305
400aa020
UD
363062012-01-16 Ulrich Drepper <drepper@gmail.com>
36307
d77e7869
UD
36308 * malloc/malloc.c: Various cleanups.
36309 * malloc/hooks.c: Likewise.
36310
400aa020
UD
36311 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36312 * stdlib/bug-fmtmsg1.c: New file.
36313
36314 * stdlib/fmtmsg.c (init): Add missing unlock.
36315 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36316
e0a309cf
MP
363172012-01-12 Marek Polacek <polacek@redhat.com>
36318
36319 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36320 and _GNU_SOURCE.
36321
929d11c7
WS
363222012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36323
36324 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36325 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36326 macro to ensure uniqueness of label name.
36327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36329
41d0e869
UD
363302012-01-11 Ulrich Drepper <drepper@gmail.com>
36331
0cc5ed3b
UD
36332 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36333
41d0e869
UD
36334 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36335 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36336 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36338
a47a831a
UD
363392012-01-10 Ulrich Drepper <drepper@gmail.com>
36340
daa891c0
UD
36341 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36342
36343 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36344 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36345 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36346
e58ef0f2
UD
36347 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36348
a47a831a 36349 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36350 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36351 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36353
36354 * math/bits/math-finite.h: Add ldexp support.
36355
a0bfc9c7
MP
363562012-01-10 Marek Polacek <polacek@redhat.com>
36357
36358 * locale/programs/localedef.h (show_archive_content): Add noreturn
36359 attribute.
36360
d6e97a1d
UD
363612012-01-09 Ulrich Drepper <drepper@gmail.com>
36362
36363 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36364
d5835c26
UD
363652012-01-08 Ulrich Drepper <drepper@gmail.com>
36366
e5f484c6
UD
36367 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36368
d5835c26
UD
36369 * io/Makefile (headers): Add bits/poll2.h.
36370
d1f741e9
WS
363712011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36372
36373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36374 typo #include statement.
36375
ec09c1c4
UD
363762012-01-08 Ulrich Drepper <drepper@gmail.com>
36377
36378 * include/sys/cdefs.h: Define __attribute_alloc_size.
36379 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36380 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36381 * elf/pldd.c: Likewise.
36382 * iconv/iconv_charmap.c: Likewise.
36383 * iconv/iconvconfig.c: Likewise.
36384 * iconv/strtab.c: Likewise.
36385 * locale/programs/locale.c: Likewise.
36386 * locale/programs/localedef.h: Likewise.
36387 * locale/programs/simple-hash.c: Likewise.
36388 * nscd/nscd.h: Likewise.
36389 * nss/makedb.c: Likewise.
36390 * sysdeps/generic/ldconfig.h: Likewise.
36391 * locale/programs/localedef.c: Remove xmalloc prototype.
36392 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36393
20b38e03
PP
363942012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36395
36396 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36397 appropriate.
36398
a0da5fe1
UD
363992012-01-08 Ulrich Drepper <drepper@gmail.com>
36400
1d5a644a 36401 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36402 * math/tst-CMPLX.c: New file.
1d5a644a 36403
8784a6db
UD
36404 * math/complex.h (CMPLXL): Fix typo.
36405
d9a216c0
UD
36406 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36407 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36408 GLIBC_2.16.
36409 * debug/tst-chk1.c: Add poll and ppoll tests.
36410 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36411 * include/sys/poll.h: Add hidden proto for ppoll.
36412 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36413 * sysdeps/mach/hurd/ppoll.c: Likewise.
36414 * io/ppoll.c: Likewise.
36415 * debug/poll_chk.c: New file.
36416 * debug/ppoll_chk.c: New file.
36417 * include/bits/poll2.h: New file.
36418 * io/bits/poll2.h: New file.
36419
ac097f5c
UD
36420 [BZ #1350]
36421 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36422
2119dcfa
UD
36423 * configure.in: static is always set to yes. Remove.
36424 * config.make.in: Don't set build-static.
36425 * Makeconfig: Remove use of build-static.
36426 * dlfcn/Makefile: Likewise.
36427 * elf/Makefile: Likewise.
36428 * math/Makefile: Likewise.
36429 * misc/Makefile: Likewise.
36430 * nptl/Makefile: Likewise.
36431 * sysdeps/mach/hurd/Makefile: Likewise.
36432
121766a9
UD
36433 * configure.in: PWD_P is not used anymore.
36434 * config.make.in: Remove PWD_P entry.
36435
51a1d39c 36436 * configure.in: Remove last remnants of RANLIB.
8720d066 36437 No need to check for signed size_t anymore.
215f4bdc
UD
36438 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36439 and IA-64.
3857022a 36440 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36441 * aclocal.m4: Likewise.
36442
d3ed7225
UD
36443 * wcsmbs/mbrtoc16.c: Implement using towc function.
36444 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36445 * wcsmbs/wcsmbsload.c: Likewise.
36446 * iconv/gconv_simple.c: Likewise.
36447 * iconv/gconv_int.h: Likewise.
36448 * iconv/gconv_builtin.h: Likewise.
36449 * iconv/iconv_prog.c: Remove CHAR16 handling.
36450
36451 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36452
36453 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36454
a0da5fe1
UD
36455 * configure.in: Remove --with-elf and --enable-bounded options.
36456 Dont set base_machine for ia64. More non-ELF conditions removed.
36457 Remove testing and setting of leading underscore information.
36458 * config.make.in (build-bounded): Set to no.
36459 * config.h.in: Remove NO_UNDERSCORES entry.
36460 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36461 them.
36462 * csu/start.c: Remove !NO_UNDERSCORE code.
36463 * locale/localeinfo.h: Likewise.
36464 * sysdeps/generic/machine-gmon.h: Likewise.
36465 * sysdeps/generic/sysdep.h: Likewise.
36466 * sysdeps/i386/sysdep.h: Likewise.
36467 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36468 * sysdeps/mach/sysdep.h: Likewise.
36469 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36471 * sysdeps/sh/sysdep.h: Likewise.
36472 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36473 * sysdeps/unix/i386/sysdep.S: Likewise.
36474 * sysdeps/unix/sparc/start.c: Likewise.
36475 * sysdeps/unix/sparc/sysdep.S: Likewise.
36476 * sysdeps/unix/sparc/sysdep.h: Likewise.
36477 * sysdeps/unix/start.c: Likewise.
36478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36479 * sysdeps/x86_64/sysdep.h: Likewise.
36480
df78418a
UD
364812012-01-07 Ulrich Drepper <drepper@gmail.com>
36482
a784e502
UD
36483 [BZ #13553]
36484 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36485 for non-gcc.
36486 * argp/argp-fmtstream.h: Use const instead __const.
36487 * argp/argp.h: Likewise.
36488 * assert/assert.h: Likewise.
36489 * bits/fenv.h: Likewise.
36490 * bits/sched.h: Likewise.
36491 * bits/sigset.h: Likewise.
36492 * bits/sigthread.h: Likewise.
36493 * catgets/nl_types.h: Likewise.
36494 * conform/data/pthread.h-data: Likewise.
36495 * crypt/crypt-private.h: Likewise.
36496 * crypt/crypt.h: Likewise.
36497 * crypt/crypt_util.c: Likewise.
36498 * ctype/ctype.h: Likewise.
36499 * debug/execinfo.h: Likewise.
36500 * debug/mbsnrtowcs_chk.c: Likewise.
36501 * debug/mbsrtowcs_chk.c: Likewise.
36502 * debug/wcsnrtombs_chk.c: Likewise.
36503 * debug/wcsrtombs_chk.c: Likewise.
36504 * debug/wcstombs_chk.c: Likewise.
36505 * dirent/dirent.h: Likewise.
36506 * dlfcn/dlfcn.h: Likewise.
36507 * elf/neededtest4.c: Likewise.
36508 * grp/grp.h: Likewise.
36509 * gshadow/gshadow.h: Likewise.
36510 * iconv/gconv.h: Likewise.
36511 * iconv/gconv_int.h: Likewise.
36512 * iconv/gconv_simple.c: Likewise.
36513 * iconv/iconv.h: Likewise.
36514 * iconv/loop.c: Likewise.
36515 * iconv/skeleton.c: Likewise.
36516 * include/aio.h: Likewise.
36517 * include/aliases.h: Likewise.
36518 * include/argz.h: Likewise.
36519 * include/arpa/inet.h: Likewise.
36520 * include/assert.h: Likewise.
36521 * include/dirent.h: Likewise.
36522 * include/dlfcn.h: Likewise.
36523 * include/execinfo.h: Likewise.
36524 * include/fcntl.h: Likewise.
36525 * include/fenv.h: Likewise.
36526 * include/glob.h: Likewise.
36527 * include/grp.h: Likewise.
36528 * include/libintl.h: Likewise.
36529 * include/mntent.h: Likewise.
36530 * include/netdb.h: Likewise.
36531 * include/pwd.h: Likewise.
36532 * include/rpc/netdb.h: Likewise.
36533 * include/sched.h: Likewise.
36534 * include/search.h: Likewise.
36535 * include/shadow.h: Likewise.
36536 * include/signal.h: Likewise.
36537 * include/stdio.h: Likewise.
36538 * include/stdlib.h: Likewise.
36539 * include/string.h: Likewise.
36540 * include/sys/socket.h: Likewise.
36541 * include/sys/stat.h: Likewise.
36542 * include/sys/statfs.h: Likewise.
36543 * include/sys/statvfs.h: Likewise.
36544 * include/sys/syslog.h: Likewise.
36545 * include/sys/time.h: Likewise.
36546 * include/sys/uio.h: Likewise.
36547 * include/time.h: Likewise.
36548 * include/unistd.h: Likewise.
36549 * include/utmp.h: Likewise.
36550 * include/wchar.h: Likewise.
36551 * include/wctype.h: Likewise.
36552 * inet/aliases.h: Likewise.
36553 * inet/arpa/inet.h: Likewise.
36554 * inet/netinet/ether.h: Likewise.
36555 * inet/netinet/in.h: Likewise.
36556 * intl/libintl.h: Likewise.
36557 * io/bits/fcntl2.h: Likewise.
36558 * io/fcntl.h: Likewise.
36559 * io/ftw.h: Likewise.
36560 * io/sys/poll.h: Likewise.
36561 * io/sys/stat.h: Likewise.
36562 * io/sys/statfs.h: Likewise.
36563 * io/sys/statvfs.h: Likewise.
36564 * io/utime.h: Likewise.
36565 * libio/bits/stdio.h: Likewise.
36566 * libio/bits/stdio2.h: Likewise.
36567 * libio/libio.h: Likewise.
36568 * libio/libioP.h: Likewise.
36569 * libio/stdio.h: Likewise.
36570 * locale/lc-ctype.c: Likewise.
36571 * locale/locale.h: Likewise.
36572 * login/utmp.h: Likewise.
36573 * malloc/arena.c: Likewise.
36574 * malloc/malloc.c: Likewise.
36575 * malloc/malloc.h: Likewise.
36576 * malloc/mcheck.c: Likewise.
36577 * malloc/mtrace.c: Likewise.
36578 * math/bits/mathcalls.h: Likewise.
36579 * math/fenv.h: Likewise.
36580 * math/math_private.h: Likewise.
36581 * misc/bits/error.h: Likewise.
36582 * misc/bits/syslog.h: Likewise.
36583 * misc/err.h: Likewise.
36584 * misc/error.h: Likewise.
36585 * misc/fstab.h: Likewise.
36586 * misc/mntent.h: Likewise.
36587 * misc/regexp.h: Likewise.
36588 * misc/search.h: Likewise.
36589 * misc/sgtty.h: Likewise.
36590 * misc/sys/mman.h: Likewise.
36591 * misc/sys/syslog.h: Likewise.
36592 * misc/sys/uio.h: Likewise.
36593 * misc/sys/xattr.h: Likewise.
36594 * misc/ttyent.h: Likewise.
36595 * nis/rpcsvc/ypclnt.h: Likewise.
36596 * nss/nss.h: Likewise.
36597 * posix/bits/unistd.h: Likewise.
36598 * posix/fnmatch.h: Likewise.
36599 * posix/glob.h: Likewise.
36600 * posix/sched.h: Likewise.
36601 * posix/spawn.h: Likewise.
36602 * posix/sys/wait.h: Likewise.
36603 * posix/unistd.h: Likewise.
36604 * posix/wordexp.h: Likewise.
36605 * pwd/pwd.h: Likewise.
36606 * resolv/netdb.h: Likewise.
36607 * resource/sys/resource.h: Likewise.
36608 * rt/aio.h: Likewise.
36609 * rt/bits/mqueue2.h: Likewise.
36610 * rt/mqueue.h: Likewise.
36611 * shadow/shadow.h: Likewise.
36612 * signal/signal.h: Likewise.
36613 * socket/send.c: Likewise.
36614 * socket/sendto.c: Likewise.
36615 * socket/sys/socket.h: Likewise.
36616 * stdio-common/printf.h: Likewise.
36617 * stdlib/bits/stdlib.h: Likewise.
36618 * stdlib/fmtmsg.h: Likewise.
36619 * stdlib/monetary.h: Likewise.
36620 * stdlib/stdlib.h: Likewise.
36621 * stdlib/ucontext.h: Likewise.
36622 * streams/stropts.h: Likewise.
36623 * string/argz.h: Likewise.
36624 * string/bits/string2.h: Likewise.
36625 * string/string.h: Likewise.
36626 * string/strings.h: Likewise.
36627 * sunrpc/rpc/auth.h: Likewise.
36628 * sunrpc/rpc/auth_des.h: Likewise.
36629 * sunrpc/rpc/clnt.h: Likewise.
36630 * sunrpc/rpc/netdb.h: Likewise.
36631 * sunrpc/rpc/pmap_clnt.h: Likewise.
36632 * sunrpc/rpc/xdr.h: Likewise.
36633 * sysdeps/generic/inttypes.h: Likewise.
36634 * sysdeps/generic/net/if.h: Likewise.
36635 * sysdeps/generic/sys/swap.h: Likewise.
36636 * sysdeps/gnu/net/if.h: Likewise.
36637 * sysdeps/gnu/utmpx.h: Likewise.
36638 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36639 * sysdeps/i386/i486/bits/string.h: Likewise.
36640 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36641 * sysdeps/s390/bits/string.h: Likewise.
36642 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36643 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36644 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36645 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36646 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36647 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36648 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36649 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36650 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36651 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36652 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36653 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36654 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36655 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36656 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36657 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36658 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36660 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36661 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36663 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36664 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36665 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36666 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36667 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36668 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36669 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36670 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36671 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36672 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36673 * sysvipc/sys/ipc.h: Likewise.
36674 * sysvipc/sys/msg.h: Likewise.
36675 * sysvipc/sys/sem.h: Likewise.
36676 * sysvipc/sys/shm.h: Likewise.
36677 * termios/termios.h: Likewise.
36678 * time/sys/time.h: Likewise.
36679 * time/time.h: Likewise.
36680 * wcsmbs/bits/wchar2.h: Likewise.
36681 * wcsmbs/uchar.h: Likewise.
36682 * wcsmbs/wchar.h: Likewise.
36683 * wctype/wctype.h: Likewise.
36684
0269750c
UD
36685 [BZ #13551]
36686 * Makeconfig: Remove all but ELF support including AIX support.
36687 * Makerules: Likewise.
36688 * config.h.in: Likewise.
36689 * config.make.in: Likewise.
36690 * configure: Likewise.
36691 * configure.in: Likewise.
36692 * csu/Makefile: Likewise.
36693 * csu/version.c: Likewise.
36694 * debug/Makefile: Likewise.
36695 * dlfcn/Makefile: Likewise.
36696 * elf/Makefile: Likewise.
36697 * extra-lib.mk: Likewise.
36698 * iconv/Makefile: Likewise.
36699 * include/libc-symbols.h: Likewise.
36700 * include/shlib-compat.h: Likewise.
36701 * resolv/Makefile: Likewise.
36702 * resolv/res_libc.c: Likewise.
36703 * rt/Makefile: Likewise.
36704 * sysdeps/i386/asm-syntax.h: Likewise.
36705 * sysdeps/i386/sysdep.h: Likewise.
36706 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36707 * sysdeps/mach/sysdep.h: Likewise.
36708 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36709 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36710 * sysdeps/s390/asm-syntax.h: Likewise.
36711 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36712 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36713 * sysdeps/sh/sysdep.h: Likewise.
36714 * sysdeps/unix/sparc/sysdep.h: Likewise.
36715 * sysdeps/wordsize-32/divdi3.c: Likewise.
36716 * sysdeps/x86_64/sysdep.h: Likewise.
36717
00bbd29b
UD
36718 * argp/Versions: Remove _argp_unlock_xxx.
36719
36720 [BZ #13559]
36721 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36722 * abilist/libBrokenLocale.abilist: Likewise.
36723 * abilist/libanl.abilist: Likewise.
36724 * abilist/libc.abilist: Likewise.
36725 * abilist/libcrypt.abilist: Likewise.
36726 * abilist/libdl.abilist: Likewise.
36727 * abilist/libm.abilist: Likewise.
36728 * abilist/libnsl.abilist: Likewise.
36729 * abilist/libpthread.abilist: Likewise.
36730 * abilist/libresolv.abilist: Likewise.
36731 * abilist/librt.abilist: Likewise.
36732 * abilist/libthread_db.abilist: Likewise.
36733 * abilist/libutil.abilist: Likewise.
36734 * abilist/libnss_db.abilist: New file.
36735
36736 * scripts/abilist.awk: Add support for indirect functions.
36737
a2693a0e
UD
36738 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36739
3f05895f
UD
36740 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36741
ecb6fb48
UD
36742 * shlib-versions: Remove entries for ports architectures.
36743
664f8cb9
UD
36744 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36745 files in ports.
36746 * elf/stackguard-macros.h: Remove support for IA-64.
36747 * elf/tst-auditmod1.c: Likewise.
36748 * sysdeps/generic/ldsodefs.h: Likewise.
36749
7ae81d88
UD
36750 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36751 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36752 configure files.
36753
bdeba135
UD
36754 [BZ #13552]
36755 * configure.in: Remove --enable-omitfp support.
36756 * FAQ.in: Adjust.
36757 * config.make.in: Likewise.
36758 * Makeconfig: Likewise.
36759 * manual/install.texi: Likewise.
36760
d75a0a62
UD
36761 In case anyone cares, the IA-64 architecture could move to ports.
36762 * sysdeps/ia64/*: Removed.
36763 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36764 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36765
dcc9756b
UD
36766 [BZ #13555]
36767 * configure.in: Remove entries for unsupported architectures.
36768
d3761ebc 36769 [BZ #13533]
9954432e
UD
36770 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36771 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36772 routines.
36773 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36774 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36775 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36776 fall back to using wcrtomb.
36777 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36778 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36779 renaming.
36780 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36781 * wcsmbs/tst-c16c32-1.c: New file.
36782
36783 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36784 local variable.
36785
c3a87236
UD
36786 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36787
28926a1b
UD
36788 * elf/tst-unique3.cc: Add explicit declaration of gets.
36789 * elf/tst-unique3lib.cc: Likewise.
36790 * elf/tst-unique3lib2.cc: Likewise.
36791 * elf/tst-unique4.cc: Likewise.
36792
df78418a
UD
36793 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36794
8ecd6b2a
JM
367952012-01-06 Joseph Myers <joseph@codesourcery.com>
36796
36797 [BZ #13566]
36798 * assert/assert.h (static_assert): Don't define for C++.
36799 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36800 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36801
9f115170
UD
368022012-01-03 Ulrich Drepper <drepper@gmail.com>
36803
5e0d0300
UD
36804 * iconv/loop.c (single loop): Fix assertion in storing of
36805 remaining bytes.
36806
9f115170
UD
36807 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36808
81fb02b0
UD
368092012-01-01 Ulrich Drepper <drepper@gmail.com>
36810
36811 * posix/getconf.c: Update copyright year.
36812 * nss/getent.c: Likewise.
a316c1f6 36813 * nss/makedb.c: Likewise.
81fb02b0
UD
36814 * iconv/iconvconfig.c: Likewise.
36815 * iconv/iconv_prog.c: Likewise.
36816 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36817 * elf/pldd.c: Likewise.
36818 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36819 * catgets/gencat.c: Likewise.
36820 * csu/version.c: Likewise.
36821 * elf/ldd.bash.in: Likewise.
36822 * elf/sprof.c (print_version): Likewise.
36823 * locale/programs/locale.c: Likewise.
36824 * locale/programs/localedef.c: Likewise.
a316c1f6 36825 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36826 * nscd/nscd.c (print_version): Likewise.
36827 * debug/xtrace.sh: Likewise.
36828 * malloc/memusage.sh: Likewise.
36829 * malloc/mtrace.pl: Likewise.
36830 * debug/catchsegv.sh: Likewise.
36831
2ba92745
JJ
368322011-12-30 Jakub Jelinek <jakub@redhat.com>
36833
36834 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36835 pure attribute.
36836
dadebdae
UD
368372011-12-24 Ulrich Drepper <drepper@gmail.com>
36838
d3761ebc 36839 [BZ #13533]
db6af3eb
UD
36840 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36841 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36842 transformations.
36843 * iconv/gconv_int.h: Likewise.
36844 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36845 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36846 from libc for GLIBC_2.16.
36847 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36848 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36849 * wcsmbs/uchar.h: Really define mbstate_t.
36850 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36851 * wcsmbs/c16rtomb.c: New file.
36852 * wcsmbs/mbrtoc16.c: New file.
36853 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36854 for C/POSIX locale.
36855 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36856 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36857
dadebdae
UD
36858 * wcsmbs/wchar.h: Add missing __restrict.
36859
67371b56
UD
368602011-12-23 Ulrich Drepper <drepper@gmail.com>
36861
74033a25
UD
36862 [BZ #13532]
36863 * time/Makefile (routines): Add timespec_get.
36864 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36865 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36866 timespec for ISO C11.
36867 * time/timespec_get.c: New file.
36868 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36869 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36870
380d7e87
UD
36871 [BZ #13531]
36872 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36873 * stdlib/stdlib.h: Declare aligned_alloc.
36874 * Versions.def: Add GLIBC_2.16 for libc.
36875 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36876
4e9e7a35
UD
36877 [BZ 13527]
36878 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36879 ISO C11.
36880
380d7e87 36881 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36882 code.
36883
03a71829
UD
36884 [BZ #13528]
36885 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36886
839e283e
UD
36887 [BZ #13529]
36888 * assert/assert.h (static_assert): Define.
36889
ce5294e2 36890 * version.h: Update for 2.16 development version.
90fa7312 36891
8d44e150 36892 [BZ #13526]
d7809905
UD
36893 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36894 _ISOC11_SOURCE.
36895
c0da14cd
UD
36896 * version.h (RELEASE): Bump for 2.15 release.
36897 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36898
530a3249
MP
36899 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36900 Patch by Marek Polacek <mpolacek@redhat.com>.
36901
67371b56
UD
36902 * bits/byteswap.h: Protect long long constants with __extension__.
36903 * sysdeps/i386/bits/byteswap.h: Likewise.
36904 * sysdeps/ia64/bits/byteswap.h: Likewise.
36905 * sysdeps/s390/bits/byteswap.h: Likewise.
36906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36907
15db4de1
LD
369082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36909
36910 [BZ #13540]
bbe315ea
LD
36911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36912 destination buffer.
15db4de1
LD
36913 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36914
2b2596b1
MP
369152011-12-23 Marek Polacek <polacek@redhat.com>
36916
36917 * elf/dl-addr.c (determine_info): Add inline keyword.
36918 * elf/tst-auditmod4b.c (check_avx): Likewise.
36919 * elf/tst-auditmod6b.c (check_avx): Likewise.
36920 * elf/tst-auditmod6c.c (check_avx): Likewise.
36921 * elf/tst-auditmod7b.c (check_avx): Likewise.
36922
70c6c246
UD
369232011-12-23 Ulrich Drepper <drepper@gmail.com>
36924
36925 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36926 !__SSE_MATH__.
36927
c044cf14
LD
369282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36929
15db4de1 36930 [BZ #13540]
c044cf14
LD
36931 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36932 processing for last bytes.
36933
6b13d9d9
BH
369342011-08-06 Bruno Haible <bruno@clisp.org>
36935
d455f537
BH
36936 [BZ #13061]
36937 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36938 U+0385, not to U+1FEE.
36939
6b13d9d9
BH
36940 [BZ #13062]
36941 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36942 entry for U+00A5 U+0301.
36943
db910efd
UD
369442011-12-22 Ulrich Drepper <drepper@gmail.com>
36945
27deeafc
UD
36946 [BZ #13166]
36947 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36948 buffer for the output is too small.
36949
aed9d171
UD
36950 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36951 optimization.
36952
db910efd
UD
36953 [BZ #13185]
36954 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36955 SSE flags if possible.
36956
2bd779ae
LD
369572011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36958
e7f9dac3 36959 [BZ #13540]
2bd779ae
LD
36960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36961 processing for last bytes.
36962
154bfc16
JM
369632011-12-22 Joseph Myers <joseph@codesourcery.com>
36964
36965 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36966 (syscall-list-default-options, syscall-list-default-condition)
36967 (syscall-list-includes): Define.
36968 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36969 list of ABIs and options and #if conditions for each ABI. Do not
36970 handle common syscalls between ABIs specially.
36971 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36972 Remove.
36973 (syscall-list-variants, syscall-list-32bit-options)
36974 (syscall-list-32bit-condition, syscall-list-64bit-options)
36975 (syscall-list-64bit-condition): Define.
36976 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36977 (syscall-list-variants, syscall-list-32bit-options)
36978 (syscall-list-32bit-condition, syscall-list-64bit-options)
36979 (syscall-list-64bit-condition): Define.
36980 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36981 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/x86_64/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
21eaf3a5
UD
369912011-12-22 Ulrich Drepper <drepper@gmail.com>
36992
16c6f992
UD
36993 * locale/iso-639.def: Add brx entry.
36994
41043168
UD
36995 [BZ #13328]
36996 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36997 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36998
21eaf3a5
UD
36999 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37000 __feraiseexcept_renamed.
37001
e3a851a2
UD
370022011-12-21 Ulrich Drepper <drepper@gmail.com>
37003
4920765e
UD
37004 [BZ #13538]
37005 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37006 EPOLLET with unsigned values.
37007 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37009
e3a851a2
UD
37010 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37011 to large cancellation.
37012 * math/s_cacoshf.c: Likewise.
37013 * math/s_cacoshl.c: Likewise.
37014
b27e24b8
RK
370152011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37016
37017 [BZ #13305]
aebefeee 37018 [BZ #12786]
b27e24b8
RK
37019 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37020 * math/s_cacoshf.c: Likewise.
37021 * math/s_cacoshl.c: Likewise.
37022
ee190f67
UD
370232011-12-21 Ulrich Drepper <drepper@gmail.com>
37024
37025 [BZ #13439]
37026 * iconv/gconv.h: Define __GCONV_SWAP.
37027 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37028 * iconvdata/utf-16.c: Likewise.
37029 * iconvdata/utf-32.c: Likewise.
37030
707f25df
AS
370312011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37032
37033 [BZ #13524]
37034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37035 numerator after shifting it by one limb.
37036
d2daaa1e
RÁE
370372011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37038
37039 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37040 under [__USE_EXTERN_INLINES].
37041
a4647e72
UD
370422011-12-17 Ulrich Drepper <drepper@gmail.com>
37043
37044 [BZ #13446]
37045 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37046
f0b264f1
AZ
370472011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37048
37049 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37050 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37051 optimized code.
37052 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37053 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37054 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37055 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37056 for strncasecmp/strncasecmp_l compilation.
37057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37058 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37059
8ef4f244
MP
370602011-12-08 Marek Polacek <mpolacek@redhat.com>
37061
37062 [BZ #13484]
37063 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37064 of __asm__.
37065
97ac2654
UD
370662011-12-17 Ulrich Drepper <drepper@gmail.com>
37067
37068 [BZ #13506]
37069 * time/tzfile.c (__tzfile_read): Check values from file header.
37070
91d2a845
WS
370712011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37072
37073 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37074 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37075 * powerpc/powerpc32/dl-start.S: Likewise.
37076 * powerpc/powerpc32/elf/start.S: Likewise.
37077 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37078 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37079 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37080 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37081 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37082 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37083 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37084 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37085 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37086 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37087 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37088 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37089 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37090 * powerpc/powerpc32/memset.S: Likewise.
37091 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37092 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37093 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37094 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37095 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37096 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37097 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37098 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37099 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37100 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37101 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37102 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37103 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37104
a1267ba1
AZ
371052011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37106
37107 * math/libm-test.inc: Added more nearbyint tests.
37108 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37109 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37111 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37112
ad8ac1bd
RL
371132011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37114
37115 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37116 FD_CLOEXEC.
37117
1d3e4b61
UD
371182011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37119
37120 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37121 Add wcscpy-ssse3 wcscpy-c.
37122 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37123 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37124 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37125 * sysdeps/x86_64/wcschr.S: New file.
37126 * sysdeps/x86_64/wcsrchr.S: New file.
37127 * string/test-strcmp.c: Remove checking of wcscmp function for
37128 wrong alignments.
37129 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37130 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37131 wcsrchr-sse2 wcsrchr-c.
37132 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37133 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37134 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37135 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37136 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37137 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37138 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37139 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37140 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37141 * wcsmbc/wcschr.c (WCSCHR): New macro.
37142
5b330a2d
UD
371432011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37144
37145 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37146 * wcsmbs/test-wcsrchr.c: New file.
37147 * string/test-strrchr.c: Add wcsrchr support.
37148 (WIDE): New macro.
37149 * wcsmbs/test-wcscpy.c: New file.
37150 * string/test-strcpy.c: Add wcscpy support.
37151 (WIDE): New macro.
26428b7c 37152
f039c043
UD
371532011-12-10 Ulrich Drepper <drepper@gmail.com>
37154
37155 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37156 the inner loop.
37157
850fb039
AS
371582011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37159
37160 [BZ #13472]
37161 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37162
4efbd5cb
UD
371632011-12-04 Ulrich Drepper <drepper@gmail.com>
37164
52ff5dd0 37165 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37166 Minor optimizations.
52ff5dd0 37167
4efbd5cb
UD
37168 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37169 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37170 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37171
8a426e12
UD
371722011-12-03 Ulrich Drepper <drepper@gmail.com>
37173
aff2453d
UD
37174 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37175 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37176 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37177 for gcc to avoid warnings.
37178 * inet/Makefile (tests): Add tst-checks.
37179 * inet/tst-checks.c: New file.
37180
37181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37182 warning.
37183
37184 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37185 __wmemcmp_sse2.
37186
37187 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37188 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37189
8a426e12
UD
37190 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37191
9bea3473
UD
371922011-12-02 Ulrich Drepper <drepper@gmail.com>
37193
3a965496
UD
37194 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37195 problem.
37196
9bea3473
UD
37197 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37198
f101631b
UD
371992011-11-29 Joseph Myers <joseph@codesourcery.com>
37200
37201 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37202 conditional on GCC version.
37203 (__arch_compare_and_exchange_val_8_acq)
37204 (__arch_compare_and_exchange_val_16_acq)
37205 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37206 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37207 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37208
a98275aa
UD
372092011-12-02 Joseph Myers <joseph@codesourcery.com>
37210
37211 * sysdeps/sh/backtrace.c: New file.
37212
d4cc29a2
AS
372132011-12-02 Andreas Schwab <schwab@redhat.com>
37214
37215 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37216 parenthesis.
37217
6257af2d
AS
372182011-12-01 Andreas Schwab <schwab@redhat.com>
37219
37220 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37221 falling back to utime.
37222
b5f44c1a
AS
372232011-11-30 Andreas Schwab <schwab@redhat.com>
37224
37225 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37226 expectations for float.
37227
f3a6cc0a
AS
372282011-11-29 Andreas Schwab <schwab@redhat.com>
37229
37230 * locale/weight.h (findidx): Add parameter len.
37231 * locale/weightwc.h (findidx): Likewise.
37232 * posix/fnmatch_loop.c (FCT): Adjust caller.
37233 * posix/regcomp.c (build_equiv_class): Likewise.
37234 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37235 * posix/regexec.c (check_node_accept_bytes): Likewise.
37236 * string/strcoll_l.c (STRCOLL): Likewise.
37237 * string/strxfrm_l.c (STRXFRM): Likewise.
37238
9d65ea3a
UD
372392011-11-17 Ulrich Drepper <drepper@gmail.com>
37240
37241 * Makefile.in: Remove CVSOPT handling.
37242 * configure.in: Remove use of AC_REVISION.
37243 * iconvdata/Makefile (distribute): No need to filter out CVS.
37244 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37245 handling.
37246
5583a086
AS
372472011-11-16 Andreas Schwab <schwab@redhat.com>
37248
37249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37250 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37251 [USE_AS_STRNCASECMP_L]: Likewise.
37252 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37253 NO_TLS_DIRECT_SEG_REFS.
37254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37255 Fix argument offsets for non-PIC.
37256 [USE_AS_STRNCASECMP_L]: Likewise.
37257 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37258 NO_TLS_DIRECT_SEG_REFS.
37259
d62a8200
UD
372602011-11-15 Ulrich Drepper <drepper@gmail.com>
37261
9d65ea3a 37262 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37263 O_CLOEXEC.
37264 * locale/loadlocale.c (_nl_load_locale): Likewise.
37265
09f93bd3
AS
372662011-11-15 Andreas Schwab <schwab@redhat.com>
37267
446514f9
AS
37268 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37269 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37270 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37271 (SYSCALL_GETTIME): Set errno on error.
37272
09f93bd3
AS
37273 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37274 count references to noai6ai_cached.
37275
312be3f9
UD
372762011-11-15 Ulrich Drepper <drepper@gmail.com>
37277
37278 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37279
37280 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37281 FD_CLOEXEC for /proc/self/maps.
37282
37283 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37284 FD_CLOEXEC for /proc/meminfo.
37285
37286 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37287 gai.conf.
37288
37289 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37290 FD_CLOEXEC for given file.
37291
37292 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37293
37294 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37295 FD_CLOEXEC for /etc/hosts.
37296 (_gethtent): Likewise.
37297
37298 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37299
37300 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37301 cancellation and set FD_CLOEXEC for /etc/netgroup.
37302
37303 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37304 reading /etc/publickey.
37305
37306 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37307 allow cancellation when reading /etc/group.
37308
37309 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37310 cancellation.
37311 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37312
37313 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37314 when using data file.
37315
37316 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37317
37318 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37319 (write_nis_obj): Use "c" and "e" in fopen.
37320
37321 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37322
37323 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37324
37325 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37326
37327 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37328
37329 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37330 locale.alias.
37331
37332 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37333
37334 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37335
37336 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37337
37338 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37339 file parsing and set FD_CLOEXEC.
37340
82af0fa8
UD
373412011-11-14 Ulrich Drepper <drepper@gmail.com>
37342
37343 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37344
a5fb313c
AS
373452011-11-14 Andreas Schwab <schwab@redhat.com>
37346
37347 * malloc/arena.c (arena_get2): Don't call reused_arena when
37348 _int_new_arena failed.
37349
6abf3465
UD
373502011-11-14 Ulrich Drepper <drepper@gmail.com>
37351
37352 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37353 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37354 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37357 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37358 to compile strcasecmp and strncasecmp.
37359 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37360 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37361
37362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37363
76e3966e
UD
373642011-11-13 Ulrich Drepper <drepper@gmail.com>
37365
37366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37367 locale-defines.sym to gen-as-const-headers.
37368 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37369 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37371 to compile strcasecmp and strncasecmp.
37372 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37373 strcasecmp_l and strncasecmp_l.
37374 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37375 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37376 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37377 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37378 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37379 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37380 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37381 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37382 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37383 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37384 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37385
ab26144e
UD
373862011-11-12 Ulrich Drepper <drepper@gmail.com>
37387
7edb22ef
UD
37388 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37389 result of SYSDEP_GETTIME_CPU to retval.
37390 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37391 parameter list to macro. Remove trailing semicolon. Adjust users.
37392
9694fc44
UD
37393 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37394 variable.
37395
8ad89ef8
UD
37396 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37397 mantissa words.
37398 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37399
0c822ef9
UD
37400 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37401 from unused variable.
37402
874e0564
UD
37403 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37404 DWARF definitions.
37405 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37406 for assembling.
37407
3a2edc79
UD
37408 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37409 over namespaces.
37410
f3c2577f
UD
37411 * sunrpc/rpc_prot.c (rejected): Fix case value.
37412
294ce126
UD
37413 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37414 unsigned long long int to avoid warnings in shift.
37415
5e2b63c6
UD
37416 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37417 of use of trans.
37418 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37419 variable tmp.
37420
e7f4b08e
UD
37421 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37422 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37423 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37424
ab26144e
UD
37425 * nis/nis_table.c (nis_list): Use variable of correct type for
37426 result of __follow_path call.
37427
8a6d5255
AZ
374282011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37429
37430 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37431 of math functions ceil, trunc, floor, round, and sqrt, when
37432 avaliable on the platform.
37433 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37434 name clash.
37435 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37436 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37437 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37438
aaddc98c
MP
374392011-10-30 Marek Polacek <mpolacek@redhat.com>
37440
37441 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37442 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37443
95b7042b
RM
374442011-11-11 Roland McGrath <roland@hack.frob.com>
37445
37446 * include/unistd.h: Fix __readlink return type.
37447 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37448
57769839
UD
374492011-11-11 Ulrich Drepper <drepper@gmail.com>
37450
37451 * stdlib/ucontext.h: Undo last change for makecontext.
37452
edc5984d
AS
374532011-11-11 Andreas Schwab <schwab@redhat.com>
37454
98591e58
AS
37455 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37456
edc5984d
AS
37457 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37458 * setjmp/setjmp.h: Mark functions as non-leaf.
37459 * setjmp/bits/setjmp2.h: Likewise.
37460 * stdlib/ucontext.h: Likewise.
37461
77cdc054
AS
374622011-11-10 Andreas Schwab <schwab@redhat.com>
37463
37464 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37465 (reused_arena): Don't check arena limit.
37466 (arena_get2): Atomically check arena limit.
37467
fe72eebd
UD
374682011-11-08 Ulrich Drepper <drepper@gmail.com>
37469
5f078c32
UD
37470 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37471 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37472
fe72eebd
UD
37473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37474 instructions.
37475
ae1bc2fa
AS
374762011-11-07 Andreas Schwab <schwab@redhat.com>
37477
7583a88d
AS
37478 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37479 handler when locking.
37480
ae1bc2fa
AS
37481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37482 Fix size of allocated buffer.
37483
10fb0bfa
AS
374842011-11-04 Andreas Schwab <schwab@redhat.com>
37485
998832a4
AS
37486 [BZ #10103]
37487 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37488 declarations for long double functions.
37489 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37490
10fb0bfa
AS
37491 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37492
3d7ba52b
AS
374932011-11-03 Andreas Schwab <schwab@redhat.com>
37494
a9ae54a1
AS
37495 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37496 installed.
37497
3d7ba52b
AS
37498 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37499 is disabled.
37500
bc8db248
ST
375012011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37502
37503 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37504
45b96dd6
AS
375052011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37506
647776f6
AS
37507 * include/alloca.h (stackinfo_alloca_round): Define.
37508 (extend_alloca): Use it.
37509 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37510 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37511 here.
37512
d91a8b93
AS
37513 * scripts/check-local-headers.sh: Ignore libaudit.h.
37514
45b96dd6
AS
37515 * nscd/Makefile (extra-objs): Make recursively expanded.
37516
432d41ce
UD
375172011-11-01 Ulrich Drepper <drepper@gmail.com>
37518
34372fc6
UD
37519 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37521
fadb59f8
UD
37522 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37523 * posix/tst-rfc3484-2.c: Likewise.
37524 * posix/tst-rfc3484-3.c: Likewise.
37525
78239589
UD
37526 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37527 process_vm_writev.
37528 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37529 process_vm_writev.
37530 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37531 process_vm_writev from libc using GLIBC_2.15 version.
37532
432d41ce
UD
37533 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37534
02f9c6cf
PP
375352011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37536
37537 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37538 stack usage.
37539
3a2c0242
UD
375402011-10-31 Ulrich Drepper <drepper@gmail.com>
37541
f4ec4833
UD
37542 [BZ #13367]
37543 * nss/getent.c (initgroups_keys): Show error message in case no group
37544 names are given.
37545
3a2c0242
UD
37546 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37547 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37548 __bump_nl_timestamp.
37549 * nscd/connections (nscd_init): When host database is served open
37550 netlink socket and request notification about configuration changes.
37551 (main_loop_poll): Track netlink file descriptor and bump timestamp
37552 in case data becomes available.
37553 (main_loop_epoll): Likewise.
37554 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37555 (database_pers_head): Add extra_data fileds.
37556 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37557 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37558 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37559 Adjust caller.
37560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37561 in6ai data, call __free_in6ai.
37562 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37563 Add -DHAVE_NETLINK.
37564 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37565 interface information. Reuse previous data if netlink timestamp
37566 is not changed.
37567 (__bump_nl_timestamp): New function.
37568 (__free_in6ai): New function.
37569
636064eb
UD
375702011-10-30 Ulrich Drepper <drepper@gmail.com>
37571
37572 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37573 close_not_cancel_no_status here.
37574 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37575
9beb2334
UD
375762011-10-29 Ulrich Drepper <drepper@gmail.com>
37577
6ef76f3b
UD
37578 [BZ #13276]
37579 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37580 return value.
37581
0ffc4f3e 37582 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37583 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37584 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37585
cb95113e
UD
375862011-07-03 Andreas Jaeger <aj@suse.de>
37587
37588 [BZ #10709]
37589 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37590 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37591 * math/libm-test.inc (sin_test): Add test case.
37592
a1b560ff
UD
375932011-10-29 Ulrich Drepper <drepper@gmail.com>
37594
c9aaface
UD
37595 [BZ #13337]
37596 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37597 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37598
d272e7f1
UD
37599 * elf/chroot_canon.c (chroot_canon): Cleanups.
37600
1bc33071
UD
37601 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37602
1760874d
TJ
37603 [BZ #13335]
37604 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37605 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37606
51d91b18
UD
37607 * string/test-strchr.c: Make usable for strchrnul testing.
37608 * string/test-strchrnul.c: New file.
37609 * string/Makefile (strop-tests): Add strchrnul.
37610
a1b560ff 37611 * po/it.po: Update from translation team.
b611fb81 37612 * po/es.po: Likewise.
a1b560ff 37613
a5b81e1f
UD
376142011-10-28 Ulrich Drepper <drepper@gmail.com>
37615
fd52bc6d
UD
37616 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37617 the three constants needed as parameters. Drop the others.
37618 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37619 __m128i_strloadu_tolower.
52e4b9eb
UD
37620 Create and initialize variable zero and use it in all the places
37621 where _mm_setzero_si128 was used.
fd52bc6d 37622
a5b81e1f
UD
37623 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37624 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37625 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37626 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37627 anymore.
37628 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37629 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37630 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37631 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37632 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37633 __mpranred, __mptan.
37634 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37635 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37636 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37637 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37638 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37639 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37640 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37641 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37642 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37643
b4343346
AS
376442011-10-28 Andreas Schwab <schwab@redhat.com>
37645
0c92d8a8
AS
37646 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37647 redefine if SHARED.
37648 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37649
b4343346
AS
37650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37651 wide char related routines to wcsmbs subdir.
37652
3871f58f
AS
376532011-10-27 Andreas Schwab <schwab@redhat.com>
37654
37655 [BZ #13344]
37656 * misc/sys/cdefs.h (__THROWNL): Define.
37657 * posix/unistd.h: Use __THREADNL instead of __THREAD
37658 for memory synchronization functions.
37659
94d44d9f
RM
376602011-10-26 Roland McGrath <roland@hack.frob.com>
37661
21b64b15 37662 [BZ #13349]
94d44d9f
RM
37663 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37664 doesn't exist.
37665 * manual/stdio.texi (Obstack Streams): Node removed.
37666
f6ce9294
AS
376672011-10-26 Andreas Schwab <schwab@redhat.com>
37668
80479147
AS
37669 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37670 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37671 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37672
f6ce9294
AS
37673 * math/math_private.h (math_force_eval): Allow non-addressable
37674 arguments.
37675 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37676
618280a1
UD
376772011-10-25 Ulrich Drepper <drepper@gmail.com>
37678
e0016b11
UD
37679 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37680 file is not needed.
37681
37682 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37683 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37685 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37686 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37689 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37690 Add AVX variants.
37691 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37692 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37693 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37694 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37695 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37696 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37697 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37698 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37699 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37700 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37701 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37702 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37704 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37710
37711 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37712 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37713
618280a1
UD
37714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37715 place. Use VEX encoding when compiling for AVX.
37716
37822576
AS
377172011-10-25 Andreas Schwab <schwab@redhat.com>
37718
1f1e1947
AS
37719 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37720 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37721
37822576
AS
37722 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37723
31ea014d
UD
377242011-10-25 Ulrich Drepper <drepper@gmail.com>
37725
d7826aa1 37726 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37727 useless if() expression.
d7826aa1
UD
37728 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37739 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37740 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37742 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37743 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37744 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37746 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37747
31ea014d
UD
37748 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37749
16437fec
AS
377502011-10-25 Andreas Schwab <schwab@redhat.com>
37751
37752 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37753 condition.
37754 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37755
31d3cc00
UD
377562011-10-25 Ulrich Drepper <drepper@gmail.com>
37757
37758 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37759 .text section. Avoid duplicate constants.
37760 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37762 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37764 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37768 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37770 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37772 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37773 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37775 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37777 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37780 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37784 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37785 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37786 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37787 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37788 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37789 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37792 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37793 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37794 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37795 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37796 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37797 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37798 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37799 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37800 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37801 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37802 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37803 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37804 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37805
58985aa9
UD
378062011-10-24 Ulrich Drepper <drepper@gmail.com>
37807
202c9deb
UD
37808 * sysdeps/x86_64/dla.h: Move to ...
37809 * sysdeps/x86_64/fpu/dla.h: ...here.
37810 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37811 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37812
af968f62
UD
37813 * config.make.in: Add have-mfma4 entry.
37814 * configure.in: Substitute libc_cv_cc_fma4.
37815 * math/Makefile (dbl-only-routines): Add sincostab.
37816 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37817 Use __sincostab not sincos.
37818 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37819 name is a macro.
37820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37824 using __copysign.
37825 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37826 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37827 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37828 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37829 and __inv.
37830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37831 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37832 __copysign.
37833 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37834 define aliases when function name is a macro.
37835 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37836 sysdeps/ieee754/dbl-64/sincos.tbl.
37837 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37838 fma4-enabled routines.
37839 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37840 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37841 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37842 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37843 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37844 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37845 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37846 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37848 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37849 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37850 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37851 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37852 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37853 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37854 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37855 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37856 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37857 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37858 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37859 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37860 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37862 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37863 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37864 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37869
58985aa9
UD
37870 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37871 rename.
37872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37880
a201fbcf
AS
378812011-10-24 Andreas Schwab <schwab@redhat.com>
37882
37883 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37884
fc2ee42a
LD
378852011-10-23 Ulrich Drepper <drepper@gmail.com>
37886
bb3129bd
UD
37887 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37888
0275fff8
UD
37889 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37890 prediction.
37891 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37892
2fa2ae85
UD
37893 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37894 Remove unused variable magic_bits.
37895 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37896
fc2ee42a
LD
37897 * string/strnlen.c: Define and use STRNLEN macro.
37898 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37899 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37901 * wcsmbs/wcslen.c: Define and use WCSLEN.
37902 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37903 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37904 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37905 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37906 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37907 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37908 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37909
ce7dd29f
LD
379102011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37911
37912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37913 strnlen-sse2-no-bsf.
37914 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37915 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37916 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37917 Add strnlen support.
37918 (USE_AS_STRNLEN): New macro.
37919 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37920 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37921 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37922 * sysdeps/x86_64/wcslen.S: New file.
37923
979c70a3
MZ
379242011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37925
37926 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37927 XMM-moves are used for copying on small sizes.
37928
2d09f82f
LD
379292011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37930
37931 * wcsmbs/Makefile (strop-tests): Add wcschr.
37932 * wcsmbs/test-wcschr.c: New file.
37933 * string/test-strchr.c: Update.
37934 Add wcschr support.
37935 (WIDE): New macro.
37936
619fccca
LD
379372011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37938
2d09f82f 37939 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37940 * wcsmbs/test-wcslen.c: New file.
37941 * string/test-strlen.c: Update.
37942 Add wcslen support.
37943 (WIDE): New macro.
37944
09f699ea
UD
379452011-10-23 Ulrich Drepper <drepper@gmail.com>
37946
37947 * po/it.po: Update from translation team.
37948
95584d3b
LD
379492011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37950
37951 * sysdeps/x86_64/wcscmp.S: Update.
37952 Fix wrong comparison semantics.
37953 wcscmp shall use signed comparison not unsigned.
37954 Don't use substraction to avoid overflow bug.
37955 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37956 * wcsmbc/wcscmp.c: Likewise.
37957 * string/test-strcmp.c: Likewise.
37958 Add new tests to check cases with negative values.
37959
c8b3296b
UD
379602011-10-23 Ulrich Drepper <drepper@gmail.com>
37961
37962 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37963 * sysdeps/x86_64/dla.h: ...here. New file.
37964 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37973
246ad57a
AS
379742011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37975
37976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37977 __ynl_finite aliases.
37978
a1a87169
UD
379792011-10-22 Ulrich Drepper <drepper@gmail.com>
37980
0d355eb7
UD
37981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37982
a1a87169
UD
37983 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37984 define DLA_FMA.
37985 [DLA_FMA] (EMULV): Use DLA_FMA.
37986 [DLA_FMA] (MUL12): Use EMULV.
37987 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37988 that are not needed.
37989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37996
ee2aafe0
AS
379972011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37998
37999 * math/s_nan.c: Undef __nan.
38000 * math/s_nanf.c: Undef __nanf.
38001 * math/s_nanl.c: Undef __nanl.
38002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38003 "math_private.h".
38004
bc62c2fb
UD
380052011-10-22 Ulrich Drepper <drepper@gmail.com>
38006
77425c63
UD
38007 * math/s_catan.c: Add branch predictions.
38008 * math/s_catanf.c: Likewise.
38009 * math/s_catanh.c: Likewise.
38010 * math/s_catanhf.c: Likewise.
38011 * math/s_catanhl.c: Likewise.
38012 * math/s_catanl.c: Likewise.
38013 * math/s_cexp.c: Likewise.
38014 * math/s_cexpf.c: Likewise.
38015 * math/s_cexpl.c: Likewise.
38016 * math/s_clog.c: Likewise.
38017 * math/s_clog10.c: Likewise.
38018 * math/s_clog10f.c: Likewise.
38019 * math/s_clog10l.c: Likewise.
38020 * math/s_clogf.c: Likewise.
38021 * math/s_clogl.c: Likewise.
38022 * math/s_csqrt.c: Likewise.
38023 * math/s_csqrtf.c: Likewise.
38024 * math/s_csqrtl.c: Likewise.
38025 * math/s_ctanf.c: Likewise.
38026 * math/s_ctanh.c: Likewise.
38027 * math/s_ctanhf.c: Likewise.
38028 * math/s_ctanhl.c: Likewise.
38029 * math/s_ctanl.c: Likewise.
38030
bc62c2fb
UD
38031 * math/math_private.h: Define __nan, __nanf, __nanl.
38032 * math/s_cacosh.c: Include <math_private.h>.
38033 * math/s_cacoshl.c: Likewise.
38034 * math/s_casinh.c: Likewise.
38035 * math/s_casinhf.c: Likewise.
38036 * math/s_casinhl.c: Likewise.
38037 * math/s_ccos.c: Rely entire on ccosh.
38038 * math/s_ccosf.c: Rely entire on ccoshf.
38039 * math/s_ccosl.c: Rely entirely on ccoshl.
38040 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38041 Remove tests for FE_INVALID.
38042 * math/s_ccoshf.c: Likewise.
38043 * math/s_ccoshl.c: Likewise.
38044 * math/s_csin.c: Likewise.
38045 * math/s_csinf.c: Likewise.
38046 * math/s_csinh.c Likewise.
38047 * math/s_csinhf.c: Likewise.
38048 * math/s_csinhl.c: Likewise.
38049 * math/s_csinl.c: Likewise.
38050 * math/s_ctan.c: Likewise.
38051 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38052 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38053 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38054
8ec250a4
UD
380552011-10-21 Ulrich Drepper <drepper@gmail.com>
38056
c196fed8
UD
38057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38058 compilation problems.
38059
8ec250a4
UD
38060 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38061 __builtin_expect.
38062
8d4f46c6
UD
380632011-10-20 Ulrich Drepper <drepper@gmail.com>
38064
ed72b654
UD
38065 * sysdeps/i386/configure.in: Test for -mfma4 option.
38066 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38067 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38068 COMMON_CPUID_INDEX_80000001.
38069 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38070 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38071 use it if FMA3 is not supported.
38072 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38073
8d4f46c6
UD
38074 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38075 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38076
d45c60c2
AS
380772011-10-20 Andreas Schwab <schwab@redhat.com>
38078
38079 [BZ #12892]
38080 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38081 it would create a cycle with a link time dependency.
38082
d9a4d2ab
UD
380832011-10-19 Ulrich Drepper <drepper@gmail.com>
38084
855d1560
UD
38085 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38086 instruction.
38087 * string/Makefile (strop-tests): Add rawmemchr.
38088 * string/test-rawmemchr.c: New file.
38089
d9a4d2ab
UD
38090 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38092 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38093 when compiling str{,n}casecmp and when AVX is available. Hook up
38094 new optimized code in initializers.
38095
8f3b1ffe
AS
380962011-10-19 Andreas Schwab <schwab@redhat.com>
38097
38098 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38099 __feraiseexcept instead of feraiseexcept.
38100
d38f1dba
UD
381012011-10-18 Ulrich Drepper <drepper@gmail.com>
38102
d9a8d0ab
UD
38103 * math/math_private.h: Define defaults for libc_fetestexcept and
38104 libc_feupdateenv.
38105 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38106 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38108 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38109 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38110 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38111 libc_fetestexcept and libc_feupdateenv.
38112
4855e3dd
UD
38113 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38114 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38115 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38116 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38117 libc_feholdexcept_setround.
38118
581d30e3
UD
38119 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38120 Add s_nearbyint-c and s_nearbyintf-c.
38121 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38122 nearbyintf inlines.
38123 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38124 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38125 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38126 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38127
d38f1dba
UD
38128 * math/math_private.h: Define defaults for libc_fegetround,
38129 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38130 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38131 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38132 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38133 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38134 standard functions.
38135 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38136 Remove comments and hacks for old compiler versions.
38137 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38138 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38139 libc_feholdexceptl.
38140
caa6c9d8
AS
381412011-10-18 Andreas Schwab <schwab@redhat.com>
38142
38143 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38144 (__feraiseexcept_renamed): Add __NTH.
38145 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38146 namespace violations.
38147
97c066e6
UD
381482011-10-17 Ulrich Drepper <drepper@gmail.com>
38149
99ce7b04
UD
38150 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38151
1004d182
UD
38152 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38153
228a984d
UD
38154 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38155 recently added interfaces.
38156 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38157
c8553a6a
UD
38158 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38159 about macro parameter expansion.
38160
ed22dcf6
UD
38161 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38162 __NO_MATH_INLINES is defined. Cleanups.
38163
38164 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38165 and __floorf is target has SSE4.1.
38166 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38167 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38168 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38169 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38170
b171c137
UD
38171 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38172 name.
38173 (floorf): Likewise.
38174
97c066e6
UD
38175 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38176
629f62ef
AS
381772011-10-17 Andreas Schwab <schwab@redhat.com>
38178
49a43d80
AS
38179 * misc/sys/cdefs.h: Fix last change.
38180
629f62ef
AS
38181 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38182 database lookup.
38183
e453f6cd
UD
381842011-10-16 Ulrich Drepper <drepper@gmail.com>
38185
aa78043a
UD
38186 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38187
ad0f5cad
UD
38188 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38190 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38191 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38192 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38193 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38194 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38195 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38196 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38197 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38198 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38199 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38200 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38201 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38202 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38203 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38204 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38205 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38206 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38207 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38208 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38209 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38210
38211 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38212 ceil, ceilf, floor, floorf.
38213
38214 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38215 Perform IRELATIVE relocations last.
38216
e453f6cd
UD
38217 * elf/do-rel.h: Add another parameter nrelative, replacing the
38218 local variable with the same name. Change name of the function
38219 to end in Rel or Rela (uppercase).
38220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38221 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38222 elf_dynamic_do_##reloc function.
38223
fd5bdc09
UD
382242011-10-15 Ulrich Drepper <drepper@gmail.com>
38225
79b195b5
UD
38226 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38227 is sufficient, at least on modern CPUs.
38228
d4a28569
UD
38229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38230
b61099b5
UD
38231 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38232 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38233
bcf01e6d
UD
38234 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38235 __expl_finite.
38236 * math/bits/math-finite.h: Add entries for exp.
38237 * math/e_expl.c: Add __*_finite alias.
38238 * sysdeps/i386/fpu/e_exp.S: Likewise.
38239 * sysdeps/i386/fpu/e_expf.S: Likewise.
38240 * sysdeps/i386/fpu/e_expl.c: Likewise.
38241 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38242 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38243 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38245 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38246 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38247 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38248
ba1a0d59
UD
38249 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38250 is sufficient, at least on modern CPUs.
38251
fd5bdc09
UD
38252 * ctype/ctype-info.c (__ctype_init): Define.
38253 * include/ctype.h (__ctype_init): Declare.
38254 (__ctype_b_loc): The variable is always initialized.
38255 (__ctype_toupper_loc): Likewise.
38256 (__ctype_tolower_loc): Likewise.
38257 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38258 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38259
7872cfb0
AS
382602011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38261
b468825a
AS
38262 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38263
7872cfb0
AS
38264 * configure.in: Also look in $cxxmachine/include for C++ system
38265 headers.
38266
be13f7bf
LD
382672011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38268
38269 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38270 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38271 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38272 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38273 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38274 (USE_AS_WMEMCMP): New macro.
38275 Fixing indents.
38276 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38277 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38278 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38279 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38281 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38282 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38283 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38284 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38285 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38286 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38287 (USE_AS_WMEMCMP): New macro.
38288 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38289 * sysdeps/string/test-memcmp.c: Update.
38290 Fix simple_wmemcmp.
38291 Add new tests.
38292 * wcsmbs/wmemcmp.c: Update.
38293 (WMEMCMP): New macro.
38294 Fix overflow bug.
38295
556a2007
AJ
382962011-10-12 Andreas Jaeger <aj@suse.de>
38297
38298 [BZ #13268]
38299 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38300
538faaa7
UD
383012011-10-15 Ulrich Drepper <drepper@gmail.com>
38302
ab6737ff
UD
38303 * libio/iofwide.c (do_length): Avoid warning.
38304
538faaa7
UD
38305 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38306
396a21b1
UD
383072011-10-14 Ulrich Drepper <drepper@gmail.com>
38308
cdf2901f
UD
38309 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38310
38ad40ce
UD
38311 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38312 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38313 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38314 * sysdeps/i386/i686/fpu/e_log.S: New file.
38315 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38316 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38317
396a21b1
UD
38318 * ctype/ctype.h: Add support for inlined isXXX functions when
38319 compiling C++ code.
38320
6b1f68c9
AS
383212011-10-14 Andreas Schwab <schwab@redhat.com>
38322
349290c0
AS
38323 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38324
6b1f68c9
AS
38325 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38326
f2282d42
RM
383272011-10-13 Roland McGrath <roland@hack.frob.com>
38328
38329 [BZ #13291]
38330 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38331
5298ffa8
AS
383322011-10-13 Andreas Schwab <schwab@redhat.com>
38333
714fad23
AS
38334 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38335 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38336 feraiseexcept.
38337
81dcc7fb
AS
38338 * sysdeps/x86_64/memrchr.S: Check for zero size.
38339
5298ffa8
AS
38340 * string/stratcliff.c: Add memrchr tests.
38341
951fbcec
LD
383422011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38343
38344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38345 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38346 rawmemchr-sse2 rawmemchr-sse2-bsf.
38347 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38348 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38349 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38350 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38351 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38352 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38353 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38354 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38355 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38356 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38357 * string/memrchr.c (MEMRCHR): New macro.
38358
0ac5ae23
UD
383592011-10-12 Ulrich Drepper <drepper@gmail.com>
38360
38361 Add integration with gcc's -ffinite-math-only and optimize wrapper
38362 functions in libm.
38363 * Versions.def: Define GLIBC_2.15 version for libm.
38364 * math/Makefile (headers): Add bits/math-finite.h.
38365 * math/bits/math-finite.h: New file.
38366 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38367 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38368 * math/e_acoshl.c: Add __*_finite alias.
38369 * math/e_acosl.c: Likewise.
38370 * math/e_asinl.c: Likewise.
38371 * math/e_atan2l.c: Likewise.
38372 * math/e_atanhl.c: Likewise.
38373 * math/e_coshl.c: Likewise.
38374 * math/e_exp10.c: Likewise.
38375 * math/e_exp10f.c: Likewise.
38376 * math/e_exp10l.c: Likewise.
38377 * math/e_exp2l.c: Likewise.
38378 * math/e_fmodl.c: Likewise.
38379 * math/e_gammal_r.c: Likewise.
38380 * math/e_hypotl.c: Likewise.
38381 * math/e_j0l.c: Likewise.
38382 * math/e_j1l.c: Likewise.
38383 * math/e_jnl.c: Likewise.
38384 * math/e_lgammal_r.c: Likewise.
38385 * math/e_log10l.c: Likewise.
38386 * math/e_log2l.c: Likewise.
38387 * math/e_logl.c: Likewise.
38388 * math/e_powl.c: Likewise.
38389 * math/e_sinhl.c: Likewise.
38390 * math/e_sqrtl.c: Likewise.
38391 * math/e_scalb.c: Completely rewritten and optimized.
38392 * math/e_scalbf.c: Likewise.
38393 * math/e_scalbl.c: Likewise.
38394 * math/w_acos.c: Likewise.
38395 * math/w_acosf.c: Likewise.
38396 * math/w_acosl.c: Likewise.
38397 * math/w_acosh.c: Likewise.
38398 * math/w_acoshf.c: Likewise.
38399 * math/w_acoshl.c: Likewise.
38400 * math/w_asin.c: Likewise.
38401 * math/w_asinf.c: Likewise.
38402 * math/w_asinl.c: Likewise.
38403 * math/w_atan2.c: Likewise.
38404 * math/w_atan2f.c: Likewise.
38405 * math/w_atan2l.c: Likewise.
38406 * math/w_atanh.c: Likewise.
38407 * math/w_atanhf.c: Likewise.
38408 * math/w_atanhl.c: Likewise.
38409 * math/w_exp10.c: Likewise.
38410 * math/w_exp10f.c: Likewise.
38411 * math/w_exp10l.c: Likewise.
38412 * math/w_fmod.c: Likewise.
38413 * math/w_fmodf.c: Likewise.
38414 * math/w_fmodl.c: Likewise.
38415 * math/w_j0.c: Likewise.
38416 * math/w_j0f.c: Likewise.
38417 * math/w_j0l.c: Likewise.
38418 * math/w_j1.c: Likewise.
38419 * math/w_j1f.c: Likewise.
38420 * math/w_j1l.c: Likewise.
38421 * math/w_jn.c: Likewise.
38422 * math/w_jnf.c: Likewise.
38423 * math/w_log.c: Likewise.
38424 * math/w_logf.c: Likewise.
38425 * math/w_logl.c: Likewise.
38426 * math/w_log10.c: Likewise.
38427 * math/w_log10f.c: Likewise.
38428 * math/w_log10l.c: Likewise.
38429 * math/w_log2.c: Likewise.
38430 * math/w_log2f.c: Likewise.
38431 * math/w_log2l.c: Likewise.
38432 * math/w_pow.c: Likewise.
38433 * math/w_powf.c: Likewise.
38434 * math/w_powl.c: Likewise.
38435 * math/w_remainder.c: Likewise.
38436 * math/w_remainderf.c: Likewise.
38437 * math/w_remainderl.c: Likewise.
38438 * math/w_scalb.c: Likewise.
38439 * math/w_scalbf.c: Likewise.
38440 * math/w_scalbl.c: Likewise.
38441 * math/w_sqrt.c: Likewise.
38442 * math/w_sqrtf.c: Likewise.
38443 * math/w_sqrtl.c: Likewise.
38444 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38445 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38446 used.
38447 * math/math_private.h: Declare __kernel_standard_f.
38448 * math/w_cosh.c: Remove cruft and optimize a bit.
38449 * math/w_coshf.c: Likewise.
38450 * math/w_coshl.c: Likewise.
38451 * math/w_exp2.c: Likewise.
38452 * math/w_exp2f.c: Likewise.
38453 * math/w_exp2l.c: Likewise.
38454 * math/w_hypot.c: Likewise.
38455 * math/w_hypotf.c: Likewise.
38456 * math/w_hypotl.c: Likewise.
38457 * math/w_lgamma.c: Likewise.
38458 * math/w_lgamma_r.c: Likewise.
38459 * math/w_lgammaf.c: Likewise.
38460 * math/w_lgammaf_r.c: Likewise.
38461 * math/w_lgammal.c: Likewise.
38462 * math/w_lgammal_r.c: Likewise.
38463 * math/w_sinh.c: Likewise.
38464 * math/w_sinhf.c: Likewise.
38465 * math/w_sinhl.c: Likewise.
38466 * math/w_tgamma.c: Likewise.
38467 * math/w_tgammaf.c: Likewise.
38468 * math/w_tgammal.c: Likewise.
38469 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38471 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38472 Minor optimizations. Pretty printing. Remove cruft.
38473 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38476 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38477 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38478 * sysdeps/i386/fpu/e_asin.S: Likewise.
38479 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38480 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38481 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38482 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38483 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38484 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38485 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38486 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38487 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38488 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38489 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38490 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38491 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38492 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38493 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38494 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38495 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38496 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38497 * sysdeps/i386/fpu/e_log.S: Likewise.
38498 * sysdeps/i386/fpu/e_log10.S: Likewise.
38499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38500 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38501 * sysdeps/i386/fpu/e_log2.S: Likewise.
38502 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38504 * sysdeps/i386/fpu/e_logf.S: Likewise.
38505 * sysdeps/i386/fpu/e_logl.S: Likewise.
38506 * sysdeps/i386/fpu/e_pow.S: Likewise.
38507 * sysdeps/i386/fpu/e_powf.S: Likewise.
38508 * sysdeps/i386/fpu/e_powl.S: Likewise.
38509 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38510 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38511 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38512 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38513 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38514 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38515 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38516 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38517 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38518 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38519 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38521 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38522 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38523 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38524 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38525 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38527 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38528 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38529 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38531 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38532 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38534 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38535 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38538 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38539 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38542 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38543 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38544 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38545 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38546 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38547 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38551 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38552 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38553 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38554 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38555 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38556 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38557 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38558 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38559 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38598 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38606 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38608 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38609 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38610 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38611 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38615 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38616 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38617 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38618 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38619 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38620 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38621 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38622 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38623 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38624 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38626 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38627 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38628 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38629 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38630 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38631 (__isnanf): Likewise.
38632 (__isinf_ns): Likewise.
38633 (__isinf_nsf): Likewise.
38634 (__finite): Likewise.
38635 (__finitef): Likewise.
38636 (__ieee754_sqrt): Define as macro.
38637 (__ieee754_sqrtf): Define as macro.
38638 (__ieee754_sqrtl): Define as macro.
38639 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38640 inlined copy.
38641 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38642 __FINITE_MATH_ONLY__ consistent.
38643 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38644
12cc2fcd
AS
386452011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38646
a843a204
AS
38647 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38648 of rawmemchr.
38649
12cc2fcd
AS
38650 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38651
c853acd5
UD
386522011-10-09 Ulrich Drepper <drepper@gmail.com>
38653
38654 * po/ja.po: Update from translation team.
38655
c658d255
RM
386562011-10-08 Roland McGrath <roland@hack.frob.com>
38657
110946e4
RM
38658 * locale/programs/locarchive.c (prepare_address_space): New function.
38659 (create_archive, enlarge_archive, open_archive): Use it.
38660
50604220
RM
38661 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38662 inside [SHARED], where it is used.
38663
c658d255
RM
38664 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38665
38666 * nss/getent.c (netgroup_keys): Remove unused variable.
38667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38668
6a621eb7
UD
386692011-10-08 Ulrich Drepper <drepper@gmail.com>
38670
7edb55ce
UD
38671 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38672 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38676 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38677 * math/Makefile (libm-calls): Add s_isinf_ns.
38678 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38679 * math/multc3.c: Likewise.
38680 * math/s_casin.c: Likewise.
38681 * math/s_casinf.c: Likewise.
38682 * math/s_casinl.c: Likewise.
38683 * math/s_ccos.c: Likewise.
38684 * math/s_ccosf.c: Likewise.
38685 * math/s_ccosl.c: Likewise.
38686 * math/s_ctan.c: Likewise.
38687 * math/s_ctanf.c: Likewise.
38688 * math/s_ctanh.c: Likewise.
38689 * math/s_ctanhf.c: Likewise.
38690 * math/s_ctanhl.c: Likewise.
38691 * math/s_ctanl.c: Likewise.
38692 * math/w_fmod.c: Likewise.
38693 * math/w_fmodf.c: Likewise.
38694 * math/w_fmodl.c: Likewise.
38695 * math/w_remainder.c: Likewise.
38696 * math/w_remainderf.c: Likewise.
38697 * math/w_remainderl.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38699 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38700 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38702 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38703 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38704 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38705 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38706
187da0ae
UD
38707 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38708 of the number.
38709 * stdio-common/printf_fphex.c: Likewise.
38710 * stdio-common/printf_size.c: Likewise.
38711
9277c064
UD
38712 * math/e_exp10.c: Include math_private.h using <...> not "...".
38713 * math/e_exp10f.c: Likewise.
38714 * math/e_exp10l.c: Likewise.
38715 * math/e_exp2l.c: Likewise.
38716 * math/e_j0l.c: Likewise.
38717 * math/e_j1l.c: Likewise.
38718 * math/e_jnl.c: Likewise.
38719 * math/e_lgammal_r.c: Likewise.
38720 * math/e_rem_pio2l.c: Likewise.
38721 * math/e_scalb.c: Likewise.
38722 * math/e_scalbf.c: Likewise.
38723 * math/e_scalbl.c: Likewise.
38724 * math/k_cosl.c: Likewise.
38725 * math/k_sinl.c: Likewise.
38726 * math/k_tanl.c: Likewise.
38727 * math/s_cacoshf.c: Likewise.
38728 * math/s_catan.c: Likewise.
38729 * math/s_catanf.c: Likewise.
38730 * math/s_catanh.c: Likewise.
38731 * math/s_catanhf.c: Likewise.
38732 * math/s_catanhl.c: Likewise.
38733 * math/s_catanl.c: Likewise.
38734 * math/s_ccosh.c: Likewise.
38735 * math/s_ccoshf.c: Likewise.
38736 * math/s_ccoshl.c: Likewise.
38737 * math/s_cexp.c: Likewise.
38738 * math/s_cexpf.c: Likewise.
38739 * math/s_cexpl.c: Likewise.
38740 * math/s_clog.c: Likewise.
38741 * math/s_clog10.c: Likewise.
38742 * math/s_clog10f.c: Likewise.
38743 * math/s_clog10l.c: Likewise.
38744 * math/s_clogf.c: Likewise.
38745 * math/s_clogl.c: Likewise.
38746 * math/s_csin.c: Likewise.
38747 * math/s_csinf.c: Likewise.
38748 * math/s_csinh.c: Likewise.
38749 * math/s_csinhf.c: Likewise.
38750 * math/s_csinhl.c: Likewise.
38751 * math/s_csinl.c: Likewise.
38752 * math/s_csqrt.c: Likewise.
38753 * math/s_csqrtf.c: Likewise.
38754 * math/s_csqrtl.c: Likewise.
38755 * math/s_ctan.c: Likewise.
38756 * math/s_ctanf.c: Likewise.
38757 * math/s_ctanh.c: Likewise.
38758 * math/s_ctanhf.c: Likewise.
38759 * math/s_ctanhl.c: Likewise.
38760 * math/s_ctanl.c: Likewise.
38761 * math/s_ldexp.c: Likewise.
38762 * math/s_ldexpf.c: Likewise.
38763 * math/s_ldexpl.c: Likewise.
38764 * math/s_significand.c: Likewise.
38765 * math/s_significandf.c: Likewise.
38766 * math/s_significandl.c: Likewise.
38767 * math/w_acos.c: Likewise.
38768 * math/w_acosf.c: Likewise.
38769 * math/w_acosh.c: Likewise.
38770 * math/w_acoshf.c: Likewise.
38771 * math/w_acoshl.c: Likewise.
38772 * math/w_acosl.c: Likewise.
38773 * math/w_asin.c: Likewise.
38774 * math/w_asinf.c: Likewise.
38775 * math/w_asinl.c: Likewise.
38776 * math/w_atan2.c: Likewise.
38777 * math/w_atan2f.c: Likewise.
38778 * math/w_atan2l.c: Likewise.
38779 * math/w_atanh.c: Likewise.
38780 * math/w_atanhf.c: Likewise.
38781 * math/w_atanhl.c: Likewise.
38782 * math/w_cosh.c: Likewise.
38783 * math/w_coshf.c: Likewise.
38784 * math/w_coshl.c: Likewise.
38785 * math/w_dremf.c: Likewise.
38786 * math/w_exp10.c: Likewise.
38787 * math/w_exp10f.c: Likewise.
38788 * math/w_exp10l.c: Likewise.
38789 * math/w_exp2.c: Likewise.
38790 * math/w_exp2f.c: Likewise.
38791 * math/w_fmod.c: Likewise.
38792 * math/w_fmodf.c: Likewise.
38793 * math/w_fmodl.c: Likewise.
38794 * math/w_hypot.c: Likewise.
38795 * math/w_hypotf.c: Likewise.
38796 * math/w_hypotl.c: Likewise.
38797 * math/w_j0.c: Likewise.
38798 * math/w_j0f.c: Likewise.
38799 * math/w_j0l.c: Likewise.
38800 * math/w_j1.c: Likewise.
38801 * math/w_j1f.c: Likewise.
38802 * math/w_j1l.c: Likewise.
38803 * math/w_jn.c: Likewise.
38804 * math/w_jnf.c: Likewise.
38805 * math/w_jnl.c: Likewise.
38806 * math/w_lgamma.c: Likewise.
38807 * math/w_lgamma_r.c: Likewise.
38808 * math/w_lgammaf.c: Likewise.
38809 * math/w_lgammaf_r.c: Likewise.
38810 * math/w_lgammal.c: Likewise.
38811 * math/w_lgammal_r.c: Likewise.
38812 * math/w_log.c: Likewise.
38813 * math/w_log10.c: Likewise.
38814 * math/w_log10f.c: Likewise.
38815 * math/w_log10l.c: Likewise.
38816 * math/w_log2.c: Likewise.
38817 * math/w_log2f.c: Likewise.
38818 * math/w_log2l.c: Likewise.
38819 * math/w_logf.c: Likewise.
38820 * math/w_logl.c: Likewise.
38821 * math/w_pow.c: Likewise.
38822 * math/w_powf.c: Likewise.
38823 * math/w_powl.c: Likewise.
38824 * math/w_remainder.c: Likewise.
38825 * math/w_remainderf.c: Likewise.
38826 * math/w_remainderl.c: Likewise.
38827 * math/w_scalb.c: Likewise.
38828 * math/w_scalbf.c: Likewise.
38829 * math/w_scalbl.c: Likewise.
38830 * math/w_sinh.c: Likewise.
38831 * math/w_sinhf.c: Likewise.
38832 * math/w_sinhl.c: Likewise.
38833 * math/w_sqrt.c: Likewise.
38834 * math/w_sqrtf.c: Likewise.
38835 * math/w_sqrtl.c: Likewise.
38836 * math/w_tgamma.c: Likewise.
38837 * math/w_tgammaf.c: Likewise.
38838 * math/w_tgammal.c: Likewise.
38839
6a621eb7
UD
38840 * po/ja.po: Update from translation team.
38841
bf582445
AJ
388422011-09-29 Andreas Jaeger <aj@suse.de>
38843
f9efbf3a
AJ
38844 [BZ #13179]
38845 * sunrpc/netname.c (netname2host): Fix logic.
38846
bf582445
AJ
38847 [BZ #6779]
38848 [BZ #6783]
38849 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38850 correctly.
38851 * math/w_remainder.c (__remainder): Likewise.
38852 * math/w_remainderf.c (__remainderf): Likewise.
38853 * math/libm-test.inc (remainder_test): Add test cases.
38854
48693bea
AK
388552011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38856
38857 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38858 sdiv_qrnnd.
38859
42622229
LD
388602011-10-07 Ulrich Drepper <drepper@gmail.com>
38861
38862 * string/test-memcmp.c: Avoid unncessary #defines.
38863 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38864
093ecf92
LD
388652011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38866
38867 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38868 Use new sse2 version for core i3 - i7 as it's faster
38869 than sse42 version.
38870 (bit_Prefer_PMINUB_for_stringop): New.
38871 * sysdeps/x86_64/rawmemchr.S: Update.
38872 Replace with faster SSE2 version.
38873 * sysdeps/x86_64/memrchr.S: New file.
38874 * sysdeps/x86_64/memchr.S: Update.
38875 Replace with faster SSE2 version.
38876
fde56e5c
MP
388772011-09-12 Marek Polacek <mpolacek@redhat.com>
38878
38879 * elf/dl-load.c (lose): Add cast to avoid warning.
38880
21fd49a9
UD
388812011-10-07 Ulrich Drepper <drepper@gmail.com>
38882
5a06e643
UD
38883 * po/ca.po: Update from translation team.
38884
684ae515
UD
38885 * inet/getnetgrent_r.c: Hook up nscd.
38886 * nscd/Makefile (routines): Add nscd_netgroup.
38887 (nscd-modules): Add netgroupcache.
38888 (CFLAGS-netgroupcache.c): Define.
38889 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38890 (cache_search): Add const to second parameter.
38891 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38892 INNETGR.
38893 (dbs): Add netgrdb entry.
38894 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38895 (verify_persistent_db): Handle netgrdb.
38896 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38897 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38898 GETFDNETGR.
38899 (netgroup_response_header): Define.
38900 (innetgroup_response_header): Define.
38901 (datahead): Add netgroup_response_header and innetgroup_response_header
38902 elements.
38903 * nscd/nscd.conf: Add entries for netgroup cache.
38904 * nscd/nscd.h (dbtype): Add netgrdb.
38905 (_PATH_NSCD_NETGROUP_DB): Define.
38906 (netgroup_iov_disabled): Declare.
38907 (xmalloc, xcalloc, xrealloc): Move declarations here.
38908 (cache_search): Adjust prototype.
38909 Add netgroup-related prototypes.
38910 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38911 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38912 (__nscd_innetgr): Declare.
38913 * nscd/selinux.c (perms): Use access_vector_t as element type and
38914 add netgroup-related initializers.
38915 * nscd/netgroupcache.c: New file.
38916 * nscd/nscd_netgroup.c: New file.
38917 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38918 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38919 For four parameters use innetgr.
38920 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38921 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38922 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38923 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38924
21fd49a9
UD
38925 * nscd/connections.c (register_traced_file): Don't register file
38926 for disabled databases.
38927
054c0457
UD
389282011-10-06 Ulrich Drepper <drepper@gmail.com>
38929
32b63198
UD
38930 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38931
054c0457
UD
38932 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38933 from tree and freeing node.
38934
64031225
JO
389352011-09-25 Jiri Olsa <jolsa@redhat.com>
38936
38937 * nss/nsswitch.c (__nss_database_lookup): Handle
38938 nss_parse_service_list out of memory case.
38939
0490345c
JO
389402011-09-15 Jiri Olsa <jolsa@redhat.com>
38941
38942 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38943 out of memory case.
38944
3a62d00d
AS
389452011-10-04 Andreas Schwab <schwab@redhat.com>
38946
38947 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38948 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38949 pass it down.
38950 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38951 elf_machine_rela, elf_machine_lazy_rel.
38952 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38953 (ELF_DYNAMIC_DO_REL): Likewise.
38954 (ELF_DYNAMIC_DO_RELA): Likewise.
38955 (ELF_DYNAMIC_RELOCATE): Likewise.
38956 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38957 to ELF_DYNAMIC_DO_REL.
38958 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38959 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38960 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38961 elf_machine_rela.
38962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38963 skip_ifunc, don't call ifunc function if non-zero.
38964 (elf_machine_rela): Likewise.
38965 (elf_machine_lazy_rel): Likewise.
38966 (elf_machine_lazy_rela): Likewise.
38967 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38968 (elf_machine_lazy_rel): Likewise.
38969 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38970 Likewise.
38971 (elf_machine_lazy_rel): Likewise.
38972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38973 Likewise.
38974 (elf_machine_lazy_rel): Likewise.
38975 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38976 (elf_machine_lazy_rel): Likewise.
38977 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38978 (elf_machine_lazy_rel): Likewise.
38979 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38980 (elf_machine_lazy_rel): Likewise.
38981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38982 (elf_machine_lazy_rel): Likewise.
38983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38984 (elf_machine_lazy_rel): Likewise.
38985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38986 (elf_machine_lazy_rel): Likewise.
38987
68577918
UD
389882011-09-28 Ulrich Drepper <drepper@gmail.com>
38989
38990 * nss/nss_files/files-init.c (_nss_files_init): Use static
38991 initialization for all the *_traced_file variables.
38992
68822d74
AS
389932011-09-28 Andreas Schwab <schwab@redhat.com>
38994
38995 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38996
2056100b
RM
389972011-09-27 Roland McGrath <roland@hack.frob.com>
38998
38999 [BZ #13226]
39000 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39001
32c76b63
AS
390022011-09-27 Andreas Schwab <schwab@redhat.com>
39003
39004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39005 Reread the line before reparsing it.
39006
bf972c9d
AS
390072011-09-26 Andreas Schwab <schwab@redhat.com>
39008
39009 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39010
e057a1b5
JM
390112011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39012 Maxim Kuvyrkov <maxim@codesourcery.com>
39013 Joseph Myers <joseph@codesourcery.com>
39014
39015 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39016 if needed for __stack_chk_guard.
39017
bc7e1c36
RM
390182011-09-19 Roland McGrath <roland@hack.frob.com>
39019
ecb1482f
RM
39020 * sysdeps/posix/spawni.c (script_execute): Always define it.
39021 It will be optimized away if unused.
39022 (maybe_script_execute): New function.
39023 (__spawni): Call it.
39024
bc7e1c36
RM
39025 * Makerules: Don't include tls.make.
39026 (config-tls): Always set to thread.
39027 * tls.make.c: File removed.
39028
1c3b002b
MF
390292011-09-19 Mike Frysinger <vapier@gentoo.org>
39030
39031 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39032 * config.make.in (CPPFLAGS-config): New substituted variable.
39033
2840865d
UD
390342011-09-15 Ulrich Drepper <drepper@gmail.com>
39035
88738eb6
UD
39036 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39037
cbf645a6 39038 [BZ #13192]
2840865d
UD
39039 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39040 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39041
b402e91a
RM
390422011-09-15 Roland McGrath <roland@hack.frob.com>
39043
39044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39045 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39047 (CALL_FAIL): Likewise.
39048 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39049 (CALL_FAIL): Macro removed.
39050 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39051
4c1a1f71
UD
390522011-09-15 Ulrich Drepper <drepper@gmail.com>
39053
39054 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39055 for __FINITE_MATH_ONLY__ == 1.
39056
edc121be
AS
390572011-09-15 Andreas Schwab <schwab@redhat.com>
39058
39059 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39060 __ieee754_sqrt instead of sqrt.
39061 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39062 __ieee754_sqrtf instead of sqrtf.
39063 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39064 __floorf instead of floorf.
39065 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39066 __floorf, __truncf instead of floorf, truncf.
39067
cd205654
UD
390682011-09-14 Ulrich Drepper <drepper@gmail.com>
39069
ee4d0315
UD
39070 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39071
cd205654
UD
39072 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39073 __extern_always_inline.
39074 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39075 32-bit.
39076
48b67d71
AS
390772011-09-14 Andreas Schwab <schwab@redhat.com>
39078
39079 * elf/rtld.c (dl_main): Also relocate in dependency order when
39080 doing symbol dependency testing.
39081
1ae12c75
AS
390822011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39083
39084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39085 Always define `refsym'.
39086
995a80df
AS
390872011-09-13 Andreas Schwab <schwab@redhat.com>
39088
e529793b
AS
39089 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39090 (__FD_ELT): Renamed from __FDELT.
39091 * misc/bits/select2.h (__FD_ELT): Likewise.
39092 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39093 __FD_MASK instead of __FDELT, __FDMASK.
39094 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39095 Likewise.
39096 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39097 Likewise.
39098
52d4fef8
AS
39099 * elf/Makefile (gen-ldd): Fix pattern.
39100
995a80df
AS
39101 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39102 (init_tls): Likewise.
39103
8682f8b0
UD
391042011-09-12 Ulrich Drepper <drepper@gmail.com>
39105
39106 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39107
de82006d
AS
391082011-09-12 Andreas Schwab <schwab@redhat.com>
39109
a7c8e6a1
AS
39110 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39111 `struct cmsghdr *' instead of `void *'.
39112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39113 Likewise.
39114
0f31fe77
AS
391152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39116
39117 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39118 if non-absolute.
39119 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39120 ldd_rewrite_script.
0f31fe77 39121
32b4c839
UD
391222011-09-11 Ulrich Drepper <drepper@gmail.com>
39123
83cd1420
UD
39124 * configure.in: Remove --with-tls option.
39125 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39126 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39127 out in case it is missing.
39128 * sysdeps/ia64/elf/configure.in: Likewise.
39129 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39130 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39131 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39132 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39133 * sysdeps/sh/elf/configure.in: Likewise.
39134 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39135 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39136 * sysdeps/x86_64/elf/configure.in: Likewise.
39137 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39138 * sysdeps/mach/hurd/tls.h: Likewise.
39139
633f745d
UD
39140 [BZ #13067]
39141 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39142
f318beb8
UD
39143 [BZ #13090]
39144 * configure.in: Fix use of AC_INIT.
39145
32b4c839
UD
39146 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39147
3ce1f295
UD
391482011-09-10 Ulrich Drepper <drepper@gmail.com>
39149
bb016596
UD
39150 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39151 __set_errno.
8e58439c
UD
39152 * malloc/hooks.c: Likewise.
39153
aebae053 39154 [BZ #11929]
02d46fc4
UD
39155 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39156 variables statically.
39157 (narenas): Initialize.
39158 (list_lock): Initialize.
bb016596
UD
39159 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39160 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39161 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39162 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39163 Add initializers to main_arena and mp_.
39164 (malloc_state): Remove pagesize member. Change all users to use
39165 GLRO(dl_pagesize).
39166
39167 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39168 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39169 is always initialized.
39170
22a89187
UD
39171 * malloc/malloc.c: Removed unused configurations and dead code.
39172 * malloc/arena.c: Likewise.
39173 * malloc/hooks.c: Likewise.
02d46fc4 39174 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39175
d063d164
UD
39176 * include/tls.h: Removed. USE___THREAD must always be defined.
39177 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39178 * elf/dl-libc.c: Likewise.
39179 * elf/dl-tsd.c: Likewise.
39180 * include/errno.h: Likewise.
39181 * include/netdb.h: Likewise.
39182 * include/resolv.h: Likewise.
39183 * inet/herrno-loc.c: Likewise.
39184 * inet/herrno.c: Likewise.
39185 * malloc/arena.c: Likewise.
39186 * malloc/hooks.c: Likewise.
39187 * malloc/malloc.c: Likewise.
39188 * resolv/res-state.c: Likewise.
39189 * resolv/res_libc.c: Likewise.
39190 * sysdeps/i386/dl-machine.h: Likewise.
39191 * sysdeps/ia64/dl-machine.h: Likewise.
39192 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39193 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39194 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39195 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39196 * sysdeps/sh/dl-machine.h: Likewise.
39197 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39198 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39199 * sysdeps/unix/i386/sysdep.S: Likewise.
39200 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39201 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39205 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39206 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39208 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39210 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39211 * sysdeps/x86_64/dl-machine.h: Likewise.
39212 * tls.make.c: Likewise.
39213
3ce1f295
UD
39214 * configure.in: Remove --with-__thread option. Make tests for
39215 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39216 tls_model attribute fail if no support is available. Remove
39217 USE_IN_LIBIO.
39218 * Makeconfig: Adjust for dropped configure option. All features are
39219 now mandatory.
39220 * Makerules: Likewise.
39221 * Versions.def: Likewise.
39222 * argp/argp-fmtstream.c: Likewise.
39223 * argp/argp-fmtstream.h: Likewise.
39224 * argp/argp-help.c: Likewise.
39225 * assert/assert.c: Likewise.
39226 * config.h.in: Likewise.
39227 * config.make.in: Likewise.
39228 * configure: Likewise.
39229 * configure.in: Likewise.
39230 * csu/Versions: Likewise.
39231 * csu/init.c: Likewise.
39232 * elf/tst-audit2.c: Likewise.
39233 * elf/tst-tls10.c: Likewise.
39234 * elf/tst-tls10.h: Likewise.
39235 * elf/tst-tls11.c: Likewise.
39236 * elf/tst-tls12.c: Likewise.
39237 * elf/tst-tls14.c: Likewise.
39238 * elf/tst-tlsmod11.c: Likewise.
39239 * elf/tst-tlsmod12.c: Likewise.
39240 * elf/tst-tlsmod13.c: Likewise.
39241 * elf/tst-tlsmod13a.c: Likewise.
39242 * elf/tst-tlsmod14a.c: Likewise.
39243 * elf/tst-tlsmod15b.c: Likewise.
39244 * elf/tst-tlsmod16a.c: Likewise.
39245 * elf/tst-tlsmod16b.c: Likewise.
39246 * elf/tst-tlsmod7.c: Likewise.
39247 * elf/tst-tlsmod8.c: Likewise.
39248 * elf/tst-tlsmod9.c: Likewise.
39249 * gmon/gmon.c: Likewise.
39250 * grp/fgetgrent_r.c: Likewise.
39251 * grp/putgrent.c: Likewise.
39252 * hurd/fopenport.c: Likewise.
39253 * include/libc-symbols.h: Likewise.
39254 * include/tls.h: Likewise.
39255 * intl/gettextP.h: Likewise.
39256 * intl/loadinfo.h: Likewise.
39257 * locale/global-locale.c: Likewise.
39258 * locale/localeinfo.h: Likewise.
39259 * mach/devstream.c: Likewise.
39260 * malloc/arena.c: Likewise.
39261 * malloc/set-freeres.c: Likewise.
39262 * misc/err.c: Likewise.
39263 * misc/getttyent.c: Likewise.
39264 * misc/mntent_r.c: Likewise.
39265 * posix/getopt.c: Likewise.
39266 * posix/wordexp.c: Likewise.
39267 * pwd/fgetpwent_r.c: Likewise.
39268 * resolv/Versions: Likewise.
39269 * resolv/res_hconf.c: Likewise.
39270 * shadow/fgetspent_r.c: Likewise.
39271 * shadow/putspent.c: Likewise.
39272 * stdio-common/printf_fphex.c: Likewise.
39273 * stdio-common/tmpfile.c: Likewise.
39274 * stdlib/abort.c: Likewise.
39275 * stdlib/fmtmsg.c: Likewise.
39276 * sunrpc/auth_unix.c: Likewise.
39277 * sunrpc/clnt_perr.c: Likewise.
39278 * sunrpc/clnt_tcp.c: Likewise.
39279 * sunrpc/clnt_udp.c: Likewise.
39280 * sunrpc/clnt_unix.c: Likewise.
39281 * sunrpc/openchild.c: Likewise.
39282 * sunrpc/svc_simple.c: Likewise.
39283 * sunrpc/svc_tcp.c: Likewise.
39284 * sunrpc/svc_udp.c: Likewise.
39285 * sunrpc/svc_unix.c: Likewise.
39286 * sunrpc/xdr.c: Likewise.
39287 * sunrpc/xdr_array.c: Likewise.
39288 * sunrpc/xdr_rec.c: Likewise.
39289 * sunrpc/xdr_ref.c: Likewise.
39290 * sunrpc/xdr_stdio.c: Likewise.
39291
1248c1c4
PB
392922011-09-09 Ulrich Drepper <drepper@gmail.com>
39293
39294 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39295
392962011-07-03 Andreas Jaeger <aj@suse.de>
39297
39298 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39299 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39300 regenerate with gen-libm-tests.pl.
39301
393022010-05-12 Petr Baudis <pasky@suse.cz>
39303
39304 [BZ #11589]
39305 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39306 around j0() zero points by switching to j1().
39307 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39311
f22e1074
UD
393122011-09-09 Ulrich Drepper <drepper@gmail.com>
39313
f19009c1
UD
39314 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39315 instead of 0.
39316 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39317 instead of 0.
f19009c1
UD
39318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39319 Patch in part by Pavel Roskin <proski@gnu.org>.
39320
3f8cc204
UD
39321 [BZ #13138]
39322 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39323 realloc.
39324 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39325 Free memory block if necessary.
39326
f22e1074
UD
39327 [BZ #12847]
39328 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39329 be NULL. Don't lock in this case.
39330
0a2349f9
RM
393312011-09-09 Roland McGrath <roland@hack.frob.com>
39332
39333 * elf/elf.h (ELFOSABI_GNU): New macro.
39334 (ELFOSABI_LINUX): Define to that.
39335
f3cdd467
DZ
393362011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39337
39338 * string/strncat.c (strncat): Undef the symbol in case it has been
39339 defined in bits/string.h.
39340
74718d13
UD
393412011-09-09 Ulrich Drepper <drepper@gmail.com>
39342
633e9e0f
UD
39343 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39344
0a2349f9 39345 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39346 link map.
39347
f9924780
AJ
393482011-08-17 Andreas Jaeger <aj@suse.de>
39349
39350 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39351
7f5517aa
PP
393522011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39353 Ian Lance Taylor <iant@google.com>
39354
39355 * math/libm-test.inc (lround_test): New testcase.
39356 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39357
762011fe
UD
393582011-09-08 Ulrich Drepper <drepper@gmail.com>
39359
92963737
UD
39360 * Makefile: Remove support for automatic cvs check-ins.
39361 * Makerules: Likewise.
39362 * config.make.in: Likewise.
39363 * configure.in: Likewise.
39364 * intl/Makefile: Likewise.
39365 * locale/Makefile: Likewise.
39366 * po/Makefile: Likewise.
39367 * posix/Makefile: Likewise.
39368 * sysdeps/gnu/Makefile: Likewise.
39369 * sysdeps/mach/hurd/Makefile: Likewise.
39370 * sysdeps/sparc/sparc32/Makefile: Likewise.
39371
b0727fd8
JS
39372 [BZ #13118]
39373 * posix/Makefile (bug-regex32-ENV): Define.
39374 Patch by John Stanley <jpsinthemix@verizon.net>.
39375
a0f33f99
UD
39376 * misc/Makefile (headers): Add bits/select2.h.
39377 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39378 * misc/bits/select2.h: New file.
39379 * include/bits/select2.h: New file.
39380 * debug/Makefile (routines): Add fdelt_chk.
39381 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39382 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39383 FD_ISSET.
39384 * debug/fdelt_chk.c: New file.
39385
762011fe
UD
39386 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39387 * wcsmbs/test-wmemcmp.c: Likewise.
39388 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39389 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39390
393912011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39392
39393 * string/Makefile (strop-tests): Add memcmp.
39394 * string/test-wmemcmp.c: New file.
39395 * string/test-memcmp.c: Add wmemcmp support.
39396
7f513ec8
RM
393972011-09-08 Roland McGrath <roland@hack.frob.com>
39398
0442afb4
RM
39399 [BZ #13153]
39400 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39401 2011-07-19 change.
39402
7f513ec8
RM
39403 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39404 garbage value in a __mach_port_mod_refs call in the cases of the
39405 task-self and thread-self ports.
39406
a12b2239
ST
394072011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39408
39409 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39410
610f9ab4
AS
394112011-09-08 Andreas Schwab <schwab@redhat.com>
39412
7f513ec8 39413 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39414
48882a1a
LD
394152011-09-07 Ulrich Drepper <drepper@gmail.com>
39416
b49865be
UD
39417 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39418
fdc86bc9
UD
39419 * elf/dl-libc.c (dlerror_run): Pass back error code from
39420 dl_catch_error.
39421
c966526a
UD
39422 [BZ #13123]
39423 * elf/dl-load.c (lose): Free l_origin if it is valid.
39424
48882a1a
LD
39425 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39426 names.
39427 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39428 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39430 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39431 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39432 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39433
77a2a8b4
AZ
394342011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39435
39436 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39437 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39438 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39439 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39440 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39441 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39442 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39443 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39444 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39445 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39446
24f579d8
AM
394472011-08-15 Alan Modra <amodra@gmail.com>
39448
39449 [BZ #13092]
39450 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39451 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39452 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39453 ppc_mcount to static-only-routines.
39454 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39455 __mcount_internal.
39456 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39457 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39458
3d4837df
UD
394592011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39460
39461 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39462 for finite and infinity parameters.
39463
22700377
WS
394642011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39465
39466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39467 and add nop instructions for throughput optimization.
39468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39469
5025581e
WS
394702011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39471
39472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39473 aligned copy for power7 with vector-scalar instructions.
39474 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39475
08a300c9
L
394762011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39477
39478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39479 AVX check.
39480
59178ef9
AS
394812011-09-07 Andreas Schwab <schwab@redhat.com>
39482
39483 [BZ #13144]
39484 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39485 last change.
39486
e38ba7ab
UD
394872011-09-07 Ulrich Drepper <drepper@gmail.com>
39488
39489 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39490 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39491 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39492 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39493 clock_gettime.
39494
d53a73ac
UD
394952011-09-06 Ulrich Drepper <drepper@gmail.com>
39496
fc8bffcc
UD
39497 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39498 Forgot to demangle the pointer.
39499
ceaa0c5d
UD
39500 * sysdeps/i386/sysdep.h: Define atom_text_section.
39501 * sysdeps/x86_64/sysdep.h: Likewise.
39502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39503 section with atom_text_section.
39504 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39505 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39506 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39509
a77d3c17
UD
39510 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39511 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39512 already be defined. Change to take two parameters and don't assign
39513 result to variable. Adjust all users.
39514 Define INTERNAL_GETTIME if not already defined.
39515 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39516 call.
39517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39518 HAVE_CLOCK_GETTIME_VSYSCALL.
39519 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39520
d53a73ac
UD
39521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39522 gettimeofday vsyscall, just use time.
39523
a8f84144
AS
395242011-09-06 Andreas Schwab <schwab@redhat.com>
39525
39526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39527 <errno.h>.
39528
ef606249
UD
395292011-09-06 Ulrich Drepper <drepper@gmail.com>
39530
39531 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39532 syscall on x86-64.
39533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39534 syscall.
39535 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39537 syscall if possible.
39538
6585cb60
UD
395392011-09-05 Ulrich Drepper <drepper@gmail.com>
39540
39541 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39542 e_ident. Don't pass to find_mapsXX.
39543 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39544
a5f524e4
LD
395452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39546
39547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39548 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39549 * sysdeps/x86_64/multiarch/strchr.S: Update.
39550 Check bit_slow_BSF bit.
39551 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39552 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39553 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39554
554881ef
UD
395552011-09-05 Ulrich Drepper <drepper@gmail.com>
39556
d96de963
UD
39557 [BZ #13134]
39558 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39559 before glibc 2.15.
39560 (tryshell): Define.
39561 (__spawni): Change last parameter to be flag. Test
39562 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39563 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39564 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39565 * posix/spawni.c: Likewise.
39566 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39567 * posix/spawnp.c: Likewise. Change normal version to use
39568 SPAWN_XFLAGS_USE_PATH.
39569 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39570 SPAWN_XFLAGS_TRY_SHELL.
39571
d48e5868
UD
39572 [BZ #13150]
39573 * posix/glob.h: Remove gcc 1.x support.
39574
554881ef
UD
39575 [BZ #13068]
39576 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39577
693fb948
LD
395782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39579
39580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39581 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39582 strrchr-sse2-bsf
39583 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39584 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39585 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39586 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39587 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39589
1b48c537
UD
395902011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39591
49d42c37
UD
39592 * sysdeps/x86_64/wcscmp.S: New file.
39593
1b48c537
UD
39594 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39595 wcscmp-c wcscmp-sse2
39596 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39597 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39598 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39599 * wcsmbs/wcscmp.c: Allow renaming.
39600
15c95c5d
DM
396012011-09-05 David S. Miller <davem@davemloft.net>
39602
39603 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39604 stack slot, rather than the struct return pointer slot.
39605 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39606 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39608 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39609
2f0ad8f3
UD
396102011-09-05 Ulrich Drepper <drepper@gmail.com>
39611
d88ae418
UD
39612 * po/ja.po: Update from translation team.
39613
2f0ad8f3
UD
39614 [BZ #13144]
39615 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39616 kernel in 64-bit binaries.
39617
5f4318d1
DM
396182011-09-01 David S. Miller <davem@davemloft.net>
39619
39620 * elf/elf.h (HWCAP_SPARC_*): Move to..
39621 * sysdeps/sparc/sysdep.h: this new file and add new values.
39622 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39623 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39624 _DL_HWCAP_COUNT to 24.
39625 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39626 entries.
39627 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39628 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39629 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39631 instead of magic constants.
39632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39633
3ba57516
DM
396342011-08-31 David S. Miller <davem@davemloft.net>
39635
39636 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39638 Reimplement to do errno handling inline.
39639 (SYSCALL_ERROR_HANDLER): New macro.
39640 (__SYSCALL_STRING): Do not do errno handling in asm.
39641 (__CLONE_SYSCALL_STRING): Delete.
39642 (__INTERNAL_SYSCALL_STRING): Delete.
39643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39644 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39645 (PSEUDO): Reimplement to do errno handling inline.
39646 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39647 (SYSCALL_ERROR_HANDLER): New macro.
39648 (__SYSCALL_STRING): Do not do errno handling in asm.
39649 (__CLONE_SYSCALL_STRING): Delete.
39650 (__INTERNAL_SYSCALL_STRING): Delete.
39651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39652 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39653 i386.
39654 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39655 (inline_syscall*): Add 'err' argument.
39656 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39657 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39658 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39659 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39660
39661 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39662 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39663
2bc17433
AS
396642011-08-30 Andreas Schwab <schwab@redhat.com>
39665
39666 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39667
fbeb5f4d
JO
396682011-08-29 Jiri Olsa <jolsa@redhat.com>
39669
39670 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39671 directive.
39672
ad69cc26
DM
396732011-08-24 David S. Miller <davem@davemloft.net>
39674
39675 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39676
39dd69df
AS
396772011-08-24 Andreas Schwab <schwab@redhat.com>
39678
39679 * elf/Makefile: Add rules to build and run unload8 test.
39680 * elf/unload8.c: New file.
39681 * elf/unload8mod1.c: New file.
39682 * elf/unload8mod1x.c: New file.
39683 * elf/unload8mod2.c: New file.
39684 * elf/unload8mod3.c: New file.
39685
39686 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39687 it wasn't used.
39688
2c0b250a
DM
396892011-08-23 David S. Miller <davem@davemloft.net>
39690
39691 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39692 subtract stack bias.
39693 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39694 %sp not %fp in calculations.
39695 (_JMPBUF_UNWINDS_ADJ): Likewise.
39696
22044b48
DM
39697 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39698 (aio_suspend): Call it to force an exception region around the
39699 AIO_MISC_WAIT() invocation.
39700
2cae4995
AS
397012011-08-23 Andreas Schwab <schwab@redhat.com>
39702
39703 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39704 backslash.
39705
873a772e
AJ
397062011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39707
39708 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39709 protection macro.
39710 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39711 and <dl-machine.h>.
39712 (Elf64_FuncDesc): Remove.
39713
25ad0df1
DM
397142011-08-22 David S. Miller <davem@davemloft.net>
39715
39716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39717 sigaltstack check, add missing cfi directives.
39718 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39719 missing cfi directives, and sigaltstack handling.
39720
e888bcbe
AS
397212011-08-16 Andreas Schwab <schwab@redhat.com>
39722
39723 [BZ #11724]
39724 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39725 object is seen twice.
39726 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39727
39728 * elf/Makefile (distribute): Add tst-initorder2.c.
39729 (tests): Add tst-initorder2.
39730 (modules-names): Add tst-initorder2a tst-initorder2b
39731 tst-initorder2c tst-initorder2d. Add rules to build them.
39732 ($(objpfx)tst-initorder2.out): New rule.
39733 * elf/tst-initorder2.c: New file.
39734 * elf/tst-initorder2.exp: New file.
39735
87162f46
AS
397362011-08-22 Andreas Schwab <schwab@redhat.com>
39737
70538b7f
AS
39738 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39739
f55ffe58
AS
39740 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39741 dependencies back to end of function.
39742
87162f46
AS
39743 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39744 $(elfobjdir)/ld.so.
39745
91b392a4
UD
397462011-08-21 Ulrich Drepper <drepper@gmail.com>
39747
39748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39749 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39751 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39752 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39753 of __vdso_gettimeofday.
39754 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39755 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39756 attribute_hidden.
39757 (_libc_vdso_platform_setup): Remove initialization of
39758 __vdso_gettimeofday and __vdso_time.
39759
5c43483f
UD
397602011-08-20 Ulrich Drepper <drepper@gmail.com>
39761
775a77e7
UD
39762 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39763 and fgetc_unlocked.
39764 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39765 getc_unlocked.
89f447ed 39766
49c74ba9
UD
39767 * elf/dl-open.c (add_to_global): Report additions to the global scope
39768 for LD_DEBUG=scopes.
39769 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39770 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39771
5c43483f
UD
39772 [BZ #13114]
39773 * stdio-common/Makefile (tests): Add bug24.
39774 * stdio-common/bug24.c: New file.
39775
a101b025
AJ
397762011-08-19 Andreas Jaeger <aj@suse.de>
39777
39778 [BZ #13114]
39779 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39780 non-existant file when using close-on-exec mode.
39781
c88f1766
UD
397822011-08-20 Ulrich Drepper <drepper@gmail.com>
39783
0276a718
UD
39784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39785 the very first instruction.
39786
c88f1766
UD
39787 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39788 the CFI state in the end.
39789 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39790 inclusion of dl-trampoline.h.
39791 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39792
51ccffa0
AS
397932011-08-19 Andreas Schwab <schwab@redhat.com>
39794
94d7165f
AS
39795 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39796 expectations for long double.
39797
51ccffa0
AS
39798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39799 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39800
fd708658 398012011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39802
39803 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39804 artificual limit depends upon the system page size.
39805
44f0a71e
UD
398062011-08-17 Ulrich Drepper <drepper@gmail.com>
39807
39808 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39809 * resolv/Makefile: Define CFLAGS-libresolv.
39810
8de79a24
AS
398112011-08-17 Andreas Schwab <schwab@redhat.com>
39812
39813 * nss/makedb.c (compute_tables): Make variables used in nested
39814 function static.
39815
27724598
UD
398162011-08-17 Ulrich Drepper <drepper@gmail.com>
39817
c5305d88
UD
39818 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39819 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39820 if buffer was too small.
39821
27724598
UD
39822 * elf/pldd.c (main): Attach to all threads in the process.
39823 Rewrite /proc handling to use *at functions.
39824
076fe015
UD
398252011-08-16 Ulrich Drepper <drepper@gmail.com>
39826
174baab3
UD
39827 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39828 specifies first scope to show.
39829 (dl_open_worker): Update callers. Move printing scope of new
39830 object to before the relocation.
44f0a71e 39831 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39832 * sysdeps/generic/ldsodefs.h: Update declaration.
39833
076fe015
UD
39834 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39835 string for the scope number.
39836
a60df2c3
UD
398372011-08-14 Ulrich Drepper <drepper@gmail.com>
39838
39839 * nscd/servicescache.c (cache_addserv): Make sure written is always
39840 initialized.
39841
5e4287d1
RM
398422011-08-14 Roland McGrath <roland@hack.frob.com>
39843
85ae0589
RM
39844 * sysdeps/i386/i486/bits/atomic.h
39845 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39846 statement expression, so as to suppress "set but not used" warning.
39847 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39848
69f63097
RM
39849 * string/strncat.c (STRNCAT): Use prototype definition.
39850
675456ef
RM
39851 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39852 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39853 -Iprograms here.
39854 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39855 (localedef-modules): Add localedef.
39856 (locale-modules): Add locale.
39857
5e4287d1
RM
39858 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39859 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39860 to avoid a warning.
39861
9c96ff23
DM
398622011-08-14 David S. Miller <davem@davemloft.net>
39863
39864 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39865 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39866
f9ddf089
UD
398672011-08-13 Ulrich Drepper <drepper@gmail.com>
39868
44f0a71e 39869 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39870 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39871 * elf/rtld.c (dl_main): Set l_name of vDSO.
39872 Call _dl_show_scope when DL_DEBUG_SCOPES.
39873 (process_dl_debug): Recognize scopes flag and also set it for all.
39874 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39875 Declare _dl_show_scope.
39876
1dc27704
UD
39877 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39878 (do_dlopen): Pass caller_dlopen to dl_open.
39879 (__libc_dlopen_mode): Initialize caller_dlopen.
39880
f9ddf089
UD
39881 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39882 of libc. Make tolower call locale-independent. Optimize a bit by
39883 using isdigit instead of isalnum.
39884 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39885
9ac533d3
UD
398862011-08-12 Ulrich Drepper <drepper@gmail.com>
39887
39888 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39889 was a dependency or dynamically loaded.
39890
89edf2e9
UD
398912011-08-11 Ulrich Drepper <drepper@gmail.com>
39892
8e999d29
UD
39893 * intl/l10nflist.c: Allow architecture-specific pop function.
39894 * sysdeps/x86_64/l10nflist.c: New file.
39895
89edf2e9
UD
39896 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39897 classification.
39898
14d96785
AS
398992011-08-10 Andreas Schwab <schwab@redhat.com>
39900
39901 * include/dirent.h: Add libc_hidden_proto for scandirat and
39902 scandirat64. Don't declare __scandirat64.
39903 * dirent/scandirat.c: Add libc_hidden_def.
39904 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39905 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39906
6761ac04
DM
399072011-08-10 David S. Miller <davem@davemloft.net>
39908
39909 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39910 enum.
39911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39914
c55fbd1e
UD
399152011-08-09 Ulrich Drepper <drepper@gmail.com>
39916
39917 * Versions.def [libc]: Add GLIBC_2.15.
39918 * dirent/Makefile (routines): Add scandirat and scandirat64.
39919 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39920 GLIBC_2.15.
39921 * dirent/dirent.h: Declare scandirat and scandirat64.
39922 * dirent/scandirat.c: New file.
39923 * dirent/scandirat64.c: New file.
39924 * sysdeps/wordsize-64/scandirat.c: New file.
39925 * sysdeps/wordsize-64/scandirat64.c: New file.
39926 * dirent/opendir.c: Define opendirat.
39927 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39928 using scandirat.
39929 * dirent/scandir64.c: Adjust for scandir.c change.
39930 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39931 __scandirat64, and __scandir_cancel_handler.
39932 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39933 additional parameter and use openat instead of open (outside of ld.so).
39934 Add new __opendir as wrapper around __opendirat.
39935 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39936 here without requiring old scandirat implementation.
39937
879165f2
UD
399382011-08-08 Ulrich Drepper <drepper@gmail.com>
39939
39940 * dirent/scandir.c (cancel_handler): Renamed to
39941 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39942 defined. Adjust users.
39943 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39944 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39945
cb7e923b
UD
399462011-08-04 Ulrich Drepper <drepper@gmail.com>
39947
16292edd
UD
39948 * string/test-string.h (IMPL): Use __STRING to expand name and then
39949 stringify it.
39950
cb7e923b
UD
39951 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39952 of cleanups.
39953
cff82933
LD
399542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39955
39956 * string/Makefile: Update.
39957 (strop-tests): Append strncat.
39958 * string/test-wcscmp.c: New file.
39959 New comprehensive test for wcscmp.
39960 * string/test-strcmp.c: Update.
39961 (WIDE): New define.
39962
9be9bfcc
AS
399632011-07-22 Andreas Schwab <schwab@redhat.com>
39964
39965 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39966 line.
39967
2e96f1c7
AS
399682011-07-26 Andreas Schwab <schwab@redhat.com>
39969
39970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39971 encoding to ACE if AI_IDN.
39972
85188888
JJ
399732011-08-01 Jakub Jelinek <jakub@redhat.com>
39974
39975 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39976 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39977
5fa16e9b
LD
399782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39979
39980 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39981 Fix overflow bug in strncat.
39982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39983
39984 * string/test-strncat.c: Update.
39985 Add new tests for checking overflow bugs.
39986
399872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39988
39989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39990 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39991 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39992 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39993 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39994 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39995 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39996 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39997 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39998
39999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40000 (USE_AS_STRCAT): Define.
40001 Add strcat and strncat support.
40002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40003
8c1a459f
AS
400042011-07-25 Andreas Schwab <schwab@redhat.com>
40005
40006 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40007 __n bigger than INT_MAX+1.
40008 (__strncmp_g): Likewise.
40009
bba33c28
UD
400102011-07-23 Ulrich Drepper <drepper@gmail.com>
40011
798be72d
UD
40012 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40013 * libio/stido.h: Likewise.
40014
8accd4dc
UD
40015 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40016 (AF_NFC): Define.
40017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40018 (AF_NFC): Define.
40019
cbff0d96
UD
40020 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40021 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40022 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40023 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40025
9191c04a
UD
40026 [BZ #13021]
40027 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40028 installed.
40029
bba33c28
UD
40030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40031 typo.
40032 (_dl_x86_64_save_sse): Likewise.
40033
90f139dd
UD
400342011-07-22 Ulrich Drepper <drepper@gmail.com>
40035
1aae088a
UD
40036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40037 OSXSAVE.
40038 (_dl_x86_64_save_sse): Likewise.
40039
8e2045f5
UD
40040 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40041
90f139dd
UD
40042 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40043
1d002f25
AS
400442011-07-21 Andreas Schwab <schwab@redhat.com>
40045
40046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40047 change.
40048 (_dl_x86_64_save_sse): Use correct AVX check.
40049
21137f89
UD
400502011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40051
40052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40053 bug in strncpy/strncat.
40054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40055
a65c0b7a
UD
400562011-07-21 Ulrich Drepper <drepper@gmail.com>
40057
40058 * string/tester.c (test_strcat): Add tests for different alignments
40059 of source and destination.
40060 (test_strncat): Likewise.
40061
6986b98a
UD
400622011-07-20 Ulrich Drepper <drepper@gmail.com>
40063
90bb2039
UD
40064 [BZ #12852]
40065 * posix/glob.c (glob): Check passed in values before using them in
40066 expressions to avoid some overflows.
40067 (glob_in_dir): Likewise.
40068
5644ef54
UD
40069 [BZ #13007]
40070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40071 check for AVX enablement so that we don't crash with old kernels and
40072 new hardware.
40073 * elf/tst-audit4.c: Add same checks here.
40074 * elf/tst-audit6.c: Likewise.
40075
40076 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40077
bfc9dc9b
AS
400782011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40079
40080 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40081
702e64bb
UD
400822011-07-20 Ulrich Drepper <drepper@gmail.com>
40083
40084 * po/cs.po: Update from translation team.
40085 * po/bg.po: Likewise.
40086
295e904f
MP
400872011-07-12 Marek Polacek <mpolacek@redhat.com>
40088
40089 * misc/sys/cdefs.h: Add support for const attribute.
40090 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40091 to gnu_dev_{major,minor,makedev} functions.
40092
3ff94596
MP
400932011-07-20 Marek Polacek <mpolacek@redhat.com>
40094
40095 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40096
28b59fca
AS
400972011-07-20 Andreas Schwab <schwab@redhat.com>
40098
40099 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40100 strlen results.
40101
19df733e
AK
401022011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40103
40104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40105 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40106 register in order to avoid conflicts with the soft frame pointer
40107 being held in r11 when necessary.
40108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40109 (INTERNAL_VSYSCALL_NCS): Likewise.
40110
c8835729
MP
401112011-07-14 Marek Polacek <mpolacek@redhat.com>
40112
40113 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40114 * elf/dl-fini.c (_dl_fini): Adjust caller.
40115 * elf/dl-close.c (_dl_close_worker): Likewise.
40116 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40117
b902330c
MP
401182011-07-15 Marek Polacek <mpolacek@redhat.com>
40119
8991e135
MP
40120 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40121 "aux_cache->nlibs < 0".
40122
b902330c
MP
40123 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40124 in the reload-count case.
40125
99710781
LD
401262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40127
40128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40129 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40130 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40131 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40132 * sysdeps/x86_64/multiarch/strcat.S: New file.
40133 * sysdeps/x86_64/multiarch/strncat.S: New file.
40134 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40136 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40137 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40138 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40139 (USE_AS_STRCAT): Define.
40140 Add strcat and strncat support.
40141 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40142 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40143 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40144 * string/strncat.c: Update.
40145 (USE_AS_STRNCAT): Define.
40146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40147 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40148 and i7.
40149 * sysdeps/x86_64/multiarch/init-arch.h
40150 (bit_Prefer_PMINUB_for_stringop): New.
40151 (index_Prefer_PMINUB_for_stringop): Likewise.
40152 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40153 bit_Prefer_PMINUB_for_stringop.
40154
7dc6bd90
UD
401552011-07-19 Ulrich Drepper <drepper@gmail.com>
40156
40157 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40158 buffer64.
40159 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40160 of casting of buffer.
40161 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40162 buffer32 and buffer64.
40163 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40164 writes instead of casting of buffer.
40165 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40166 buffer32.
40167 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40168 casting of buffer.
40169
e0e72284
AS
401702011-07-19 Andreas Schwab <schwab@redhat.com>
40171
40172 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40173
feb1eb0b
UD
401742011-07-19 Ulrich Drepper <drepper@gmail.com>
40175
40176 * nscd/nscd.c (termination_handler): Don't do anything for a database
40177 if it has not yet been initialized.
40178
298711ff
UD
401792011-07-18 Ulrich Drepper <drepper@gmail.com>
40180
40181 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40182
401832011-07-15 Marek Polacek <mpolacek@redhat.com>
40184
40185 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40186
f9d68389
UD
401872011-07-18 Ulrich Drepper <drepper@gmail.com>
40188
40189 * po/nl.po: Update from translation team.
40190 * po/sv.po: Likewise.
40191
db290cf5
RM
401922011-07-16 Roland McGrath <roland@hack.frob.com>
40193
40194 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40195 now disallowed by GCC.
5c550700 40196
fd5e21c7
RM
40197 * configure.in (use-default-link): Default to yes if a test -shared
40198 link meets our qualifications.
40199 * configure: Regenerated.
40200
5c550700
RM
40201 * config.make.in (output-format): New variable.
40202 * configure.in: Check for ld --print-output-format support.
40203 * configure: Regenerated.
40204 * Makerules ($(common-objpfx)format.lds)
40205 [$(output-format) != unknown]: Just use $(output-format),
40206 instead of the linker-script munging.
40207
9fa2c032
RM
402082011-07-14 Roland McGrath <roland@hack.frob.com>
40209
a6928d51
RM
40210 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40211 of $(common-objpfx)shlib.lds.
40212 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40213
661607b3
RM
40214 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40215 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40216
9fa2c032
RM
40217 * configure.in (-z relro check): Adjust test code to add a large
40218 writable data section after it.
40219 * configure: Regenerated.
40220
defe9061
RM
402212011-07-11 Roland McGrath <roland@hack.frob.com>
40222
40223 * configure.in (-z relro check): Fix test code to make the variable
40224 truly const.
40225 * configure: Regenerated.
40226
319b9ad4
UD
402272011-07-11 Ulrich Drepper <drepper@gmail.com>
40228
40229 * nscd/nscd.h (struct traced_file): Define.
40230 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40231 elements. Add traced_files.
40232 (inotify_fd): Declare.
40233 (register_traced_file): Declare.
40234 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40235 (inotify_fd): Export.
40236 (resolv_conf_descr): Remove.
40237 (nscd_init): Move inotify descriptor creation to main.
40238 Don't register files for notification here.
40239 (register_traced_file): New function.
40240 (invalidate_cache): Don't use reset_res to determine whether to call
40241 res_init, go through the list of registered files.
40242 (main_loop_poll): The inotify descriptors are now stored in the
40243 structures for the traced files.
40244 (main_loop_epoll): Likewise
40245 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40246 to __nss_disable_nscd.
40247 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40248 for a database anymore. Check the records for all the registered
40249 files instead.
40250 * nss/Makefile (libnss_files-routines): Add files-init.
40251 (libnss_db-routines): Add db-init.
40252 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40253 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40254 * nss/nss_db/db-init.c: New file.
40255 * nss/nss_files/files-init.c: New file.
40256 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40257 __nss_lookup_function.
40258 (__nss_lookup_function): Call nss_load_library.
40259 (nss_load_all_libraries): New function.
40260 (__nss_disable_nscd): Take parameter with callback function for files
40261 to register. Set is_nscd. Load all the DSOs for the NSS modules
40262 used for the cached services.
40263 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40264 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40265 options for features to all the files in nscd.
40266
40267 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40268
23bee3e8
RM
402692011-07-10 Roland McGrath <roland@hack.frob.com>
40270
40271 * csu/elf-init.c (__libc_csu_init): Comment typo.
40272
46a5b7f0
UD
402732011-07-09 Ulrich Drepper <drepper@gmail.com>
40274
40275 * po/pl.po: Update from translation team.
40276 * po/ja.po: Likewise.
40277 * po/ru.po: Likewise.
40278 * po/ko.po: Likewise.
40279 * po/fr.po: Likewise.
40280
d30cf5bb
RM
402812011-07-09 Roland McGrath <roland@hack.frob.com>
40282
113ddea4
RM
40283 * configure.in (.ctors/.dtors header and trailer check):
40284 Use an empirical test on a built program.
40285 * configure: Regenerated.
40286
574920b4
RM
40287 * configure.in (-z relro check): Use an empirical test on a built DSO.
40288 Detect, but do not require, on ia64.
40289 * configure: Regenerated.
40290
d30cf5bb
RM
40291 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40292 Update tests that use readelf to use $READELF instead.
40293 * configure: Regenerated.
40294
8538fdb3
UD
402952011-07-08 Ulrich Drepper <drepper@gmail.com>
40296
40297 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40298 if the result is not used.
40299
04d08991
AJ
403002011-07-05 Andreas Jaeger <aj@suse.de>
40301
40302 [BZ#9696]
40303 * stdlib/tst-strtod.c: Add testcase.
40304
de283087
AD
403052011-07-07 Ulrich Drepper <drepper@gmail.com>
40306
4e5f31c8 40307 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40308 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40309 The latter has a higher limit. Take additional parameter to pass to
40310 the new function.
40311 (__pathconf): Pass file to __statfs_link_max.
40312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40313 __statfs_link_max.
40314 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40315 __statfs_link_max.
40316
de283087
AD
40317 [BZ #12868]
40318 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40320 Handle Lustre.
40321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40322 (__statfs_filesize_max): Likewise.
40323 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40324
c75fa153
AJ
403252011-07-05 Andreas Jaeger <aj@suse.de>
40326
40327 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40328
1a544854
UD
403292011-07-06 Marek Polacek <mpolacek@redhat.com>
40330
40331 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40332 `status' variable.
40333 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40334 Likewise.
40335
6f0eec67
UD
403362011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40337
40338 * Makefile (strop-tests): Add strncat.
40339 * string/test-strncat.c: New file.
40340
aae30307
UD
403412011-06-30 Marek Polacek <mpolacek@redhat.com>
40342
40343 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40344
c0cfb5eb
UD
403452011-06-21 Andreas Jaeger <aj@suse.de>
40346
40347 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40348 Copy rule from iconvdata/Makefile.
40349
01636b21
UD
403502011-07-06 Ulrich Drepper <drepper@gmail.com>
40351
40352 [BZ #12922]
40353 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40354 but no long options are defined, just return 'W'.
40355
9895c8bc
UD
403562011-06-22 Marek Polacek <mpolacek@redhat.com>
40357
40358 [BZ #9696]
40359 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40360
5d4cf042
UD
403612011-07-06 Ulrich Drepper <drepper@gmail.com>
40362
40363 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40364 netgroups to read.
960e5535 40365 (innetgr): Likewise.
5d4cf042 40366
751eb97e
RM
403672011-07-05 Roland McGrath <roland@hack.frob.com>
40368
40369 * config.make.in (install_root): Default to $(DESTDIR).
40370
f15f1e45
UD
403712011-07-05 Ulrich Drepper <drepper@gmail.com>
40372
40373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40374
4e34ac6a
RM
403752011-07-02 Roland McGrath <roland@hack.frob.com>
40376
5e9b6af4
RM
40377 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40378
84f9ea0f
RM
40379 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40380 containing directory rather than embedding absolute directory names.
40381
ea5ee9f7
RM
40382 * scripts/check-local-headers.sh: Rewritten using awk.
40383 Match by word, not by line. Print error messages for matches.
40384 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40385
1b74661a
RM
40386 * Makerules [shlib-lds-flags empty]:
40387 ($(common-objpfx)libc_pic.opts): New target.
40388 ($(common-objpfx)libc_pic.os.clean): New target.
40389 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40390
40391 * config.make.in (OBJCOPY): New variable.
40392 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40393 * configure: Regenerated.
40394
f781ef40
RM
40395 * config.make.in (use-default-link): New variable.
40396 * configure.in (use_default_link): Grok --with-default-link to set it.
40397 * configure: Regenerated.
40398 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40399 (shlib-lds, shlib-lds-flags): Define to empty.
40400
2d4fa81e
RM
40401 * Makerules (shlib-lds): New variable.
40402 (shlib-lds-flags): New variable.
40403 (build-shlib, build-moduile, build-module-asneeded): Use it.
40404 ($(common-objpfx)libc.so): Use $(shlib-lds).
40405 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40406 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40407
31fffa6b
RM
40408 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40409 DT_FLAGS/DT_FLAGS_1 with zero flags.
40410
4e34ac6a
RM
40411 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40412 linker script munging.
40413
fcfc776b
UD
404142011-07-02 Ulrich Drepper <drepper@gmail.com>
40415
40416 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40417 as 128-bit value.
40418 * crypt/sha512.c (sha512_process_block): Perform total addition using
40419 128-bit if possible.
40420 (__sha512_finish_ctx): Likewise.
40421 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40422 as 64-bit value.
40423 * crypt/sha256.c (SWAP64): Define.
40424 (sha256_process_block): Perform total addition using 64-bit if
40425 possible.
40426 (__sha256_finish_ctx): Likewise.
40427
99231d9a
UD
404282011-07-01 Ulrich Drepper <drepper@gmail.com>
40429
40430 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40431 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40432 * nscd/hstcache.c (cache_addhst): Likewise.
40433 * nscd/grpcache.c (cache_addgr): Likewise.
40434 * nscd/aicache.c (addhstaiX): Likewise
40435 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40436
445b4a53
TK
404372011-07-01 Thorsten Kukuk <kukuk@suse.de>
40438
40439 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40440 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40441 * nscd/hstcache.c (cache_addhst): Likewise.
40442 * nscd/grpcache.c (cache_addgr): Likewise.
40443 * nscd/aicache.c (addhstaiX): Likewise
40444
6d4d8e8e
AS
404452011-07-01 Andreas Schwab <schwab@redhat.com>
40446
40447 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40448 domain only when needed.
40449
89f654c5
AS
404502011-06-30 Andreas Schwab <schwab@redhat.com>
40451
40452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40453 is always restored.
40454
cf3b23ff
UD
404552011-06-29 Ulrich Drepper <drepper@gmail.com>
40456
40457 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40458 are re-adding the entry.
40459 * nscd/servicescache.c (cache_addserv): Likewise.
40460
751626f9
AJ
404612011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40462
40463 * sysdeps/generic/dl-irel.h: fix protection against multiple
40464 inclusions.
40465 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40466
9113ea1f
UD
404672011-06-28 Ulrich Drepper <drepper@gmail.com>
40468
5c0b8d90
UD
40469 [BZ #12935]
40470 * malloc/memusage.sh: Fix quoting in message.
40471 * debug/xtrace.sh: Likewise.
40472
9113ea1f
UD
40473 * configure.in: Remove support for --experimental-malloc option, make
40474 it the default.
40475 * config.make.in: Likewise.
40476 * malloc/Makefile: Likewise.
40477
a4172181
AS
404782011-06-27 Andreas Schwab <schwab@redhat.com>
40479
40480 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40481 two-byte characters.
40482
78a7eee7
RM
404832011-06-27 Roland McGrath <roland@hack.frob.com>
40484
62bede13
RM
40485 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40486 AC_CACHE_CHECK invocation.
40487 * configure: Regenerated.
40488
78a7eee7
RM
40489 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40490
5ce33a62
UD
404912011-06-27 Ulrich Drepper <drepper@gmail.com>
40492
034807a9
UD
40493 [BZ #12350]
40494 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40495 bit from old_res_options.
40496
4902da17
UD
40497 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40498
5ce33a62
UD
40499 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40500 value type for setfct.
40501
c2344f56
L
405022011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40503
40504 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40505 __gettimeofday instead of gettimeofday.
40506
68468076
UD
405072011-06-26 Ulrich Drepper <drepper@gmail.com>
40508
40509 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40510
acb0d739
L
405112011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40512
40513 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40514
40515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40516 info.
40517
8912479f
L
405182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40519
40520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40521 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40522 strcpy-sse2-unaligned strncpy-sse2-unaligned
40523 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40524 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40525 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40526 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40527 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40530 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40531 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40532 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40533 (STRCPY): Support SSE2 and SSSE3 versions.
40534
d5495a11
UD
405352011-06-24 Ulrich Drepper <drepper@gmail.com>
40536
40537 [BZ #12874]
40538 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40539 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40540 kernels which artificially limit size of requests.
40541
0b1cbaae
L
405422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40543
40544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40545 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40546 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40547 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40548 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40549 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40550 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40551 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40554 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40555 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40556 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40557 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40558 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40560 Enable unaligned load optimization for Intel Core i3, i5 and i7
40561 processors.
40562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40563 Define.
40564 (index_Fast_Unaligned_Load): Define.
40565 (HAS_FAST_UNALIGNED_LOAD): Define.
40566
07f494a0
MP
405672011-06-23 Marek Polacek <mpolacek@redhat.com>
40568
40569 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40570
fa3fc0fe
UD
405712011-06-22 Ulrich Drepper <drepper@gmail.com>
40572
40573 [BZ #12907]
40574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40575 until it is clear that the information is realy needed.
40576 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40577
e12df166
AS
405782011-06-22 Andreas Schwab <schwab@redhat.com>
40579
40580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40581
852eb34d
UD
405822011-06-22 Ulrich Drepper <drepper@gmail.com>
40583
84e2a551
UD
40584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40585 /sys/devices/system/cpu/online if it is usable.
40586
852eb34d
UD
40587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40588 reading the information from the /proc filesystem to once a second.
40589
6e502e19
UD
405902011-06-21 Andreas Jaeger <aj@suse.de>
40591
40592 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40593 NULL after inclusion of kernel headers.
40594
75d39ff2
UD
405952011-06-21 Ulrich Drepper <drepper@gmail.com>
40596
51f9aa6a
UD
40597 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40598 calls to internal_setent.
40599
c0244a9d
UD
40600 [BZ #12885]
40601 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40602 addresses using gethostbyname4_r ignore IPv4 addresses.
40603
c5e3c2ae
UD
40604 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40605 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40606
75d39ff2
UD
40607 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40608
42675c6f
DM
406092011-06-20 David S. Miller <davem@davemloft.net>
40610
40611 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40612 inclusions.
40613 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40614
40615 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40616 (elf_irel): Use it.
40617 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40618 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40619 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40620 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40621 * sysdeps/x86_64/dl-irel.h: Likewise.
40622
40623 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40624 * elf/dl-sym.c: Likewise.
40625
57912a71
UD
406262011-06-15 Ulrich Drepper <drepper@gmail.com>
40627
40628 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40629 need to dereference resplen2.
40630
ee22793d
AS
406312011-06-14 Andreas Schwab <schwab@redhat.com>
40632
40633 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40634
a9e836b0
UD
406352011-06-15 Ulrich Drepper <drepper@gmail.com>
40636
77fb9117
UD
40637 * Makeconfig: Define vardbdir and inst_vardbdir.
40638 * nss/Makefile: Add rules to install db-Makefile.
40639
40c1b22c
UD
40640 * nss/nss_db/db-XXX.c: Cleanup.
40641
9f2da732
UD
40642 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40643 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40644 GLIBC_PRIVATE.
40645 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40646 * nss/makedb.c: Implement -g option to specify that value strings
40647 are generated and should not be added to table iterated over for
40648 get*ent calls.
40649 * nss/nss_db/db-initgroups.c: New file.
40650
82e9a1f7
UD
40651 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40652 interface.
40653
c41af17e
UD
40654 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40655 (internal_getgrouplist): Adjust to name change.
40656 Update use_initgroups_entry if this is not the first call.
40657 * nss/databases.def: Add initgroups entry.
40658
a9e836b0
UD
40659 * nss/makedb.c (compute_tables): Check result of multiple hash table
40660 sizes to minimize maximum chain length.
40661
2666d441
UD
406622011-06-14 Ulrich Drepper <drepper@gmail.com>
40663
40664 * Versions.def: Add entry for libnss_db.
40665 * shlib-versions: Likewise.
40666 * nss/Makefile: Add rules to build libnss_db.
40667 * nss/Versions: Add libnss_db information. Organize libnss_files
40668 entries better.
40669 * nss/db-Makefile: Add gshadow support. Change rules for the new
40670 makedb progra. Some minor improvements to generate smaller files.
40671 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40672 here from...
40673 * nss/makedb.c: ...here.
40674 Improve database format to be smaller and require less memory at
40675 runtime.
40676 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40677 db anymore.
40678 * nss/nss_db/db-netgrp.c: Likewise.
40679 * nss/nss_db/db-open.c: Likewise.
40680 * nss/nss_files/flies-XXX.x: Adjust comments.
40681 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40682 * nss/nss_files/files-grp.c: Likewise.
40683 * nss/nss_files/files-hosts.c: Likewise.
40684 * nss/nss_files/files-network.c: Likewise.
40685 * nss/nss_files/files-proto.c: Likewise.
40686 * nss/nss_files/files-pwd.c: Likewise.
40687 * nss/nss_files/files-rpc.c: Likewise.
40688 * nss/nss_files/files-service.c: Likewise.
40689 * nss/nss_files/files-sgrp.c: Likewise.
40690 * nss/nss_files/files-spwd.c: Likewise.
40691 * nss/nss_db/db-alias.c: Removed.
40692 * nss/nss_db/dummy-db.h: Removed.
40693
9ee76b5a
UD
406942011-06-02 Ulrich Drepper <drepper@gmail.com>
40695
40696 * nss/makedb.c: Rewritten to not use database library.
40697 * nss/Makefile: Update to build new makedb program.
40698
c71ca1f8
AJ
406992011-06-14 Andreas Jaeger <aj@suse.de>
40700
40701 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40702 memset declaration.
40703
3154bfb8
UD
407042011-06-10 Andreas Schwab <schwab@redhat.com>
40705
40706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40707 tmpbuf.
40708
b350afab
RM
407092011-06-10 Roland McGrath <roland@hack.frob.com>
40710
decd4e50
RM
40711 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40712 * elf/Makefile ($(objpfx)ld.so): Likewise.
40713
5615eaf2
RM
40714 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40715 Don't list ld.so twice in dependencies.
40716
40717 * posix/bug-regex31.c: Include <stdlib.h>.
40718
40719 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40720
40721 * nis/nss_compat/compat-spwd.c
40722 (getspent_next_nss_netgr): Remove unused variable.
40723 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40724
40725 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40726 nonmembers" output to use the right array.
40727
40728 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40729
40730 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40731
40732 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40733 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40734 * catgets/gencat.c (read_input_file): Likewise.
40735 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40736
40737 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40738 variable definition inside #if's controlling its use.
40739
40740 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40741
40742 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40743
40744 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40745
40746 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40747 unreachable code.
40748
40749 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40750
b68e08db
RM
40751 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40752 * configure: Regenerated.
40753
b350afab
RM
40754 * Makerules: Revert last change.
40755 * elf/Makefile: Likewise.
40756
28368601
RM
407572011-06-09 Roland McGrath <roland@hack.frob.com>
40758
40759 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40760 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40761 (reloc-link): Likewise.
40762
11988f8f
UD
407632011-06-09 Ulrich Drepper <drepper@gmail.com>
40764
40765 * elf/Makefile: Add rules to build pldd.
40766 * elf/pldd.c: New file.
40767 * elf/pldd-xx.c: New file.
40768
e80fab37
UD
407692011-06-07 Ulrich Drepper <drepper@gmail.com>
40770
40771 * version.h: Update for 2.15 development version.
40772
9b849836
DM
407732011-06-07 David S. Miller <davem@davemloft.net>
40774
40775 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40776 ifuncs.
40777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40778 elf_machine_lazy_rel): Likewise.
40779 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40780 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40781 elf_machine_lazy_rel): Likewise.
40782 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40783 dl_hwcap via passed in argument.
40784 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40785 Likewise.
40786
5a31b283
AK
407872011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40788
40789 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40790
069e52f8
RM
407912011-06-06 Roland McGrath <roland@hack.frob.com>
40792
40793 [BZ #12849]
40794 * manual/fdl-1.1.texi: New file, verbatim from:
40795 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40796 * manual/lgpl-2.1.texi: New file, verbatim from:
40797 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40798 * manual/Makefile (licenses): New variable, list those new file names.
40799 (texis): Use it.
40800 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40801
40802 * manual/fdl.texi: File removed.
40803 * manual/lesser.texi: File removed.
40804 * manual/libc.texinfo (Copying, Documentation License):
40805 Use new @include file names, put @appendix directive before @include.
40806
f16846a5
JJ
408072011-06-04 Jakub Jelinek <jakub@redhat.com>
40808
40809 [BZ #12841]
40810 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40811 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40812 (mq_open): Add __NTH.
40813
3d29045b
L
408142011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40815
40816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40817 Assume Intel Core i3/i5/i7 processor if AVX is available.
40818
8c297311
UD
408192011-05-31 Ulrich Drepper <drepper@gmail.com>
40820
40821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40822 typo.
40823
c8fc0c91
UD
408242011-05-31 Andreas Schwab <schwab@redhat.com>
40825
40826 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40827 memory. Use alloca_account. Fix memory leak when retrying.
40828
5b27a807
UD
408292011-05-31 Ulrich Drepper <drepper@gmail.com>
40830
356f8bc6
UD
40831 * version.h (RELEASE): Bump for 2.14 release.
40832 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40833
5b27a807
UD
40834 * config.make.in (RANLIB): Remove entry.
40835
01f16ab0
UD
408362011-05-30 Ulrich Drepper <drepper@gmail.com>
40837
41fce8bd
UD
40838 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40839 (libc.pot): Work around missing support for .ksh extension in xgettext.
40840
4769ae77
UD
40841 [BZ #12684]
40842 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40843 if both request failed.
40844 (send_dg): In case of server errors clear resplen or *resplen2.
40845
6b1e7d19
UD
40846 [BZ #12454]
40847 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40848 when there are multiple maps.
40849 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40850 (_dl_fini): Remove test here.
40851
01f16ab0
UD
40852 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40853
b1ebd700
UD
408542011-05-29 Ulrich Drepper <drepper@gmail.com>
40855
7ae22829
UD
40856 [BZ #12350]
40857 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40858 bit from old_res_options.
40859 (gaih_inet): Likewise.
40860
553149f6 40861 [BZ #11099]
18a84741 40862 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40863 as signed.
40864
652ffab1
UD
40865 * resolv/res_init.c (res_setoptions): Make the code more compact.
40866
16985fd0
UD
40867 [BZ #11558]
40868 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40869 set RES_USEVC.
40870
0464f746
UD
40871 [BZ #11634]
40872 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40873
7d17596c
UD
40874 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40875
cf6bbbd7
UD
40876 [BZ #11781]
40877 * malloc/malloc.h: Declare malloc hook variables as volatile.
40878
13f1ab36
UD
40879 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40880 in last patch.
40881
b1ebd700
UD
40882 [BZ #11799]
40883 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40884 raise in the comment.
80e2212d
UD
40885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40887 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40888
ce67228d
UD
408892011-05-28 Ulrich Drepper <drepper@gmail.com>
40890
8887a920
UD
40891 [BZ #12811]
40892 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40893 grow the buffers more if it already has to be sufficient.
40894 (build_wcs_upper_buffer): Likewise.
40895 * posix/regexec.c (check_matching): Likewise.
40896 (clean_state_log_if_needed): Likewise.
40897 (extend_buffers): Don't enlarge buffers beyond size of the input
40898 buffer.
40899 Patches mostly by Emil Wojak <emil@wojak.eu>.
40900 * posix/bug-regex32.c: New file.
40901 * posix/Makefile (tests): Add bug-regex32.
40902
4f031072
UD
40903 * locale/findlocale.c (_nl_find_locale): Return right away if
40904 _nl_explode_name failed.
40905 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40906
d0478f0c
UD
40907 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40908
de81b246
UD
40909 * debug/xtrace.sh: Unify messages.
40910 * malloc/memusage.sh: Likewise.
40911
c738465a
UD
40912 [BZ #12813]
40913 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40914 time symbol from vDSO. Substitute with vsyscall if not available.
40915 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40916 __vdso_time.
40917
f1f929d7
UD
40918 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40919 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40920 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40921 Add sendmmsg and internal_sendmmsg.
40922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40923 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40924 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40925
ce67228d
UD
40926 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40927 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40929
e57420c6
UD
409302011-05-27 Ulrich Drepper <drepper@gmail.com>
40931
a8509ca5
UD
40932 [BZ #12813]
40933 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40934 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40935 available.
40936 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40937 __vdso_getcpu.
40938
e57420c6
UD
40939 [BZ #12814]
40940 * iconvdata/Makefile (tests): Add bug-iconv9.
40941 * iconvdata/bug-iconv9.c: New file.
40942
4d07db15
AS
409432011-05-27 Andreas Schwab <schwab@redhat.com>
40944
40945 [BZ #12814]
40946 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40947
ea486f69
JJ
409482011-05-25 Jakub Jelinek <jakub@redhat.com>
40949
40950 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40951 (struct user_regs_struct): Change intcs field back to cs.
40952
6f038433
UD
409532011-05-25 Ulrich Drepper <drepper@gmail.com>
40954
40955 * po/ja.po: Update from translation team.
40956
67f86a25
UD
409572011-05-23 Ulrich Drepper <drepper@gmail.com>
40958
40959 [BZ #12795]
40960 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40961 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40962
def7fbd6
AS
409632011-05-20 Andreas Schwab <schwab@redhat.com>
40964
40965 * stdlib/longlong.h: Update from GCC.
40966
f50ef8f1
AS
409672011-05-23 Andreas Schwab <schwab@redhat.com>
40968
40969 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40970 parameter name.
40971 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40972 Add parameter name.
40973 (__sysconf): Pass it down.
40974
de7ce8f1
UD
409752011-05-22 Ulrich Drepper <drepper@gmail.com>
40976
f2962a71
UD
40977 [BZ #12671]
40978 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40979 some situations.
40980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40981 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40982 add in in __libc_use_alloca calls. Adjust callers.
40983 (glob): Use malloc in some situations.
40984
de7ce8f1
UD
40985 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40986 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40987 pltexit.
40988
aec84f53
UD
409892011-05-21 Ulrich Drepper <drepper@gmail.com>
40990
05bb4a68
UD
40991 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40992 and CLOCK_BOOTTIME_ALARM.
40993
7ea72f99
UD
40994 [BZ #12782]
40995 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40996 is returned.
40997
7e4afad5
UD
40998 * string/_strerror.c (__strerror_r): Print negative errors as signed
40999 numbers.
41000
8e211fec
UD
41001 [BZ #12777]
41002 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41003 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41004 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41005
f7d82dc9
UD
41006 * configure.in: Fix typo in redirection and correct removal of test
41007 files in two cases.
41008
cc9e536d
UD
41009 [BZ #12788]
41010 * locale/setlocale.c (new_composite_name): Fix test to check for
41011 identical name of all categories.
41012
aec84f53
UD
41013 [BZ #12792]
41014 * libio/filedoalloc.c (local_isatty): New function.
41015 (_IO_file_doallocate): Use local_isatty.
41016 * stdio-common/perror.c (perror): In case a new stream is used
41017 forward the stream error.
41018 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41019 error flag.
41020
78e64fdc
RT
410212011-05-20 Ulrich Drepper <drepper@gmail.com>
41022
34a9094f
UD
41023 [BZ #11869]
41024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41025 alloca.
41026 * include/alloca.h (extend_alloca_account): Define.
41027
78e64fdc
RT
41028 [BZ #11857]
41029 * posix/regex.h: Fix comments with documentation of user-accessible
41030 fields after compilation and describe correct free'ing of pattern
41031 after re_compile_pattern.
41032 Patch by Reuben Thomas <rrt@sc3d.org>.
41033
457bddfc
RA
410342011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41035
41036 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41037 and -mno-altivec to prevent the compiler from using Altivec and/or
41038 VSX instructions when the corresponding registers are not available.
41039
a4527b51
AS
410402011-05-19 Andreas Schwab <schwab@redhat.com>
41041
41042 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41043
ed690b2f
UD
410442011-05-19 Ulrich Drepper <drepper@gmail.com>
41045
41046 * libio/freopen.c (freopen): Use __dup2, not dup2.
41047 * libio/freopen64.c (freopen64): Likewise.
41048
8db73634
L
410492011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41050
41051 [BZ #12775]
41052 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41053 * math/Makefile (tests): Add test-powl.
41054 (CFLAGS-test-powl.c): Define.
41055 * math/test-powl.c: New file.
41056
0a197a9d
L
410572011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41058
41059 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41060
ee30c380
UD
410612011-05-17 Ulrich Drepper <drepper@gmail.com>
41062
41063 [BZ #11837]
41064 * iconvdata/gb18030.c: Update to GB18020-2005.
41065
6ce75379
UD
410662011-05-16 Ulrich Drepper <drepper@gmail.com>
41067
a4b89fd8
AR
41068 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41069 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41070 Patch by Aharon Robbins <arnold@skeeve.com>.
41071
ea389b12
UD
41072 [BZ #11892]
41073 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41074 on the stack.
41075
68a3f91f
UD
41076 [BZ #11895]
41077 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41078 through underflows.
41079
15cc7dd1
UD
41080 [BZ #12766]
41081 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41082 point to strings before performing equality test for error_one_per_line
41083 mode.
41084
f3799213
UD
41085 [BZ #11697]
41086 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41087
d79a9c94
UD
41088 [BZ #11820]
41089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41090 (struct user_fpregs_struct): Avoid __uint*_t types.
41091
56e5eb46
UD
41092 [BZ #6420]
41093 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41094 symbol info. Use it instead of calling _dl_addr locally.
41095 (lock_and_info): New function.
41096 (tr_freehook): Call lock_and_info and pass symbol info as additional
41097 parameter to tr_where.
41098 (tr_mallochook): Likewise.
41099 (tr_reallochook): Likewise.
41100 (tr_memalignhook): Likewise.
41101
6ce75379
UD
41102 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41103 used and couldn't be at all thread-safe.
41104
f8a3b5bf
UD
411052011-05-15 Ulrich Drepper <drepper@gmail.com>
41106
94b7cc37
UD
41107 * libio/freopen.c (freopen): Don't close old file descriptor
41108 before the new one is opened. Instead dup the new file descriptor
41109 to the old one after the new stream is created.
41110 * libio/freopen64.c (freopen64): Likewise.
41111 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41112 * libio/fileops.c (_IO_new_file_close_it): Handle new
41113 _IO_FLAGS2_NOCLOSE flag.
41114 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41115 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41116 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41117 _IO_FLAGS2_NOCLOSE flag.
41118 * include/unistd.h: Add hidden_proto for dup3.
41119 Define __have_dup3.
41120 * io/dup3.c: Define hidden symbol.
41121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41122
bd25564e
UD
41123 [BZ #7101]
41124 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41125 when an incomplete long option is used.
41126 * posix/tst-getopt_long1.c: New file.
41127 * posix/Makefile (tests): Add tst-getopt_long1.
41128
c84cfef4
UD
41129 [BZ #10138]
41130 * scripts/config.guess: Update from autoconf-2.68.
41131 * scripts/config.sub: Likewise.
41132
3b85df27
UD
41133 [BZ #10157]
41134 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41135 tests into ...
41136 (has_cpuclock): ...this. New function.
41137 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41138 macro here based on has_cpuclock code.
41139
15a856b1
UD
41140 [BZ #10149]
41141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41142 First byte (not low byte) is now always NUL.
41143 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41144
05f399e6
UD
41145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41146 Use non-cancelable interfaces.
41147
10a52685 41148 [BZ #9809]
94ecc67d
UD
41149 * locale/iso-639.def: Add entry for Sorani.
41150
f8a3b5bf
UD
41151 [BZ #11901]
41152 * include/stdlib.h: Move include protection to the right place.
41153 Define abort_msg_s. Declare __abort_msg with it.
41154 * stdlib/abort.c (__abort_msg): Adjust type.
41155 * assert/assert.c (__assert_fail_base): New function. Majority
41156 of code from __assert_fail. Allocate memory for __abort_msg with
41157 mmap.
41158 (__assert_fail): Now call __assert_fail_base.
41159 * assert/assert-perr.c: Remove bulk of implementation. Use
41160 __assert_fail_base.
41161 * include/assert.hL Declare __assert_fail_base.
41162 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41163 mmap.
41164 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41165
1af4e298
UD
411662011-05-14 Ulrich Drepper <drepper@gmail.com>
41167
f8a3b5bf 41168 [BZ #11952]
d26dfc60
MG
41169 [BZ #12453]
41170 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41171 until all modules are registered in the DTV.
41172 * elf/Makefile: Add rules to build and run tst-tls19.
41173 * elf/tst-tls19.c: New file.
41174 * elf/tst-tls19mod1.c: New file.
41175 * elf/tst-tls19mod2.c: New file.
41176 * elf/tst-tls19mod3.c: New file.
41177 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41178
2fc54d6f
UD
41179 [BZ #12083]
41180 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41181 correctly.
41182
98d76b46
UD
41183 [BZ #12601]
41184 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41185 two-byte sequence errors.
41186 * iconvdata/Makefile (tests): Add bug-iconv8.
41187 * iconvdata/bug-iconv8.c: New file.
41188
da3c19ef
UD
41189 [BZ #12626]
41190 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41191 buf2 definition.
41192
ca408c15
UD
41193 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41194
d6f67f7d
UD
41195 [BZ #12432]
41196 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41197 (dummy_getcfa): New function.
41198 (init): Get _Unwind_GetCFA address, use dummy if not found.
41199 (backtrace_helper): In recursion check, also check whether CFA changes.
41200 (__backtrace): Completely initialize arg.
41201
1af4e298 41202 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41203 storing incomplete byte sequence in state object. Avoid testing for
41204 guaranteed too small input if we know there is enough data available.
1af4e298 41205
da62f81b
AS
412062011-05-11 Andreas Schwab <schwab@redhat.com>
41207
41208 * Makeconfig (+link-pie): Indent.
41209 * Rules (binaries-pie): Define if $(have-fpie) and
41210 $(build-shared).
41211 (binaries-shared): Also filter out $(binaries-pie).
41212 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41213 * nscd/Makefile (others-pie): Add nscd.
41214 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41215 ($(objpfx)nscd): Remove command override.
41216 * login/Makefile (others-pie): Add pt_chown.
41217 ($(objpfx)pt_chown): Remove command override.
41218 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41219 remove command overrides.
41220
fcabc0f8
UD
412212011-05-13 Ulrich Drepper <drepper@gmail.com>
41222
20030ae6
UD
41223 * libio/tst_putwc.c: Fix error messages.
41224
fcabc0f8
UD
41225 [BZ #12724]
41226 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41227 currently writing and seek to current position when not.
41228 * libio/Makefile (tests): Add bug-fclose1.
41229 * libio/bug-fclose1.c: New file.
41230
320a5dc0
PB
412312011-05-12 Ulrich Drepper <drepper@gmail.com>
41232
41233 [BZ #12511]
41234 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41235 don't set DF_1_NODELETE here.
41236 (do_lookup_x): When entering new entry test for copy relocation
41237 and if necessary set DF_1_NODELETE flag.
41238 * elf/tst-unique4.cc: New file.
41239 * elf/tst-unique4.h: New file.
41240 * elf/tst-unique4lib.cc: New file.
41241 * elf/Makefile: Add rules to build and run tst-unique4.
41242 Patch by Piotr Bury <pbury@goahead.com>.
41243
22836f52
UD
412442011-05-11 Ulrich Drepper <drepper@gmail.com>
41245
f574184a
UD
41246 [BZ #12052]
41247 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41248
e1fb097f
UD
41249 [BZ #12625]
41250 * misc/mntent_r.c (addmntent): Flush the stream after the output
41251
22836f52
UD
41252 [BZ #12393]
41253 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41254 (is_trusted_path_normalize): Skip initial colon. Append slash
41255 to empty buffer. Duplicate is_trusted_path code but allow
41256 constructed patch to be prefix.
41257 (is_dst): Allow $ORIGIN followed by /.
41258 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41259 Correct testing of result of is_trusted_path_normalize
41260 (decompose_rpath): Fix warning.
41261
7b3b0b2a
UD
412622011-05-10 Ulrich Drepper <drepper@gmail.com>
41263
41264 [BZ #11257]
41265 * grp/initgroups.c (internal_getgrouplist): When we found the service
41266 list through the initgroups entry in nsswitch.conf do not always
41267 continue on a successful lookup. Don't always use the
eac80ce2 41268 __nss_group_database value if it is set.
7b3b0b2a
UD
41269 * nss/nsswitch.conf (initgroups): Change action for successful db
41270 lookup to continue for compatibility.
41271
2a81eaa5
UD
412722011-05-09 Ulrich Drepper <drepper@gmail.com>
41273
be97a69e
UD
41274 [BZ #11532]
41275 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41276 and CP774 modules.
41277 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41278 and CP774 modules.
41279 * iconvdata/tst-tables.sh: Likewise.
41280 * iconvdata/cp770.c: New file.
41281 * iconvdata/cp771.c: New file.
41282 * iconvdata/cp772.c: New file.
41283 * iconvdata/cp773.c: New file.
41284 * iconvdata/cp774.c: New file.
41285 * iconvdata/testdata/CP770: New file.
41286 * iconvdata/testdata/CP770..UTF8: New file.
41287 * iconvdata/testdata/CP771: New file.
41288 * iconvdata/testdata/CP771..UTF8: New file.
41289 * iconvdata/testdata/CP772: New file.
41290 * iconvdata/testdata/CP772..UTF8: New file.
41291 * iconvdata/testdata/CP773: New file.
41292 * iconvdata/testdata/CP773..UTF8: New file.
41293 * iconvdata/testdata/CP774: New file.
41294 * iconvdata/testdata/CP774..UTF8: New file.
41295
41296 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41297 END CHARMAP line.
41298 * iconvdata/gen-8bit-gap.sh: Likewise.
41299 * iconvdata/gen-8bit.sh: Likewise.
41300
c1e9e399
UD
41301 * locale/iso-639.def: Add ary entry.
41302
24c55fb3 41303 [BZ #11258]
96b4b1b0
UD
41304 * locale/C-translit.h.in: Add U20A1 transliteration.
41305
bdc2f971
KB
41306 [BZ #12178]
41307 * locale/iso-639.def: Add wae entry.
41308 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41309
2952b117
UD
41310 [BZ #12545]
41311 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41312 for n.
41313
2a81eaa5
UD
41314 [BZ #12711]
41315 * locale/C-translit.h.in: Add entry for U20B9.
41316 Patch by pravin.d.s@gmail.com.
41317
28377d1b
UD
413182011-05-08 Ulrich Drepper <drepper@gmail.com>
41319
7fb90fb8
UD
41320 [BZ #12713]
41321 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41322 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41323 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41324 in rtld. Use *stat64.
7fb90fb8 41325 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41326 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41327 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41328 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41329 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41330 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41331 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41332 __fstatat64 macros.
7fb90fb8
UD
41333 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41334 * dirent/rewinddir.c: Add libc_hidden_def.
41335 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41336 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41337
28377d1b
UD
41338 * include/dirent.h (__alloc_dir): Add flags parameter.
41339 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41340 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41341 __alloc_dir.
41342 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41343 from fdopendir if O_CLOEXEC is already set.
41344
66bdbaa4
AM
413452011-03-15 Alan Modra <amodra@gmail.com>
41346
41347 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41348 l_tls_firstbyte_offset non-zero. Save padding offset in
41349 l_tls_firstbyte_offset for later use.
41350 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41351 freeing static tls block.
41352
95721191
JN
413532011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41354
41355 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41356 where #ifdef was intended. The intent is to prevent ARG_MAX from
41357 being defined by the kernel headers.
41358
f87dfb1f
UD
413592011-05-07 Ulrich Drepper <drepper@gmail.com>
41360
41361 [BZ #12734]
41362 * resolv/resolv.h: Define RES_NOTLDQUERY.
41363 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41364 no-tld-query and set RES_NOTLDQUERY.
41365 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41366 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41367 modern BIND to search name as TLD unless forbidden.
41368
47c3cd7a
UD
413692011-05-07 Petr Baudis <pasky@suse.cz>
41370 Ulrich Drepper <drepper@gmail.com>
41371
41372 [BZ #12393]
41373 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41374 (is_trusted_path): ...to here.
c1e9ea35 41375 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41376 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41377 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41378
8a35c912
PP
413792011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41380
41381 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41382 __BEGIN/__END_DECLS.
41383
acd41f47
UD
413842011-05-06 Ulrich Drepper <drepper@gmail.com>
41385
41386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41387 NSS_STATUS_NOTFOUND if no record was found.
41388
597df647
AS
413892011-05-05 Andreas Schwab <schwab@redhat.com>
41390
41391 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41392 (headers-not-in-tirpc): Remove rpc/netdb.h
41393 * resolv/netdb.h: Revert last change.
41394
b9af1301
PP
413952011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41396
41397 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41398 circular dependency between libgcc.a and libc.a.
41399
4e34d5f5
AS
414002011-05-05 Andreas Schwab <schwab@redhat.com>
41401
41402 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41403 * nis/Makefile: Don't install rpcsvc/*.
41404 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41405 instead of <rpc/types.h>.
41406 (MAXHOSTNAMELEN): Define.
41407
00ee369c
AS
414082011-05-03 Andreas Schwab <schwab@redhat.com>
41409
41410 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41411
0b592a30
MB
414122011-04-28 Maciej Babinski <mbabinski@google.com>
41413
41414 [BZ #12714]
41415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41416 gethostbyname4_r when IPv6 results are possible.
41417
6e04cbbe
UD
414182011-05-02 Ulrich Drepper <drepper@gmail.com>
41419
41420 [BZ #12723]
41421 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41422 _PC_PIPE_BUF handling.
41423
e4ecafe0
BH
414242011-04-30 Bruno Haible <bruno@clisp.org>
41425
41426 [BZ #12717]
41427 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41428 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41429 to 'int'.
41430 * inet/getnameinfo.c (getnameinfo): Likewise.
41431
125ee683
UD
414322011-04-29 Ulrich Drepper <drepper@gmail.com>
41433
41434 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41435 to groups setting in database lookup.
41436 * nss/nsswitch.conf: Add initgroups entry.
41437
b722481a
EB
414382011-04-22 Ulrich Drepper <drepper@gmail.com>
41439
41440 [BZ #12685]
41441 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41442 mode string.
41443 Patch by Eric Blake <eblake@redhat.com>.
41444
4df46dbd
L
414452011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41446
41447 * sunrpc/Makefile (need-export-routines): Add svc_run.
41448 (routines): Remove svc_run.
41449 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41450 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41451 * sunrpc/svc_run.c (svc_run): Likewise.
41452 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41453
e84142d2
UD
414542011-04-21 Ulrich Drepper <drepper@gmail.com>
41455
41456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41457 problem in reallocation in last patch.
41458
877175d8
UD
414592011-04-20 Ulrich Drepper <drepper@gmail.com>
41460
41461 * sunrpc/Makefile: Move inclusion of Rules.
41462
ab8eed78
UD
414632011-04-19 Ulrich Drepper <drepper@gmail.com>
41464
41465 * nss/nss_files/files-initgroups.c: New file.
41466 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41467 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41468 _nss_files_initgroups_dyn.
41469
e3d8f584
RS
414702011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41471
41472 * elf/elf.h (R_ARM_IRELATIVE): Define.
41473
af190f45
UD
414742011-04-19 Ulrich Drepper <drepper@gmail.com>
41475
41476 * po/ru.po: Update from translation team.
41477
53cf59ef
UD
414782011-04-17 Ulrich Drepper <drepper@gmail.com>
41479
41480 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41481 dependencies.
41482
4c559bcd
MF
414832011-02-06 Mike Frysinger <vapier@gentoo.org>
41484
41485 [BZ #12653]
41486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41487 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41491
4420675c
AS
414922011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41493
41494 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41495 differing bytes.
41496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41499
75ea32ab
UD
415002011-04-17 Ulrich Drepper <drepper@gmail.com>
41501
41502 [BZ #12420]
41503 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41504 storing it.
41505 * stdlib/bug-getcontext.c: New file.
41506 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41507
27390476
AK
415082011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41509
41510 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41511 instructions into .machine "z9-109".
41512 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41513 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41514
10442705
AK
415152011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41516
41517 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41518 between environment variables and auxiliary vector.
41519
7b57bfe5
UD
415202011-04-16 Ulrich Drepper <drepper@gmail.com>
41521
41522 * Makefile: Add rules to build linkobj/libc.so.
41523 * include/libc-symbols.h: Define libc_hidden_nolink.
41524 * include/rpc/auth.h: Mark functions which are to be hidden.
41525 * include/rpc/auth_des.h: Likewise.
41526 * include/rpc/auth_unix.h: Likewise.
41527 * include/rpc/clnt.h: Likewise.
41528 * include/rpc/des_crypt.h: Likewise.
41529 * include/rpc/key_prot.h: Likewise.
41530 * include/rpc/pmap_clnt.h: Likewise.
41531 * include/rpc/pmap_prot.h: Likewise.
41532 * include/rpc/pmap_rmt.h: Likewise.
41533 * include/rpc/rpc_msg.h: Likewise.
41534 * include/rpc/svc.h: Likewise.
41535 * include/rpc/svc_auth.h: Likewise.
41536 * include/rpc/xdr.h: Likewise.
41537 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41538 * nss/Makefile: Likewise.
41539 * sunrpc/Makefile: Don't install headers. Build library with normal
41540 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41541 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41542 for the compat linking library. Remove use of INTDEF/INTUSE.
41543 * sunrpc/auth_none.c: Likewise.
41544 * sunrpc/auth_unix.c: Likewise.
41545 * sunrpc/authdes_prot.c: Likewise.
41546 * sunrpc/authuxprot.c: Likewise.
41547 * sunrpc/clnt_gen.c: Likewise.
41548 * sunrpc/clnt_perr.c: Likewise.
41549 * sunrpc/clnt_raw.c: Likewise.
41550 * sunrpc/clnt_simp.c: Likewise.
41551 * sunrpc/clnt_tcp.c: Likewise.
41552 * sunrpc/clnt_udp.c: Likewise.
41553 * sunrpc/clnt_unix.c: Likewise.
41554 * sunrpc/des_crypt.c: Likewise.
41555 * sunrpc/des_soft.c: Likewise.
41556 * sunrpc/get_myaddr.c: Likewise.
41557 * sunrpc/key_call.c: Likewise.
41558 * sunrpc/key_prot.c: Likewise.
41559 * sunrpc/netname.c: Likewise.
41560 * sunrpc/pm_getmaps.c: Likewise.
41561 * sunrpc/pm_getport.c: Likewise.
41562 * sunrpc/pmap_clnt.c: Likewise.
41563 * sunrpc/pmap_prot.c: Likewise.
41564 * sunrpc/pmap_prot2.c: Likewise.
41565 * sunrpc/pmap_rmt.c: Likewise.
41566 * sunrpc/publickey.c: Likewise.
41567 * sunrpc/rpc_cmsg.c: Likewise.
41568 * sunrpc/rpc_common.c: Likewise.
41569 * sunrpc/rpc_dtable.c: Likewise.
41570 * sunrpc/rpc_prot.c: Likewise.
41571 * sunrpc/rpc_thread.c: Likewise.
41572 * sunrpc/rtime.c: Likewise.
41573 * sunrpc/svc.c: Likewise.
41574 * sunrpc/svc_auth.c: Likewise.
41575 * sunrpc/svc_authux.c: Likewise.
41576 * sunrpc/svc_raw.c: Likewise.
41577 * sunrpc/svc_run.c: Likewise.
41578 * sunrpc/svc_simple.c: Likewise.
41579 * sunrpc/svc_tcp.c: Likewise.
41580 * sunrpc/svc_udp.c: Likewise.
41581 * sunrpc/svc_unix.c: Likewise.
41582 * sunrpc/svcauth_des.c: Likewise.
41583 * sunrpc/xcrypt.c: Likewise.
41584 * sunrpc/xdr.c: Likewise.
41585 * sunrpc/xdr_array.c: Likewise.
41586 * sunrpc/xdr_float.c: Likewise.
41587 * sunrpc/xdr_intXX_t.c: Likewise.
41588 * sunrpc/xdr_mem.c: Likewise.
41589 * sunrpc/xdr_rec.c: Likewise.
41590 * sunrpc/xdr_ref.c: Likewise.
41591 * sunrpc/xdr_sizeof.c: Likewise.
41592 * sunrpc/xdr_stdio.c: Likewise.
41593
e6c61494
UD
415942011-04-10 Ulrich Drepper <drepper@gmail.com>
41595
41596 [BZ #12650]
41597 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41598 * sysdeps/ia64/dl-tls.h: Likewise.
41599 * sysdeps/powerpc/dl-tls.h: Likewise.
41600 * sysdeps/s390/dl-tls.h: Likewise.
41601 * sysdeps/sh/dl-tls.h: Likewise.
41602 * sysdeps/sparc/dl-tls.h: Likewise.
41603 * sysdeps/x86_64/dl-tls.h: Likewise.
41604 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41605
34fe483e
AS
416062011-03-14 Andreas Schwab <schwab@redhat.com>
41607
41608 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41609 rpath element also skip the following colon.
41610 (expand_dynamic_string_token): Add is_path parameter and pass
41611 down to DL_DST_REQUIRED and _dl_dst_substitute.
41612 (decompose_rpath): Call expand_dynamic_string_token with
41613 non-zero is_path. Ignore empty rpaths.
41614 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41615 with zero is_path.
41616
f12a32e6
AS
416172011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41618
41619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41620 Make cancelable.
41621
38a7d692
UD
416222011-04-09 Ulrich Drepper <drepper@gmail.com>
41623
41624 [BZ #12655]
41625 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41626 Patch by Filipe David Manana <fdmanana@apache.org>.
41627
e451d22b
AS
416282011-04-07 Andreas Schwab <schwab@redhat.com>
41629
41630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41631 Maintain aligned stack.
41632 (CHECK_RSP): Remove unused macro.
41633
dedc7c7b
UD
416342011-04-03 Ulrich Drepper <drepper@gmail.com>
41635
41636 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41638
94521213
UD
416392011-04-02 Ulrich Drepper <drepper@gmail.com>
41640
41641 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41642
8cb700c0 41643 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41644
0354e355
L
416452011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41646
41647 [BZ #12518]
41648 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41649 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41650 * sysdeps/x86_64/memmove.c: New file.
41651 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41652 (memcpy): Renamed to ...
41653 (__new_memcpy): This.
41654 (memcpy): Provide GLIBC_2_14 memcpy.
41655 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41656 (memcpy): Provide GLIBC_2_2_5 memcpy.
41657
8593482f
UD
416582011-04-01 Ulrich Drepper <drepper@gmail.com>
41659
41660 [BZ #12631]
41661 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41662
81a5726b
AS
416632011-03-30 Andreas Schwab <schwab@redhat.com>
41664
41665 * misc/syncfs.c: New file.
41666 * misc/Makefile (routines): Add syncfs.
41667 * posix/unistd.h: Declare syncfs.
41668 * sysdeps/unix/syscalls.list: Add syncfs.
41669
00e5419f
AS
416702011-04-01 Andreas Schwab <schwab@redhat.com>
41671
41672 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41673 open_by_handle_at.
41674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41675 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41679 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41681
748876bf
UD
416822011-04-01 Ulrich Drepper <drepper@gmail.com>
41683
658e451d
UD
41684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41686 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41691
748876bf
UD
41692 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41693 sync_file_range.c with -fexceptions.
41694 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41695 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41696 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41697 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41698 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41699 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41701 sync_file_range as cancellation point
41702 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41703 now a wrapper around __call_sync_file_range with cancellation handling.
41704 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41705 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41706 function name to __call_sync_file_range.
41707 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41708 Add call_sync_file_range.
748876bf 41709
6e63d5e1
AS
417102011-04-01 Andreas Schwab <schwab@redhat.com>
41711
41712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41713 bits/timex.h.
6e63d5e1 41714
46998f74
UD
417152011-04-01 Ulrich Drepper <drepper@gmail.com>
41716
4c1423ed
UD
41717 * iconv/iconv.h: Fix typo in comment.
41718 * io/fcntl.h: Likewise.
41719 * libio/stdio.h: Likewise.
41720 * posix/spawn.h: Likewise.
41721 * posix/unistd.h: Likewise.
41722 * stdlib/stdlib.h: Likewise.
41723 * time/time.h: Likewise.
41724 * wcsmbs/wchar.h: Likewise.
41725
158648c0
UD
41726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41727 open_by_handle): Add.
41728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41729 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41730 Augment a few comments.
41731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41736 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41737 open_by_handle.
41738
46998f74
UD
41739 * io/fcntl.h (AT_EMPTY_PATH): Define.
41740
83fe108b
UD
417412011-03-30 Ulrich Drepper <drepper@gmail.com>
41742
41743 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41744 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41745 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41746 to...
41747 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41748 * Versions.def: Add GLIBC_2.14.
41749 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41750 Export.
83fe108b 41751
bb242059
UD
417522011-03-22 Ulrich Drepper <drepper@gmail.com>
41753
41754 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41755 round counter.
41756 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41757
c97a1282
L
417582011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41759
41760 [BZ #12597]
41761 * string/test-strncmp.c (do_page_test): New function.
41762 (check2): Likewise.
41763 (test_main): Call check2.
41764 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41765
2a115601
UD
417662011-03-20 Ulrich Drepper <drepper@gmail.com>
41767
41768 [BZ #12587]
41769 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41770 Handle cache information in CPU leaf 4.
41771 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41772
8126d904
UD
417732011-03-18 Ulrich Drepper <drepper@gmail.com>
41774
042c49c6 41775 [BZ #12583]
8126d904
UD
41776 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41777 character representation.
41778 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41779
ccfe366e
RA
417802011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41781
41782 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41783 END(__isnan) to END(__isnanf) to match function entry point/label
41784 EALIGN(__isnanf,...).
41785
c6e13027
JJ
417862011-03-10 Jakub Jelinek <jakub@redhat.com>
41787
41788 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41789
33f85a3f
UD
417902011-03-10 Ulrich Drepper <drepper@gmail.com>
41791
028478fa
UD
41792 [BZ #12510]
41793 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41794 copy from the symbol referenced in the relocation to initialize the
41795 used variable.
41796 Patch by Piotr Bury <pbury@goahead.com>.
41797 * elf/Makefile: Add rules to build and tst-unique3.
41798 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41799 * elf/tst-unique3.cc: New file.
41800 * elf/tst-unique3.h: New file.
41801 * elf/tst-unique3lib.cc: New file.
41802 * elf/tst-unique3lib2.cc: New file.
41803
33f85a3f
UD
41804 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41805
03592fc7
MF
418062011-03-10 Mike Frysinger <vapier@gentoo.org>
41807
41808 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41809 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41810 to _start.
03592fc7 41811
6a5ee102
UD
418122011-03-06 Ulrich Drepper <drepper@gmail.com>
41813
41814 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41815 to-be-loaded object along a path to loader is ld.so.
41816
7e4ba49c
HJ
418172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41818 Ulrich Drepper <drepper@gmail.com>
41819
41820 * sysdeps/x86_64/memset.S: After aligning destination, code
41821 branches to different locations depending on the value of
41822 misalignment, when multiarch is enabled. Fix this.
41823
418242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41825
41826 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41827 Set _x86_64_preferred_memory_instruction for AMD processsors.
41828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41829 Set bit_Prefer_SSE_for_memop for AMD processors.
41830
13a804de
UD
418312011-03-04 Ulrich Drepper <drepper@gmail.com>
41832
41833 * libio/fmemopen.c (fmemopen): Optimize a bit.
41834
9d25c392
AS
418352011-03-03 Andreas Schwab <schwab@redhat.com>
41836
41837 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41838
a5543c6a
RM
418392011-03-03 Roland McGrath <roland@redhat.com>
41840
41841 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41842
012d35f7
DM
418432011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41844
7e4ba49c 41845 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41846 __bzero_ultra1 instead of __memset_ultra1.
41847
4bff6e01
AS
418482011-02-23 Andreas Schwab <schwab@redhat.com>
41849 Ulrich Drepper <drepper@gmail.com>
41850
41851 [BZ #12509]
41852 * include/link.h (struct link_map): Add l_orig_initfini.
41853 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41854 returning unsuccessfully.
41855 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41856 close of a file loaded at startup, restore the original l_initfini
41857 list.
41858 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41859 list, store the pointer.
41860 * elf/Makefile ($(objpfx)noload-mem): New rule.
41861 (noload-ENV): Define.
41862 (tests): Add $(objpfx)noload-mem.
41863 * elf/noload.c: Include <memcheck.h>.
41864 (main): Call mtrace. Close all opened handles.
41865
f2092faf
AS
418662011-02-17 Andreas Schwab <schwab@redhat.com>
41867
41868 [BZ #12454]
41869 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41870 dependencies are missing.
41871
6c8a2e88
ST
418722011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41873
f2092faf 41874 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41875 Hurd needs munmap.
41876 * sysdeps/mach/hurd/ifreq.h: New file.
41877
84a42118
PB
418782011-01-27 Petr Baudis <pasky@suse.cz>
41879 Ulrich Drepper <drepper@gmail.com>
41880
071f805e 41881 [BZ 12445]#
84a42118
PB
41882 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41883 to extend_alloca().
41884 * stdio-common/bug23.c: New file.
41885 * stdio-common/Makefile (tests): Add bug23.
41886
e23fe25b
AS
418872010-09-28 Andreas Schwab <schwab@redhat.com>
41888 Ulrich Drepper <drepper@gmail.com>
41889
41890 [BZ #12489]
41891 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41892 before performing relro protection. At old place add assertion
41893 to make sure nothing changed.
41894
d3f02e10
NS
418952011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41896 Glauber de Oliveira Costa <glommer@gmail.com>
41897
41898 * elf/elf.h: Add new ARM TLS relocs.
41899
d55fd7a5
RA
419002011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41901
41902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41903 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41904 cast from r3.
41905 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41906 'tests' variable.
41907 * sysdeps/wordsize-64/tst-writev.c: New file.
41908
2206397e
RA
419092011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41910
41911 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41912 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41913 insns in _dl_start to prevent a TOC reference before relocs are
41914 resolved.
41915
e9433893
UD
419162011-02-15 Ulrich Drepper <drepper@gmail.com>
41917
41918 [BZ #12469]
41919 * Makeconfig: Remove RANLIB definition.
41920 * Makerules: Don't use RANLIB.
41921 * aclocal.m4: Remove ranlib test.
41922 * configure.in: No need to check for ranlib.
41923 * elf/rtld-Rules: Don't use RANLIB.
41924
f75286c6
ST
419252011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41926
8e31c82d
ST
41927 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41928 protection macro.
41929 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41930 inclusion protection macro.
41931
f75286c6
ST
41932 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41933 SIGRTMIN and SIGRTMAX and print information in that case only when
41934 SIGRTMIN is defined.
41935
c1d0e639
JJ
419362011-02-11 Jakub Jelinek <jakub@redhat.com>
41937
41938 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41939 arginfo fn returning -1.
41940
41941 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41942 and thousands string is zero terminated.
41943
edf9294e
AS
419442011-02-03 Andreas Schwab <schwab@redhat.com>
41945
41946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41947 sysdeps/unix/sysv/linux/bits/socket.h.
41948
2b7e92df
ST
419492011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41950
edf9294e
AS
41951 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41952 (__CPU_COUNT): Remove old macros.
41953 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41954 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41955 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41956 (__sched_cpualloc, __sched_cpufree): Add declarations.
41957
a4c7ea7b
UD
419582011-02-05 Ulrich Drepper <drepper@gmail.com>
41959
41960 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41961 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41962 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41963 (readdhstai): Return value of addhstaiX call.
41964 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41965 (addgrbyX): Return value returned by cache_addgr.
41966 (readdgrbyname): Return value returned by addgrbyX.
41967 (readdgrbygid): Likewise.
41968 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41969 (addpwbyX): Return value returned by cache_addpw.
41970 (readdpwbyname): Return value returned by addhstbyX.
41971 (readdpwbyuid): Likewise.
41972 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41973 (addservbyX): Return value returned by cache_addserv.
41974 (readdservbyname): Return value returned by addservbyX:
41975 (readdservbyport): Likewise.
41976 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41977 (addhstbyX): Return value returned by cache_addhst.
41978 (readdhstbyname): Return value returned by addhstbyX.
41979 (readdhstbyaddr): Likewise.
41980 (readdhstbynamev6): Likewise.
41981 (readdhstbyaddrv6): Likewise.
41982 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41983 (readdinitgroups): Return value returned by addinitgroupsX.
41984 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41985 (prune_cache): Keep track of timeout value of re-added entries.
41986 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41987 * nscd/nscd.h: Adjust prototypes of readd* functions.
41988
a0bf67cc
RM
419892011-02-04 Roland McGrath <roland@redhat.com>
41990
41991 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41992 (nis_stats): Likewise.
41993 * nis/nis_modify.c (nis_modify): Likewise.
41994 * nis/nis_remove.c (nis_remove): Likewise.
41995 * nis/nis_add.c (nis_add): Likewise.
41996
41997 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41998
41999 * posix/fnmatch_loop.c: Add some consts.
42000
42001 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42002
435b95eb
L
420032011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42004
42005 [BZ #12460]
42006 * config.make.in (config-cflags-novzeroupper): Define.
42007 * configure.in: Substitute libc_cv_cc_novzeroupper.
42008 * elf/Makefile (AVX-CFLAGS): Define.
42009 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42010 (CFLAGS-tst-auditmod4a.c): Likewise.
42011 (CFLAGS-tst-auditmod4b.c): Likewise.
42012 (CFLAGS-tst-auditmod6b.c): Likewise.
42013 (CFLAGS-tst-auditmod6c.c): Likewise.
42014 (CFLAGS-tst-auditmod7b.c): Likewise.
42015 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42016
8517b15e
UD
420172011-02-02 Ulrich Drepper <drepper@gmail.com>
42018
42019 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42020 function to the callback.
42021 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42022
10a656fe
AS
420232011-02-02 Andreas Schwab <schwab@redhat.com>
42024
42025 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42026 of errno.
42027
968dad0a
UD
420282011-01-19 Ulrich Drepper <drepper@gmail.com>
42029
9f94d2ea 42030 [BZ #11724]
968dad0a
UD
42031 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42032 of constructors.
42033 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42034 of destructors.
42035 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42036
42037 [BZ #11724]
42038 * elf/Makefile: Add rules to build and run new test.
42039 * elf/tst-initorder.c: New file.
42040 * elf/tst-initorder.exp: New file.
42041 * elf/tst-initordera1.c: New file.
42042 * elf/tst-initordera2.c: New file.
42043 * elf/tst-initordera3.c: New file.
42044 * elf/tst-initordera4.c: New file.
42045 * elf/tst-initorderb1.c: New file.
42046 * elf/tst-initorderb2.c: New file.
42047 * elf/tst-order-a1.c: New file.
42048 * elf/tst-order-a2.c: New file.
42049 * elf/tst-order-a3.c: New file.
42050 * elf/tst-order-a4.c: New file.
42051 * elf/tst-order-b1.c: New file.
42052 * elf/tst-order-b2.c: New file.
42053 * elf/tst-order-main.c: New file.
42054 New test case by George Gensure <werkt0@gmail.com>.
42055
86e92359
UD
420562010-10-01 Andreas Schwab <schwab@redhat.com>
42057
42058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42059 decoding ACE if AI_CANONIDN.
42060
5d5732b0
UD
420612011-01-18 Ulrich Drepper <drepper@gmail.com>
42062
42063 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42064
a77e8cbc
UD
420652011-01-17 Ulrich Drepper <drepper@gmail.com>
42066
6392473f
UD
42067 * version.h (RELEASE): Bump for 2.13 release.
42068 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42069
620a0529
UD
42070 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42071
18ba70a5
UD
42072 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42073 MADV_NOHUGEPAGE.
32465c3e
UD
42074 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42075 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42077 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42079 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42080
c0dafcf1
UD
42081 * posix/getconf.c: Update copyright year.
42082 * catgets/gencat.c: Likewise.
42083 * csu/version.c: Likewise.
42084 * debug/catchsegv.sh: Likewise.
42085 * debug/xtrace.sh: Likewise.
42086 * elf/ldconfig.c: Likewise.
42087 * elf/ldd.bash.in: Likewise.
42088 * elf/sprof.c (print_version): Likewise.
42089 * iconv/iconv_prog.c: Likewise.
42090 * iconv/iconvconfig.c: Likewise.
42091 * locale/programs/locale.c: Likewise.
42092 * locale/programs/localedef.c: Likewise.
42093 * malloc/memusage.sh: Likewise.
42094 * malloc/mtrace.pl: Likewise.
42095 * nscd/nscd.c (print_version): Likewise.
42096 * nss/getent.c: Likewise.
42097
a77e8cbc
UD
42098 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42099 PF_CAIF, and PF_ALG.
42100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42101
77e8bddf
AS
421022011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42103
1f20b93a
AS
42104 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42105 (modules-names): Use them.
42106 (ifunc-test-modules, ifunc-pie-tests): Define.
42107 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42108 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42109 (test-extras): Likewise.
42110 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42111 $(compile-command.c).
42112 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42113 (all-built-dso): Define.
42114 (check-textrel.out, check-execstack.out): Depend on it.
42115
77e8bddf
AS
42116 * configure.in: Don't override --enable-multi-arch.
42117
bc425b33
UD
421182011-01-15 Ulrich Drepper <drepper@gmail.com>
42119
42120 [BZ #6812]
42121 * nscd/hstcache.c (tryagain): Define.
42122 (cache_addhst): Return tryagain not notfound for temporary errors.
42123 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42124 failed.
42125
794c3ad3
UD
421262011-01-14 Ulrich Drepper <drepper@gmail.com>
42127
70181fdd
UD
42128 [BZ #10563]
42129 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42130 to make the syscall.
42131 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42132
794c3ad3
UD
42133 [BZ #12378]
42134 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42135 and fall back to matching as normal character if the string ends before
42136 the matching ']' is found. This is what POSIX requires.
42137 * posix/testfnm.c: Adjust test result.
42138 * posix/globtest.sh: Adjust test result. Add new test.
42139 * posix/tst-fnmatch.input: Likewise.
42140 * posix/tst-fnmatch2.c: Add new test.
42141
68dc9497
AS
421422010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42143
42144 * elf/Makefile (check-execstack): Revert last change. Depend on
42145 check-execstack.h.
42146 (check-execstack.h): New target.
42147 (generated): Add check-execstack.h.
42148 * elf/check-execstack.c: Include "check-execstack.h".
42149 (main): Revert last change.
42150 (handle_file): Return zero if GNU_STACK is absent and
42151 DEFAULT_STACK_PERMS doesn't include PF_X.
42152
451f001b
UD
421532011-01-13 Ulrich Drepper <drepper@gmail.com>
42154
cfa28e56
UD
42155 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42156 in child fails because the descriptor is already closed.
8cf8ce17
UD
42157 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42158 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42159 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42160
1086d70d
UD
42161 [BZ #12397]
42162 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42163 syscall.
42164
451f001b
UD
42165 [BZ #10484]
42166 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42167 temporary buffer used to handle multi lookups locally.
a85b5cb4 42168 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42169
08769175
UD
421702011-01-12 Ulrich Drepper <drepper@gmail.com>
42171
42172 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42173 loader is ld.so.
42174
5e49c52e
UD
421752011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42176
42177 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42178 alignment for SSE2.
42179
60522a5f
UD
421802011-01-12 Ulrich Drepper <drepper@gmail.com>
42181
42182 [BZ #12394]
42183 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42184 characters. When rounding increased number of integer digits recompute
42185 number of groups.
42186 * stdio-common/tst-grouping.c: New file.
42187 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42188
f257bbd7
UD
421892011-01-09 Ulrich Drepper <drepper@gmail.com>
42190
42191 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42192 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42193
42194 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42195 void.
42196 * bits/select.h: Likewise.
42197
fa9c15cb
UD
421982011-01-08 Ulrich Drepper <drepper@gmail.com>
42199
42200 * po/ja.po: Update from translation team.
42201
16c2895f
DM
422022011-01-04 David S. Miller <davem@sunset.davemloft.net>
42203
42204 [BZ #11155]
42205 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42206 implementation just like for lxstat, fxstatat, et al.
42207
2543fef2
JM
422082010-12-27 Jim Meyering <meyering@redhat.com>
42209
42210 [BZ #12348]
42211 * posix/regexec.c (build_trtable): Return failure indication upon
42212 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42213
98727dbe
UD
422142010-12-25 Ulrich Drepper <drepper@gmail.com>
42215
5bd6dc5c
UD
42216 [BZ #12201]
42217 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42218 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42219 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42220 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42221
97983464
UD
42222 [BZ #12207]
42223 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42224
98727dbe
UD
42225 [BZ #12204]
42226 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42227 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42228
4a531bb0
L
422292010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42230
42231 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42232 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42233 script has SORT_BY_INIT_PRIORITY.
42234 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42235 NO_CTORS_DTORS_SECTIONS is defined.
42236 * elf/soinit.c: Likewise.
42237 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42238 NO_CTORS_DTORS_SECTIONS is defined.
42239 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42240 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42241 * sysdeps/sh/init-first.c: Likewise.
42242 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42243
07eb4b71
UD
422442010-12-24 Ulrich Drepper <drepper@gmail.com>
42245
42246 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42247 always use the slow path.
42248
30950a5f
RA
422492010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42250
42251 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42252 similar rule which adds the sysdep directories to the header search in
42253 order to pick up the correct platform stackinfo.h.
42254 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42255 perform test if it is, otherwise return successfully without testing.
42256 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42257 DEFAULT_STACK_PERMS define in stackinfo.h.
42258 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42259 defined in stackinfo.h.
42260 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42261 DEFAULT_STACK_PERMS defined in stackinfo.h.
42262 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42263 * sysdeps/ia64/stackinfo.h: Likewise.
42264 * sysdeps/s390/stackinfo.h: Likewise.
42265 * sysdeps/sh/stackinfo.h: Likewise.
42266 * sysdeps/sparc/stackinfo.h: Likewise.
42267 * sysdeps/x86_64/stackinfo.h: Likewise.
42268 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42269 PF_X for powerpc64. Retain PF_X for powerpc32.
42270
db753e2c
UD
422712010-12-19 Ulrich Drepper <drepper@gmail.com>
42272
14b697f7
UD
42273 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42274 accurately.
db753e2c
UD
42275 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42276 GETDENTS_64BIT_ALIGNED.
42277
28300719
UD
422782010-12-14 Ulrich Drepper <dreper@gmail.com>
42279
14b697f7 42280 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42281
4f197237
AS
422822010-12-10 Andreas Schwab <schwab@redhat.com>
42283
dbb0472f
AS
42284 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42285 _GNU_SOURCE.
42286
4f197237
AS
42287 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42288 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42289 Remove __restrict.
42290 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42291 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42292
fb88ac72
UD
422932010-12-09 Ulrich Drepper <drepper@gmail.com>
42294
42295 [BZ #11655]
42296 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42297 are initialized.
42298
42acbb92
JJ
422992010-12-09 Jakub Jelinek <jakub@redhat.com>
42300
42301 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42302
c038d98d
UD
423032010-12-03 Ulrich Drepper <drepper@gmail.com>
42304
42305 * po/it.po: Update from translation team.
42306
3a4a2499
L
423072010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42308
42309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42310 unused codes.
42311
1e24cf6e
UD
423122010-11-30 Ulrich Drepper <drepper@gmail.com>
42313
42314 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42315
a7690819
AS
423162010-11-24 Andreas Schwab <schwab@redhat.com>
42317
42318 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42319 specially.
42320 (gaih_getanswer_slice): Likewise.
42321
3bf8d1b1
JJ
423222010-10-20 Jakub Jelinek <jakub@redhat.com>
42323
42324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42325
6db52fbb
PB
423262010-05-31 Petr Baudis <pasky@suse.cz>
42327
42328 [BZ #11149]
42329 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42330 silently even in the chroot mode.
42331
eaca7569
UD
423322010-11-22 Ulrich Drepper <drepper@gmail.com>
42333
42334 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42335 last patch a bit. Pretty printing
42336
3056dcdb
UD
423372010-05-31 Petr Baudis <pasky@suse.cz>
42338
42339 [BZ #10085]
42340 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42341 initialization of skip_initgroups_dyn.
42342
cf7c9078
UD
423432010-11-19 Ulrich Drepper <drepper@gmail.com>
42344
42345 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42347
a1fb5e3e
UD
423482010-11-16 Ulrich Drepper <drepper@gmail.com>
42349
42350 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42351
3540d66b
AS
423522010-11-11 Andreas Schwab <schwab@redhat.com>
42353
42354 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42355 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42356 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42357 ($(objpfx)tst-fnmatch-mem): New rule.
42358 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42359 * posix/tst-fnmatch.c (main): Call mtrace.
42360
13b69574
L
423612010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42362
42363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42364 Support Intel processor model 6 and model 0x2c.
42365
da93d214
LM
423662010-11-10 Luis Machado <luisgpm@br.ibm.com>
42367
42368 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42369 signed comparison.
42370
8ca52c6e
L
423712010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42372
42373 [BZ #12205]
42374 * string/test-strncasecmp.c (check_result): New function.
42375 (do_one_test): Use it.
42376 (check1): New function.
42377 (test_main): Use it.
42378 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42379 Support strcasecmp and strncasecmp.
42380
69da074d
UD
423812010-11-08 Ulrich Drepper <drepper@gmail.com>
42382
42383 [BZ #12194]
42384 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42386
ff02d528
L
423872010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42388
42389 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42390 IFUNC support.
42391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42392 memset-x86-64.
42393 * sysdeps/x86_64/multiarch/bzero.S: New file.
42394 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42395 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42396 * sysdeps/x86_64/multiarch/memset.S: New file.
42397 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42399 Set bit_Prefer_SSE_for_memop for Intel processors.
42400 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42401 Define.
42402 (index_Prefer_SSE_for_memop): Define.
42403 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42404
344d0b54
LM
424052010-11-04 Luis Machado <luisgpm@br.ibm.com>
42406
42407 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42408 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42409
c0dde15b
UD
424102010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42411
42412 [BZ #12191]
42413 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42414 (__x86_64_raw_data_cache_size_half): Likewise.
42415 (__x86_64_raw_shared_cache_size): Likewise.
42416 (__x86_64_raw_shared_cache_size_half): Likewise.
42417
42418 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42423 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42424 and __x86_64_raw_shared_cache_size_half. Round
42425 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42426 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42427 to multiple of 256 bytes.
42428
0e516e0e
MS
424292010-11-03 Ulrich Drepper <drepper@gmail.com>
42430
42431 [BZ #12167]
42432 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42433 of inacessible symlinks. Verify result of symlink before returning it.
42434 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42435 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42436
0e012e87
ER
424372010-10-28 Erich Ritz <erichritz@gmail.com>
42438
42439 * math/math.h (isinf): Fix typo in comment.
42440
de0ff7bc
UD
424412010-11-01 Ulrich Drepper <drepper@gmail.com>
42442
42443 * po/da.po: Update from translation team.
42444
fa41c84d
UD
424452010-10-26 Ulrich Drepper <drepper@gmail.com>
42446
42447 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42448 is added to the list.
42449
f0967738
AK
424502010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42451 Ulrich Drepper <drepper@gmail.com>
42452
42453 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42454 the global list here. Move code to...
42455 (_dl_add_to_namespace_list): ...here. New function.
42456 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42457 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42458 * elf/dl-load.c (lose): Don't remove the element from the list.
42459 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42460 (_dl_map_object): Likewise.
42461
424622010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42463
42464 [BZ #12159]
42465 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42466 into all bytes of SSE register.
42467 Patch by Richard Li <richardpku@gmail.com>.
42468
f0967738 424692010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42470
42471 [BZ #12140]
42472 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42473 perturbing.
42474
d0b9e94f
MB
424752010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42476
42477 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42478 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42479 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42480 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42482 submachine.
42483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42484
8e9f92e9
AS
424852010-10-22 Andreas Schwab <schwab@redhat.com>
42486
42487 * include/dlfcn.h (__RTLD_SECURE): Define.
42488 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42489 mode & __RTLD_SECURE instead.
42490 (open_path): Rename preloaded parameter to secure.
42491 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42492 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42493 * elf/dl-deps.c (openaux): Likewise.
42494 * elf/rtld.c (struct map_args): Remove is_preloaded.
42495 (map_doit): Don't use it.
42496 (dl_main): Likewise.
42497 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42498 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42499
bc96fbda
AS
425002010-09-09 Andreas Schwab <schwab@redhat.com>
42501
42502 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42503 (sysd-rules-targets): Remove duplicates.
42504 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42505 rtld-%.$o dependency.
42506
22cd1c9b
AS
425072010-10-18 Andreas Schwab <schwab@redhat.com>
42508
42509 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42510 _dl_map_object do it.
42511
18edac48
UD
425122010-10-19 Ulrich Drepper <drepper@gmail.com>
42513
42514 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42515 fast fma builtins, define the macros in the C99 standard.
42516 (FP_FAST_FMAF): Likewise.
42517 (FP_FAST_FMAL): Likewise.
42518 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42519
42520 * bits/mathdef.h: Update copyright year.
42521 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42522
d2050124
MM
425232010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42524
42525 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42526 builtins, define the macros in the C99 standard.
42527 (FP_FAST_FMAF): Likewise.
42528 (FP_FAST_FMAL): Likewise.
42529 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42530 multiply/add.
42531 (FP_FAST_FMAF): Likewise.
42532
475facd1
JJ
425332010-10-15 Jakub Jelinek <jakub@redhat.com>
42534
42535 [BZ #3268]
42536 * math/libm-test.inc (fma_test): Some new testcases.
42537 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42538 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42539 y and infinite z. Do multiplication by C already in long double.
42540 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42542 y and infinite z. Do bitwise or of inexact bit into u.d.
42543 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42544 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42545 * sysdeps/i386/fpu/s_fma.S: Removed.
42546 * sysdeps/i386/fpu/s_fmal.S: Removed.
42547
7c08a05c
JJ
425482010-10-16 Jakub Jelinek <jakub@redhat.com>
42549
42550 [BZ #3268]
42551 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42553 computation is not scheduled after fetestexcept. Fix value
42554 of minimum denormal long double.
42555
f3f7372d
JJ
425562010-10-14 Jakub Jelinek <jakub@redhat.com>
42557
42558 [BZ #3268]
42559 * math/libm-test.inc (fma_test): Add some more tests.
42560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42561 correctly.
42562
14d43591
AS
425632010-10-15 Andreas Schwab <schwab@redhat.com>
42564
42565 * scripts/data/localplt-s390-linux-gnu.data: New file.
42566 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42567
5e908464
JJ
425682010-10-13 Jakub Jelinek <jakub@redhat.com>
42569
42570 [BZ #3268]
42571 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42572 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42573 instead of dbl-64.
42574 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42575 inlines.
42576 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42578 if one of x and y is very large and the other is subnormal.
42579 * sysdeps/s390/fpu/s_fmaf.c: New file.
42580 * sysdeps/s390/fpu/s_fma.c: New file.
42581 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42582 * sysdeps/powerpc/fpu/s_fma.S: New file.
42583 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42584 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42585 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42586
425872010-10-12 Jakub Jelinek <jakub@redhat.com>
42588
42589 [BZ #3268]
42590 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42591 fma tests.
42592 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42593 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42594 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42595 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42596 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42597 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42598 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42599
b833d51f
UD
426002010-10-12 Ulrich Drepper <drepper@redhat.com>
42601
42602 [BZ #12078]
42603 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42604 * posix/bug-regex31.input: Add test case.
42605
1751705d
UD
426062010-10-11 Ulrich Drepper <drepper@gmail.com>
42607
e9b9cbf5
UD
42608 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42609 * posix/bug-regex31.input: New file.
42610
42611 [BZ #12078]
42612 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42613 (parse_sub_exp): Fix last change, use postorder.
42614
ef06edbe
UD
42615 * posix/bug-regex31.c: New file.
42616 * posix/Makefile: Add rules to build and run bug-regex31.
42617
a129c80d
UD
42618 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42619
42620 [BZ #12078]
42621 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42622
b76b818e
UD
42623 [BZ #12108]
42624 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42625 to have entries in sys_siglist.
42626
1751705d
UD
42627 [BZ #12093]
42628 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42629 be NULL.
42630
9ff8d36f
JJ
426312010-10-07 Jakub Jelinek <jakub@redhat.com>
42632
42633 [BZ #3268]
42634 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42635 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42636 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42637 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42638 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42639 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42640 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42641 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42642 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42643 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42644 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42645 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42646 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42647 * math/ftestexcept.c (fetestexcept): Likewise.
42648 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42649 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42650 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42651 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42652 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42653 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42654 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42655
af325969
UD
426562010-10-11 Ulrich Drepper <drepper@gmail.com>
42657
c579b202 42658 [BZ #12107]
af325969
UD
42659 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42660 newline.
42661
67a67b95
UD
426622010-10-06 Ulrich Drepper <drepper@gmail.com>
42663
42664 * string/bug-strstr1.c: New file.
42665 * string/Makefile: Add rules to build and run bug-strstr1.
42666
5fb308bc
EB
426672010-10-05 Eric Blake <eblake@redhat.com>
42668
42669 [BZ #12092]
42670 * string/str-two-way.h (two_way_long_needle): Always clear memory
42671 when skipping input due to the shift table.
42672
45db99c7
UD
426732010-10-03 Ulrich Drepper <drepper@gmail.com>
42674
3b111893
UD
42675 [BZ #12005]
42676 * malloc/mcheck.c: Handle large requests.
42677
45db99c7
UD
42678 [BZ #12077]
42679 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42680 for strncmp and strncasecmp.
42681 * string/stratcliff.c: Add tests for strcmp and strncmp.
42682 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42683
cf7a1eb8
NI
426842010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42685
42686 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42687 __set_fpscr.
42688
6484ba5e
AJ
426892010-09-30 Andreas Jaeger <aj@suse.de>
42690
42691 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42692 (CGROUP_SUPER_MAGIC): Define.
42693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42694 Handle btrfs and cgroup file systems.
42695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42696 Likewise.
42697
91c42559
LM
426982010-09-27 Luis Machado <luisgpm@br.ibm.com>
42699
42700 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42701 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42702
87a97932
AK
427032010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42704
42705 [BZ #12067]
42706 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42707 trying to locate the ELF header.
42708
c21cc9bc
AS
427092010-09-27 Andreas Schwab <schwab@redhat.com>
42710
42711 [BZ #11611]
42712 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42713 Mask out sign-bit copies when constructing f_fsid.
42714
315970f6
PB
427152010-09-24 Petr Baudis <pasky@suse.cz>
42716
42717 * debug/stack_chk_fail_local.c: Add missing licence exception.
42718 * debug/warning-nop.c: Likewise.
42719
1ac7a2c7
JM
427202010-09-15 Joseph Myers <joseph@codesourcery.com>
42721
42722 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42723 implementing getdents64 using getdents syscall, set d_type if
42724 __ASSUME_GETDENTS32_D_TYPE.
42725
56801c50
AS
427262010-09-16 Andreas Schwab <schwab@redhat.com>
42727
42728 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42729 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42730
dda51327
UD
427312010-09-21 Ulrich Drepper <drepper@redhat.com>
42732
42733 [BZ #12037]
42734 * posix/unistd.h: Undo change of feature selection for ftruncate from
42735 2010-01-11.
42736
8ffcee4a
UD
427372010-09-20 Ulrich Drepper <drepper@redhat.com>
42738
a545ecd9 42739 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42740 detection.
42741
e24f0a8b
AS
427422010-09-20 Andreas Schwab <schwab@redhat.com>
42743
42744 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42745 fanotify_mark.
42746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42747
7291c56f
AS
427482010-09-14 Andreas Schwab <schwab@redhat.com>
42749
42750 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42751 variables after CHECK_SP call.
42752 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42753
bc5fb037
AS
427542010-09-13 Andreas Schwab <schwab@redhat.com>
42755 Ulrich Drepper <drepper@redhat.com>
42756
42757 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42758 re-relocationg ld.so.
42759 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42760 _dl_init_paths call.
42761 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42762 here anymore.
42763
e66e7419
UD
427642010-09-14 Ulrich Drepper <drepper@redhat.com>
42765
42766 * resolv/res_init.c (__res_vinit): Count the default server we added.
42767
c044aa75
CLT
427682010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42769 Ulrich Drepper <drepper@redhat.com>
42770
42771 [BZ #11968]
42772 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42773 (____longjmp_chk): Use %ebx for saving value across system call.
42774 Add unwind info.
42775
32cf4069
AS
427762010-09-06 Andreas Schwab <schwab@redhat.com>
42777
42778 * manual/Makefile: Don't mix pattern rules with normal rules.
42779
817328ee
AS
427802010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42781
42782 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42783 operation.
42784 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42785 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42786 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42787 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42789 Likewise.
42790
29fddf61
UD
427912010-09-04 Ulrich Drepper <drepper@redhat.com>
42792
42793 [BZ #11979]
42794 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42795 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42796
0959ffc9
UD
427972010-09-02 Ulrich Drepper <drepper@redhat.com>
42798
42799 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42800 * sysdeps/x86_64/addmul_1.S: Likewise.
42801 * sysdeps/x86_64/lshift.S: Likewise.
42802 * sysdeps/x86_64/mul_1.S: Likewise.
42803 * sysdeps/x86_64/rshift.S: Likewise.
42804 * sysdeps/x86_64/sub_n.S: Likewise.
42805 * sysdeps/x86_64/submul_1.S: Likewise.
42806
ece29840
ST
428072010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42808
0959ffc9
UD
42809 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42810 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42811 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42812 * bits/sched.h [__need_schedparam]
ece29840 42813 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42814 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42815 (__defined_schedparam): Define to 1.
ece29840
ST
42816 (__sched_param): New structure, identical to sched_param.
42817 (__need_schedparam): Undefine.
42818
e53a31fe
MF
428192010-08-31 Mike Frysinger <vapier@gentoo.org>
42820
fdc0c10d
MF
42821 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42822 (epoll_create1): Declare.
42823
e53a31fe
MF
42824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42825
a726d796
AS
428262010-08-31 Andreas Schwab <schwab@redhat.com>
42827
42828 [BZ #7066]
42829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42830 shifting retval into place.
42831
2f3e3dc7
UD
428322010-09-01 Ulrich Drepper <drepper@redhat.com>
42833
f2933da9
UD
42834 * nis/rpcsvc/nis.h: Update copyright notice.
42835 * nis/rpcsvc/nis.x: Likewise.
42836 * nis/rpcsvc/nis_callback.h: Likewise.
42837 * nis/rpcsvc/nis_callback.x: Likewise.
42838 * nis/rpcsvc/nis_object.x: Likewise.
42839 * nis/rpcsvc/nis_tags.h: Likewise.
42840 * nis/rpcsvc/yp.h: Likewise.
42841 * nis/rpcsvc/yp.x: Likewise.
42842 * nis/rpcsvc/ypupd.h: Likewise.
42843 * nis/yp_xdr.c: Likewise.
42844 * nis/ypupdate_xdr.c: Likewise.
42845
2f3e3dc7
UD
42846 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42847 mainly the body of pmap_getport. Add parameters to specify timeouts.
42848 (pmap_getport): Use __libc_rpc_getport.
42849 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42850 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42851 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42852
f3dcc2f9
AS
428532010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42854
42855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42856 fanotify_mark.
42857
6d34eb5b
RM
428582010-08-27 Roland McGrath <roland@redhat.com>
42859
42860 * sysdeps/i386/i686/multiarch/Makefile
42861 (CFLAGS-varshift.c): New variable.
42862
9ea3de11
UD
428632010-08-27 Ulrich Drepper <drepper@redhat.com>
42864
c96d23fc
UD
42865 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42866 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42867
9ea3de11
UD
42868 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42869
42870 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42871
623aac7f
L
428722010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42873
42874 * sysdeps/x86_64/strlen.S: Unroll the loop.
42875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42876 strlen-sse2 strlen-sse2-bsf.
42877 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42878 __strlen_no_bsf if bit_Slow_BSF is set.
42879 (__strlen_sse42): Removed.
42880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42881 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42882
8b2b7715
RM
428832010-08-25 Roland McGrath <roland@redhat.com>
42884
42885 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42886 * sysdeps/x86_64/multiarch/varshift.c: New file.
42887 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42888 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42889 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42890 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42891
e73015f2
L
428922010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42893
42894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42895 strlen-sse2 strlen-sse2-bsf.
42896 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42897 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42898 (__strlen_sse2): Removed.
42899 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42902 bit_Slow_BSF for Atom.
42903 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42904 (index_Slow_BSF): Define.
42905 (HAS_SLOW_BSF): Define.
42906
df24a73e
UD
429072010-08-25 Ulrich Drepper <drepper@redhat.com>
42908
42909 [BZ #10851]
42910 * resolv/res_init.c (__res_vinit): When no server address at all
42911 is given default to loopback.
42912
f2ac4868
RM
429132010-08-24 Roland McGrath <roland@redhat.com>
42914
09055553
RM
42915 * configure.in: Remove config-name.h generation.
42916 * configure: Regenerated.
42917 * config-name.in: File removed.
42918 * scripts/config-uname.sh: New file.
42919 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42920 ($(objdir)config-name.h): New target.
42921
f2ac4868
RM
42922 * sunrpc/rpc_parse.h: Avoid nested comment.
42923
73f27d5e
RH
429242010-08-24 Richard Henderson <rth@redhat.com>
42925 Ulrich Drepper <drepper@redhat.com>
42926 H.J. Lu <hongjiu.lu@intel.com>
42927
42928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42930 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42931 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42932 _mm_alignr_epi8 with _mm_loadu_si128.
42933 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42934 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42935 (__m128i_shift_right): Removed.
42936 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42937 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42938 * sysdeps/x86_64/multiarch/varshift.h: New file.
42939 * sysdeps/x86_64/multiarch/varshift.S: New file.
42940
84b9230c
MF
429412010-08-21 Mike Frysinger <vapier@gentoo.org>
42942
42943 * configure.in: Move assembler checks to before sysdep dir checking.
42944
9bbd0ddc
PB
429452010-08-20 Petr Baudis <pasky@suse.cz>
42946
42947 * LICENSES: Sync the sunrpc license.
42948
9da4bb31
UD
429492010-08-19 Ulrich Drepper <drepper@redhat.com>
42950
a7ab6ec8
UD
42951 * sunrpc/auth_des.c: Update copyright notice once again.
42952 * sunrpc/auth_none.c: Likewise.
42953 * sunrpc/auth_unix.c: Likewise.
42954 * sunrpc/authdes_prot.c: Likewise.
42955 * sunrpc/authuxprot.c: Likewise.
42956 * sunrpc/bindrsvprt.c: Likewise.
42957 * sunrpc/clnt_gen.c: Likewise.
42958 * sunrpc/clnt_perr.c: Likewise.
42959 * sunrpc/clnt_raw.c: Likewise.
42960 * sunrpc/clnt_simp.c: Likewise.
42961 * sunrpc/clnt_tcp.c: Likewise.
42962 * sunrpc/clnt_udp.c: Likewise.
42963 * sunrpc/clnt_unix.c: Likewise.
42964 * sunrpc/des_crypt.c: Likewise.
42965 * sunrpc/des_soft.c: Likewise.
42966 * sunrpc/get_myaddr.c: Likewise.
42967 * sunrpc/getrpcport.c: Likewise.
42968 * sunrpc/key_call.c: Likewise.
42969 * sunrpc/key_prot.c: Likewise.
42970 * sunrpc/openchild.c: Likewise.
42971 * sunrpc/pm_getmaps.c: Likewise.
42972 * sunrpc/pm_getport.c: Likewise.
42973 * sunrpc/pmap_clnt.c: Likewise.
42974 * sunrpc/pmap_prot.c: Likewise.
42975 * sunrpc/pmap_prot2.c: Likewise.
42976 * sunrpc/pmap_rmt.c: Likewise.
42977 * sunrpc/rpc/auth.h: Likewise.
42978 * sunrpc/rpc/auth_unix.h: Likewise.
42979 * sunrpc/rpc/clnt.h: Likewise.
42980 * sunrpc/rpc/des_crypt.h: Likewise.
42981 * sunrpc/rpc/key_prot.h: Likewise.
42982 * sunrpc/rpc/netdb.h: Likewise.
42983 * sunrpc/rpc/pmap_clnt.h: Likewise.
42984 * sunrpc/rpc/pmap_prot.h: Likewise.
42985 * sunrpc/rpc/pmap_rmt.h: Likewise.
42986 * sunrpc/rpc/rpc.h: Likewise.
42987 * sunrpc/rpc/rpc_des.h: Likewise.
42988 * sunrpc/rpc/rpc_msg.h: Likewise.
42989 * sunrpc/rpc/svc.h: Likewise.
42990 * sunrpc/rpc/svc_auth.h: Likewise.
42991 * sunrpc/rpc/types.h: Likewise.
42992 * sunrpc/rpc/xdr.h: Likewise.
42993 * sunrpc/rpc_clntout.c: Likewise.
42994 * sunrpc/rpc_cmsg.c: Likewise.
42995 * sunrpc/rpc_common.c: Likewise.
42996 * sunrpc/rpc_cout.c: Likewise.
42997 * sunrpc/rpc_dtable.c: Likewise.
42998 * sunrpc/rpc_hout.c: Likewise.
42999 * sunrpc/rpc_main.c: Likewise.
43000 * sunrpc/rpc_parse.c: Likewise.
43001 * sunrpc/rpc_parse.h: Likewise.
43002 * sunrpc/rpc_prot.c: Likewise.
43003 * sunrpc/rpc_sample.c: Likewise.
43004 * sunrpc/rpc_scan.c: Likewise.
43005 * sunrpc/rpc_scan.h: Likewise.
43006 * sunrpc/rpc_svcout.c: Likewise.
43007 * sunrpc/rpc_tblout.c: Likewise.
43008 * sunrpc/rpc_util.c: Likewise.
43009 * sunrpc/rpc_util.h: Likewise.
43010 * sunrpc/rpcinfo.c: Likewise.
43011 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43012 * sunrpc/rpcsvc/key_prot.x: Likewise.
43013 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43014 * sunrpc/rpcsvc/mount.x: Likewise.
43015 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43016 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43017 * sunrpc/rpcsvc/rex.x: Likewise.
43018 * sunrpc/rpcsvc/rstat.x: Likewise.
43019 * sunrpc/rpcsvc/rusers.x: Likewise.
43020 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43021 * sunrpc/rpcsvc/spray.x: Likewise.
43022 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43023 * sunrpc/rtime.c: Likewise.
43024 * sunrpc/svc.c: Likewise.
43025 * sunrpc/svc_auth.c: Likewise.
43026 * sunrpc/svc_authux.c: Likewise.
43027 * sunrpc/svc_raw.c: Likewise.
43028 * sunrpc/svc_run.c: Likewise.
43029 * sunrpc/svc_simple.c: Likewise.
43030 * sunrpc/svc_tcp.c: Likewise.
43031 * sunrpc/svc_udp.c: Likewise.
43032 * sunrpc/svc_unix.c: Likewise.
43033 * sunrpc/svcauth_des.c: Likewise.
43034 * sunrpc/xcrypt.c: Likewise.
43035 * sunrpc/xdr.c: Likewise.
43036 * sunrpc/xdr_array.c: Likewise.
43037 * sunrpc/xdr_float.c: Likewise.
43038 * sunrpc/xdr_mem.c: Likewise.
43039 * sunrpc/xdr_rec.c: Likewise.
43040 * sunrpc/xdr_ref.c: Likewise.
43041 * sunrpc/xdr_sizeof.c: Likewise.
43042 * sunrpc/xdr_stdio.c: Likewise.
43043
9da4bb31
UD
43044 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43045 handling.
43046
bdaa77bc
AS
430472010-08-19 Andreas Schwab <schwab@redhat.com>
43048
43049 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43050
fe2f79db
LM
430512010-08-19 Luis Machado <luisgpm@br.ibm.com>
43052
43053 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43054 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43055 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43056 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43057 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43058 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43059 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43060 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43061 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43062 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43063 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43064 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43065 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43066 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43067
b9b42ee0
AB
430682010-07-26 Anton Blanchard <anton@samba.org>
43069
43070 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43071 * malloc/arena.c (heap_trim): Likewise.
43072
1c06ba31
UD
430732010-08-16 Ulrich Drepper <drepper@redhat.com>
43074
43075 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43076 here. Not...
43077 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43078 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43079
f8392f40
L
430802010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43081
43082 * sysdeps/i386/elf/Makefile: New file.
43083
3162f12e
AS
430842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43085
43086 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43087 from fanotify_init.
43088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43090
28c90b2c
UD
430912010-08-15 Ulrich Drepper <drepper@redhat.com>
43092
43093 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43094 of strncasecmp_l.
1feccb6c 43095 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43096
ca6bb004
UD
430972010-08-14 Ulrich Drepper <drepper@redhat.com>
43098
e9f82e0d
UD
43099 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43100 strncase_l-nonascii.
43101 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43102 Add strncase_l-ssse3.
43103 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43104 * sysdeps/x86_64/strcmp.S: Likewise.
43105 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43106 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43107 * sysdeps/x86_64/strncase.S: New file.
43108 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43109 * sysdeps/x86_64/strncase_l.S: New file.
43110 * string/Makefile (strop-tests): Add strncasecmp.
43111 * string/test-strncasecmp.c: New file.
43112
43113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43114 warning.
43115
ca6bb004
UD
43116 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43117 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43118
052fa7b3
AS
431192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43120
43121 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43122
962dba78
UD
431232010-08-12 Ulrich Drepper <drepper@redhat.com>
43124
43125 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43126 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43127 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43128
bebff237
AM
431292010-05-01 Alan Modra <amodra@gmail.com>
43130
43131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43132 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43133 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43134 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43135 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43136 tidying. Don't tail-call __sigjmp_save for static lib.
43137 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43138 save location.
43139 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43140 (CALL_MCOUNT): Add eh info, and nop after bl.
43141 (TAIL_CALL_SYSCALL_ERROR): New macro.
43142 (PSEUDO_RET): Use it.
43143 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43144 Correct save location of integer regs and cr.
43145 (_dl_profile_resolve): Correct cr save location. Delete nops
43146 after bl when SHARED. Reduce cfi size a little by better
43147 placement of cfi directives.
43148 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43149 make a stack frame. Instead use parm save area as a temp.
43150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43151 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43153 Don't make a stack frame for parent, use parm save area.
43154 Increase child stack frame to 112 bytes. Don't save unused reg,
43155 and adjust reg usage. Set up cfi on error recovery and
43156 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43158 (__makecontext): Add dummy nop after jump to exit.
43159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43160 Use correct parm save area and cr save, reduce stack frame.
43161 Correct cfi for possible PSEUDO_RET frame setup.
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43163 Branch to local label emitted by PSEUDO_RET rather than
43164 __syscall_error.
43165
02637374
AS
431662010-08-12 Andreas Schwab <schwab@redhat.com>
43167
43168 [BZ #11904]
43169 * locale/programs/locale.c (print_assignment): New function.
43170 (show_locale_vars): Use it.
43171
c3e2f19b
UD
431722010-08-11 Ulrich Drepper <drepper@redhat.com>
43173
3cdaa6ad
UD
43174 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43175 field.
43176 (struct statfs64): Likewise.
43177 (_STATFS_F_FLAGS): Define.
43178 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43180 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43181 (ST_VALID): Define locally.
43182 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43183 __statvfs_getflags, use the provided value.
43184 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43185 __ASSUME_STATFS_F_FLAGS.
43186
754f7da3
UD
43187 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43188
10b3bedc
UD
43189 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43190 Add sys/fanotify.h.
43191 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43192 fanotify_mask for GLIBC_2.13.
43193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43194 fanotify_init and fanotify_mark.
43195 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43196 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43197
c08fb0d7
UD
43198 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43199 Add prlimit.
43200 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43201 prlimit64 for GLIBC_2.13.
43202 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43203 prlimit64.
43204 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43205 syscall.
43206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43207 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43208 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43209 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43211 add prlimit alias.
43212 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43213
15bac72b
UD
43214 [BZ #11903]
43215 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43216 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43217
c3e2f19b
UD
43218 * nss/Makefile: Add rules to build and run tst-nss-test1.
43219 * shlib-versions: Add entry for libnss_test1.
43220 * nss/nss_test1.c: New file.
43221 * nss/tst-nss-test1.c: New file.
43222
43223 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43224 (__nss_configure_lookup): Set appropriate entry in
43225 __nss_configure_lookup to true.
43226 * nss/nsswitch.h: Define enum with indeces of databases in
43227 databases and __nss_database_custom arrays. Declare
43228 __nss_database_custom.
43229 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43230 to avoid using nscd when custom rules are installed.
43231 * nss/getXXbyYY_r.c: Likewise.
43232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43233
43234 * nss/nss_files/files-parse.c: Whitespace fixes.
43235
f15ce4d8
UD
432362010-08-09 Ulrich Drepper <drepper@redhat.com>
43237
43238 [BZ #11883]
43239 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43240 * posix/fnmatch_loop.c: Likewise.
43241
d22e4cc9
AK
432422010-07-17 Andi Kleen <ak@linux.intel.com>
43243
43244 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43245 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43246 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43247 * Versions.def [GLIBC_2.13]: Add.
43248
805bc17d
UD
432492010-08-06 Ulrich Drepper <drepper@redhat.com>
43250
43251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43252 Also fail if tpwd after pwuid call is NULL.
43253
5a42321d
ST
432542010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43255
43256 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43257 when converting to ms.
43258
fd3ebeda
ST
432592010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43260
43261 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43262 EOPNOTSUPP errors with ENOTTY.
43263 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43264 EOPNOTSUPP errors with ENOTTY.
43265
73507d3a
UD
432662010-07-31 Ulrich Drepper <drepper@redhat.com>
43267
43268 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43269 Add strcasecmp_l-ssse3.
43270 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43271 strcasecmp.
43272 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43273 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43274 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43275
fe36dd02
UD
432762010-07-30 Ulrich Drepper <drepper@redhat.com>
43277
66f6765a
UD
43278 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43279
42e08a54
UD
43280 * string/Makefile (strop-tests): Add strcasecmp.
43281 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43282 strcasecmp_l-nonascii.
43283 (gen-as-const-headers): Add locale-defines.sym.
43284 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43285 * sysdeps/x86_64/strcasecmp.S: New file.
43286 * sysdeps/x86_64/strcasecmp_l.S: New file.
43287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43288 * sysdeps/x86_64/locale-defines.sym: New file.
43289 * string/test-strcasecmp.c: New file.
43290
fe36dd02
UD
43291 * string/test-strcasestr.c: Test both ends of the range of characters.
43292 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43293
48cbc0d6
RM
432942010-07-29 Roland McGrath <roland@redhat.com>
43295
76e6d6bc 43296 [BZ #11856]
48cbc0d6
RM
43297 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43298
880113d9
UD
432992010-07-27 Ulrich Drepper <drepper@redhat.com>
43300
43301 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43302 for ld.so.
43303
deb9cabb
AS
433042010-07-27 Andreas Schwab <schwab@redhat.com>
43305
43306 * manual/memory.texi (Malloc Tunable Parameters): Document
43307 M_PERTURB.
43308
1c7570ff
RM
433092010-07-26 Roland McGrath <roland@redhat.com>
43310
43311 [BZ #11840]
43312 * configure.in (-fgnu89-inline check): Set and substitute
43313 gnu89_inline, not libc_cv_gnu89_inline.
43314 * configure: Regenerated.
43315 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43316
24fb0f88
UD
433172010-07-26 Ulrich Drepper <drepper@redhat.com>
43318
43319 * string/test-strnlen.c: New file.
43320 * string/Makefile (strop-tests): Add strnlen.
43321 * string/tester.c (test_strnlen): Add a few more test cases.
43322 * string/tst-strlen.c: Better error reporting.
43323
43324 * sysdeps/x86_64/strnlen.S: New file.
43325
8e96b93a
UD
433262010-07-24 Ulrich Drepper <drepper@redhat.com>
43327
43328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43329 lower-latency instructions.
43330
dbc676d4
UD
433312010-07-23 Ulrich Drepper <drepper@redhat.com>
43332
43333 * string/test-strcasestr.c: New file.
43334 * string/test-strstr.c: New file.
43335 * string/Makefile (strop-tests): Add strstr and strcasestr.
43336 * string/str-two-way.h: Don't undefine MAX.
43337 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43338
f6a31e0e
AS
433392010-07-21 Andreas Schwab <schwab@redhat.com>
43340
43341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43342 strcasestr-nonascii.
43343 (CFLAGS-strcasestr-nonascii.c): Define.
43344 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43345 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43346 Remove unused attribute.
43347
5dbc3b6c
RM
433482010-07-20 Roland McGrath <roland@redhat.com>
43349
43350 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43351 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43352 ld.so.cache was broken. With it, there is no way to disable dsocaps
43353 like LD_HWCAP_MASK can disable hwcaps.
43354
23d101d8
EPM
433552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43356
43357 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43358
cc9f2e47
UD
433592010-07-16 Ulrich Drepper <drepper@redhat.com>
43360
43361 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43362 call in strcasestr.
43363 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43364 __strcasestr_sse42_nonascii.
43365 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43366 strcasestr-nonascii.c.
43367 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43368
77c1b069
LM
433692010-06-15 Luis Machado <luisgpm@br.ibm.com>
43370
43371 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43372 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43373 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43374 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43375
440566c3
UD
433762010-07-09 Ulrich Drepper <drepper@redhat.com>
43377
43378 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43379 fcntl.
43380
5be9d05d
AS
433812010-07-06 Andreas Schwab <schwab@redhat.com>
43382
c30b7ee2 43383 [BZ #11577]
5be9d05d
AS
43384 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43385 dl_signal_cerror.
43386
8a492a67
UD
433872010-07-06 Ulrich Drepper <drepper@redhat.com>
43388
43389 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43390 _PC_PIPE_BUF using F_GETPIPE_SZ.
43391
713df3d5
RM
433922010-07-05 Roland McGrath <roland@redhat.com>
43393
43394 * manual/arith.texi (Rounding Functions): Fix rint description
43395 implicit in round description.
43396
702e8f14
UD
433972010-07-02 Ulrich Drepper <drepper@redhat.com>
43398
43399 * elf/Makefile: Fix linking for a few tests to make recent linker
43400 happy.
43401
52ed8be9
AS
434022010-06-30 Andreas Schwab <schwab@redhat.com>
43403
43404 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43405 $(common-objpfx)libc_nonshared.a.
43406
f47c9a11
LM
434072010-06-21 Luis Machado <luisgpm@br.ibm.com>
43408
43409 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43410 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43411 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43412 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43413 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43414 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43415 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43416 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43431 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43432 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43433 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43434 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43435 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43436 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43437 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43438 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43439 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43440 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43441 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43442 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43457
6fb8cbcb
L
434582010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43459
43460 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43461 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43462 * string/memmove.c (memmove): Renamed to ...
43463 (MEMMOVE): ...this. Default to memmove.
43464 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43465 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43466 (END_CHK): Define.
43467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43468 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43469 mempcpy-ssse3-back memmove-ssse3-back.
43470 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43471 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43472 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43473 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43474 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43475 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43476 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43477 * sysdeps/x86_64/multiarch/memmove.c: New file.
43478 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43479 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43480 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43481 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43482 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43484 Define.
43485 (index_Fast_Copy_Backward): Define.
43486 (HAS_ARCH_FEATURE): Define.
43487 (HAS_FAST_REP_STRING): Define.
43488 (HAS_FAST_COPY_BACKWARD): Define.
43489
4e733bac 434902010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43491
43492 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43493 Restore proper fallback handling.
43494
63c4ed22
UD
434952010-06-19 Ulrich Drepper <drepper@redhat.com>
43496
ac2b484c
UD
43497 [BZ #11701]
43498 * posix/group_member.c (__group_member): Correct checking loop.
43499
63c4ed22
UD
43500 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43501 OOM in getpwuid_r correctly. Return error number when the caller
43502 should return, otherwise -1.
43503 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43504 call returning > 0 value.
43505 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43506
765ade4b
AS
435072010-06-07 Andreas Schwab <schwab@redhat.com>
43508
43509 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43510 libc_nonshared.a from targets in modules-names.
43511
80da2e09
KS
435122010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43513
43514 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43515 requires it.
43516
158db122
LM
435172010-06-10 Luis Machado <luisgpm@br.ibm.com>
43518
43519 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43522 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43523
caa78cf8
AS
435242010-06-02 Andreas Schwab <schwab@redhat.com>
43525
43526 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43527
b2ef2c01
UD
435282010-06-14 Ulrich Drepper <drepper@redhat.com>
43529
43530 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43531 and F_GETPIPE_SZ.
43532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43538
fbd643b6
RM
435392010-06-14 Roland McGrath <roland@redhat.com>
43540
43541 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43542
f32f2869
JJ
435432010-06-07 Jakub Jelinek <jakub@redhat.com>
43544
43545 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43546 __REDIRECT followed by __THROW.
43547 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43548 * posix/getopt.h (getopt): Likewise.
43549
2a50c078
EPM
435502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43551
43552 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43553 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43554 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43555 in AT_FLAGS.
43556 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43557 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43558
eb5ad2eb
LM
435592010-05-28 Luis Machado <luisgpm@br.ibm.com>
43560
43561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43562
3c88fe1e
L
435632010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43564
43565 [BZ #11640]
43566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43567 Properly check family and model.
43568
d2f73151
TY
435692010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43570
43571 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43572
ebd2e13d
LM
435732010-05-24 Luis Machado <luisgpm@br.ibm.com>
43574
43575 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43576
b32b8b45
UD
435772010-05-21 Ulrich Drepper <drepper@redhat.com>
43578
43579 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43580 symbol reference.
43581
9acbe24d
AS
435822010-05-19 Andreas Schwab <schwab@redhat.com>
43583
43584 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43585 symbol reference.
43586
f0ccf6ea
AS
435872010-05-21 Andreas Schwab <schwab@redhat.com>
43588
3d04ff3a
AS
43589 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43590 and internal_recvmmsg.
43591 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43592 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43593 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43594 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43595
f0ccf6ea
AS
43596 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43597 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43598 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43599
5b08ac57
AS
436002010-05-20 Andreas Schwab <schwab@redhat.com>
43601
43602 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43603
4828935d
LM
436042010-05-17 Luis Machado <luisgpm@br.ibm.com>
43605
43606 POWER7 optimizations.
43607 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43608 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43609
373d545e
UD
436102010-05-19 Ulrich Drepper <drepper@redhat.com>
43611
43612 * version.h: Update for 2.13 development version.
43613
21a2b1ae
AS
436142010-05-12 Andrew Stubbs <ams@codesourcery.com>
43615
43616 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43617 exceptions. Return 0.
43618
3f7dcb2b
RM
436192010-05-07 Roland McGrath <roland@redhat.com>
43620
43621 * elf/ldconfig.c (main): Add a const.
43622
5f24d53a 436232010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43624
a160f8d8
UD
43625 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43626 (args_options): Add no-idn option.
43627 (ahosts_keys_int): Add idn_flags to ai_flags.
43628 (parse_option): Handle 'i' option to clear idn_flags.
43629
5f24d53a
UD
43630 * malloc/malloc.c (_int_free): Possible race in the most recently
43631 added check. Only act on the data if no current modification
43632 happened.
265bb1ce
UD
43633
43634See ChangeLog.17 for earlier changes.
This page took 5.884502 seconds and 5 git commands to generate.