]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix dbl-64/wordsize-64 remquo (bug 17569).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d9afe48d
JM
12015-02-13 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #17569]
4 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5 Compute absolute value of x as modified by fmod, not original
6 value of x.
7 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
10 RUN_TEST_ffI_f1_mod8.
11 (remquo_test_data): Add more tests.
12
3846188b
RM
132015-02-13 Roland McGrath <roland@hack.frob.com>
14
15 * sysdeps/init_array/pt-crti.S: New file.
16
95c26233
JM
172015-02-13 Joseph Myers <joseph@codesourcery.com>
18
19 [BZ #17967]
20 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21 __builtin_fmaf instead of relying on contraction of a * b + c.
22
3f293d61
WP
232015-02-12 J William Piggott <elseifthen@gmx.com>
24
25 [BZ #17969]
26 * manual/time.texi: correct the zoneinfo path in the TZ Variable
27 node.
28
e8bd5286
JM
292015-02-12 Joseph Myers <joseph@codesourcery.com>
30
31 [BZ #17964]
32 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33 __builtin_fma instead of relying on contraction of a * b + c.
34
04f5a636
RM
352015-02-12 Roland McGrath <roland@hack.frob.com>
36
96a15749
RM
37 * Makeconfig (ASFLAGS): Add -Werror=undef.
38 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
40 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
41
04f5a636
RM
42 * Makeconfig (after-link): New variable.
43 (+link-pie, +link-pie-tests): Use it.
44 (+link-static, +link-static-tests): Likewise.
45 (+link, +link-tests): Likewise.
46 * Makerules (build-module, build-module-asneeded): Likewise.
47 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
48 Likewise.
49 * elf/Makefile ($(objpfx)ld.so): Likewise.
50
87a629c5
RS
512015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
52
53 [BZ #17965]
54 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
55 both struct timeval and struct timespec.
56
03d95bd4
JM
572015-02-12 Joseph Myers <joseph@codesourcery.com>
58
59 [BZ #16560]
60 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61 and redefine.
62 (__ieee754_exp2l): Do not multiply small fractional parts by
63 M_LN2l.
64 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
65 small argument.
66 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
67 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
68 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
69 * math/auto-libm-test-in: Add more tests of exp2.
70 * math/auto-libm-test-out: Regenerated.
71
98408b95
RS
722015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
73
74 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
75 unaligned path.
76
6f741503
AZ
772015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78
79 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
80 little endian.
81
2868e070
AS
822015-02-12 Andreas Schwab <schwab@suse.de>
83
84 [BZ #15790]
85 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
86 Filter out elision flags from value returned in kind.
87 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
88 * nptl/tst-pthread-mutexattr.c: New file.
89
ebf27d12
ST
902015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
91
92 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
93 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
94 into gnu-gnu, and update comment to refer to abi-tags.
95
d435569c
JM
962015-02-11 Joseph Myers <joseph@codesourcery.com>
97
98 [BZ #15467]
99 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
100 (__sincos): Set errno to EDOM for infinite argument.
101 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
102 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
103 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
104 (__sincosl): Set errno to EDOM for infinite argument.
105 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
106 (__sincosl): Set errno to EDOM for infinite argument.
107 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
108 (__sincosl): Set errno to EDOM for infinite argument.
109 * math/libm-test.inc (sincos_test_data): Test errno setting.
110
d35273f2
LH
1112015-02-11 Leonhard Holz <leonhard.holz@web.de>
112
113 * string/strxfrm_l.c: Remove #define STRCMP.
114 * string/strcoll_l.c: Remove #define STRLEN.
115 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
116 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
117
306bc0d1
JM
1182015-02-10 Joseph Myers <joseph@codesourcery.com>
119
120 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
121 * sysdeps/mips/mips32/sfp-machine.h: ... here.
122 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
123 * sysdeps/mips/mips64/Makefile: ... here.
124 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
125 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
126 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
127 * sysdeps/mips/mips64/sfp-machine.h: ... here.
128 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
129 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
130 * sysdeps/mips/mips64/n64/Implies: Likewise.
131
92b67e8d
RM
1322015-02-10 Roland McGrath <roland@hack.frob.com>
133
134 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
135 <sys/time.h>, <string.h>, and <errno.h>.
136 (dest_offset, dest_address, value, zero): Remove unused variables.
137 (ldouble): Remove typedef.
138 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
139 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
140 1). Fix code style.
141 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
142 (check): Function removed.
143 (CHECK): New macro.
144 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
145 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
146 Don't call set_sigaction_FP and remove_sigaction_FP here.
147 (ldouble_test): Just use 'long double' as macro argument, no need for
148 the 'ldouble' typedef.
149 (do_test): Set up SIGFPE handler at start, using plain signal rather
150 than sigaction. Fix code style.
151
132a1328
EF
1522015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
153
154 [BZ #17949]
155 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
156 jump label.
157
3001e54c
AZ
1582015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
159
bc0cdc49
AZ
160 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
161 * sysdeps/powerpc/powerpc32/configure: Regenerated.
162
83658961
AZ
163 * sysdeps/powerpc/configure.ac: Remove file.
164 * sysdeps/powerpc/configure: Likewise.
165
10169938
AZ
166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
167 [sysdep_routines]: Remove wordcopy-power6 object.
168 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
169 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
170 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
171 (__memmove_ppc32): Likewise.
172 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
173 file.
174 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
176 Remove preprocessor.
177
8548a53d
AZ
178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
179 [sysdep_routines]: Remove wide chars objects.
180 [wcsmbs]: New rule for wide char objects.
181
b2692114
AZ
182 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
183 Remove wordcopy-power6 obejct.
184 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
185 Use local call for wordcopy and memcpy symbols.
186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
188 implementation for loader.
189 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
190
18e270aa
AZ
191 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
192 Remove wordcopy-power7 object.
193 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
194 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
195 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
196 (_wordcopy_fwd_dest_aligned): Likewise.
197 (_wordcopy_bwd_aligned): Likewise.
198 (_wordcopy_bwd_dest_aligned): Likewise.
199
6f0993a6
AZ
200 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
201 Rewrite to call __memmove_ppc instead of include default
202 implementation.
203
3001e54c
AZ
204 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
205 Remove wide chars objects.
206 [wcsmbs]: New rule for wide char objects.
207
59b61c82
AS
2082015-02-09 Andreas Schwab <schwab@suse.de>
209
210 [BZ #17912]
211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
212 in terms of __O_DIRECTORY.
213
ebd7aede
ST
2142015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
215
216 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
217 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
218 call PTR_MANGLE.
219 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
220 PTR_DEMANGLE.
ebd7aede 221
3999d26e
PE
2222015-02-07 Paul Eggert <eggert@cs.ucla.edu>
223
224 Add ersatz _Static_assert on older C hosts
225 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
226 pre-C11 C platform that is not known to support _Static_assert.
227
e9a5bc1c
ST
2282015-02-07 Richard Braun <rbraun@sceen.net>
229
230 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
231 sigstate.
e86c5b64 232 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 233
e2049d17
ST
2342015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
235
236 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
237 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
238 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
239 instead of int.
240 * misc/fchflags.c (fchflags): Likewise.
241 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
242 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
243 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
244 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
245 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
246 Declare macros.
247 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
248 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
249 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
250 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
251 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
252 45.
a9a002fb
ST
253 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
254 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
255 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
256 MACH_RCV_TIMED_OUT.
f96ec27a
ST
257 * hurd/hurd/signal.h (_hurd_self_sigstate,
258 _hurd_critical_section_lock, _hurd_critical_section_unlock):
259 Explicit casts from void *.
4fc81a77 260 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 261 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 262
f05826f0
ST
263 [BZ #4719]
264 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
265 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
266 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
267 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
268 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
269 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
270
a5eb23de
ST
271 [BZ #17944]
272 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
273 duplicates ADDR->sun_path with sockaddr LEN limitation.
274 * sysdeps/mach/hurd/connect.c: Include <string.h>
275 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
276 * sysdeps/mach/hurd/sendmsg.c: Likewise.
277 * sysdeps/mach/hurd/sendto.c: Likewise.
278 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
279 implementing it by hand.
280
ac9e0e5e
RM
2812015-02-06 Roland McGrath <roland@hack.frob.com>
282
f8d1bb4c
RM
283 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
284 Use sfi_breg on ldr.
285 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
286 Likewise.
287
022f4812
RM
288 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
289 it's defined.
290 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
291 Test SIGSETXID only if it's defined.
292
1ac074e6
RM
293 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
294
f50ad78b
RM
295 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
296 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
297
9e7265f4
RM
298 * nptl/tst-align2.c: Moved ...
299 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
300 * nptl/Makefile (tests): Remove tst-align2.
301 * sysdeps/unix/sysv/linux/Makefile
302 [$(subdir) = nptl] (tests): Add tst-align-clone.
303 * nptl/tst-getpid1.c: Moved ...
304 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
305 * nptl/tst-getpid2.c: Moved ...
306 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
307 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
308 * sysdeps/unix/sysv/linux/Makefile
309 [$(subdir) = nptl] (tests): ... here.
310 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
311 * sysdeps/unix/sysv/linux/Makefile
312 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
313
62ad2abc
RM
314 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
315 Drop trailing \n from perror argument. Use return rather than exit.
316
cfa69b0b
RM
317 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
318 on [SA_SIGINFO].
319 * nptl/tst-cancel21.c (do_test): Likewise.
320 * debug/tst-backtrace6.c: Include <signal.h> first thing.
321 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
322 [!SA_SIGINFO]: Make it a stub test.
323
82727806
RM
324 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
325 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
326
da3a1594
RM
327 * posix/tst-getlogin.c: Move to ...
328 * login/tst-getlogin.c: ... here.
329 * posix/Makefile (tests): Move tst-getlogin to ...
330 * login/Makefile (tests): ... here.
331
b65c0ff9
RM
332 * libio/tst-atime.c (do_test): Move local variables SV and E
333 inside [ST_NOATIME] conditional.
334
56606ab3
RM
335 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
336
ebf7d6ee
RM
337 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
338
ca0e0675
RM
339 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
340 (wait_code): New function replaces macro.
341 Call nanosleep rather than syscall.
342
8c28bbc6
RM
343 * nptl/pt-system.c: Rewritten. Put everything under
344 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
345 Use IFUNC to redirect when possible.
346
ec2a88b3
RM
347 * nptl/pt-longjmp.c: Rewritten. Put everything under
348 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
349 Use IFUNC to redirect when possible.
350
beff1d13
RM
351 * nptl/pt-fork.c: Rewritten. Put everything under
352 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
353 Use IFUNC to redirect when possible.
354 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
355
ea02c6b8
RM
356 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
357 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
358 unconditionally nowadays. This included the only reference to
359 __vdso_clock_gettime that appears outside libc proper.
360 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
361 Remove version set (containing only __vdso_clock_gettime).
362 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
363 Add attribute_hidden.
364 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
365 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
366 libc_hidden_data_def.
367 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
369
a1309c2b
RM
370 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
371 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
372 setrpcent, and getrpcport to ...
373 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
374 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
375 getrpcbynumber_r, and getrpcent_r to ...
376 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
377 * inet/getrpcbyname.c: Moved ...
378 * sunrpc/getrpcbyname.c: ... here.
379 * inet/getrpcbyname_r.c: Moved ...
380 * sunrpc/getrpcbyname_r.c: ... here.
381 * inet/getrpcbynumber.c: Moved ...
382 * sunrpc/getrpcbynumber.c: ... here.
383 * inet/getrpcbynumber_r.c: Moved ...
384 * sunrpc/getrpcbynumber_r.c: ... here.
385 * inet/getrpcent.c: Moved ...
386 * sunrpc/getrpcent.c: ... here.
387 * inet/getrpcent_r.c: Moved ...
388 * sunrpc/getrpcent_r.c: ... here.
389 * inet/Makefile (routines): Move those to ...
390 * sunrpc/Makefile (routines): ... here.
391 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
392 the $(subdirs) list.
393 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
394 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
395 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
396 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
397
ac9e0e5e
RM
398 * elf/Makefile (routines): Include $(all-dl-routines), not just
399 $(dl-routines).
400 (rtld-routines): Likewise. Use = rather than :=.
401 * sysdeps/aarch64/Makefile [$(subdir) = elf]
402 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
403 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
404 * sysdeps/arm/Makefile: Likewise.
405 * sysdeps/i386/Makefile: Likewise.
406 * sysdeps/x86_64/Makefile: Likewise.
407 * sysdeps/hppa/Makefile [$(subdir) = elf]
408 (sysdep_routines, sysdep-rtld-routines): Don't add
409 $(sysdep-dl-routines) to these.
410 * sysdeps/ia64/Makefile: Likewise.
411 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
412 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
413 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
414 Don't add dl-static to these; sysdep-dl-routines alone is enough.
415 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
416 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
418 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
419 * sysdeps/powerpc/Makefile [$(subdir) = elf]
420 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
421 these; sysdep-dl-routines alone is enough.
422
639e42eb
JM
4232015-02-06 Joseph Myers <joseph@codesourcery.com>
424
1c7a4a51
JM
425 [BZ #17932]
426 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
427 where multiplication results in zero and third argument is finite
428 and nonzero.
429 * math/auto-libm-test-in: Add more tests of fma.
430 * math/auto-libm-test-out: Regenerated.
431
61f006c1
JM
432 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
433 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
434 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
435 (_FP_CMP_EQ): Likewise.
436 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
437
639e42eb
JM
438 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
439 extra argument CHECK_NAN. Redefine as wrapper around
440 _FP_EXTEND_CNAN.
441
3c0c543b
CD
4422015-02-06 Carlos O'Donell <carlos@systemhalted.org>
443
4e42b5b8
CD
444 * version.h (RELEASE): Set to "stable".
445 (VERSION): Set to "2.21"
446 * include/features.h (__GLIBC_MINOR__): Set to 21.
447
3c0c543b
CD
448 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
449
5bd80bfe 4502015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 451 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
452
453 [BZ #16618]
454 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
455 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
456 size in bytes. Store needed elements in wpmax. Use needed size
457 in bytes for extend_alloca.
458
3f823f48
CD
4592015-02-05 Carlos O'Donell <carlos@systemhalted.org>
460
04cb913d
CD
461 * manual/install.texi: Latest tested versions are GCC 4.9.2,
462 binutls 2.25, and texinfo 5.2.
463 * INSTALL: Regenerate.
464 * sysdeps/nios2/configure: Regenerate.
465 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
466 * manual/contrib.texi: Update.
467 * po/be.po: Update.
468 * po/bg.po: Update.
469 * po/ca.po: Update.
470 * po/cs.po: Update.
471 * po/da.po: Update.
472 * po/de.po: Update.
473 * po/el.po: Update.
474 * po/eo.po: Update.
475 * po/es.po: Update.
476 * po/fi.po: Update.
477 * po/fr.po: Update.
478 * po/gl.po: Update.
479 * po/hr.po: Update.
480 * po/hu.po: Update.
481 * po/ia.po: Update.
482 * po/id.po: Update.
483 * po/it.po: Update.
484 * po/ja.po: Update.
485 * po/ko.po: Update.
486 * po/lt.po: Update.
487 * po/nb.po: Update.
488 * po/nl.po: Update.
489 * po/pl.po: Update.
490 * po/pt_BR.po: Update.
491 * po/ru.po: Update.
492 * po/rw.po: Update.
493 * po/sk.po: Update.
494 * po/sl.po: Update.
495 * po/sv.po: Update.
496 * po/tr.po: Update.
497 * po/uk.po: Update.
498 * po/vi.po: Update.
499 * po/zh_CN.po: Update.
500 * po/zh_TW.po: Update.
501
3f823f48
CD
502 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
503 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
504 * sysdeps/hppa/dl-irel.h: Remove #warning.
505 * sysdeps/hppa/entry.h: Provide prototype for
506 __canonicalize_funcptr_for_compare and cast argument.
507 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
508 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
509 * sysdeps/hppa/sotruss-lib.c: New file.
510 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
511 (atomic_compare_and_exchange_val_acq): Use __typeof__.
512 (atomic_compare_and_exchange_bool_acq): Likewise.
513 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
514 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
515
516 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
517 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
518 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
519
34c56048
CLT
5202015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
521
522 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
523 called function in non-PIC case.
524
d4abeca5
DM
5252015-01-31 David S. Miller <davem@davemloft.net>
526
edac0a60
DM
527 * sysdeps/sparc/sparc32/bits/atomic.h
528 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
529 unlock not after it.
530 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
531 volatile register usage warnings from the compiler.
532
d4abeca5
DM
533 * sysdeps/sparc/nptl/sem_init.c: Delete.
534 * sysdeps/sparc/nptl/sem_post.c: Delete.
535 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
536 * sysdeps/sparc/nptl/sem_wait.c: Delete.
537 * sysdeps/sparc/sparc32/sem_init.c: New file.
538 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
539 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
540 padding explicitly initialized.
541 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
542 padding for in-semaphore spinlock.
543 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
544 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
545 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
546 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
547 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
548 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
549 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
550 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
551 version.
552 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
553 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
554
5f3d0b78
L
5552015-01-30 H.J. Lu <hongjiu.lu@intel.com>
556
557 [BZ #17801]
558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
559 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
560 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
561 New.
562 (index_AVX_Fast_Unaligned_Load): Likewise.
563 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
564 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
565 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
566 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
567 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
568 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
569 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
570 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
571 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
572
b658fdd8
AS
5732015-01-29 Andreas Schwab <schwab@suse.de>
574
575 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
576
3cb26316
SP
5772015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
578
579 [BZ #17892]
580 * nscd/nscd_stat.c (send_stats): Initialize DATA.
581
527de9e4
MS
5822015-01-28 Martin Sebor <msebor@redhat.com>
583
584 * math/README.libm-test: Clarify. Add "How to read the test output."
585
06991eb8
CM
5862015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
587
588 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
589 Define to 0.
590
df341342
JM
5912015-01-28 Joseph Myers <joseph@codesourcery.com>
592
593 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
594 (__HAVE_64B_ATOMICS): Define to 0.
595
08cee2a4
AZ
5962015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
597
d4d0ecb2
AZ
598 [BZ #17885]
599 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
600 value to set as new flag.
601
08cee2a4
AZ
602 [BZ #16576]
603 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
604 and use _ARCH_PPCSQ instead.
605 (__ieee754_sqrt): Likewise.
606 (__ieee754_sqrtf): Likewise.
607 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
608 _ARCH_PPCSQ is defined.
609 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
610 fsqrt instruction.
611 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
612 _ARCH_PPCSQ is defined.
613 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
614 fsqrts instruction.
615 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
616
5fe8e359
AK
6172015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
618
619 * iconv/loop.c: Suppress array out of bound warning caused by GCC
620 bug (GCC BZ #64739).
621
24bb7432
AS
6222015-01-25 Andreas Schwab <schwab@linux-m68k.org>
623
fa20da31
AS
624 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
625 Mark _retval as used.
626 (lll_futex_wake_unlock): Likewise.
627 (lll_futex_timed_wait_requeue_pi): Likewise.
628
45819cbc
AS
629 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
630 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
631 register variables.
632
403cc231
AS
633 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
634 libm_hidden_def.
635
24bb7432
AS
636 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
637 (__bswap_64): Mark as __always_inline.
638
9317ea65
B
6392015-01-25 Bram <bug_rh@spam.wizbit.be>
640
641 [BZ #15378]
642 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
643 when none of the search directories exist.
644
0e87343e
AZ
6452015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
646
bea58013
AZ
647 [BZ #17869]
648 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
649 power8 in .machine directive.
650
0e87343e
AZ
651 [BZ #17868]
652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
653 set dependency from opd value.
654
ede0236c
L
6552015-01-23 H.J. Lu <hongjiu.lu@intel.com>
656
657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
658 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
659 architecture.
ede0236c 660
22971c35
L
6612015-01-23 H.J. Lu <hongjiu.lu@intel.com>
662
663 [BZ #17870]
664 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
665 with uint64_t.
666 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
667 (uint64_t) 1.
e0da28a1 668 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
669 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
670 Replace 1UL with (uint64_t) 1.
671 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
672 int with uint64_t.
673
da5bf245
RM
6742015-01-23 Roland McGrath <roland@hack.frob.com>
675
2ec2d703
RM
676 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
677 (if_freenameindex): Likewise.
678
da5bf245
RM
679 * resource/getrlimit64.c: Add missing libc_hidden_def.
680
d7423856
JM
6812015-01-22 Joseph Myers <joseph@codesourcery.com>
682
683 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
684 __label__.
685 (_FP_FMA): Likewise.
686 (_FP_TO_INT_ROUND): Likewise.
687 (_FP_FROM_INT): Likewise.
688
6b2ba95b
AZ
6892015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690
691 [BZ #16418]
692 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
693 Make code racy and cancel safe.
694
ccdb048d
CD
6952015-01-21 Carlos O'Donell <carlos@redhat.com>
696
191220b3
CD
697 * sysdeps/arm/unwind-resume.h: Fix copyright year.
698 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
699 attribution.
700
0897c551
CD
701 * pwd/tst-getpw.c: Rewrite.
702
ccdb048d
CD
703 [BZ #17702]
704 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
705 (modules-names): Add moddummy1 and moddummy2.
706 ($(objpfx)tst-rec-dlopen): Define.
707 * dlfcn/moddummy1.c: New file.
708 * dlfcn/moddummy2.c: New file.
709 * dlfcn/tst-rec-dlopen.c: New file.
710 * elf/dl-cache.c (_dl_load_cache_lookup):
711 Return char*. Copy result with alloca/strcpy/strdup.
712 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
713 returns char*. Free cached. If not saving realname
714 free cached.
715 * elf/dl-open.c (dl_open_worker): Do not assert that
716 _r_debug->r_state is RT_CONSISTENT.
717 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
718 returns char*.
719
042e1521
CD
7202015-01-21 Torvald Riegel <triegel@redhat.com>
721 Carlos O'Donell <carlos@redhat.com>
722
723 [BZ #12674]
724 * nptl/sem_waitcommon.c: New file.
725 * nptl/sem_wait.c: Include sem_waitcommon.c.
726 (__sem_wait_cleanup, do_futex_wait): Remove.
727 (__new_sem_wait): Adapt.
728 (__new_sem_trywait): New function.
729 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
730 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
731 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
732 (sem_timedwait): Adapt.
733 * nptl/sem_post.c (__new_sem_post): Adapt.
734 (futex_wake): New function.
735 (__old_sem_post): Add release MO fence.
736 * nptl/sem_open.c (sem_open): Adapt.
737 * nptl/sem_init.c (__new_sem_init): Adapt.
738 (futex_private_if_supported): New function.
739 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
740 (__old_sem_getvalue): Add using previous code.
741 * sysdeps/nptl/internaltypes.h: Adapt.
742 * nptl/tst-sem13.c (do_test): Adapt.
743 * nptl/tst-sem11.c (main): Adapt.
744 * nptl/sem_trywait.c: Remove.
745 * nptl/DESIGN-sem.txt: Remove.
746 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
747 (gen-as-const-headers): Remove structsem.sym.
748 * nptl/structsem.sym: Remove.
749 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
750 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
751 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
752 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
753 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
754 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
755 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
756 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
757 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
758 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
759 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
760 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
761 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
762 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
763 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
764 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
765 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
766 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
767 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
768 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
769 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
770 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
771
fe0e85af
CD
7722015-01-20 Carlos O'Donell <carlos@redhat.com>
773
a8db092e
CD
774 * INSTALL: Regenerated.
775
fe0e85af
CD
776 * po/libc.pot: Regenerated.
777
522e6ee3
CLT
7782015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
779 Sandra Loosemore <sandra@codesourcery.com>
780 Andrew Jenner <andrew@codesourcery.com>
781 Joseph Myers <joseph@codesourcery.com>
782 Nathan Sidwell <nathan@codesourcery.com>
783
784 * NEWS: Mention new Nios II port.
785 * sysdeps/nios2/Implies: New file.
786 * sysdeps/nios2/Makefile: New file.
787 * sysdeps/nios2/Subdirs: New file.
788 * sysdeps/nios2/Versions: New file.
789 * sysdeps/nios2/__longjmp.S: New file.
790 * sysdeps/nios2/abort-instr.h: New file.
791 * sysdeps/nios2/backtrace.c: New file.
792 * sysdeps/nios2/bits/endian.h: New file.
793 * sysdeps/nios2/bits/fenv.h: New file.
794 * sysdeps/nios2/bits/link.h: New file.
795 * sysdeps/nios2/bits/setjmp.h: New file.
796 * sysdeps/nios2/bsd-_setjmp.S: New file.
797 * sysdeps/nios2/bsd-setjmp.S: New file.
798 * sysdeps/nios2/configure: New generated file.
799 * sysdeps/nios2/configure.ac: New file.
800 * sysdeps/nios2/crti.S: New file.
801 * sysdeps/nios2/crtn.S: New file.
802 * sysdeps/nios2/dl-init.c: New file.
803 * sysdeps/nios2/dl-machine.h: New file.
804 * sysdeps/nios2/dl-sysdep.h: New file.
805 * sysdeps/nios2/dl-tls.h: New file.
806 * sysdeps/nios2/dl-trampoline.S: New file.
807 * sysdeps/nios2/gccframe.h: New file.
808 * sysdeps/nios2/gmp-mparam.h: New file.
809 * sysdeps/nios2/jmpbuf-offsets.h: New file.
810 * sysdeps/nios2/jmpbuf-unwind.h: New file.
811 * sysdeps/nios2/ldsodefs.h: New file.
812 * sysdeps/nios2/libc-tls.c: New file.
813 * sysdeps/nios2/libm-test-ulps: New file.
814 * sysdeps/nios2/machine-gmon.h: New file.
815 * sysdeps/nios2/math-tests.h: New file.
816 * sysdeps/nios2/math_private.h: New file.
817 * sysdeps/nios2/memusage.h: New file.
818 * sysdeps/nios2/nptl/Makefile: New file.
819 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
820 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
821 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
822 * sysdeps/nios2/nptl/pthreaddef.h: New file.
823 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
824 * sysdeps/nios2/nptl/tls.h: New file.
825 * sysdeps/nios2/preconfigure: New file.
826 * sysdeps/nios2/s_fma.c: New file.
827 * sysdeps/nios2/s_fmaf.c: New file.
828 * sysdeps/nios2/setjmp.S: New file.
829 * sysdeps/nios2/sfp-machine.h: New file.
830 * sysdeps/nios2/sotruss-lib.c: New file.
831 * sysdeps/nios2/stackguard-macros.h: New file.
832 * sysdeps/nios2/stackinfo.h: New file.
833 * sysdeps/nios2/start.S: New file.
834 * sysdeps/nios2/sysdep.h: New file.
835 * sysdeps/nios2/tls-macros.h: New file.
836 * sysdeps/nios2/tst-audit.h: New file.
837 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
838 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
839 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
840 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
841 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
842 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
843 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
844 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
845 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
846 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
847 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
848 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
849 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
850 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
851 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
852 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
853 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
854 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
855 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
856 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
857 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
858 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
859 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
860 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
861 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
862 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
863 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
864 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
865 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
866 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
867 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
868 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
869 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
870 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
871 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
872 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
873 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
874 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
875 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
876 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
877 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
878 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
879 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
880 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
881
026eb207
SL
8822015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
883
884 [BZ #17844]
885 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
886 (getutent): Use weak_alias in non SHARED case
887 and default_symbol_version in SHARED case.
888 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
889 (getutent_r, pututline): Likewise.
890 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
891 (getutid): Likewise.
892 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
893 (getutid_r): Likewise.
894 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
895 (getutline): Likewise.
896 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
897 (getutline_r): Likewise.
898 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
899 (updwtmp): Likewise.
900
1d532483
SL
9012015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
902
903 [BZ #17848]
904 * sysdeps/s390/s390-32/memcmp.S
905 (memcmp_g5): Rename to __memcmp_g5.
906 * sysdeps/s390/s390-32/memcpy.S
907 (memcpy_g5): Rename to __memcpy_g5.
908 Jump to __memcpy_mvcle instead of memcpy_mvcle.
909 (memcpy_mvcle) Rename to __memcpy_mvcle.
910 * sysdeps/s390/s390-32/memset.S
911 (memset_g5): Rename to __memset_g5.
912 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
913 (IFUNC_RESOLVE): Prefix ifunc-resolve function
914 and use prefixed functions.
915 * sysdeps/s390/s390-32/multiarch/memcmp.S
916 (memcmp_z196): Rename to __memcmp_z196.
917 (memcmp_z10): Rename to __memcmp_z10.
918 (memcmp): Set alias to __memcmp_g5.
919 (bcmp): Set alias to __memcmp_g5.
920 * sysdeps/s390/s390-32/multiarch/memcpy.S
921 (memcpy_z196): Rename to __memcpy_z196.
922 Jump to __memcpy_mvcle instead of memcpy_mvcle.
923 (memcpy_z10): Rename to __memcpy_z10.
924 Jump to __memcpy_mvcle instead of memcpy_mvcle.
925 (memcpy): Set alias to __memcpy_g5.
926 * sysdeps/s390/s390-32/multiarch/memset.S
927 (memset_z196): Rename to __memset_z196.
928 Jump to __memset_mvcle instead of memset_mvcle.
929 (memset_z10): Rename to __memset_z10.
930 Jump to __memset_mvcle instead of memset_mvcle.
931 (memset_mvcle) Rename to __memset_mvcle.
932 (memset): Set alias to __memset_g5.
933 * sysdeps/s390/s390-64/memcmp.S
934 (memcmp_z900): Rename to __memcmp_z900.
935 * sysdeps/s390/s390-64/memcpy.S
936 (memcpy_z900): Rename to __memcpy_z900.
937 Jump to __memcpy_mvcle instead of memcpy_mvcle.
938 (memcpy_mvcle) Rename to __memcpy_mvcle.
939 * sysdeps/s390/s390-64/memset.S
940 (memset_z900): Rename to __memset_z900.
941 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
942 (IFUNC_RESOLVE): Prefix ifunc-resolve function
943 and use prefixed functions.
944 * sysdeps/s390/s390-64/multiarch/memcmp.S
945 (memcmp_z196): Rename to __memcmp_z196.
946 (memcmp_z10): Rename to __memcmp_z10.
947 (memcmp): Set alias to __memcmp_z900.
948 (bcmp): Set alias to __memcmp_z900.
949 * sysdeps/s390/s390-64/multiarch/memcpy.S
950 (memcpy_z196): Rename to __memcpy_z196.
951 Jump to __memcpy_mvcle instead of memcpy_mvcle.
952 (memcpy_z10): Rename to __memcpy_z10.
953 Jump to __memcpy_mvcle instead of memcpy_mvcle.
954 (memcpy): Set alias to __memcpy_z900.
955 * sysdeps/s390/s390-64/multiarch/memset.S
956 (memset_z196): Rename to __memset_z196.
957 Jump to __memset_mvcle instead of memset_mvcle.
958 (memset_z10): Rename to __memset_z10.
959 Jump to __memset_mvcle instead of memset_mvcle.
960 (memset_mvcle) Rename to __memset_mvcle.
961 (memset): Set alias to __memset_z900.
962
53fbd169
JM
9632015-01-14 Joseph Myers <joseph@codesourcery.com>
964
965 [BZ #17748]
966 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
967 __fesetenv instead of fesetenv.
968
d639a363
SP
9692015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
970
971 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
972 macro.
973
d3b00f46
AZ
9742015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975
ce6615c9
AZ
976 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
977 regression on LE.
978
d3b00f46
AZ
979 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
980 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
981 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
982 strncmp-power8 object.
983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
984 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
985 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
986 * NEWS: Update.
987
72607db0
RS
9882015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
989 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
990
991 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
992 trailing byte check.
993
54dc5461
DM
9942015-01-13 David S. Miller <davem@davemloft.net>
995
996 * include/signal.h (__sigreturn): Guard with __USE_MISC.
997
1c6e6f23
RM
9982015-01-13 Roland McGrath <roland@hack.frob.com>
999
1000 * login/logout.c (logout): Use memset rather than bzero.
1001 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1002 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1003 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1004 (_gethtbyaddr): Likewise.
1005 * locale/programs/simple-hash.c (bcopy): Macro removed.
1006
96d6fd6c
AZ
10072015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008
8bedcb5f
AZ
1009 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1010 Add strcmp-power8 object.
1011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1012 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1013 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1014 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1015 __strcmp_power8 implementation.
1016 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1017 * NEWS: Update.
1018
f06a4faf
AZ
1019 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1020 Add strncpy-power8 and stpncpy-power8 objects.
1021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1023 implementations.
1024 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1025 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1026 __stpncpy_power8 implementation.
1027 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1028 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1029 __strncpy_power8 implementation.
1030 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1031 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1032 * NEWS: Update.
1033
9f2f36e5
AZ
1034 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1035 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1036 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1037
96d6fd6c 1038 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1039 strncat-power8 object.
1040 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1041 __strcat_power8 implementation.
1042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1043 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1044 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1045 optimized strcat for power8.
1046
1047 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1048 strcpy-power8 and stpcpy-power8 objects.
1049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1050 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1051 implementations.
1052 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1053 multiarch stpcpy implementation for POWER8.
1054 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1055 multiarch strcpy implementation for POWER8.
1056 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1057 __strcpy_power8 function.
1058 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1059 stpcpy for POWER8.
1060 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1061 strcpy for POWER8.
1062 * NEWS: Update.
1063
0f9e5854
LH
10642015-01-13 Leonhard Holz <leonhard.holz@web.de>
1065
1066 [BZ #16009]
1067 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1068 weights and rules. Use do_xfrm_cached if data fits in cache,
1069 do_xfrm otherwise. Moved former main loop to...
1070 * (do_xfrm_cached): New function.
1071 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1072 find_idx, find_position and stack_push.
1073 * (find_idx): New function.
1074 * (find_position): Likewise.
1075 * localedata/sort-test.sh: Added test run for do_xfrm.
1076 * localedata/xfrm-test.c (main): Added command line option
1077 -nocache to run the test with strings that are too large for
1078 the STRXFRM cache.
1079
c60ec0e0
TR
10802015-01-13 Torvald Riegel <triegel@redhat.com>
1081
1082 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1083 variable to lll_futex_wake call, not the value itself.
1084
34e93d6c
JM
10852015-01-12 Joseph Myers <joseph@codesourcery.com>
1086
5a9e4c09
JM
1087 [BZ #17803]
1088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1089 twom64. Adjust value to 0x1p-64L.
1090 (__scalblnl): Only return standard underflowing result for K <=
1091 -64 not K <= -63; adjust exponent for underflowing result by 64
1092 not 63.
1093 * math/libm-test.inc (scalbn_test_data): Add more tests.
1094 (scalbln_test_data): Likewise.
1095
34e93d6c
JM
1096 [BZ #17834]
1097 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1098 0x1p63L.
1099 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1100 not HX.
1101 * math/libm-test.inc (scalbn_test_data): Add more tests.
1102 (scalbln_test_data): Likewise.
1103
ca677d3c
AZ
11042015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105 Stefani Seibold <stefani@seibold.net>
1106
1107 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1108 (sysdep_routines): Add dl-vdso here, ...
1109 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1110 (sysdep_routines): ... not here.
1111 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1112 fallback when vDSO is not presented.
1113 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1114 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1115 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1116 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1117 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1118 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1119 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1121 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1123 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1124 fallback configurable symbol when vDSO is not available.
1125 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1126 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1127 be able to redefine fallback symbol when vDSO is not available.
1128 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1129 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1130
49a9f6ab 11312015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1132
56cf2763
AZ
1133 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1134 (TLS_INIT_TP): Add tm_capable initialization.
1135 (TLS_DEFINE_INIT_TP): Likewise.
1136 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1137 TCB.
1138 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1139 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1140 calculation.
1141 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1142 transactoion is lock elision is built and TCB tm_capable is set.
1143 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1145 (INTERNAL_SYSCALL_NCS): Likewise.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1147 (INTERNAL_SYSCALL_NCS): Likewise.
1148 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1149
4b45943a
AZ
1150 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1151 for powerpc.
1152 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1153 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1154 and remove it for 32 bits case.
1155 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1157 initialization.
1158 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1159 Disable lock elision with rdlocks if elision is not available.
1160
8d2c0a59
AZ
1161 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1162 (sysdep_routines): Add lock elision objects.
1163 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1164 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1165 [pthread_mutex_t] (__elision): Add field.
1166 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1167 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1168 elision definitions for powerpc.
1169 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1170 implementation of lock elision for powerpc.
1171 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1172 implementation of timed lock elision for powerpc.
1173 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1174 implementation of trylock with lock elision for powerpc.
1175 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1176 implementaion of unlock for lock elision for powerpc.
1177 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1178 automatic enable lock elision for mutexes.
1179 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1180 transaction execution definitions for powerpc.
1181 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1182 definitions.
1183 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1184 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1186 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1187 * NEWS: Update.
1188
bc0ed9f7
RM
11892015-01-09 Roland McGrath <roland@hack.frob.com>
1190
1191 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1192 for #include of <shm-directory.h>.
1193
585d9c18
CLT
11942015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1195
1196 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1197 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1198
aee6626c
MF
11992015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1200
1201 [BZ #17791]
1202 * NEWS: Mention bug fix.
1203 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1204 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1205 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1206
9e560f48
TR
12072015-01-09 Torvald Riegel <triegel@redhat.com>
1208
1209 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1210
e1cfbd0c
TR
12112015-01-09 Torvald Riegel <triegel@redhat.com>
1212
1213 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1214
cf71e44f
DH
12152015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1216
1217 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1218 pointer and cast to uintptr_t.
1219
b360ee62
DH
12202015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1221
1222 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1223 removed.
1224 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1225
caff764e
DH
12262015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1227
1228 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1229 of 0.
1230
59ff172f
RM
12312015-01-08 Roland McGrath <roland@hack.frob.com>
1232
c97d27f1
RM
1233 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1234 <nptl/pthreadP.h> instead.
1235 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1236
08734ccd
RM
1237 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1238 already defined.
1239 [__SIGRTMIN] (init): Function removed.
1240 [__SIGRTMIN] (initialized): Variable removed.
1241 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1242 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1243 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1244 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1245 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1246 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1247 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1248 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1249 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1250 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1251 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1252 * sysdeps/nptl/allocrtsig.c: New file.
1253 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1254 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1255 * sysdeps/generic/testrtsig.h: File removed.
1256
7b052e33
RM
1257 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1258 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1259
cc40d25e
RM
1260 * nptl/nptl-init.c (pthread_functions): Conditionalize
1261 .ptr__nptl_setxid initialization on [SIGSETXID].
1262
9287adf0
RM
1263 * sysdeps/nptl/sys/procfs.h: New file.
1264 * nptl_db/Makefile (headers): Add it.
1265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1266
59ff172f
RM
1267 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1268 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1269 * nptl/pthread_attr_setaffinity.c: Include it.
1270 * nptl/pthread_setattr_default_np.c: Likewise.
1271 * nptl/check-cpuset.h: New file.
1272
b9205857
RH
12732015-01-08 Richard Henderson <rth@redhat.com>
1274
1275 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1276 (CFLAGS-tst-execstack-prog.c): Likewise.
1277 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1278
1a0a8d15
CLT
12792015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1280 Sandra Loosemore <sandra@codesourcery.com>
1281 Andrew Jenner <andrew@codesourcery.com>
1282 Joseph Myers <joseph@codesourcery.com>
1283 Nathan Sidwell <nathan@codesourcery.com>
1284
1285 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1286 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1287 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1288 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1289 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1290 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1291 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1292 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1293 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1294 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1295 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1296 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1297 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1298 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1299 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1300 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1301 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1302
dd6e8af6
AZ
13032015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304
1305 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1306 timespec struct member in syscall macro.
1307 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1308 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1309 first timeval struct member in syscall macro.
1310 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1311
8116321f
JM
13122015-01-07 Joseph Myers <joseph@codesourcery.com>
1313
1314 [BZ #17748]
1315 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1316 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1317 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1318 __feupdateenv and define as weak alias of __feupdateenv. Use
1319 libm_hidden_weak.
1320 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1321 libm_hidden_def.
1322 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1323 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1324 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1325 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1326 libm_hidden_def.
1327 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1328 __feupdateenv and define as weak alias of __feupdateenv. Use
1329 libm_hidden_weak.
1330 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1331 libm_hidden_def.
1332 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1333 __feupdateenv and define as weak alias of __feupdateenv. Use
1334 libm_hidden_weak.
1335 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1336 libm_hidden_def.
1337 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1338 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1339 (__feupdateenv): Likewise.
1340 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1341 __feupdateenv and define as weak alias of __feupdateenv. Use
1342 libm_hidden_weak.
1343 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1344 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1345 libm_hidden_def.
1346 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1347 function.
1348 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1349 libm_hidden_def.
1350 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1351 __feupdateenv instead of feupdateenv.
1352 (default_libc_feupdateenv_test): Likewise.
1353 (libc_feresetround_ctx): Likewise.
1354
882dfe18
AZ
13552015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1356
1357 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1358 prototype.
1359
39a12f8d
CM
13602015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1361
1362 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1363 COLL_SYM in a couple of places to avoid uninitialized variable
1364 wanings on tilegx gcc 4.8.2.
1365
dc400d7b
RE
13662015-01-07 Richard Earnshaw <rearnsha@arm.com>
1367
1368 * sysdeps/aarch64/strcpy.S: New file.
1369 * sysdeps/aarch64/stpcpy.S: New file.
1370 * NEWS: Updated.
1371
ec582ca0
RE
13722015-01-07 Richard Earnshaw <rearnsha@arm.com>
1373
1374 * sysdeps/aarch64/strrchr.S: New file.
1375 * NEWS: Updated.
1376
d5b1c5ed
EB
13772015-01-07 Eric Biggers <ebiggers3@gmail.com>
1378
1379 [BZ #17658]
1380 * stdlib/setenv.c: Fix memory leak when setting large,
1381 duplicate string.
1382
fb87ee96
VN
13832015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1384
60f046a8 1385 [BZ #17273]
fb87ee96
VN
1386 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1387 and tabs from buffer before parsing fstab entry.
1388 * misc/tst-mntent.c (main): Add test for mount entry with
1389 trailing spaces and tabs.
1390
cd42798a
JM
13912015-01-06 Joseph Myers <joseph@codesourcery.com>
1392
01238691
JM
1393 [BZ #17748]
1394 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1395 * math/fesetround.c (fesetround): Rename to __fesetround and
1396 define as weak alias of __fesetround. Use libm_hidden_weak.
1397 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1398 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1399 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1400 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1401 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1402 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1403 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1404 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1405 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1406 __fesetround_inline.
1407 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1408 __fesetround_inline instead of __fesetround.
1409 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1410 __fesetround and define as weak alias of __fesetround. Use
1411 libm_hidden_weak. Call __fesetround_inline instead of
1412 __fesetround.
1413 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1414 __fesetround and define as weak alias of __fesetround. Use
1415 libm_hidden_weak.
1416 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1417 Likewise.
1418 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1419 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1420 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1421 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1422 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1423 __fesetround and define as weak alias of __fesetround. Use
1424 libm_hidden_weak.
1425 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1426 __fesetround instead of fesetround.
1427 (default_libc_feholdexcept_setround): Likewise.
1428 (libc_feholdsetround_ctx): Likewise.
1429 (libc_feholdsetround_noex_ctx): Likewise.
1430
cd42798a
JM
1431 [BZ #17748]
1432 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1433 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1434 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1435 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1436 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1437 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1438 define as weak alias of __fesetenv. Use libm_hidden_weak.
1439 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1440 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1441 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1442 define as weak alias of __fesetenv. Use libm_hidden_weak.
1443 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1444 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1445 define as weak alias of __fesetenv. Use libm_hidden_weak.
1446 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1447 libm_hidden_def.
1448 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1449 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1450 Likewise.
1451 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1452 define as weak alias of __fesetenv. Use libm_hidden_weak.
1453 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1454 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1455 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1456 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1457 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1458 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1459 __fesetenv instead of fesetenv.
1460 (libc_feresetround_noex_ctx): Likewise.
1461 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1462 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1463 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1464 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1465 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1466 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1467 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1468 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1469 (__feupdateenv): Likewise.
1470 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1471 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1472 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1473 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1474
38949026
AJ
14752015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1476
1cf98e27 1477 [BZ #17806]
38949026
AJ
1478 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1479 addresses have been freed.
1480
5fe55e9c
AJ
14812015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1482
1483 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1484 and nservall.
1485
dc8ab018
OB
14862015-01-06 Ondřej Bílka <neleai@seznam.cz>
1487
1488 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1489 Clean up check_pf allocation pattern. addresses
1490
14bb4e57
AZ
14912015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492
1493 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1494 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1495 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1496 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1497 * nptl/pthread_join.c (pthread_join): Likewise.
1498 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1499 * sysdeps/posix/waitid.c (__waitid): Likewise.
1500 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1501 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1502 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1503 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1504 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1505 Likewise.
1506 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1507 (__libc_pread64): Likewise.
1508 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1509 (__libc_pwrite): Likewise.
1510 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1511 (__libc_pwrite64): Likewsie.
1512 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1513 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1514 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1515 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1516 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1517 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1518 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1520 Likewise.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1522 (__libc_pread64): Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1524 Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1526 (__libc_pwrite64): Likewise.
1527 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1528 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1529 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1530 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1531 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1532 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1533 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1534 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1535 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1536 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1537 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1538 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1539 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1540 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1541 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1542 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1543 Likewise.
1544
10a5e112
AS
15452015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1546
1547 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1548 (CFLAGS-test-double.c): Likewise.
1549 (CFLAGS-test-ldouble.c): Likewise.
1550 (CPPFLAGS-test-ifloat.c): Likewise.
1551 (CPPFLAGS-test-idouble.c): Likewise.
1552 (CPPFLAGS-test-ildoubl.c): Likewise.
1553 (CFLAGS-test-test-fenv.c): Remove variable.
1554 (CFLAGS-test-misc.c): Likewise.
1555
57ada0e7
L
15562015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1557
1558 [BZ #17797]
1559 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1560 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1561 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1562 CLOCKS_PER_SEC == 1000000.
1563 * time/clocktest.c (main): Replace %ld with %jd and cast to
1564 intmax_t.
1565
46abb64d
RM
15662015-01-05 Roland McGrath <roland@hack.frob.com>
1567
1568 * sysdeps/generic/unwind-resume.h: New file.
1569 * sysdeps/gnu/unwind-resume.c: Include it.
1570 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1571 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1572 argument list.
1573 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1574 global rather than static.
1575 (_Unwind_Resume): Update user.
1576 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1577 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1578 rather than static. Add __attribute__ ((cold)).
1579 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1580 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1581 * sysdeps/arm/arm-unwind-resume.S: New file.
1582 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1583 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1584 * sysdeps/arm/Makefile [$(subdir) = csu]
1585 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1586 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1587 Add rt-arm-unwind-resume.
1588 [$(subdir) = nptl]
1589 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1590 Add pt-arm-unwind-resume.
1591 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1592 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1593
ef9faf13
JM
15942015-01-05 Joseph Myers <joseph@codesourcery.com>
1595
1596 [BZ #17748]
1597 * include/fenv.h (__feholdexcept): Declare. Use
1598 libm_hidden_proto.
1599 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1600 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1601 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1602 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1603 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1604 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1605 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1606 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1607 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1608 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1609 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1610 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1611 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1612 (feholdexcept): Likewise.
1613 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1614 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1615 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1616 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1617 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1618 __feholdexcept instead of feholdexcept.
1619 (default_libc_feholdexcept_setround): Likewise.
1620
295a453e
SE
16212015-01-05 Steve Ellcey <sellcey@imgtec.com>
1622
1623 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1624 to avoid using stl/str to align destination.
1625
882c4b9f
SE
16262015-01-05 Steve Ellcey <sellcey@imgtec.com>
1627
1628 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1629
ac4c11f5
JM
16302015-01-05 Joseph Myers <joseph@codesourcery.com>
1631
1632 [BZ #17796]
1633 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1634 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1635 Define as weak alias not strong alias.
1636
03403e30
SE
16372015-01-05 Steve Ellcey <sellcey@imgtec.com>
1638
1639 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1640 bltzal with addiupc.
1641 (RTLD_START): Ditto.
1642
1dca195e
CM
16432015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1644
00b8b9ba
SP
1645 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1646 for __vdso_* functions in declarations.
1647 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1648 definitions.
1649 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1650 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1651
1dca195e
CM
1652 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1653 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1654 function with cast from llround().
1655 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1656 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1657 Define.
1658
a287953a
JM
16592015-01-05 Joseph Myers <joseph@codesourcery.com>
1660
ab70da77
JM
1661 [BZ #17793]
1662 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1663 Define as weak alias not strong alias.
1664
b8986484
JM
1665 [BZ #17635]
1666 * ctype/ctype-c99.c: New file. isblank implementation moved from
1667 ...
1668 * ctype/ctype-extn.c: ... here.
1669 (__isblank_l): Move to ...
1670 * ctype/ctype-c99_l.c: ... here. New file.
1671 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1672 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1673 Remove variable.
1674 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1675 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1676 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1677 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1678 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1679
a287953a
JM
1680 [BZ #17777]
1681 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1682 (posix_fadvise64): Define as weak alias not strong alias.
1683 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1684 (posix_fallocate64): Likewise.
1685 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1686 Remove variable.
1687 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1688 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1689 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1690 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1691 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1692
b1efe3bb
MF
16932015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1694
1695 [BZ #16191]
1696 * NEWS: Mention bug fix.
1697 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1698 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1699 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1700 (HOST_STACK_END_ADDR): Likewise.
1701
9706dc5f
JM
17022015-01-02 Joseph Myers <joseph@codesourcery.com>
1703
b93c2205
JM
1704 [BZ #17748]
1705 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1706 * math/fegetround.c (fegetround): Rename to __fegetround and
1707 define as weak alias of __fegetround. Use libm_hidden_weak.
1708 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1709 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1710 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1711 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1712 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1713 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1714 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1715 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1716 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1717 Undefine after rather than before function definition; use
1718 parentheses around function name in definition.
1719 (__fegetround): Also undefine macro after function definition.
1720 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1721 __fegetround and define as weak alias of __fegetround. Use
1722 libm_hidden_weak. Do not undefine as macro.
1723 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1724 Likewise.
1725 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1726 __fegetround and define as weak alias of __fegetround. Use
1727 libm_hidden_weak.
1728 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1729 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1730 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1731 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1732 __fegetround and define as weak alias of __fegetround. Use
1733 libm_hidden_weak.
1734 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1735 __fegetround instead of fegetround.
1736
253a59cc
JM
1737 [BZ #17782]
1738 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1739 Condition macro definition on [__USE_MISC].
1740
27dae011
JM
1741 [BZ #17781]
1742 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1743 (struct sigaction): Change type of sa_flags field to int.
1744
172019c0
JM
1745 [BZ #17780]
1746 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1747 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1748 __glibc_reserved0.
1749
522ad1d6
JM
1750 * nptl/version.c (banner): Use single year in copyright notice.
1751
9706dc5f
JM
1752 * NEWS: Update copyright dates.
1753 * catgets/gencat.c (print_version): Likewise.
1754 * csu/version.c (banner): Likewise.
1755 * debug/catchsegv.sh: Likewise.
1756 * debug/pcprofiledump.c (print_version): Likewise.
1757 * debug/xtrace.sh (do_version): Likewise.
1758 * elf/ldconfig.c (print_version): Likewise.
1759 * elf/ldd.bash.in: Likewise.
1760 * elf/pldd.c (print_version): Likewise.
1761 * elf/sotruss.sh: Likewise.
1762 * elf/sprof.c (print_version): Likewise.
1763 * iconv/iconv_prog.c (print_version): Likewise.
1764 * iconv/iconvconfig.c (print_version): Likewise.
1765 * locale/programs/locale.c (print_version): Likewise.
1766 * locale/programs/localedef.c (print_version): Likewise.
1767 * login/programs/pt_chown.c (print_version): Likewise.
1768 * malloc/memusage.sh (do_version): Likewise.
1769 * malloc/memusagestat.c (print_version): Likewise.
1770 * malloc/mtrace.pl: Likewise.
1771 * manual/libc.texinfo: Likewise.
1772 * nptl/version.c (banner): Likewise.
1773 * nscd/nscd.c (print_version): Likewise.
1774 * nss/getent.c (print_version): Likewise.
1775 * nss/makedb.c (print_version): Likewise.
1776 * posix/getconf.c (main): Likewise.
1777 * scripts/test-installation.pl: Likewise.
1778 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1779
b8607aac
WN
17802015-01-02 Will Newton <will.newton@linaro.org>
1781
1782 * sysdeps/arm/armv7/configure: Removed.
1783 * sysdeps/arm/armv7/configure.ac: Likewise.
1784
b168057a
JM
17852015-01-02 Joseph Myers <joseph@codesourcery.com>
1786
1787 * All files with FSF copyright notices: Update copyright dates
1788 using scripts/update-copyrights.
1789 * intl/plural.c: Regenerated.
1790 * locale/programs/charmap-kw.h: Likewise.
1791 * locale/programs/locfile-kw.h: Likewise.
1792
b217c15f
SP
17932015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1794
1795 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1796
73a268c7
JM
17972014-12-31 Joseph Myers <joseph@codesourcery.com>
1798
1799 [BZ #17748]
1800 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1801 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1802 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1803 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1804 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1805 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1806 define as weak alias of __fegetenv. Use libm_hidden_weak.
1807 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1808 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1809 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1810 define as weak alias of __fegetenv. Use libm_hidden_weak.
1811 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1812 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1813 define as weak alias of __fegetenv. Use libm_hidden_weak.
1814 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1815 libm_hidden_def.
1816 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1818 Likewise.
1819 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1820 define as weak alias of __fegetenv. Use libm_hidden_weak.
1821 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1822 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1823 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1824 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1825 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1826 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1827 __fegetenv instead of fegetenv.
1828 (libc_feholdsetround_noex_ctx): Likewise.
1829
0bd95672
MF
18302014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1831
1832 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1833 (Elf_MIPS_ABIFlags_v0): New structure.
1834 (EF_MIPS_FP64): Define.
1835 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1836 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1837 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1838 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1839 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1840 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1841 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1842 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1843 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1844 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1845 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1846 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1847 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1848 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1849 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1850 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1851 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1852 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1853 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1854 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1855 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1856 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1857 field.
1858 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1859 EF_MIPS_FP64.
1860 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1861 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1862 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1863 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1864 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1865 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1866 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1867 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1868 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1869 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1870 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1871 record the current FP ABI extension.
1872 (mips-mode-switch): Define to show if kernel headers support mode
1873 switching.
1874 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1875 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1876 supported SYSV ABI version to 3.
1877 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1878 feature.
1879
f59ad976
RS
18802014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1881 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1882
1883 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1884 path.
1885 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1886
4a3d3999
JM
18872014-12-31 Joseph Myers <joseph@codesourcery.com>
1888
1889 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1890 __fegetround and redefine to call __fegetround. Remove condition
1891 on [!__NO_MATH_INLINES].
1892 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1893 function.
1894 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1895 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1896 Remove macro.
1897 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1898 instead of <fenv_libc.h>.
1899 (__llrintl): Call fegetround instead of __fegetround.
1900 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1901 instead of <fenv_libc.h>.
1902 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1903 (__lrintl): Call fegetround instead of __fegetround.
1904 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1905 instead of <fenv_libc.h>.
1906 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1907 (__rintl): Call fegetround instead of __fegetround.
1908
195f3afc
SP
19092014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1910
1911 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1912 arrays.
1913
7062bd42
L
19142014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1915
1916 [BZ #17775]
1917 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1918 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1919 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1920
07256e18
AS
19212014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1922
1923 * sysdeps/i386/tls-macros.h: Include <features.h>.
1924 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1925 (TLS_IE): Likewise.
1926 (TLS_LD): Likewise.
1927 (TLS_GD): Likewise.
1928 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1929 define for GCC >= 5.0.
1930
1ff950ad
CM
19312014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1932
1933 * math/test-fenv.c (test_single_exception, set_single_exc,
1934 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1935 feexcp_mask_test, feenable_test, fe_single_test): Add
1936 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1937 case where they are not used.
1938 * math/libm-test.inc: Likewise.
1939 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1940 unused in the absence of FP rounding/exception support.
1941 * stdio-common/tst-printf-round.c: Likewise.
1942 * stdlib/tst-strtod-round.c: Likewise.
1943 * stdlib/tst-strtod-underflow.c: Likewise.
1944
0747f818
JM
19452014-12-30 Joseph Myers <joseph@codesourcery.com>
1946
1947 [BZ #17723]
1948 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1949 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1950 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1951 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1952 libm_hidden_weak.
1953 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1954 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1955 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1956 libm_hidden_def.
1957 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1958 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1959 libm_hidden_weak.
1960 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1961 Likewise.
1962 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1963 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1964 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1965 libm_hidden_weak.
1966 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1967 libm_hidden_def.
1968 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1969 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1970 (__feraiseexcept): Likewise.
1971 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1972 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1973 libm_hidden_weak.
1974 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1975 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1976 libm_hidden_def.
1977 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1978 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1979 Use libm_hidden_def.
1980 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1981 libm_hidden_def.
1982 (feraiseexcept): Define as weak not strong alias. Use
1983 libm_hidden_weak.
1984 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1985 New inline function. Factored out of ...
1986 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1987 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1988 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1989 feraiseexcept.
1990 * math/w_acos.c (__acos): Likewise.
1991 * math/w_asin.c (__asin): Likewise.
1992 * math/w_ilogb.c (__ilogb): Likewise.
1993 * math/w_j0.c (y0): Likewise.
1994 * math/w_j1.c (y1): Likewise.
1995 * math/w_jn.c (yn): Likewise.
1996 * math/w_log.c (__log): Likewise.
1997 * math/w_log10.c (__log10): Likewise.
1998 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1999 * sysdeps/aarch64/fpu/math_private.h
2000 (libc_feupdateenv_test_aarch64): Likewise.
2001 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2002 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2003 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2004 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2005 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2006 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2007 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2008 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2009 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2010 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2011
8d2b2763
L
20122014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 [BZ #17732]
2015 * io/test-utime.c (main): Replace %ld with %jd and cast to
2016 intmax_t.
41fad830 2017 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2018 * nptl/tst-mutex5.c: Include <stdint.h>.
2019 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2020 * posix/tst-regex.c (run_test): Likewise.
2021 (run_test_backwards): Likewise.
5d619de4
L
2022 * rt/tst-clock.c: Include <stdint.h>.
2023 (clock_test): Replace %ld with %jd and cast to intmax_t.
2024 * rt/tst-cpuclock1.c: Include <stdint.h>.
2025 (do_test): Replace %lu with %ju and cast to uintmax_t.
2026 * rt/tst-cpuclock2.c: Include <stdint.h>.
2027 (do_test): Replace %lu with %ju and cast to uintmax_t.
2028 * rt/tst-mqueue1.c: Include <stdint.h>.
2029 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2030 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2031 intmax_t.
2032 * rt/tst-mqueue4.c (do_test): Likewise.
2033 * rt/tst-timer4.c: Include <stdint.h>.
2034 (check_ts): Replace %ld with %jd and cast to intmax_t.
2035 (do_test): Likewise.
ad86fbc3
L
2036 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2037 and cast to intmax_t.
37f46900 2038 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2039 * time/clocktest.c (main): Likewise.
2040 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2041 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2042
8b4416d8
AS
20432014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2044 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2047 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2048 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2049 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2050 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2051 version if bit_Fast_Unaligned_Load is set.
2052 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2053 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2054 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2055 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2056 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2057 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2059 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2060 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2061 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2062 to 4.
2063 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2064 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2065 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2066 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2067
e47b8d3b
CM
20682014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2069
6d6d7fde
CM
2070 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2071 instead of #if to avoid a Wundef warning.
2072 * stdlib/tst-limits.c (do_test): Likewise.
2073
cd2c37c9
CM
2074 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2075 parallel other exception macros.
2076 (fegetenv): Convert from macro to extern inline so that it applies
2077 retroactively to inline functions already seen by the compiler.
2078 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2079
e47b8d3b
CM
2080 * posix/Makefile (before-compile): Use $(objpfx) for
2081 posix-conf-vars-def.h.
2082
4a6aca7b
SP
20832014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2084
7910c2ae
SP
2085 * posix/getconf.c (main): Use size_t for type of I.
2086 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2087 NSPEC.
2088
50cbbaa9
SP
2089 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2090 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2091 * posix/posix-envs.def: Likewise.
2092 * sysdeps/posix/sysconf.c: Likewise.
2093 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2094 (specs): Remove array.
2095 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2096 array.
2097
3b566046
SP
2098 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2099 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2100 (__sysconf): Use CONF_IS_* macros.
2101
4a6aca7b
SP
2102 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2103 ($(objpfx)posix-conf-vars-def.h): New target.
2104 * posix/posix-conf-vars.list: New file.
2105 * posix/posix-conf-vars.h: New file.
2106 * posix/confstr.c: Include posix-conf-vars.h.
2107 (confstr): Use CONF_IS_* macros.
2108 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2109 CONF_IS_* macros.
2110 * scripts/gen-posix-conf-vars.awk: New file.
2111
7c1395a7
CM
21122014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2113
0025b4cc
CM
2114 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2115 fegetround): Add no-op macros to avoid linknamespace issues.
2116
d8aaf74b
CM
2117 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2118 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2119
5d24aa60
CM
2120 * sysdeps/unix/sysv/linux/tile/sysdep.h
2121 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2122 assembly-specific section to avoid a redefinition warning.
2123
7c1395a7
CM
2124 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2125 long before casting to pointer to avoid a cast warning.
2126
3c87c616
CM
21272014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2128
2129 * sysdeps/tile/tilegx/Implies: New file.
2130
f559d8cf
RE
21312014-12-23 Richard Earnshaw <rearnsha@arm.com>
2132
2133 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2134
7d81e8d6
FW
21352014-12-23 Florian Weimer <fweimer@redhat.com>
2136
2137 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2138
90aa3d09
JM
21392014-12-22 Joseph Myers <joseph@codesourcery.com>
2140
2141 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2142 not define.
2143 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2144 <kernel-features.h>.
2145 (__utimes) [__NR_utimes]: Make code unconditional.
2146 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2147 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2148 (__ASSUME_UTIMES): Do not undefine.
2149 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2150 (__ASSUME_UTIMES): Likewise.
2151 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2152 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2153 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2154 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2155
4c0c0e2a
SE
21562014-12-22 Steve Ellcey <sellcey@imgtec.com>
2157
2158 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2159
0dacd7a3
CM
21602014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2161
b638f96a
CM
2162 [BZ #17747]
2163 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2164 alias to weak alias for j0l, y0l.
2165 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2166 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2167
0dacd7a3
CM
2168 [BZ #17746]
2169 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2170 conversion.
2171
528479c4
SE
21722014-12-22 Steve Ellcey <sellcey@imgtec.com>
2173
2174 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2175 to zero if not already defined.
2176
f56f9124
JM
21772014-12-22 Joseph Myers <joseph@codesourcery.com>
2178
2179 [BZ #17724]
2180 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2181 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2182 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2183 (char *) casts added.
2184 * sysdeps/ieee754/k_standardf.c: New file.
2185 * sysdeps/ieee754/k_standardl.c: Likewise.
2186 * math/Makefile (libm-support): Remove k_standard.
2187 (libm-calls): Add k_standard.
2188
8622d556
WD
21892014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2190
2191 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2192 Optimize to avoid an unnecessary FPCR read.
2193
f3806bdb
WD
21942014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2195
2196 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2197 Optimize to reduce FPCR/FPSR accesses.
2198
9b47df58
WD
21992014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2200
2201 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2202 Call libc_fetestexcept_aarch64.
2203
97be3cac
WD
22042014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2205
2206 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2207 Call libc_fesetround_aarch64.
2208
935ab817
JM
22092014-12-22 Joseph Myers <joseph@codesourcery.com>
2210
2211 [BZ #17733]
2212 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2213 (__bind): Do not define as weak alias.
2214 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2215 define.
2216 (__getsockname): Do not define as weak alias.
2217
cc8623f1
WN
22182014-12-22 Will Newton <will.newton@linaro.org>
2219
2220 * manual/install.texi: Document that we require bison 2.7
2221 or above.
2222 * INSTALL: Regenerate.
2223 * configure.ac: Use AC_CHECK_PROG_VER instead of
2224 AC_PATH_PROG when checking for bison and check for
2225 version 2.7 or above.
2226 * configure: Regenerate.
2227
a19ca65a
CM
22282014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2229
92901170 2230 [BZ #17745]
e969965a
CM
2231 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2232 * sysdeps/tile/ffsll.c (ffsll): To here.
2233
a19ca65a
CM
2234 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2235
050f7298
L
22362014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2239 if not defined.
2240 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2241 definition.
2242 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2243 hidden ___tls_get_addr.
2244 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2245 hidden __tls_get_addr.
2246 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2247 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2248 Likewise.
2249
6df5547e
AS
22502014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2251
2252 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2253 _dl_init call.
2254
7432d613
L
22552014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2256
2257 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2258 from "call _dl_init@PLT".
2259 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2260
98fe149e
AK
22612014-12-21 Anders Kaseorg <andersk@mit.edu>
2262
2263 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2264 guarantees.
2265
d12455f5
CM
22662014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2267
2268 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2269
95dee05f
CM
22702014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2271
92901170 2272 [BZ #17744]
95dee05f
CM
2273 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2274 strnlen.
2275
2ef4b74a
SE
22762014-12-19 Steve Ellcey <sellcey@imgtec.com>
2277
2278 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2279 of multu on MIPSr6.
2280 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2281 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2282 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2283 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2284 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2285
22862014-12-19 Steve Ellcey <sellcey@imgtec.com>
2287
2288 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2289 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2290 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2291 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2292 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2293 mips32r6/mips64r6.
2294 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2295
3eb38795
OB
22962014-12-19 Ondřej Bílka <neleai@seznam.cz>
2297
2298 * string/strncat.c (STRNCAT): Simplify implementation.
2299
6d4188dd
DM
23002014-12-19 David S. Miller <davem@davemloft.net>
2301
0d4ba8be
DM
2302 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2303 access the quad as both a long double and as a series of 4 words.
2304
6d4188dd
DM
2305 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2306 link_map->l_info array access.
2307
4ef91cdc
CM
23082014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2309
804c54f7
CM
2310 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2311
4ef91cdc
CM
2312 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2313 * math/atest-exp2.c (TIMEOUT): Likewise.
2314 * math/atest-sincos.c (TIMEOUT): Likewise.
2315
afd176d6
L
23162014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2317
2318 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2319 -Wno-error with -fno-builtin-lround.
2320
a4a43a90
TR
23212014-12-19 Torvald Riegel <triegel@redhat.com>
2322
2323 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2324 Contains futex constants and functions moved over from ...
2325 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2326 <lowlevellock-futex.h>.
2327 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2328 (lll_timedwait_tid): Add comments and parentheses around macro
2329 arguments.
2330
76f71081
TR
23312014-12-19 Torvald Riegel <triegel@redhat.com>
2332
2333 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2334 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2335 (__lll_private_flag): Remove.
2336 (lll_futex_wait): Likewise.
2337 (lll_futex_timed_wait): Likewise.
2338 (lll_futex_wake): Likewise.
2339 (lll_futex_requeue): Likewise.
2340 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2341 (__lll_timedwait_tid): Spell out argument names.
2342 (lll_timedwait_tid): Add comments and parentheses around macro
2343 arguments.
2344 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2345 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2346
6b814909
TR
23472014-12-19 Torvald Riegel <triegel@redhat.com>
2348
2349 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2350 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2351 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2352 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2354 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2355 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2356 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2357 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2358 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2359 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2360 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2361 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2363 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2364 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2365 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2366 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2367 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2368
9cd4d4ab
L
23692014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2370
2371 * sysdeps/x86_64/x32/Makefile: New file.
2372
c9c1a2d0
L
23732014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2376 1L with (mp_limb_t) 1.
2377
af102d95
RM
23782014-12-17 Roland McGrath <roland@hack.frob.com>
2379
dd690454
RM
2380 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2381 * nptl/libc_pthread_init.c: ... here.
2382 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2383 * nptl/register-atfork.c: ... here.
2384
74eb826c
RM
2385 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2386 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2387 Use assert_perror to check its return value.
2388 (__gai_create_helper_thread): Likewise.
2389
c9ce306b
RM
2390 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2391
af102d95
RM
2392 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2393
8ac5a76a
JM
23942014-12-17 Joseph Myers <joseph@codesourcery.com>
2395
ea41469b
JM
2396 [BZ #17725]
2397 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2398 __profil_counter.
2399 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2400 Likewise.
2401 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2402 Likewise.
2403 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2404 Likewise.
2405 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2406 (profil_counter): Likewise.
2407 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2408 (profil_counter): Likewise.
2409 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2410 Likewise.
2411 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2412 Likewise.
2413 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2414 (profil_counter): Likewise.
2415 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2416 Likewise.
2417 [!__profil_counter] (profil_counter): Define as weak alias of
2418 __profil_counter.
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2420 (profil_counter): Rename to __profil_counter.
2421 [!__profil_counter] (profil_counter): Define as weak alias of
2422 __profil_counter.
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2424 (profil_counter): Rename to __profil_counter.
2425 [!__profil_counter] (profil_counter): Define as weak alias of
2426 __profil_counter.
2427 * sysdeps/posix/profil.c: Update comment referring to
2428 profil_counter.
2429 (__profil): Use __profil_counter instead of profil_counter.
2430 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2431 __profil_counter. Use __profil_counter_ushort and
2432 __profil_counter_uint in definitions.
2433 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2434 instead of profil_counter_uint and profil_counter_ushort.
2435
8ac5a76a
JM
2436 [BZ #17722]
2437 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2438 define as weak alias of __inet_makeaddr.
2439 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2440 as weak alias of __inet_addr.
2441 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2442 as weak alias of __inet_pton. Use libc_hidden_weak.
2443 * include/arpa/inet.h (__inet_pton): Declare. Use
2444 libc_hidden_proto.
2445 (inet_makeaddr): Don't use libc_hidden_proto.
2446 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2447 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2448 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2449 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2450 Remove variable.
2451 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2452 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2453
66ce3cb1
SE
24542014-12-17 Steve Ellcey <sellcey@imgtec.com>
2455
2456 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2457
d22ce01b
SL
24582014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2459
2460 * stdio-common/bug-vfprintf-nargs.c (do_test):
2461 Cast value to intptr_t to avoid format warning
2462 for usage with PRIdPTR printing macro.
2463
eca2772b
SL
24642014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2465
2466 * libio/tst-widetext.c (do_test):
2467 Use format type %td instead of %Zd for ptrdiff_t
2468 in order to avoid format warning.
2469
bdf079da
AS
24702014-12-17 Andreas Schwab <schwab@suse.de>
2471
2472 * nscd/mem.c (gc): Add size_t cast to match printf format.
2473
3eb5d2fc
RM
24742014-12-16 Roland McGrath <roland@hack.frob.com>
2475
2476 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2477 (init): Apply PTR_MANGLE to pointers before storing them.
2478 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2479 before using them.
2480
d003ada2
JM
24812014-12-16 Joseph Myers <joseph@codesourcery.com>
2482
380292ba
JM
2483 [BZ #17719]
2484 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2485 define as weak alias of __memrchr.
2486 (__memrchr): Do not define as strong alias of memrchr.
2487 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2488 Remove variable.
2489 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2490 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2491 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2492
9a44d530
JM
2493 [BZ #17717]
2494 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2495 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2496 (if_indextoname): Rename to __if_indextoname and define as weak
2497 alias of __if_indextoname. Use libc_hidden_weak.
2498 (if_freenameindex): Rename to __if_freenameindex and define as
2499 weak alias of __if_freenameindex.
2500 (if_nameindex): Rename to __if_nameindex and define as weak alias
2501 of __if_nameindex.
2502 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2503 __if_nametoindex and define as weak alias of __if_nametoindex.
2504 Use libc_hidden_weak.
2505 (if_freenameindex): Rename to __if_freenameindex and define as
2506 weak alias of __if_freenameindex.
2507 (if_nameindex): Rename to __if_nameindex and define as weak alias
2508 of __if_nameindex.
2509 (if_indextoname): Rename to __if_indextoname and define as weak
2510 alias of __if_indextoname. Use libc_hidden_weak.
2511 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2512 __if_nametoindex and define as weak alias of __if_nametoindex.
2513 Use libc_hidden_weak.
2514 (if_freenameindex): Rename to __if_freenameindex and define as
2515 weak alias of __if_freenameindex. Use libc_hidden_weak.
2516 (if_nameindex_netlink): Use __if_freenameindex instead of
2517 if_freenameindex.
2518 (if_nameindex): Rename to __if_nameindex and define as weak alias
2519 of __if_nameindex. Use libc_hidden_weak.
2520 (if_indextoname): Rename to __if_indextoname and define as weak
2521 alias of __if_indextoname. Use libc_hidden_weak.
2522 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2523 libc_hidden_proto.
2524 [!_ISOMAC] (__if_freenameindex): Likewise.
2525 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2526 if_nametoindex.
2527 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2528 variable.
2529 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2530 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2531 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2532 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2533 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2534 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2535 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2536
d003ada2
JM
2537 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2538 Remove variable.
2539 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2540 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2541
a0d424ef
SP
25422014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2543
0cd85520
SP
2544 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2545 subscript above bounds'
2546
a0d424ef
SP
2547 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2548 bounds.
2549
0e426475
AS
25502014-12-16 Arjun Shankar <arjun.is@lostca.se>
2551
8b460906
AS
2552 * libio/tst-fopenloc.c: Use test-skeleton.c.
2553
fa13e15b
AS
2554 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2555 (entry): Rename to ITEM.
2556 (do_test, comp): Adjust.
2557
0e426475
AS
2558 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2559
4f646bce
TR
25602014-12-16 Torvald Riegel <triegel@redhat.com>
2561
2562 * string/tester.c: Include <libc-internal.h>.
2563 (test_memset): Ignore -Wmemset-transposed-args.
2564
a07c4427
TR
25652014-12-16 Torvald Riegel <triegel@redhat.com>
2566
2567 * misc/tst-mntent2.c (do_test): Fix warning.
2568
1469f466
TR
25692014-12-16 Torvald Riegel <triegel@redhat.com>
2570
2571 * elf/tst-unique4lib.cc(a): Mark as used.
2572
11e3417a
FW
25732014-12-16 Florian Weimer <fweimer@redhat.com>
2574
2575 [BZ #17630]
2576 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2577 names.
2578
ae61fc7b
AM
25792014-12-16 Allan McRae <allan@archlinux.org>
2580
2581 * stdio-common/Makefile (tests): Re-add bug26.
2582
363a9899
OB
25832014-12-15 Ondřej Bílka <neleai@seznam.cz>
2584
2585 [BZ #17657]
2586 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2587 static array.
2588
d52c62df
TR
25892014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2590
2591 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2592 (__lll_lock_wait): Likewise.
2593 (__lll_timedlock_wait): Likewise.
2594 (__lll_timedwait_tid): Likewise.
2595 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2596 (__lll_robust_timedlock_wait): Likewise.
2597 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2598 (lll_cond_trylock): Likewise.
2599 (__lll_lock): Likewise.
2600 (__lll_robust_lock): Likewise.
2601 (__lll_cond_lock): Likewise.
2602 (lll_robust_cond_lock): Likewise.
2603 (__lll_timedlock): Likewise.
2604 (__lll_robust_timedlock): Likewise.
2605 (__lll_unlock): Likewise.
2606 (__lll_robust_unlock): Likewise.
2607 (lll_wait_tid): Likewise.
2608 (lll_timedwait_tid): Likewise.
2609
045a6bcd
TR
26102014-12-15 Torvald Riegel <triegel@redhat.com>
2611
2612 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2613
7f786dc1
TR
26142014-12-15 Torvald Riegel <triegel@redhat.com>
2615
2616 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2617
e7e21cba
AZ
26182014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2619
2620 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2621 * stdio-common/tst-sprintf.c: Likewise.
2622
bc89c0fc
TR
26232014-12-15 Torvald Riegel <triegel@redhat.com>
2624
2625 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2626
a5357b7c
JL
26272014-12-15 Jeff Law <law@redhat.com>
2628
2629 [BZ #16617]
2630 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2631 on the heap. (CVE-2012-3406)
2632 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2633 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2634 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2635
3a12c70f
WN
26362014-12-15 Will Newton <will.newton@linaro.org>
2637
2638 * manual/install.texi: Bump required version of texinfo
2639 to 4.7 from 4.5.
2640 * INSTALL: Regenerated.
2641 * configure.ac: Check for makeinfo version 4.7 and above.
2642 * configure: Regenerated.
2643
e4f639e4
RM
26442014-12-12 Roland McGrath <roland@hack.frob.com>
2645
2646 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2647 PREFIX, string constant to insert between directory and name.
2648 * sysdeps/posix/shm_open.c: Update caller.
2649 * sysdeps/posix/shm_unlink.c: Likewise.
2650 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2651 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2652 (SEM_SHM_PREFIX): New macro.
2653 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2654 [$(have-thread-library) = no].
2655 * nptl/Makefile (libpthread-routines): Add shm-directory.
2656 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2657 * sysdeps/nptl/shm-directory.h: New file.
2658 * sysdeps/posix/shm-directory.c
2659 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2660 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2661 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2662 INTERNAL_SYSCALL.
2663 (__where_is_shmfs): Function removed.
2664 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2665 Variables removed.
2666 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2667 Use SHM_GET_NAME.
2668 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2669
2670 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2671 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2672 unconditional for use inside libpthread.
2673 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2674
439c43f6
RM
26752014-12-12 Roland McGrath <roland@hack.frob.com>
2676
c76d1ff5
RM
2677 * nptl/pthread_getaffinity.c: New file.
2678 * nptl/pthread_setaffinity.c: New file.
2679 * nptl/pthread_getname.c: New file.
2680 * nptl/pthread_setname.c: New file.
2681
439c43f6
RM
2682 * nptl/pthread_create.c (START_THREAD_DEFN)
2683 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2684
48e435cd
SL
26852014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2686 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2687
2688 * resolv/res_send.c (send_vc): Disable warning resplen may
2689 be used uninitialized.
2690
9d9c0019
SL
26912014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2692
2693 * nptl/tst-mutex6.c
2694 (ATTR_NULL): New define checks ATTR against NULL.
2695 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2696 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2697
9173840b
JL
26982014-12-11 James Lemke <jwlemke@codesourcery.com>
2699
2700 [BZ #17581]
2701 * malloc/hooks.c
2702 (mem2mem_check): Revert my previous change.
2703 (malloc_check_get_size): Revert my previous change.
2704 (mem2chunk_check): Revert my previous change.
2705
78e21c5d
RM
27062014-12-11 Roland McGrath <roland@hack.frob.com>
2707
2708 * sysdeps/posix/shm-directory.c: New file.
2709 * sysdeps/posix/shm-directory.h: New file.
2710 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2711 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2712 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2713 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2714 Transmute EPERM to EACCES.
2715 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2716 from ...
2717 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2718 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2719
f82c43af
KK
27202014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2721
2722 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2723 pointer and cast to uintptr_t.
2724 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2725 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2726 Add cast to avoid warning.
2727 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2728
fc00cf7b
JM
27292014-12-11 Joseph Myers <joseph@codesourcery.com>
2730
2731 * nptl/semaphore.h: Move to ...
2732 * sysdeps/pthread/semaphore.h: ... here.
2733 * Makefile (installed-headers): Change nptl/semaphore.h to
2734 sysdeps/pthread/semaphore.h.
2735
1c4053db
RM
27362014-12-11 Roland McGrath <roland@hack.frob.com>
2737
73b0c1a1
RM
2738 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2739 generated error format strings.
2740
1c4053db
RM
2741 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2742 -Wformat-extra-args warnings for scanf formats.
2743 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2744 test of zero-length format (duh).
2745 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2746 corner-case scanf format test.
2747 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2748 generated fprintf format string.
2749 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2750 corner-case sprintf format tests.
2751 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2752 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2753 -Wformat-extra-args warnings throughout.
2754 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2755 (CFLAGS-scanf4.c): Likewise.
2756 (CFLAGS-scanf7.c): Likewise.
2757 (CFLAGS-tst-sprintf.c): Likewise.
2758 (CFLAGS-tst-printf.c): Likewise.
2759 (CFLAGS-tst-printfsz.c): Likewise.
2760
47d51f4f
JM
27612014-12-11 Joseph Myers <joseph@codesourcery.com>
2762
a1edbf3c
JM
2763 * include/cpio.h: New file.
2764 * include/fmtmsg.h: Likewise.
2765
47d51f4f
JM
2766 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2767 corresponding format argument to size_t.
2768 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2769 arguments.
2770 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2771 corresponding format argument to size_t.
2772 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2773 arguments.
2774 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2775 corresponding format argument to size_t.
2776 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2777 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2778 (CFLAGS-tst-mbswcs2.c): Likewise.
2779 (CFLAGS-tst-mbswcs3.c): Likewise.
2780 (CFLAGS-tst-mbswcs4.c): Likewise.
2781 (CFLAGS-tst-mbswcs5.c): Likewise.
2782 (CFLAGS-tst-trans.c): Likewise
2783
e9813cfb
RM
27842014-12-11 Roland McGrath <roland@hack.frob.com>
2785
2786 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2787 rather than assuming they won't contain any '%'s.
2788
f627ca82
CM
27892014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2790
2791 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2792 inhibit_loop_to_libcall to avoid recursive calls.
2793 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2794 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2795
7f296942
AZ
27962014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2797
2798 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2799 prototype.
2800
d0276e18
SE
28012014-12-11 Steve Ellcey <sellcey@imgtec.com>
2802
2803 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2804 integer value instead of boolean.
2805
fc56e970
SE
28062014-12-11 Steve Ellcey <sellcey@imgtec.com>
2807
2808 * malloc/malloc.c: Fix powerof2 check.
2809
40e53917
SL
28102014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2811
2812 * locale/programs/locfile.h (maybe_swap_uint32):
2813 Remove inline and add unused attribute.
2814
1ea166df
SL
28152014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2816
9d9c0019 2817 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2818 Truncating assembler expression to a .long expression.
2819
acf869f4
AS
28202014-12-11 Andreas Schwab <schwab@suse.de>
2821
2822 * elf/rtld.c (struct map_args): Constify str member.
2823 (do_preload): Constify fname argument.
2824
9d969099
AZ
28252014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826
2827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2828 constants definition.
2829
da5bcaa4
AS
28302014-12-11 Andreas Schwab <schwab@suse.de>
2831
b0a3c164
AS
2832 [BZ #16657]
2833 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2834 FORCE_ELISION instead of DO_ELISION.
2835 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2836 Remove.
2837 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2838 Likewise.
2839
da5bcaa4
AS
2840 * iconvdata/gconv-modules: Remove duplicate entry.
2841
6d248857
WN
28422014-12-11 Will Newton <will.newton@linaro.org>
2843
2844 Merge gettext 0.19.3 into intl/.
2845
2846 This involves a number of cosmetic changes to comments
2847 and ANSI function definitions and prototypes throughout
2848 all the files. The gettext copyright header is used but
2849 with the date ranges taken from the glibc copy.
2850
2851 * NEWS: Add gettext merge to 2.21.
2852 * intl/bindtextdom.c: Switch to gettext copyright.
2853 Use ANSI definitions and prototypes.
2854 Use gl_* locking primitives rather than __libc_* ones.
2855 Use __builtin_expect rather than __glibc_likely/unlikely.
2856 * intl/dcgettext.c: Switch to gettext copyright.
2857 Use ANSI definitions and prototypes.
2858 * intl/dcigettext.c: Switch to gettext copyright.
2859 Use ANSI definitions and prototypes.
2860 (INTDIV0_RAISES_SIGFPE): New define.
2861 Use gl_* locking primitives rather than __libc_* ones.
2862 Include eval-plural.h instead of plural-eval.c.
2863 Use __builtin_expect rather than __glibc_likely/unlikely.
2864 * intl/dcngettext.c: Switch to gettext copyright.
2865 Use ANSI definitions and prototypes.
2866 * intl/dgettext.c: Likewise.
2867 * intl/dngettext.c: Likewise.
2868 * intl/plural-eval.c: Renamed to...
2869 * intl/eval-plural.h: ...this.
2870 * intl/explodename.c: Switch to gettext copyright.
2871 Use ANSI definitions and prototypes.
2872 (_nl_explode_name): Use strchr instead of __rawmemchr.
2873 * intl/finddomain.c: Switch to gettext copyright.
2874 Use ANSI definitions and prototypes.
2875 Use gl_* locking primitives rather than __libc_* ones.
2876 (_nl_find_domain): Use malloc rather than alloca for
2877 allocation of temporary locale name.
2878 * intl/gettext.c: Switch to gettext copyright.
2879 Use ANSI definitions and prototypes.
2880 * intl/gettextP.h: Switch to gettext copyright.
2881 Use ANSI definitions and prototypes.
2882 Use gl_* locking primitives rather than __libc_* ones.
2883 * intl/gmo.h: Switch to gettext copyright.
2884 (struct sysdep_string): Move struct segment_pair outside of
2885 struct definition.
2886 * intl/hash-string.c: Use ANSI definitions and prototypes.
2887 * intl/hash-string.h: Switch to gettext copyright.
2888 Use ANSI definitions and prototypes.
2889 * intl/l10nflist.c: Switch to gettext copyright.
2890 Use ANSI definitions and prototypes.
2891 (_nl_normalize_codeset): Avoid integer overflow.
2892 * intl/loadinfo.h: Switch to gettext copyright.
2893 Use ANSI definitions and prototypes.
2894 (LIBINTL_DLL_EXPORTED): New define.
2895 (PATH_SEPARATOR): New define.
2896 * intl/loadmsgcat.c: Switch to gettext copyright.
2897 * intl/localealias.c: Switch to gettext copyright.
2898 Use ANSI definitions and prototypes.
2899 (_nl_expand_alias): Use PATH_SEPARATOR.
2900 * intl/ngettext.c: Switch to gettext copyright.
2901 Use ANSI definitions and prototypes.
2902 * intl/plural-exp.c: Likewise.
2903 * intl/plural-exp.h: Switch to gettext copyright.
2904 Use ANSI definitions and prototypes.
2905 (struct expression): Move definition of enum operator outside
2906 of struct definition.
2907 * intl/plural.c: Regenerate.
2908 * intl/plural.y: Switch to gettext copyright.
2909 Use ANSI definitions and prototypes.
2910 Port to bison 3.0.
2911 * intl/textdomain.c: Switch to gettext copyright.
2912 Use ANSI definitions and prototypes.
2913 Use gl_* locking primitives rather than __libc_* ones.
2914
48c43298
SE
29152014-12-10 Steve Ellcey <sellcey@imgtec.com>
2916
2917 * debug/warning-nop.c: Add used atrribute.
2918
2b89bce9
JM
29192014-12-10 Joseph Myers <joseph@codesourcery.com>
2920
c153ac9f
JM
2921 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2922
2b89bce9
JM
2923 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2924 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2925 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2926
2cfbdb9a
JM
29272014-12-10 Joseph Myers <joseph@codesourcery.com>
2928 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2929
2930 [BZ #17634]
2931 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2932 Undefine after defining function. Define as weak alias of
2933 __wcschr. Use libc_hidden_weak.
2934 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2935 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2936 (libc_hidden_def): Also define __GI___wcschr alias.
2937 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2938 __wcschr and define as weak alias of __wcschr.
2939 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2940 __wcschr.
2941 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2942 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2943 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2944 libc_hidden_weak. Do not use libc_hidden_def.
2945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2946 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2947 __GI___wcschr alias.
2948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2949 [IS_IN (libc)] (wcschr): Define as macro expanding to
2950 __redirect_wcschr.
2951 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2952 [IS_IN (libc)] (__wcschr_power6): Likewise.
2953 [IS_IN (libc)] (__wcschr_power7): Likewise.
2954 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2955 instead of wcschr.
2956 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2957 __libc_wcschr.
2958 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2959 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2960 __wcschr and define as weak alias of __wcschr. Use
2961 libc_hidden_builtin_def.
2962 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2963 as weak alias of __wcschr. Use libc_hidden_weak.
2964 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2965 wcschr.
2966 * time/era.c (_nl_init_era_entries): Likewise.
2967 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2968 variable.
2969 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2970 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2971
1b8bf351
JM
29722014-12-10 Joseph Myers <joseph@codesourcery.com>
2973
2974 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2975 format for long int variable.
2976
f5f46d51
AK
29772014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2978
2979 [BZ #10672]
07008f7d 2980 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2981 qsort stable.
2982
217a74a8
AS
29832014-12-10 Andreas Schwab <schwab@suse.de>
2984
2985 [BZ #12847]
2986 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2987 user-controlled locks.
2988
aa76a5c7
RE
29892014-12-10 Richard Earnshaw <rearnsha@arm.com>
2990
2991 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2992 register.
2993
2084e7ca
JM
29942014-12-10 Joseph Myers <joseph@codesourcery.com>
2995
a4ecc9eb
JM
2996 * configure.ac (--disable-werror): New configure option.
2997 (enable_werror): New AC_SUBST.
2998 * configure: Regenerated.
2999 * config.make.in (enable-werror): New variable.
3000 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3001 -Wno-error=undef.
3002 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3003 * manual/install.texi (Configuring and compiling): Document
3004 --disable-werror.
3005 * INSTALL: Regenerated.
3006 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3007 (CFLAGS-tst-chk2.c): Likewise.
3008 (CFLAGS-tst-chk3.c): Likewise.
3009 (CFLAGS-tst-chk4.cc): Likewise.
3010 (CFLAGS-tst-chk5.cc): Likewise.
3011 (CFLAGS-tst-chk6.cc): Likewise.
3012 (CFLAGS-tst-lfschk1.c): Likewise.
3013 (CFLAGS-tst-lfschk2.c): Likewise.
3014 (CFLAGS-tst-lfschk3.c): Likewise.
3015 (CFLAGS-tst-lfschk4.cc): Likewise.
3016 (CFLAGS-tst-lfschk5.cc): Likewise.
3017 (CFLAGS-tst-lfschk6.cc): Likewise.
3018
0f88636c
JM
3019 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3020 (main): Disable -Wdeprecated-declarations around calls to
3021 register_printf_function.
3022
c81e9deb
JM
3023 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3024 (do_test): Disable -Wdiv-by-zero around some calls to
3025 fwrite_unlocked and fread_unlocked.
3026
2084e7ca
JM
3027 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3028 (DIAG_POP_NEEDS_COMMENT): Likewise.
3029 (_DIAG_STR1): Likewise.
3030 (_DIAG_STR): Likewise.
3031 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3032 * stdio-common/bug21.c: Include <libc-internal.h>.
3033 (do_test): Disable -Wformat around call to sscanf.
3034 * stdio-common/scanf14.c: Include <libc-internal.h>.
3035 (main): Disable -Wformat around some calls to scanf functions.
3036
df7ecc6b
TR
30372014-12-09 Torvald Riegel <triegel@redhat.com>
3038
3039 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3040
2aa3862e
AZ
30412014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3042
3043 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3044 stack variable alignment.
3045
c5c2b7c3
JM
30462014-12-06 Joseph Myers <joseph@codesourcery.com>
3047
3048 [BZ #17682]
3049 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3050 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3051 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3052 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3053 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3054 __getrlimit instead of getrlimit.
3055 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3056 __gettimeofday instead of gettimeofday.
3057 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3058 Likewise.
3059 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3060 Likewise.
3061 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3062 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3063 Remove variable.
3064 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3065 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3066
9752c3cd
AZ
30672014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3068
3069 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3070 for wide-character tests.
3071
4bee4cd9
RM
30722014-12-04 Roland McGrath <roland@hack.frob.com>
3073
3074 * io/openat64.c: #include <libc-internal.h>
3075 (__openat64): Prototypify. Use ignore_value on MODE.
3076 * io/openat.c: Likewise.
3077 * misc/reboot.c: #include <libc-internal.h>
3078 (reboot): Prototypify. Use ignore_value on HOWTO.
3079 * misc/ptrace.c: #include <libc-internal.h>
3080 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3081
84dbedb6
JM
30822014-12-04 Joseph Myers <joseph@codesourcery.com>
3083
3084 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3085 XPG4, UNIX98 and XOPEN2K.
3086 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3087 Remove variable.
3088 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3089
b7a3e1c4 30902014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3091
af50dfc1 3092 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3093 * libio/iofopen.c: Likewise.
3094 * libio/wfileops.c: Likewise.
3095
fe8b4d98
SP
3096 [BZ #17653]
3097 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3098 offset on EOF.
3099 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3100 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3101 (fgets_func): Function pointer to fgets and fgetws.
3102 (do_ftell_test): Add test to verify ftell value after read
3103 EOF.
3104 (do_test): Set fgets_func.
3105
61b4f792
SP
3106 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3107 O_TRUNC flag for w and w+ modes.
3108 (do_rewind_test): Likewise.
3109 (do_ftell_test): Likewise.
3110 (do_write_test): Likewise.
3111
be349d70
SP
3112 [BZ #17647]
3113 * libio/fileops.c (do_ftell): Seek only when there are
3114 unflushed writes.
3115 * libio/wfileops.c (do_ftell_wide): Likewise.
3116 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3117 test case.
3118 (do_one_test): Call it.
3119
e3d6dba5
JM
31202014-12-03 Joseph Myers <joseph@codesourcery.com>
3121
3122 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3123 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3124 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3125 Remove variable.
3126 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3127 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3128 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3129
7f994279
JM
31302014-12-02 Joseph Myers <joseph@codesourcery.com>
3131
28a91e8f
JM
3132 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3133 Remove variable.
3134 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3135
7f994279
JM
3136 [BZ #17668]
3137 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3138 as weak alias of __getifaddrs. Use libc_hidden_weak.
3139 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3140 __freeifaddrs. Use libc_hidden_weak.
3141 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3142 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3143 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3144 __freeifaddrs. Use libc_hidden_weak.
3145 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3146 __getifaddrs and define as weak alias of __getifaddrs. Use
3147 libc_hidden_weak.
3148 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3149 __freeifaddrs. Use libc_hidden_weak.
3150 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3151 Remove variable.
3152 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3153 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3154
bbe4c142
PJ
31552014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3156
3157 [BZ #17601]
3158 * sysdeps/mips/start.S (__start): Use indirect jump to call
3159 __libc_start_main.
3160
66cadc05
JM
31612014-12-02 Joseph Myers <joseph@codesourcery.com>
3162
909e16d9
JM
3163 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3164
4e0b9016
JM
3165 * nptl/tst-mutex1.c: Include <stdbool.h>.
3166 [!ATTR] (ATTR_NULL): New macro.
3167 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3168 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3169 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3170
b1aff6a4
JM
3171 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3172 to char *.
3173
266865c0
JM
3174 [BZ #17665]
3175 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3176 Change conditional to [__USE_MISC].
3177
84e5e756
JM
3178 [BZ #17664]
3179 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3180 fgets_unlocked.
3181 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3182 __fgets_unlocked.
3183 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3184 fgets_unlocked.
3185 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3186 Remove variable.
3187 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3188 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3189 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3190 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3191 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3192 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3193 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3194 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3195 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3196
66cadc05
JM
3197 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3198
2e8a2de2 31992014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3200
3201 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3202 Remove strpbrk objects.
3203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3204 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3205 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3206 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3207 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3208 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3209
bb2542e0
AZ
3210 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3211 Remove strcspn objects.
3212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3213 (__libc_ifunc_impl_list): Remove strcspn implementation.
3214 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3215 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3216 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3217 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3218
3219 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3220 Remove strspn objetcs.
3221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Remove strspn implementation.
3223 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3224 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3226 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3227
08f1e1d2
JL
32282014-12-01 James Lemke <jwlemke@codesourcery.com>
3229
3230 [BZ #17581]
3231 * malloc/hooks.c
3232 (mem2mem_check): Add a terminator to the chain of checking blocks.
3233 (malloc_check_get_size): Use it here.
3234 (mem2chunk_check): Ditto.
3235
a8a7d7d2
RS
32362014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3237
3238 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3239 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3240
97114a38
CD
32412014-11-29 Carlos O'Donell <carlos@redhat.com>
3242
c8dc1727
CD
3243 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3244
6d03458e
CD
3245 * nptl/nptl-init.c: Include libc-internal.h.
3246 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3247
97114a38
CD
3248 * elf/ldconfig.c (search_dir): Expand comment.
3249
0e7e69ba
JM
32502014-11-29 Joseph Myers <joseph@codesourcery.com>
3251
3252 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3253 variable.
3254 (linknamespace-symlist-stdlibs-tests): Likewise.
3255 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3256 instead of $(objpfx)symlist-stdlibs.
3257 (linknamespace-libs-isoc): New variable.
3258 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3259 (linknamespace-libs-ISO): New variable.
3260 (linknamespace-libs-ISO99): Likewise.
3261 (linknamespace-libs-ISO11): Likewise.
3262 (linknamespace-libs-XPG3): Likewise.
3263 (linknamespace-libs-XPG4): Likewise.
3264 (linknamespace-libs-POSIX): Likewise.
3265 (linknamespace-libs-UNIX98): Likewise.
3266 (linknamespace-libs-XOPEN2K): Likewise.
3267 (linknamespace-libs-POSIX2008): Likewise.
3268 (linknamespace-libs-XOPEN2K8): Likewise.
3269 ($(objpfx)symlist-stdlibs): Replace by
3270 $(linknamespace-symlist-stdlibs-tests). Use
3271 $(linknamespace-libs-$*) as set of libraries.
3272 ($(linknamespace-header-tests)): Update dependencies. Use
3273 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3274 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3275 * conform/linknamespace.pl: Remove comment about considering
3276 definitions of symbols from irrelevant libraries.
3277
d8dd0080
L
32782014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3279
3280 [BZ #13862]
3281 * elf/dl-tls.c: Include <atomic.h>.
3282 (oom): Remove #ifdef SHARED/#endif.
3283 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3284 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3285 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3286 big enough.
3287 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3288 * nptl/Makefile (tests): Add tst-stack4.
3289 (modules-names): Add tst-stack4mod.
3290 ($(objpfx)tst-stack4): New.
3291 (tst-stack4mod.sos): Likewise.
3292 ($(objpfx)tst-stack4.out): Likewise.
3293 ($(tst-stack4mod.sos)): Likewise.
3294 (clean): Likewise.
3295 * nptl/tst-stack4.c: New file.
3296 * nptl/tst-stack4mod.c: Likewise.
3297
167da422
B
32982014-11-27 J. Brown <jb999@gmx.de>
3299
3300 * sysdeps/x86/bits/string.h: Add recent CPUs.
3301
9114625b
JM
33022014-11-27 Joseph Myers <joseph@codesourcery.com>
3303
6b5189eb
JM
3304 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3305 sigblock.
3306
49051f8e
JM
3307 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3308 feof.
3309
9114625b
JM
3310 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3311 variable.
3312
e7300fef
SL
33132014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3314
3315 * nscd/connections.c: Include libc-internal.h because of macro
3316 usage ignore_value.
3317
1721f0a4
SP
33182014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3319
3320 * string/bits/string3.h (__warn_memset_zero_len): Don't
3321 declare for gcc newer than 5.0.
3322 (memset): Don't test for zero-length __LEN for gcc newer than
3323 5.0.
3324
be970916
JM
33252014-11-27 Joseph Myers <joseph@codesourcery.com>
3326
d88548f4
JM
3327 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3328 size_t for %zu format.
3329
be970916
JM
3330 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3331 difference, not %ju.
3332
3b20fd5c
JM
33332014-11-26 Joseph Myers <joseph@codesourcery.com>
3334
8915eace
JM
3335 * include/libc-internal.h (ignore_value): New macro.
3336 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3337 with ignore_value.
3338
f1a5a0e3
JM
3339 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3340 definition.
3341
59ef1715
JM
3342 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3343 pthread_cleanup_push to void *.
3344
a6f3079b
JM
3345 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3346 Undefine.
3347
706688aa
JM
3348 [BZ #16619]
3349 [BZ #16740]
3350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3351 instead of 1L << 52.
3352
12da14a5
JM
3353 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3354 * libio/bug-rewind2.c (do_test): Likewise.
3355
bd5dadac
JM
3356 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3357 * debug/test-strcpy_chk-ifunc.c: Likewise.
3358 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3359 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3360 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3361 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3362 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3363 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3364 * Rules [$(multi-arch) = no] (tests): Do not filter out
3365 $(tests-ifunc).
3366 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3367 * debug/Makefile (tests-ifunc): Remove variable.
3368 (tests): Do not add $(tests-ifunc).
3369 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3370 (tests): Do not add $(tests-ifunc).
3371 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3372 [TEST_IFUNC]: Remove conditionals.
3373 * string/test-string.h (TEST_IFUNC): Remove macro.
3374 [TEST_IFUNC]: Remove conditionals.
3375
3b20fd5c
JM
3376 * string/test-strchr.c [!WIDE] (L): New macro.
3377 [WIDE] (L): Likewise.
3378 (check1): Use CHAR instead of char. Use L on string and character
3379 constants.
3380
704f7947
AZ
33812014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3382
3383 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3384 tests.
3385 * sysdeps/powerpc/bits/atomic.h
3386 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3387 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3388 (atomic_exchange_and_add_acq): Likewise.
3389 (atomic_exchange_and_add_rel): Likewise.
3390 * sysdeps/powerpc/powerpc32/bits/atomic.h
3391 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3392 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3393 * sysdeps/powerpc/powerpc64/bits/atomic.h
3394 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3395 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3396
cdcb42d7
TR
33972014-11-26 Torvald Riegel <triegel@redhat.com>
3398
3399 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3400 Change synchronization of __sched_fifo_min_prio and
3401 __sched_fifo_max_prio.
3402 * nptl/pthread_mutexattr_getprioceiling.c
3403 (pthread_mutexattr_getprioceiling): Likewise.
3404 * nptl/pthread_mutexattr_setprioceiling.c
3405 (pthread_mutexattr_setprioceiling): Likewise.
3406 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3407 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3408 Likewise.
3409
c82f5c0c
JM
34102014-11-26 Joseph Myers <joseph@codesourcery.com>
3411
3412 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3413 void.
3414
439e1ad6
JM
34152014-11-25 Joseph Myers <joseph@codesourcery.com>
3416
3417 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3418 third argument const.
3419
b1eda10e
PE
34202014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3421
3422 fnmatch: work around GCC compiler warning bug with uninit var
3423 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3424 This works around a bug with x86-64 GCC 4.9.2 and earlier
3425 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3426 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3427 used uninitialized in this function [-Wmaybe-uninitialized]".
3428
bde2667a
JM
34292014-11-25 Joseph Myers <joseph@codesourcery.com>
3430
3431 * posix/bug-regex31.c (main): Return RES not 0.
3432
5fbb5691
AB
34332014-11-25 Anton Blanchard <anton@samba.org>
3434
3435 * sysdeps/powerpc/bits/atomic.h
3436 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3437
467fec0b
BM
34382014-11-24 Sterling Augustine <saugustine@google.com>
3439
3440 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3441
e9ff8efb
RC
34422014-11-24 Ryan Cumming <etaoins@gmail.com>
3443
3444 [BZ #17608]
3445 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3446
9744496f
JM
34472014-11-24 Joseph Myers <joseph@codesourcery.com>
3448
3449 [BZ #17633]
3450 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3451 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3452 variable.
3453 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3454 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3455
6423d475
WD
34562014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3457
3458 * string/strncpy.c (strncpy): Improve performance by using memset.
3459
34602014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3461
3462 * string/strcpy.c (strcpy):
3463 Improve performance by using strlen and memcpy.
3464
5d178c37
LH
34652014-11-24 Leonhard Holz <leonhard.holz@web.de>
3466
3467 * string/strcoll_l.c (get_next_seq): __always_inline.
3468 * string/strcoll_l.c (do_compare): __always_inline.
3469
279bc5b3
SP
34702014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3471
7a9ebfa1
SP
3472 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3473 defined.
3474 * include/mqueue.h: Likewise.
3475 * include/stdlib.h: Likewise.
3476
4f41c682
SP
3477 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3478 (get_null_defines): Adjust.
3479 * sunrpc/Makefile: Adjust comment.
3480 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3481 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3482 (CFLAGS-interp.c): Likewise.
3483 (CFLAGS-ldconfig.c): Likewise.
3484 (CPPFLAGS-.os): Likewise.
3485 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3486 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3487 * extra-modules.mk (extra-modules.mk): Likewise.
3488 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3489 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3490 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3491 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3492 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3493 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3494 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3495 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3496 * iconvdata/Makefile (CPPFLAGS): Likewise.
3497 (cpp-srcs-left): Add libof for all iconvdata routines.
3498 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3499 * include/assert.h: Likewise.
3500 * include/ctype.h: Likewise.
3501 * include/errno.h: Likewise.
3502 * include/libc-symbols.h: Likewise.
3503 * include/math.h: Likewise.
3504 * include/netdb.h: Likewise.
3505 * include/resolv.h: Likewise.
3506 * include/stdio.h: Likewise.
3507 * include/stdlib.h: Likewise.
3508 * include/string.h: Likewise.
3509 * include/sys/stat.h: Likewise.
3510 * include/wctype.h: Likewise.
3511 * intl/l10nflist.c: Likewise.
3512 * libidn/idn-stub.c: Likewise.
3513 * libio/libioP.h: Likewise.
3514 * nptl/libc_multiple_threads.c: Likewise.
3515 * nptl/pthreadP.h: Likewise.
3516 * posix/regex_internal.h: Likewise.
3517 * resolv/res_hconf.c: Likewise.
3518 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3519 * sysdeps/arm/memmove.S: Likewise.
3520 * sysdeps/arm/sysdep.h: Likewise.
3521 * sysdeps/generic/_itoa.h: Likewise.
3522 * sysdeps/generic/symbol-hacks.h: Likewise.
3523 * sysdeps/gnu/errlist.awk: Likewise.
3524 * sysdeps/gnu/errlist.c: Likewise.
3525 * sysdeps/i386/i586/memcpy.S: Likewise.
3526 * sysdeps/i386/i586/memset.S: Likewise.
3527 * sysdeps/i386/i686/memcpy.S: Likewise.
3528 * sysdeps/i386/i686/memmove.S: Likewise.
3529 * sysdeps/i386/i686/mempcpy.S: Likewise.
3530 * sysdeps/i386/i686/memset.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3532 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3548 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3550 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3578 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3583 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3586 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3589 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3593 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3594 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3595 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3596 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3597 * sysdeps/posix/closedir.c: Likewise.
3598 * sysdeps/posix/opendir.c: Likewise.
3599 * sysdeps/posix/readdir.c: Likewise.
3600 * sysdeps/posix/rewinddir.c: Likewise.
3601 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3602 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3603 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3604 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3605 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3618 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3622 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3623 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3624 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3625 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3626 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3627 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3628 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3629 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3637 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3638 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3639 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3640 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3641 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3642 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3643 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3645 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3646 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3649 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3650 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3652 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3653 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3654 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3655 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3656 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3658 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3659 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3660 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3661 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3662 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3663 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3664 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3665 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3666 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3667 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3668 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3669 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3670 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3671 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3672 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3673 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3674 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3675 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3676 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3677 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3678 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3679 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3680 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3681 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3683 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3684 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3685 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3686 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3687 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3688 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3689 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3690 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3691 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3692 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3693 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3695 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3696 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3697 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3699 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3700 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3701 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3702 * sysdeps/unix/alpha/sysdep.S: Likewise.
3703 * sysdeps/unix/alpha/sysdep.h: Likewise.
3704 * sysdeps/unix/make-syscalls.sh: Likewise.
3705 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3707 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3708 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3709 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3710 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3711 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3712 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3713 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3714 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3715 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3716 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3718 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3719 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3720 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3721 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3722 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3723 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3724 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3725 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3726 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3727 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3728 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3729 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3730 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3731 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3734 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3735 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3739 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3742 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3744 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3746 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3747 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3755 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3756 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3757 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3758 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3759 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3760 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3761 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3763 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3764 * sysdeps/x86_64/memcpy.S: Likewise.
3765 * sysdeps/x86_64/memmove.c: Likewise.
3766 * sysdeps/x86_64/memset.S: Likewise.
3767 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3769 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3770 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3771 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3772 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3774 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3775 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3776 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3777 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3778 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3779 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3780 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3781 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3782 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3783 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3784 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3785 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3786 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3787 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3790 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3791 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3792 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3793 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3794 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3795 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3796 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3797 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3798 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3799 * sysdeps/x86_64/strcmp.S: Likewise.
3800
76ca86a5
SP
3801 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3802
a3848485
SP
3803 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3804 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3805 * elf/rtld-Rules: Likewise.
3806 * elf/setup-vdso.h: Likewise.
3807 * include/assert.h: Likewise.
3808 * include/bits/stdlib-float.h: Likewise.
3809 * include/errno.h: Likewise.
3810 * include/sys/stat.h: Likewise.
3811 * include/unistd.h: Likewise.
3812 * sysdeps/aarch64/setjmp.S: Likewise.
3813 * sysdeps/alpha/setjmp.S: Likewise.
3814 * sysdeps/arm/__longjmp.S: Likewise.
3815 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3816 * sysdeps/arm/setjmp.S: Likewise.
3817 * sysdeps/arm/sysdep.h: Likewise.
3818 * sysdeps/generic/_itoa.h: Likewise.
3819 * sysdeps/generic/dl-sysdep.h: Likewise.
3820 * sysdeps/generic/ldsodefs.h: Likewise.
3821 * sysdeps/i386/dl-tls.h: Likewise.
3822 * sysdeps/i386/setjmp.S: Likewise.
3823 * sysdeps/m68k/setjmp.c: Likewise.
3824 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3825 * sysdeps/mach/hurd/opendir.c: Likewise.
3826 * sysdeps/posix/getcwd.c: Likewise.
3827 * sysdeps/posix/opendir.c: Likewise.
3828 * sysdeps/posix/profil.c: Likewise.
3829 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3830 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3831 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3832 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3834 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3835 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3836 * sysdeps/s390/dl-tls.h: Likewise.
3837 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3838 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3839 * sysdeps/sh/sh3/setjmp.S: Likewise.
3840 * sysdeps/sh/sh4/setjmp.S: Likewise.
3841 * sysdeps/unix/alpha/sysdep.h: Likewise.
3842 * sysdeps/unix/arm/sysdep.S: Likewise.
3843 * sysdeps/unix/i386/sysdep.S: Likewise.
3844 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3845 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3846 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3847 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3848 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3849 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3850 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3851 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3852 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3853 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3854 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3855 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3856 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3859 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3862 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3863 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3867 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3868 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3871 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3872 * sysdeps/x86_64/setjmp.S: Likewise.
3873
a109996e
SP
3874 * include/math.h: Use IS_IN instead of IS_IN_libm.
3875 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3887 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3895 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3896 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3897 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3898 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3899 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3900 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3902 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3903 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3904 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3905 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3909 Likewise.
3910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3911 Likewise.
3912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3913 Likewise.
3914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3915 Likewise.
3916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3917 Likewise.
3918 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3920 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3921 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3922 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3923 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3929 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3940 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3942 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3944 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3945
ce9f10f7
SP
3946 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3947 * nptl/pthreadP.h: Likewise.
3948 * nptl_db/structs.def: Likewise.
3949 * sysdeps/arm/sysdep.h: Likewise.
3950 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3951 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3952 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3953 * sysdeps/unix/alpha/sysdep.h: Likewise.
3954 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3955 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3956 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3957 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3958 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3959 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3960 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3961 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3962 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3963 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3964 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3965 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3966 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3967 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3970 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3972 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3975 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3976 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3977 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3978 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3979 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3980
016afc75
SP
3981 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3982 * nptl/pthreadP.h: Likewise.
3983 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3984 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3985 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3986 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3987 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3988 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3989 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3990 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3991 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3992 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3993 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3994 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3996 Likewise.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3998 Likewise.
3999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4001 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4004 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4005 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4006 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4007
9b42a0b3
SP
4008 * dlfcn/dladdr.c: Use IS_IN.
4009 * dlfcn/dladdr1.c: Likewise.
4010 * dlfcn/dlclose.c: Likewise.
4011 * dlfcn/dlerror.c: Likewise.
4012 * dlfcn/dlinfo.c: Likewise.
4013 * dlfcn/dlmopen.c: Likewise.
4014 * dlfcn/dlopen.c: Likewise.
4015 * dlfcn/dlsym.c: Likewise.
4016 * dlfcn/dlvsym.c: Likewise.
4017
85f36372
SP
4018 * include/ifaddrs.h: Use IS_IN.
4019 * inet/check_pf.c: Likewise.
4020 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4021 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4022
fb6784e3
SP
4023 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4024 IS_IN_ldconfig.
4025 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4026 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4027
2886d2d1
SP
4028 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4029 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4030 IS_IN (libc).
4031
9a484857
SP
4032 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4033
a10178bd
SP
4034 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4035 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4036 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4037 * include/libc-symbols.h (IS_IN_LIB): New macro.
4038 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4039 * include/netdb.h: Likewise.
4040 * include/stap-probe.h: Remove all uses of IN_LIB.
4041
279bc5b3
SP
4042 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4043 instead of IN_MODULE.
4044 * include/libc-symbols.h (IN_MODULE): Define using
4045 MODULE_NAME.
4046 (PASTE_NAME, PASTE_NAME1): New macros.
4047 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4048 of IN_LIB.
4049 (STAP_PROBE_ASM): Likewise.
4050
e0cfa510
ST
40512014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4052
4053 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4054 __mach_init in dlopened libc.
4055
34d97d87
MF
40562014-11-22 Mike Frysinger <vapier@gentoo.org>
4057
4058 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4059 * sysdeps/arm/preconfigure: Regenerate.
4060
33cd1f74
RM
40612014-11-21 Roland McGrath <roland@hack.frob.com>
4062
4063 * nptl/pthread_create.c (__pthread_create_2_1): Set
4064 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4065 when copying values from IATTR into PD.
4066
8c230039
WN
40672014-11-21 Will Newton <will.newton@linaro.org>
4068 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4069
6d3db89b
AP
4070 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4071 Refactor inline-asm. Also add comment.
4072
01194ba1
WN
4073 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4074 ElfW macro instead of hardcoded Elf64 types.
4075 (la_aarch64_gnu_pltenter): Likewise.
4076 * sysdeps/aarch64/dl-machine.h
4077 (elf_machine_runtime_setup): Use ElfW(Addr).
4078
8c230039
WN
4079 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4080 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4081 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4082 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4083 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4084 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4085 (R_AARCH64_TLS_DTPMOD): This.
4086 (R_AARCH64_TLS_DTPREL64): Rename to ...
4087 (R_AARCH64_TLS_DTPREL): This.
4088 (R_AARCH64_TLS_TPREL64): Rename to ...
4089 (R_AARCH64_TLS_TPREL): This.
4090 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4091 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4092 R_AARCH64_TLS_TPREL64.
4093 (elf_machine_rela): Likewise.
4094
0d79fa53
TR
40952014-11-21 Torvald Riegel <triegel@redhat.com>
4096
4097 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4098 by setting it to 0. 64b atomics are not supported currently.
4099
b59d114b
AO
41002014-11-21 Alexandre Oliva <aoliva@redhat.com>
4101
4102 [BZ #16469]
4103 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4104 search domain names.
4105
f3d945d5
AO
41062014-11-21 Alexandre Oliva <aoliva@redhat.com>
4107
4108 [BZ #16469]
4109 * NEWS: Update.
4110 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4111 trailing dot.
4112 * posix/tst-getaddrinfo5.c: New.
4113 * posix/Makefile (tests): Add it.
4114
49698902
AO
41152014-11-21 Alexandre Oliva <aoliva@redhat.com>
4116
4117 [BZ #14498]
4118 * NEWS: Fixed.
4119 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4120 after parsing line but before break_if_match.
4121 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4122 if there is a protocol mismatch.
4123
81959214
MS
41242014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4125
4126 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4127 because the potential race is on the user-supplied stream.
4128
7729e0e9
AO
41292014-11-21 Alexandre Oliva <aoliva@redhat.com>
4130
4131 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4132 string literal if not passed a buffer.
4133 * manual/job.texi (ctermid): Update reasoning, note deviation
4134 from posix, suggest mtasurace when not passed a buffer, for
4135 future non-preliminary safety notes.
4136
a4ea5e28
AO
41372014-11-21 Alexandre Oliva <aoliva@redhat.com>
4138
4139 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4140 of not passing it a buffer.
4141 Reported by Peng Haitao.
4142
a2b581cb
AO
41432014-11-21 Alexandre Oliva <aoliva@redhat.com>
4144
4145 * manual/Makefile ($(objpfx)stamp-summary): Require
4146 check-safety.sh to pass.
4147 * manual/check-safety.sh: Wish for verification that every
4148 @deftypefn and @deftypefun is followed by a @safety remark.
4149
f214ff74
RM
41502014-11-20 Roland McGrath <roland@hack.frob.com>
4151
7f0dfae0
RM
4152 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4153
2f531bbb
RM
4154 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4155 PTHREAD_CANCEL_ASYNCHRONOUS.
4156 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4157 send SIGCANCEL.
4158
f214ff74
RM
4159 * nptl/default-sched.h: New file.
4160 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4161 * nptl/pthread_create.c: Include it.
4162 (__pthread_create_2_1): Use collect_default_sched instead of making
4163 Linux syscalls here directly.
4164
e37c91d4
TR
41652014-11-20 Torvald Riegel <triegel@redhat.com>
4166
4167 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4168 __pthread_once): Use C11 atomics.
4169
1eccfecd
TR
41702014-11-20 Torvald Riegel <triegel@redhat.com>
4171
4172 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4173
ff871426
TR
41742014-11-20 Torvald Riegel <triegel@redhat.com>
4175
4176 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4177 atomic_thread_fence_acquire, atomic_thread_fence_release,
4178 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4179 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4180 atomic_compare_exchange_weak_relaxed,
4181 atomic_compare_exchange_weak_acquire,
4182 atomic_compare_exchange_weak_release,
4183 atomic_exchange_acquire, atomic_exchange_release,
4184 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4185 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4186 atomic_fetch_and_acquire,
4187 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4188
1ea339b6
TR
41892014-11-20 Torvald Riegel <triegel@redhat.com>
4190
4191 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4192 USE_ATOMIC_COMPILER_BUILTINS): Define.
4193 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4199 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4201 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4203 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4205 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4207 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4209 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4211 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4213 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4215 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4217 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4218 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4219 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4220 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4221 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4222 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4223 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4224 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4225 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4226 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4227 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4228 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4229 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4230 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4231 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4232 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4233
cbd463e2
RM
42342014-11-19 Roland McGrath <roland@hack.frob.com>
4235
d960211f
RM
4236 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4237 the sched_priority value here. It was already checked when the user
4238 called pthread_attr_setschedparam.
4239
cbd463e2
RM
4240 * nptl/tst-bad-schedattr.c: New file.
4241 * nptl/Makefile (tests): Add it.
4242
a39208bd
CD
42432014-11-19 Carlos O'Donell <carlos@redhat.com>
4244 Florian Weimer <fweimer@redhat.com>
4245 Joseph Myers <joseph@codesourcery.com>
4246 Adam Conrad <adconrad@0c3.net>
4247 Andreas Schwab <schwab@suse.de>
4248 Brooks <bmoses@google.com>
4249
4250 [BZ #17625]
4251 * wordexp-test.c (__dso_handle): Add prototype.
4252 (__register_atfork): Likewise.
4253 (__app_register_atfork): New function.
4254 (registered_forks): New global.
4255 (register_fork): New function.
4256 (test_case): Add 3 new tests for WRDE_CMDSUB.
4257 (main): Call __app_register_atfork.
4258 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4259 fork count is non-zero fail the test.
4260 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4261 is set.
4262 (parse_dollars): Remove check for WRDE_NOCMD.
4263 (parse_dquote): Likewise.
4264
9cd47470
SP
42652014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4266
130ac68c
SP
4267 * Makeconfig (built-modules): List non-library modules to be
4268 built.
4269 (module-cppflags): Include libc-modules.h for
4270 everything except shlib-versions.v.i.
4271 (CPPFLAGS): Use it.
4272 (before-compile): Add libc-modules.h.
4273 ($(common-objpfx)libc-modules.h,
4274 $(common-objpfx)libc-modules.stmp): New targets.
4275 (common-generated): Add libc-modules.h and libc-modules.stmp.
4276 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4277 * include/libc-symbols.h: Don't include libc-modules.h.
4278 * include/libc-modules.h: Remove file.
4279 * scripts/gen-libc-modules.awk: New script to generate
4280 libc-modules.h.
4281 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4282 Depend on libc-modules.stmp.
4283
286663c3
SP
4284 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4285
9cd47470
SP
4286 * Makeconfig (in-module): Get value of libof set for the
4287 translation unit.
4288 (CPPFLAGS): Use $(in-module).
4289 * Makerules: Don't suffix routine names for nonlib.
4290 * include/libc-modules.h: New file.
4291 * include/libc-symbols.h: Include libc-modules.h
4292 (IS_IN): New macro to replace IS_IN_* macros.
4293 * elf/Makefile: Set libof-* for each routine.
4294 * elf/rtld-Rules: Likewise.
4295 * extra-modules.mk: Likewise.
4296 * iconv/Makefile: Likewise.
4297 * iconvdata/Makefile: Likewise.
4298 * locale/Makefile: Likewise.
4299 * malloc/Makefile: Likewise.
4300 * nss/Makefile: Likewise.
4301 * sysdeps/gnu/Makefile: Likewise.
4302 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4303 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4304 * sysdeps/s390/s390-64/Makefile: Likewise.
4305 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4306 CPPFLAGS for nscd instead of nonlib.
4307
32fed10f
RM
43082014-11-18 Roland McGrath <roland@hack.frob.com>
4309
d71035bd
RM
4310 * nptl/createthread.c: New file.
4311
6540b991
RM
4312 * nptl/createthread.c: Moved ...
4313 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4314
32fed10f
RM
4315 * nptl/createthread.c: Add proper top-line comment.
4316 (do_clone): Folded into ...
4317 (create_thread): ... here. Take new arguments STOPPED_START and
4318 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4319 increment __nptl_threads, do event-reporting logic, do
4320 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4321 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4322 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4323 just send SIGCANCEL.
4324 * nptl/pthread_create.c: Forward-declare create_thread before
4325 including createthread.c.
4326 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4327 declaration, and new macro START_THREAD_SELF to replace argument.
4328 Remove return statement.
4329 (report_thread_creation): New function.
4330 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4331 synchronization logic, and __nptl_nthreads increment here, around
4332 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4333 PD->parent_cancelhandling here, before create_thread. When
4334 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4335 __deallocate_stack, and ENOMEM translation here.
4336
107a5bf0
JM
43372014-11-18 Joseph Myers <joseph@codesourcery.com>
4338
4339 [BZ #17616]
4340 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4341 (mptwo): Rename to __mptwo.
4342 (__inv): Use __mptwo instead of mptwo.
4343 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4344 (mptwo): Rename to __mptwo.
4345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4346 of mpone and __mptwo instead of mptwo.
4347 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4348 instead of mpone.
4349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4350 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4351 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4352 of mpone and __mptwo instead of mptwo.
4353 (__mpranred): Use __mpone instead of mpone.
4354 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4355 variable.
4356 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4357 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4358 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4359 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4360 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4361 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4362 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4363 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4364 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4365 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4366 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4367 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4368 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4369 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4370 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4371 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4372 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4373 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4374 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4375
3b679ab3
TV
43762014-11-18 Tom de Vries <tom@codesoucery.com>
4377
4378 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4379 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4380
43812014-11-17 Richard Henderson <rth@redhat.com>
4382
4383 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4384 (_FP_PACK_RAW_2): Remove.
4385 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4386 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4387 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4388 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4389 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4390 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4391 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4392 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4393 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4394 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4395 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4396 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4397 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4398 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4399 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4400 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4401
0781a777
RM
44022014-11-14 Roland McGrath <roland@hack.frob.com>
4403
4404 * signal/signal.h [__USE_MISC]
4405 (struct sigvec): Remove type.
4406 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4407 (sigvec): Remove declaration.
4408 * sysdeps/posix/sigvec.c: Moved ...
4409 * signal/sigvec.c: ... here, replacing old file.
4410 (struct sigvec): New type, copied from old signal.h definition.
4411 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4412 (__sigvec): Convert definition to prototype.
4413 (sigvec): Replace weak_alias with compat_symbol.
4414 * signal/Versions (libc: GLIBC_2.21): New version set.
4415 * include/signal.h: Remove __sigvec declaration.
4416 * sysdeps/unix/bsd/sigvec.c: Remove file.
4417 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4418 * manual/signal.texi (BSD Handler): Remove subsection.
4419 Move siginterrupt up to ...
4420 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4421 (Blocking in BSD): Fold subsection into its parent.
4422 * NEWS: Mention sigvec removal.
4423
a4733812
JM
44242014-11-14 Joseph Myers <joseph@codesourcery.com>
4425
5ae4fe60
JM
4426 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4427 (DLA_FMS): Make definition conditional only on [__FMA4__].
4428 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4429 definition.
4430
6a0dd472
JM
4431 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4432 Make definition conditional only on [PROF].
4433 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4434 definition.
4435 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4436 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4437
a4733812
JM
4438 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4439 !__GNUC__].
4440 * include/signal.h (__sigpause): Move declaration above call to
4441 libc_hidden_proto.
4442 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4443 variable.
4444 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4445 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4446
cf7246dd
DM
44472014-11-14 David S. Miller <davem@davemloft.net>
4448
4449 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4450 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4451
c1b0aadc
JM
44522014-11-14 Joseph Myers <joseph@codesourcery.com>
4453
4863355a
JM
4454 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4455 * configure: Regenerated.
4456 * manual/install.texi (Tools for Compilation): Document a
4457 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4458 compiler verified to work.
4459 * INSTALL: Regenerated.
4460
c1b0aadc
JM
4461 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4462 redeclare with asm name.
4463 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4464 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4465 including <string.h>.
4466 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4467 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4468 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4470 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4472 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4473
2a1cfd94
JM
44742014-11-13 Joseph Myers <joseph@codesourcery.com>
4475
bf438382
JM
4476 * stdlib/strtol.c (__strtol): Use prototype definition.
4477
2a1cfd94
JM
4478 [BZ #17594]
4479 * stdlib/strtol.c (SYM__): New macro.
4480 (SYM__1): Likewise.
4481 (__strtol): Likewise.
4482 (strtol): Rename to __strtol and define as weak alias of
4483 __strtol. Use libc_hidden_weak.
4484
20ed0d26
SL
44852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4486
4487 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4488 Use numbered labels in inline assembly.
4489
53244a4e
SL
44902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4491
4492 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4493 Add setjmp LIBC_PROBE.
4494 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4495 Likewise.
4496 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4497 Add longjmp, longjmp_target LIBC_PROBE.
4498 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4499 Likewise.
4500
47df8251
SL
45012014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4502
4503 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4504 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4505 to get rid of unused variable warning.
4506
618cebef
SL
45072014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4508
4509 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4510 Check for unwind_backtrace == NULL only in SHARED case.
4511 (__backchain_backtrace): Compile only in SHARED case.
4512 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4513 Likewise.
4514 (__backchain_backtrace): Declare as static.
4515
c6aab2cb
RM
45162014-11-12 Roland McGrath <roland@hack.frob.com>
4517
4518 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4519 (__libc_multiple_threads_ptr): Variable moved ...
4520 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4521
5a6fa4d7
JM
45222014-11-12 Joseph Myers <joseph@codesourcery.com>
4523
24f4f825
JM
4524 * conform/GlibcConform.pm: New file.
4525 * conform/conformtest.pl: Use GlibcConform module.
4526 * conform/linknamespace.pl: New file.
4527 * conform/list-header-symbols.pl: Likewise.
4528 * conform/Makefile (linknamespace-symlists-base): New variable.
4529 (linknamespace-symlists-tests): Likewise.
4530 (linknamespace-header-base): Likewise.
4531 (linknamespace-header-tests): Likewise.
4532 (tests-special): Add new tests.
4533 ($(linknamespace-symlists-tests)): New rule.
4534 (linknamespace-libs): New variable.
4535 ($(objpfx)symlist-stdlibs): New rule.
4536 ($(linknamespace-header-tests)): Likewise.
4537 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4538 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4539 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4540 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4541 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4542 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4543 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4544 (test-xfail-ISO/math.h/linknamespace): Likewise.
4545 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4546 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4547 (test-xfail-ISO/time.h/linknamespace): Likewise.
4548 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4549 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4550 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4551 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4552 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4553 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4554 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4555 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4556 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4557 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4558 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4559 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4560 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4561 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4562 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4563 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4564 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4565 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4566 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4567 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4568 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4569 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4570 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4571 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4572 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4573 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4574 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4575 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4576 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4577 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4578 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4579 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4580 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4581 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4582 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4583 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4584 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4585 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4586 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4587 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4588 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4589 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4590 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4591 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4592 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4593 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4594 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4595 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4596 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4597 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4598 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4599 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4600 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4601 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4602 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4603 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4604 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4605 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4606 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4607 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4608 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4609 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4610 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4611 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4612 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4613 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4614 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4615 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4616 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4617 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4618 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4619 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4620 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4621 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4622 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4623 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4624 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4625 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4626 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4627 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4628 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4629 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4630 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4631 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4632 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4633 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4634 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4635 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4638 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4640 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4641 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4642 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4643 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4644 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4645 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4646 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4647 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4648 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4649 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4650 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4651 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4652 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4653 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4654 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4655 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4656 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4657 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4658 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4659 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4660 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4661 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4662 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4663 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4664 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4665 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4666 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4667 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4668 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4669 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4670 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4671 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4672 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4673 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4674 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4676 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4677 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4680 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4681 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4682 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4683 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4684 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4685 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4686 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4687 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4688 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4689 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4690 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4691 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4692 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4693 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4694 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4695 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4696 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4697 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4698
cc67478e
JM
4699 [BZ #17589]
4700 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4701 of fgets_unlocked.
4702
9975e3d3
JM
4703 [BZ #17585]
4704 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4705 (memmem): Rename to __memmem and define as weak alias of
4706 __memmem. Use libc_hidden_weak.
4707 (__memmem): Use libc_hidden_def.
4708 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4709 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4710 memmem.
4711
c4eae752
JM
4712 [BZ #17582]
4713 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4714 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4715 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4716 and define as weak alias of __fgets_unlocked. Use
4717 libc_hidden_weak.
4718 (__fgets_unlocked): Use libc_hidden_def.
4719 * include/stdio.h (__fgets_unlocked): Declare. Use
4720 libc_hidden_proto.
4721 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4722 __fgets_unlocked instead of fgets_unlocked.
4723 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4724 (GET_NPROCS_CONF_PARSER): Likewise.
4725 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4726 (GET_NPROCS_CONF_PARSER): Likewise.
4727
01cad84e
JM
4728 [BZ #17574]
4729 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4730 weak alias of __wmemset. Use libc_hidden_weak.
4731 (__wmemset): Use libc_hidden_def.
4732 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4733 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4734 of wmemset.
4735
939da411
JM
4736 [BZ #17573]
4737 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4738 with asm name __mempcpy.
4739 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4740
293d9a41
JM
4741 [BZ #17572]
4742 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4743 and define as weak alias of __rawmemchr.
4744 (__rawmemchr): Do not define as strong alias of rawmemchr.
4745
bef8fd60
JM
4746 [BZ #17571]
4747 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4748 alias of __qsort_r.
4749 (qsort): Call __qsort_r instead of qsort_r.
4750 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4751 (__qsort_r): Declare. Call libc_hidden_proto.
4752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4753 instead of qsort_r.
4754 * nscd/gai.c (__qsort_r): Define to qsort_r.
4755 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4756 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4757 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4758
c52ff39e
JM
4759 [BZ #17570]
4760 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4761 define as weak alias of __malloc_info.
4762
2f5c1b00
JM
4763 [BZ #17584]
4764 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4765 as weak alias of __rewinddir. Don't use libc_hidden_def.
4766 (__rewinddir): Use libc_hidden_def.
4767 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4768 as weak alias of __rewinddir. Don't use libc_hidden_def.
4769 (__rewinddir): Use libc_hidden_def.
4770 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4771 weak alias of __rewinddir. Don't use libc_hidden_def.
4772 (__rewinddir): Use libc_hidden_def.
4773 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4774 (__rewinddir): Use libc_hidden_proto.
4775 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4776 rewinddir.
4777 (__getcwd): Use __rewinddir instead of rewinddir.
4778
5a6fa4d7
JM
4779 [BZ #17583]
4780 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4781 alias of __fileno. Use libc_hidden_weak.
4782 (__fileno): Use libc_hidden_def.
4783 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4784 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4785 alias of __ftello.
4786 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4787 __ftello.
4788 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4789 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4790 libc_hidden_def.
4791 (fread_unlocked): Don't use libc_hidden_ver.
4792 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4793 and define as weak alias of __fread_unlocked. Don't use
4794 libc_hidden_def.
4795 (__fread_unlocked): Use libc_hidden_def.
4796 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4797 (ftello): Don't use libc_hidden_proto.
4798 (__ftello): Declare. Use libc_hidden_proto.
4799 (fread_unlocked): Don't use libc_hidden_proto.
4800 (__fread_unlocked): Declare. Use libc_hidden_proto.
4801 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4802 and __ftello instead of fileno, fread_unlocked and ftello.
4803
2581b98e
SP
48042012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4805
4806 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4807 GOT12.
4808 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4809 Likewise.
4810 (_dl_start_user): Likewise.
4811 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4812
533bb7c2
SP
48132014-11-12 Carlos O'Donell <carlos@redhat.com>
4814 Siddhesh Poyarekar <siddhesh@redhat.com>
4815
4816 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4817 Move argv and envp down instead of moving argc up.
4818 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4819
fffa1cf8
LH
48202014-11-12 Leonhard Holz <leonhard.holz@web.de>
4821
4822 [BZ #17506]
4823 * test-skeleton.c (main): Return successful if one of
4824 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4825 * string/tst-strcoll-overflow.c: Define expected status.
4826
fb89b46d
TU
48272014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4828
4829 [BZ #17475]
4830 * locale/iso-639.def: Define Bhili and Tulu language codes.
4831
5c40c3ba
AH
48322014-11-11 Alan Hayward <alan.hayward@arm.com>
4833
4834 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4835
b17fe01b 48362014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4837
4838 [BZ #17555]
4839 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4840
bd805071
AS
48412014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4842
4843 * configure.ac: Updated check of minimal required version to
4844 2.22.
4845 * manual/install.texi (Tools for Compilation): Updated version
4846 number.
4847 * configure: Regenerated.
4848 * INSTALL: Likewise.
4849
1400983e
AS
48502014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4851
4852 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4853 __tls_get_addr.
4854
2c46a66a
JM
48552014-11-07 Joseph Myers <joseph@codesourcery.com>
4856
4857 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4858 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4859 (__waitpid): Don't define as alias. Use libc_hidden_def not
4860 libc_hidden_weak.
4861 (waitpid): Define as alias of __waitpid.
4862 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4863 __waitpid.
4864 (__waitpid): Don't define as alias. Use libc_hidden_def not
4865 libc_hidden_weak.
4866 (waitpid): Define as alias of __waitpid.
4867 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4868 __libc_waitpid alias.
4869 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4870 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4871 Likewise.
4872 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4873 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4874 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4875 alias.
4876 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4877 __waitpid.
4878 (__waitpid): Don't define as alias. Use libc_hidden_def not
4879 libc_hidden_weak.
4880 (waitpid): Define as alias of __waitpid.
4881
da53d6db
CD
48822014-11-06 Carlos O'Donell <carlos@redhat.com>
4883
a2887bdb
CD
4884 * manual/llio.texi: Add comment that write safety has been
4885 fixed in Linux.
4886
da53d6db
CD
4887 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4888 (localplt-build-dso): Add elf/ld.so.
4889 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4890 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4891 and free for ld.so.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4893 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4897 Likewise.
4898 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4899 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4900 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4901 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4902 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4903 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4904 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4905 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4906 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4907 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4908 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4909
9cf27b8d
JM
49102014-11-05 Joseph Myers <joseph@codesourcery.com>
4911
4912 [BZ #14132]
4913 * include/libc-symbols.h (INTUSE): Remove macro.
4914 (INTDEF): Likewise.
4915 (INTVARDEF): Likewise.
4916 (_INTVARDEF): Likewise.
4917 (INTDEF2): Likewise.
4918 (INTVARDEF2): Likewise.
4919 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4920 rtld_hidden_def instead of INTVARDEF.
4921 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4922 (_dl_starting_up_internal): Remove declaration.
4923 (_dl_starting_up): Use rtld_hidden_proto.
4924 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4925 declaration.
4926 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4927 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4928 _dl_starting_up.
4929 * elf/dl-writev.h (_dl_writev): Likewise.
4930 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4931 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4932 _dl_starting_up_internal.
4933
af83568d
AZ
49342014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935
4936 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4937 test-skeleton.c.
4938
b01ee67c
WN
49392014-11-05 Will Newton <will.newton@linaro.org>
4940
4941 * benchtests/Makefile: (bench-malloc): Add malloc thread
4942 scalability benchmark.
4943 * benchtests/bench-malloc-threads.c: New file.
4944
be9d4ccc
RE
49452014-11-05 Richard Earnshaw <rearnsha@arm.com>
4946
4947 * sysdeps/aarch64/strchrnul.S: New file.
4948
7110166d
AZ
49492014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4950
4951 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4952 definition.
4953 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4954 Likwise.
4955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4956 Likewise.
4957 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4958 Likewise.
4959 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4960 Likewise.
4961 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4962 Likewise.
4963
49642014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4965
4966 * catgets/test-gencat.c: Use test-skeleton.c.
4967 * catgets/tst-catgets.c: Likewise.
4968 * csu/tst-empty.c: Likewise.
4969 * elf/tst-audit2.c: Likewise.
4970 * elf/tst-global1.c: Likewise.
4971 * elf/tst-pathopt.c: Likewise.
4972 * elf/tst-piemod1.c: Likewise.
4973 * elf/tst-tls10.c: Likewise.
4974 * elf/tst-tls11.c: Likewise.
4975 * elf/tst-tls12.c: Likewise.
4976 * gnulib/tst-gcc.c: Likewise.
4977 * iconvdata/tst-e2big.c: Likewise.
4978 * iconvdata/tst-loading.c: Likewise.
4979 * iconv/tst-iconv1.c: Likewise.
4980 * iconv/tst-iconv2.c: Likewise.
4981 * inet/test-inet6_opt.c: Likewise.
4982 * inet/tst-gethnm.c: Likewise.
4983 * inet/tst-network.c: Likewise.
4984 * inet/tst-ntoa.c: Likewise.
4985 * intl/tst-codeset.c: Likewise.
4986 * intl/tst-gettext2.c: Likewise.
4987 * intl/tst-gettext3.c: Likewise.
4988 * intl/tst-ngettext.c: Likewise.
4989 * intl/tst-translit.c: Likewise.
4990 * io/test-stat.c: Likewise.
4991 * libio/test-fmemopen.c: Likewise.
4992 * libio/tst-freopen.c: Likewise.
4993 * libio/tst-sscanf.c: Likewise.
4994 * libio/tst-ungetwc1.c: Likewise.
4995 * libio/tst-ungetwc2.c: Likewise.
4996 * libio/tst-widetext.c: Likewise.
4997 * localedata/tst-ctype.c: Likewise.
4998 * localedata/tst-digits.c: Likewise.
4999 * localedata/tst-leaks.c: Likewise.
5000 * localedata/tst-mbswcs1.c: Likewise.
5001 * localedata/tst-mbswcs2.c: Likewise.
5002 * localedata/tst-mbswcs3.c: Likewise.
5003 * localedata/tst-mbswcs4.c: Likewise.
5004 * localedata/tst-mbswcs5.c: Likewise.
5005 * localedata/tst-setlocale.c: Likewise.
5006 * localedata/tst-trans.c: Likewise.
5007 * localedata/tst-wctype.c: Likewise.
5008 * localedata/tst-xlocale1.c: Likewise.
5009 * login/tst-grantpt.c: Likewise.
5010 * malloc/tst-calloc.c: Likewise.
5011 * malloc/tst-malloc.c: Likewise.
5012 * malloc/tst-mallocstate.c: Likewise.
5013 * malloc/tst-mcheck.c: Likewise.
5014 * malloc/tst-mtrace.c: Likewise.
5015 * malloc/tst-obstack.c: Likewise.
5016 * math/atest-exp2.c: Likewise.
5017 * math/atest-exp.c: Likewise.
5018 * math/atest-sincos.c: Likewise.
5019 * math/test-matherr.c: Likewise.
5020 * math/test-misc.c: Likewise.
5021 * math/test-powl.c: Likewise.
5022 * math/tst-definitions.c: Likewise.
5023 * misc/tst-dirname.c: Likewise.
5024 * misc/tst-efgcvt.c: Likewise.
5025 * misc/tst-fdset.c: Likewise.
5026 * misc/tst-hsearch.c: Likewise.
5027 * misc/tst-mntent2.c: Likewise.
5028 * nptl/tst-sem7.c: Likewise.
5029 * nptl/tst-sem8.c: Likewise.
5030 * nptl/tst-sem9.c: Likewise.
5031 * nss/test-netdb.c: Likewise.
5032 * posix/tst-fnmatch.c: Likewise.
5033 * posix/tst-getlogin.c: Likewise.
5034 * posix/tst-gnuglob.c: Likewise.
5035 * posix/tst-mmap.c: Likewise.
5036 * pwd/tst-getpw.c: Likewise.
5037 * resolv/tst-inet_ntop.c: Likewise.
5038 * rt/tst-timer.c: Likewise.
5039 * stdio-common/test-fseek.c: Likewise.
5040 * stdio-common/test-popen.c: Likewise.
5041 * stdio-common/test-vfprintf.c: Likewise.
5042 * stdio-common/tst-cookie.c: Likewise.
5043 * stdio-common/tst-fileno.c: Likewise.
5044 * stdio-common/tst-gets.c: Likewise.
5045 * stdio-common/tst-obprintf.c: Likewise.
5046 * stdio-common/tst-perror.c: Likewise.
5047 * stdio-common/tst-sprintf2.c: Likewise.
5048 * stdio-common/tst-sprintf3.c: Likewise.
5049 * stdio-common/tst-sprintf.c: Likewise.
5050 * stdio-common/tst-swprintf.c: Likewise.
5051 * stdio-common/tst-tmpnam.c: Likewise.
5052 * stdio-common/tst-unbputc.c: Likewise.
5053 * stdio-common/tst-wc-printf.c: Likewise.
5054 * stdlib/tst-environ.c: Likewise.
5055 * stdlib/tst-fmtmsg.c: Likewise.
5056 * stdlib/tst-limits.c: Likewise.
5057 * stdlib/tst-rand48-2.c: Likewise.
5058 * stdlib/tst-rand48.c: Likewise.
5059 * stdlib/tst-random2.c: Likewise.
5060 * stdlib/tst-random.c: Likewise.
5061 * stdlib/tst-strtol.c: Likewise.
5062 * stdlib/tst-strtoll.c: Likewise.
5063 * stdlib/tst-tls-atexit.c: Likewise.
5064 * stdlib/tst-xpg-basename.c: Likewise.
5065 * string/test-ffs.c: Likewise.
5066 * string/tst-bswap.c: Likewise.
5067 * string/tst-inlcall.c: Likewise.
5068 * string/tst-strtok.c: Likewise.
5069 * string/tst-strxfrm.c: Likewise.
5070 * sysdeps/x86_64/tst-audit10.c: Likewise.
5071 * sysdeps/x86_64/tst-audit3.c: Likewise.
5072 * sysdeps/x86_64/tst-audit4.c: Likewise.
5073 * sysdeps/x86_64/tst-audit5.c: Likewise.
5074 * time/tst-ftime_l.c: Likewise.
5075 * time/tst-getdate.c: Likewise.
5076 * time/tst-mktime3.c: Likewise.
5077 * time/tst-mktime.c: Likewise.
5078 * time/tst-posixtz.c: Likewise.
5079 * time/tst-strptime2.c: Likewise.
5080 * time/tst-strptime3.c: Likewise.
5081 * wcsmbs/tst-btowc.c: Likewise.
5082 * wcsmbs/tst-mbrtowc.c: Likewise.
5083 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5084 * wcsmbs/tst-wchar-h.c: Likewise.
5085 * wcsmbs/tst-wcpncpy.c: Likewise.
5086 * wcsmbs/tst-wcrtomb.c: Likewise.
5087 * wcsmbs/tst-wcsnlen.c: Likewise.
5088 * wcsmbs/tst-wcstof.c: Likewise.
5089
2004e7fb
JM
50902014-11-04 Joseph Myers <joseph@codesourcery.com>
5091
ab97ee8f
JM
5092 [BZ #14132]
5093 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5094 INTDEF.
5095 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5096 declaration.
5097 (_dl_mcount): Use rtld_hidden_proto.
5098 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5099 _dl_mcount.
5100 * elf/rtld.c (_rtld_global_ro): Likewise.
5101
c5684fdb
JM
5102 [BZ #14132]
5103 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5104 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5105 of _dl_init_internal.
5106 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5107 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5108 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5109 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5110 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5111 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5112 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5113 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5114 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5115 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5116 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5117 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5118 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5119 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5120 * sysdeps/tile/dl-start.S (_start): Likewise.
5121 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5122 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5123
4243cbea
JM
5124 [BZ #14132]
5125 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5126 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5127 (rtld_progname): Make macro definition unconditional.
5128 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5129 INTDEF.
5130 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5131 (dl_main): Likewise.
5132 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5133 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5134 instead of _dl_argv_internal.
5135 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5136 __GI__dl_argv instead of INTUSE(_dl_argv).
5137 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5138 __GI__dl_argv instead of _dl_argv_internal.
5139
2004e7fb
JM
5140 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5141 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5142 macro.
5143 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5144 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5145 New macro.
5146 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5147 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5148 macro.
5149 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5150 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5151
97827bfc
AS
51522014-11-04 Andreas Schwab <schwab@suse.de>
5153
5154 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5155
5e4df284
AZ
51562014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5157
5158 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5159 mtvsrd instruction in binary form.
5160
04b76b5a
AS
51612014-11-03 Andreas Schwab <schwab@suse.de>
5162
5163 [BZ #17522]
5164 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5165 for less than MB_LEN_MAX use a local buffer of that size.
5166 * libio/tst-fputws.c: New file.
5167 * libio/Makefile (tests): Add tst-fputws.
5168
4c6da7da
JM
51692014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5170
5171 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5172 the size of the fpu_fr.fpu_dregs[] array.
5173
1679ba8e
JM
51742014-11-01 Joseph Myers <joseph@codesourcery.com>
5175
5176 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5177 (__nanosleep): Do not define as alias.
5178 (nanosleep): Define as alias of __nanosleep.
5179 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5180 __libc_nanosleep name.
5181
2626c183
JM
51822014-10-31 Joseph Myers <joseph@codesourcery.com>
5183
5184 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5185 install.texi in comment.
5186
7f981fc2
TR
51872014-10-31 Torvald Riegel <triegel@redhat.com>
5188
5189 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5190 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5191 ... add here and use lwsync or sync ...
5192 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5193 ... and add here using lwsync.
5194
d6f373d2
MF
51952014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5196
5197 * elf/dl-machine-reject-phdr.h: New file.
5198 * elf/dl-load.c: #include that.
5199 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5200 if that returned true.
5201
67c37987
RM
52022014-10-31 Roland McGrath <roland@hack.frob.com>
5203
5204 [BZ #17496]
5205 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5206 gen-as-const-headers chunk. Add a big scare comment after the last
5207 safe place to touch before-compile.
5208
94a42455 52092014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5210
f3f5d895
JM
5211 * manual/install.texi (Tools for Compilation): Update autoconf
5212 version requirements.
5213 * INSTALL: Regenerated.
5214
f62ff286
JM
5215 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5216 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5217 (__libc_pselect): Likewise.
94a42455
JM
5218
5219 [BZ #14138]
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5224
ff9dbdc0
TR
52252014-10-31 Torvald Riegel <triegel@redhat.com>
5226
5227 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5228 correct barrier instruction.
5229 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5230 Likewise.
5231 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5232 Likewise.
5233
b4f66884
RM
52342014-10-30 Roland McGrath <roland@hack.frob.com>
5235
5236 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5237 after defining inlines. Instead, just use parens to defeat macro
5238 expansion of __isctype in its declaration.
5239
e19c95fd
JM
52402014-10-30 Joseph Myers <joseph@codesourcery.com>
5241
5242 * include/sys/uio.h (__libc_readv): Remove declaration.
5243 (__libc_writev): Likewise.
5244 * misc/readv.c (__libc_readv): Rename to __readv.
5245 (__readv): Do not define as alias.
5246 (readv): Define as alias of __readv.
5247 * misc/writev.c (__libc_writev): Rename to __writev.
5248 (__writev): Do not define as alias.
5249 (writev): Define as alias of __writev.
5250 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5251 (__readv): Do not define as alias.
5252 (readv): Define unconditionally as alias of __readv.
5253 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5254 (__writev): Do not define as alias.
5255 (writev): Define unconditionally as alias of __writev.
5256 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5257 name.
5258 (writev): Do not define __libc_writev name.
5259
65b00b6c
RM
52602014-10-30 Roland McGrath <roland@hack.frob.com>
5261
5262 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5263 (convert_charseq): New function, broken out of ...
5264 (use_from_charmap): ... here. Call it.
5265 (use_to_charmap): Use convert_charseq and free instead of duplicating
5266 its code with a variable-length stack struct.
5267
d4e157aa
JM
52682014-10-30 Joseph Myers <joseph@codesourcery.com>
5269
5270 * include/fcntl.h (__libc_creat): Remove declaration.
5271 * io/creat.c (__libc_creat): Rename to creat.
5272 (creat): Do not define as alias.
5273 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5274 of creat instead of __libc_creat.
5275 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5276 to creat.
5277 (creat): Do not define as alias.
5278 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5279 __libc_creat.
5280 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5281 __libc_creat name.
5282 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5283 Likewise.
5284
0c6891a0
CD
52852014-10-29 Carlos O'Donell <carlos@redhat.com>
5286
5287 * manual/llio.texi: Add comments discussing why write() may be
5288 considered MT-unsafe on Linux.
5289
cc00cece
CD
52902014-10-28 Carlos O'Donell <carlos@redhat.com>
5291
5292 * dl-load.c (local_strdup): Remove.
5293 (expand_dynamic_string_token): Use __strdup.
5294 (decompose_rpath): Likewise.
5295 (_dl_map_object): Likewise.
5296
51e623f2
JM
52972014-10-28 Joseph Myers <joseph@codesourcery.com>
5298
5299 [BZ #14132]
5300 * sysdeps/generic/unwind-dw2-fde.c
5301 (__register_frame_info_bases_internal): Do not declare.
5302 (__register_frame_info_table_bases_internal): Likewise.
5303 (__deregister_frame_info_bases_internal): Likewise.
5304 (__register_frame_info_bases): Declare and use hidden_proto before
5305 definition. Use hidden_def instead of INTDEF.
5306 (__register_frame_info_table_bases): Likewise.
5307 (__deregister_frame_info_bases): Likewise.
5308 (__register_frame_info): Do not use INTUSE.
5309 (__register_frame): Likewise.
5310 (__register_frame_info_table): Likewise.
5311 (__register_frame_table): Likewise.
5312 (__deregister_frame_info): Likewise.
5313 (__deregister_frame): Likewise.
5314
03d41216
GC
53152014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5316
5317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5318 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5319 not undefine.
5320 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5321 Likewise.
5322 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5323 Likewise.
5324
a4b3624d
JM
53252014-10-27 Joseph Myers <joseph@codesourcery.com>
5326
5327 [BZ #14138]
5328 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5329 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5330 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5331 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5332 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5333 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5334 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5335 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5336 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5337 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5338 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5339 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5340 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5341 syscall.
5342 (setfsuid): Likewise.
5343 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5344 (setfsuid): Likewise.
5345 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5346 (setfsuid): Likewise.
5347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5348 Likewise.
5349 (setfsuid): Likewise.
5350 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5351 (setfsuid): Likewise.
5352 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5353 Likewise.
5354 (setfsuid): Likewise.
5355
3574f2fd
AS
53562014-10-27 Andreas Schwab <schwab@suse.de>
5357
5358 [BZ #17501]
5359 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5360 check for Slow_SSE4_2 feature bit.
5361 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5362 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5363 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5364 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5365
70996a37
RM
53662014-10-24 Roland McGrath <roland@hack.frob.com>
5367
461a7b1e
RM
5368 * configure.ac: Validate compiler version with a empirical test of
5369 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5370 $CC -v output.
5371 * configure: Regenerated.
5372
70996a37
RM
5373 * inet/htons.c (htons): Prototypify.
5374 * inet/htonl.c (htonl): Likewise.
5375
e80514b5
WD
53762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5377
5378 * string/strncat.c (strncat): Improve performance by using strlen.
5379
6e46de42
WD
53802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5381
5382 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5383
6a9ad2fa
WD
53842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5385
5386 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5387 Call libc_fetestexcept_aarch64.
5388
1c8810ed
WD
53892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5390
5391 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5392 Call libc_feholdexcept_aarch64.
5393
8b1af712
WD
53942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5395
5396 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5397 Call get_rounding_mode.
5398
a7b00c11
WD
53992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5400
5401 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5402 Simplify logic.
5403
3a84f1a6
WD
54042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5405
5406 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5407 Simplify logic.
5408
48eb7a94
JM
54092014-10-24 Joseph Myers <joseph@codesourcery.com>
5410
c8bc4038
JM
5411 [BZ #14138]
5412 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5413 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5414 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5415 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5416 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5417 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5418 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5419 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5420 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5421 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5422 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5423 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5424 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5425 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5426 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5427 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5428 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5429 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5430 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5431 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5432 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5433 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5435 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5436 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5437 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5438 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5439 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5440 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5441 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5442 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5443 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5444 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5445 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5446 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5447 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5448 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5449 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5451 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5452 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5453 syscall.
5454 (geteuid): Likewise.
5455 (getgid): Likewise.
5456 (getuid): Likewise.
5457 (getresgid): Likewise.
5458 (getresuid): Likewise.
5459 (getgroups): Likewise.
5460 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5461 (geteuid): Likewise.
5462 (getgid): Likewise.
5463 (getuid): Likewise.
5464 (getresgid): Likewise.
5465 (getresuid): Likewise.
5466 (getgroups): Likewise.
5467 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5468 (geteuid): Likewise.
5469 (getgid): Likewise.
5470 (getuid): Likewise.
5471 (getresgid): Likewise.
5472 (getresuid): Likewise.
5473 (getgroups): Likewise.
5474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5475 Likewise.
5476 (geteuid): Likewise.
5477 (getgid): Likewise.
5478 (getuid): Likewise.
5479 (getresgid): Likewise.
5480 (getresuid): Likewise.
5481 (getgroups): Likewise.
5482 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5483 (geteuid): Likewise.
5484 (getgid): Likewise.
5485 (getuid): Likewise.
5486 (getresgid): Likewise.
5487 (getresuid): Likewise.
5488 (getgroups): Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5490 Likewise.
5491 (geteuid): Likewise.
5492 (getgid): Likewise.
5493 (getuid): Likewise.
5494 (getgroups): Likewise.
5495
48eb7a94
JM
5496 [BZ #14138]
5497 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5498 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5499 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5500 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5501 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5502 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5503 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5504 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5505 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5506 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5507 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5509 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5510 __chown.
5511 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5512 (lchown): Likewise.
5513 (fchown): Likewise.
5514 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5515 Likewise.
5516 (lchown): Likewise.
5517 (fchown): Likewise.
5518 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5519 (lchown): Likewise.
5520 (fchown): Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5522 Likewise.
5523 (lchown): Likewise.
5524 (fchown): Likewise.
5525
ea9a7c8b
WD
55262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5527
5528 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5529 Simplify logic.
5530
e226de33
WD
55312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5532
5533 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5534 Cleanup logic.
5535
6e3d8ed3
WD
55362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5537
5538 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5539 Remove unused include.
5540
eb04247d
WD
55412014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5542
5543 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5544 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5545 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5546 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5547
13d84554
CD
55482014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5549 Helge Deller <deller@gmx.de>
5550
5551 [BZ #17508]
5552 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5553 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5554 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5555
15f9c5df
JM
55562014-10-23 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #14132]
5559 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5560 Remove macro definition.
5561 (__ashrdi3_v_glibc20): Likewise.
5562 (__lshrdi3_v_glibc20): Likewise.
5563 (__cmpdi2_v_glibc20): Likewise.
5564 (__ucmpdi2_v_glibc20): Likewise.
5565 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5566 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5567 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5568 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5569 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5570 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5571
c6dfed24
RM
55722014-10-22 Roland McGrath <roland@hack.frob.com>
5573
5574 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5575 old GNU extension [0] syntax.
5576 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5577 alloca rather than an array member with variable length.
5578 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5579 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5580 (parse_opt): ... here. Likewise use alloca there.
5581 Validate the -i argument before checking for rootness.
5582 (send_shutdown): New function, broken out of ...
5583 (parse_opt): ... here.
5584
8c2b1ed8
RM
55852014-10-22 Roland McGrath <roland@hack.frob.com>
5586
5587 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5588 macro to get at the _rt_local_ro field.
5589 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5590 ([PIC] case) or _dl_hwcap ([!PIC] case).
5591 * sysdeps/arm/setjmp.S: Likewise.
5592
5593 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5594 * sysdeps/arm/configure.ac: New check to define it.
5595 * sysdeps/arm/configure: Regenerated.
5596 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5597 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5598 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5599 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5600 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5601 Use move/movt pair instead of a load.
5602 (LDST_GLOBAL): Macro removed.
5603 (LDR_GLOBAL): New macro replaces it.
5604 (LDR_HIDDEN): New macro.
5605 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5606 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5607
5608 * setjmp/tst-setjmp-static.c: New file.
5609 * setjmp/Makefile (tests): Add it.
5610 (tests-static): New variable.
5611
b5af9297
MR
56122014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5613
5614 [BZ #17485]
5615 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5616
a13d0d74
JM
56172014-10-21 Joseph Myers <joseph@codesourcery.com>
5618
5619 [BZ #14132]
5620 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5621
f05e73f6
RM
56222014-10-21 Roland McGrath <roland@hack.frob.com>
5623
5624 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5625
6ab1d1ea
RM
56262014-10-20 Roland McGrath <roland@hack.frob.com>
5627
5628 * io/fts.c (dirent_not_directory): New function.
5629 (fts_build): Call it.
5630
ab49e763
RM
56312014-10-20 Roland McGrath <roland@hack.frob.com>
5632
e436eb79
RM
5633 * nptl/version.c (__nptl_main): Use normal __write rather than
5634 INTERNAL_SYSCALL.
5635 (banner): Update copyright years.
5636
6af246cf
RM
5637 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5638 gettimeofday.
5639 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5640 * nptl/pthread_cond_timedwait.c: Likewise.
5641 * nptl/pthread_mutex_timedlock.c: Likewise.
5642 * nptl/sem_timedwait.c: Likewise.
5643
ab49e763
RM
5644 * sysdeps/nptl/bits/libc-lock.h
5645 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5646 (__libc_lock_init_recursive): Return void, not 0.
5647 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5648 (__libc_rwlock_init): Likewise.
5649 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5650
f50277c1
TR
56512014-10-20 Torvald Riegel <triegel@redhat.com>
5652
5653 [BZ #15215]
5654 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5655 (__pthread_once_slow): ... here.
5656 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5657 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5658
63668b70
TR
56592014-10-20 Torvald Riegel <triegel@redhat.com>
5660
5661 [BZ #15215]
5662 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5663 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5664 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5665 * nptl/pthread_once.c (__pthread_once): Likewise.
5666 Update comments.
5667
42b7f5d4
JM
56682014-10-20 Joseph Myers <joseph@codesourcery.com>
5669
5670 [BZ #14138]
5671 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5672 name.
5673 (writev): Use __libc_writev as strong name.
5674 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5675 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5676
b0643088
RM
56772014-10-17 Roland McGrath <roland@hack.frob.com>
5678
114c4e09
RM
5679 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5680
674b8978
RM
5681 * sysdeps/i386/nptl/tls.h
5682 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5683 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5684 New macros.
5685 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5686 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5687 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5688 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5689 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5690 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5691
184ee940
RM
5692 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5693 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5694 on [__NR_futex].
5695 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5696 broken out of ...
5697 (__pthread_mutex_init): ... here. Call it.
5698 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5699 Conditionalize PI cases on [__NR_futex].
5700 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5701 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5702 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5703
327ae257
RM
5704 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5705 conditional on [SIGSETXID].
5706 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5707 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5708 is defined. Likewise for SIGSETXID.
5709 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5710 Conditionalize definitions on [SIGSETXID].
5711 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5712 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5713 unblocking on [SIGCANCEL].
5714
b0643088
RM
5715 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5716 [__NR_set_robust_list].
5717
33cc770b
SP
57182014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5719
5720 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5721 (do_compare): Likewise.
5722
0742aef6
LH
57232014-10-17 Leonhard Holz <leonhard.holz@web.de>
5724
5725 [BZ #15884]
5726 * string/strcoll_l.c: Don't include stdio.h.
5727 (coll_seq): Remove members idxarr and rulearr.
5728 (get_next_seq_cached): Remove function.
5729 (get_next_seq): Likewise.
5730 (get_next_seq_nocache): Rename to get_next_seq.
5731 (do_compare): Remove function.
5732 (do_compare_nocache): Rename to do_compare.
5733 (STRCOLL): Remove weight and rules cache.
5734
ee54ce44
RM
57352014-10-16 Roland McGrath <roland@hack.frob.com>
5736
5737 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5738 * sysdeps/arm/sfp-machine.h: ... to here.
5739 * sysdeps/arm/Implies: Remove arm/soft-fp.
5740
a75d3b02
JM
57412014-10-14 Joseph Myers <joseph@codesourcery.com>
5742
5743 * conform/data/sys/utsname.h-data (*_t): Allow.
5744 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5745 [POSIX] (WEXITED): Do not expect constant.
5746 [POSIX] (WSTOPPED): Likewise.
5747 [POSIX] (WNOHANG): Likewise.
5748 [POSIX] (WNOWAIT): Likewise.
5749 [POSIX] (siginfo_t): Do not expect type or elements.
5750 [POSIX] (pid_t): Do not expect type.
5751 [POSIX] (signal.h): Do not allow header.
5752 [POSIX] (sys/resource.h): Likewise.
5753 [POSIX] (si_*): Do not allow pattern.
5754 [POSIX] (W*): Likewise.
5755 [POSIX] (P_*): Likewise.
5756 [POSIX] (BUS_*): Likewise.
5757 [POSIX] (CLD_*): Likewise.
5758 [POSIX] (FPE_*): Likewise.
5759 [POSIX] (ILL_*): Likewise.
5760 [POSIX] (POLL_*): Likewise.
5761 [POSIX] (SEGV_*): Likewise.
5762 [POSIX] (SI_*): Likewise.
5763 [POSIX] (TRAP_*): Likewise.
5764 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5765 variable.
5766
fda389c8
SP
57672014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5768
5769 [BZ #12926]
5770 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5771 infinite loop when __recvmsg returns 0.
5772
6bc6bd3b
JM
57732014-10-10 Joseph Myers <joseph@codesourcery.com>
5774
fcb32af1
JM
5775 * CANCEL-FCT-WAIVE: Remove file.
5776 * CANCEL-FILE-WAIVE: Likewise.
5777
6bc6bd3b
JM
5778 [BZ #14132]
5779 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5780 instead of INTVARDEF.
5781 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5782 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5783 rtld_hidden_data_def instead of INTVARDEF.
5784 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5785 * elf/dl-deps.c (expand_dst): Likewise.
5786 * elf/dl-load.c (_dl_dst_count): Likewise.
5787 (_dl_dst_substitute): Likewise.
5788 (decompose_rpath): Likewise.
5789 (_dl_init_paths): Likewise.
5790 (open_path): Likewise.
5791 (_dl_map_object): Likewise.
5792 * elf/rtld.c (dl_main): Likewise.
5793 (process_dl_audit): Likewise.
5794 (process_envvars): Likewise.
5795 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5796 Remove declaration.
5797 (__libc_enable_secure): Use rtld_hidden_proto.
5798
b8c80a7e
KS
57992014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5800
5801 * elf/dl-load.c
5802 (add_path): New function broken out of _dl_rtld_di_serinfo.
5803 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5804
ff12c11f
JM
58052014-10-09 Joseph Myers <joseph@codesourcery.com>
5806
5c0508a3
JM
5807 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5808 parentheses around macro arguments.
5809 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5812 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5813 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5814 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5815 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5817 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5818 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5819 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5820 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5821 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5822 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5823 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5824 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5825 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5827 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5828 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5830 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5832 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5833 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5834 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5835 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5836 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5837 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5838 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5839 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5840 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5841 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5842 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5843 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5844 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5845 Likewise.
5846 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5847 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5848 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5849 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5850 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5851 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5852 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5853 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5854 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5855 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5856 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5857 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5858 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5860 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5861 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5862 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5863 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5864 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5865 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5866 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5867 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5868 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5869 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5870 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5871 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5872 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5873 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5874 (_FP_FRAC_SRS_1): Likewise.
5875 (_FP_FRAC_CLZ_1): Likewise.
5876 (_FP_MUL_MEAT_1_imm): Likewise.
5877 (_FP_MUL_MEAT_1_wide): Likewise.
5878 (_FP_MUL_MEAT_1_hard): Likewise.
5879 (_FP_SQRT_MEAT_1): Likewise.
5880 (_FP_FRAC_ASSEMBLE_1): Likewise.
5881 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5882 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5883 (__FP_CLZ_2): Likewise.
5884 (_FP_MUL_MEAT_2_wide): Likewise.
5885 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5886 (_FP_MUL_MEAT_2_gmp): Likewise.
5887 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5888 (_FP_SQRT_MEAT_2): Likewise.
5889 (_FP_FRAC_ASSEMBLE_2): Likewise.
5890 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5891 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5892 (_FP_FRAC_CLZ_4): Likewise.
5893 (_FP_MUL_MEAT_4_wide): Likewise.
5894 (_FP_MUL_MEAT_4_gmp): Likewise.
5895 (_FP_SQRT_MEAT_4): Likewise.
5896 (_FP_FRAC_ASSEMBLE_4): Likewise.
5897 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5898 * soft-fp/op-common.h (_FP_CMP): Likewise.
5899 (_FP_CMP_EQ): Likewise.
5900 (_FP_CMP_UNORD): Likewise.
5901 (_FP_TO_INT): Likewise.
5902 (_FP_FROM_INT): Likewise.
5903 [!__FP_CLZ] (__FP_CLZ): Likewise.
5904 (_FP_DIV_HELP_imm): Likewise.
5905 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5906 Likewise.
5907 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5908 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5909 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5910 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5911 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5912 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5913 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5914 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5915 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5916 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5917 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5918 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5919 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5920 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5921 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5922 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5923 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5924 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5925 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5926 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5927 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5928 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5929 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5930 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5931 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5932 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5933 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5934 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5935 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5936 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5937 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5938 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5939 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5940 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5941 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5942 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5943 (FP_UNPACK_RAW_SP): Likewise.
5944 (FP_PACK_RAW_S): Likewise.
5945 (FP_PACK_RAW_SP): Likewise.
5946 (FP_UNPACK_S): Likewise.
5947 (FP_UNPACK_SP): Likewise.
5948 (FP_UNPACK_SEMIRAW_S): Likewise.
5949 (FP_UNPACK_SEMIRAW_SP): Likewise.
5950 (FP_PACK_S): Likewise.
5951 (FP_PACK_SP): Likewise.
5952 (FP_PACK_SEMIRAW_S): Likewise.
5953 (FP_PACK_SEMIRAW_SP): Likewise.
5954 (_FP_SQRT_MEAT_S): Likewise.
5955 (FP_CMP_S): Likewise.
5956 (FP_CMP_EQ_S): Likewise.
5957 (FP_CMP_UNORD_S): Likewise.
5958 (FP_TO_INT_S): Likewise.
5959 (FP_FROM_INT_S): Likewise.
5960
a736ec37
JM
5961 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5962
ff12c11f
JM
5963 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5964 (FP_EX_INVALID_IMZ): Likewise.
5965 (FP_EX_INVALID_IMZ_FMA): Likewise.
5966 (FP_EX_INVALID_ISI): Likewise.
5967 (FP_EX_INVALID_ZDZ): Likewise.
5968 (FP_EX_INVALID_IDI): Likewise.
5969 (FP_EX_INVALID_SQRT): Likewise.
5970 (FP_EX_INVALID_CVI): Likewise.
5971 (FP_EX_INVALID_VC): Likewise.
5972 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5973 "invalid" exceptions.
5974 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5975 (_FP_ADD_INTERNAL): Likewise.
5976 (_FP_MUL): Likewise.
5977 (_FP_FMA): Likewise.
5978 (_FP_DIV): Likewise.
5979 (_FP_CMP_CHECK_NAN): Likewise.
5980 (_FP_SQRT): Likewise.
5981 (_FP_TO_INT): Likewise.
5982 (FP_EXTEND): Likewise.
5983
b6dcfe8c
AM
59842014-10-09 Allan McRae <allan@archlinux.org>
5985
5986 * po/fr.po: Update French translation from translation project.
5987
2d6a47ba
JM
59882014-10-09 Joseph Myers <joseph@codesourcery.com>
5989
cb831245
JM
5990 [BZ #14132]
5991 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5992 of INTDEF.
5993 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5994 (__cxa_atexit): Use libc_hidden_proto.
5995 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5996
5deeb190
JM
5997 [BZ #14132]
5998 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5999 declaration.
6000 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6001 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6002 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6003 [!_ISOMAC] (__iswctype_internal): Likewise.
6004 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6005 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6006 alias.
6007 (fcntl): Remove __fcntl_internal alias.
6008 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6009 __connect_internal alias.
6010 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6011 Likewise.
6012
454ac701
JM
6013 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6014 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6015 FP_DENORM_ZERO.
6016 (_FP_CHECK_FLUSH_ZERO): New macro.
6017 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6018 (_FP_CMP): Likewise.
6019 (_FP_CMP_EQ): Likewise.
6020 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6021 FP_DENORM_ZERO.
6022 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6023 (FP_TRUNC): Likewise.
6024
0022e688
JM
6025 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6026 treated as invalid conversion, not as normal exponent.
6027
73e28d9c
JM
6028 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6029 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6030 (_FP_CMP_EQ): Likewise.
6031 (_FP_CMP_UNORD): Likewise.
6032 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6033 (FP_CMP_EQ_D): Likewise.
6034 (FP_CMP_UNORD_D): Likewise.
6035 * soft-fp/extended.h (FP_CMP_E): Likewise.
6036 (FP_CMP_EQ_E): Likewise.
6037 (FP_CMP_UNORD_E): Likewise.
6038 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6039 (FP_CMP_EQ_Q): Likewise.
6040 (FP_CMP_UNORD_Q): Likewise.
6041 * soft-fp/single.h (FP_CMP_S): Likewise.
6042 (FP_CMP_EQ_S): Likewise.
6043 (FP_CMP_UNORD_S): Likewise.
6044 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6045 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6046 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6047 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6048 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6049 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6050 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6051 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6052 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6053 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6054 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6055 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6056 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6057 to FP_CMP_Q.
6058 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6059 FP_CMP_Q.
6060 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6061 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6062 FP_CMP_EQ_Q.
6063 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6064 FP_CMP_Q.
6065 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6066 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6067 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6068 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6069 FP_CMP_EQ_Q.
6070 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6071 FP_CMP_Q.
6072 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6073 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6074 FP_CMP_EQ_Q.
6075 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6076 FP_CMP_Q.
6077 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6078 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6079 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6080 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6081 FP_CMP_EQ_Q.
6082
43059f42
JM
6083 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6084 a subnormal result, set the underflow exception if trapping on
6085 underflow is enabled.
6086 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6087 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6088 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6089 redefine to 0.
6090 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6091 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6092 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6093 * soft-fp/extendxftf2.c (__extendxftf2): Use
6094 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6095
2d6a47ba
JM
6096 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6097 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6098 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6099 FP_HANDLE_EXCEPTIONS.
6100 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6101 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6102 FP_HANDLE_EXCEPTIONS.
6103 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6104 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6105 FP_HANDLE_EXCEPTIONS.
6106 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6107 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6108 FP_HANDLE_EXCEPTIONS.
6109
620f462e
JM
61102014-10-08 Joseph Myers <joseph@codesourcery.com>
6111
6112 [BZ #14132]
6113 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6114 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6115 use INTUSE.
6116 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6117 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6118 Remove alias.
6119 (__adjtimex): Define using libc_hidden_ver.
6120 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6121 Remove declaration.
6122 (ntp_gettime): Call __adjtimex directly.
6123 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6124 Remove declaration.
6125 (ntp_gettimex): Call __adjtimex directly.
6126 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6127 __adjtimex_internal alias.
6128
c763c5d2
RM
61292014-10-08 Roland McGrath <roland@hack.frob.com>
6130
6131 [BZ #17460]
6132 * nscd/nscd.c (more_help): Rewrite list of tables collection
6133 using xstrdup and asprintf.
6134
6135 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6136
7b8fb2b8
RM
61372014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6138 Roland McGrath <roland@hack.frob.com>
6139
6140 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6141 (do_lookup_unique): ... local function 'enter' here; update callers.
6142
abb280f7
JM
61432014-10-06 Joseph Myers <joseph@codesourcery.com>
6144
f7b42517
JM
6145 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6146 compat_symbol calls on [SHARED].
6147 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6148 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6149 Remove.
6150 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6151 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6152 (oldsetrlimit): Remove.
6153 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6155 (lchown): New syscall entry.
6156 (oldsetrlimit): Remove.
6157 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6159 (oldsetrlimit): Remove.
6160 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6161
abb280f7
JM
6162 [BZ #14138]
6163 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6164 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6165 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6166 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6167 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6168 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6169 (fchown): Likewise.
6170 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6171 (fchown): Likewise.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6173 Likewise.
6174
47d46237
AZ
61752014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6176
6177 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6178 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6179 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6180 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6181 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6182 Likewise.
6183 (__old_sem_post): Likewise.
6184
61852014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6186
845a7343
CM
6187 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6188 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6189 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6190 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6191 Use INLINE_VSYSCALL macro.
6192 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6193 __vdso_clock_gettime.
6194 * sysdeps/unix/sysv/linux/tile/init-first.c
6195 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6196 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6197 __vdso_clock_gettime.
6198
83d641ef
CM
6199 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6200 to set up frame more cleanly.
6201
d9cd52e6
CM
6202 * sysdeps/tile/memcmp.c: New file.
6203
4b68ea11
CM
6204 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6205
c86f7b80
CM
6206 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6207 * sysdeps/tile/tilegx/strcasestr.c: New file.
6208 * sysdeps/tile/tilegx/strnlen.c: New file.
6209 * sysdeps/tile/tilegx/strstr.c: New file.
6210
1c4c1a6f
CM
6211 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6212
99d86ea3
AS
62132014-10-06 Arjun Shankar <arjun.is@lostca.se>
6214
6215 * nptl/tst-setuid3.c: Write errors to stdout.
6216
06210a44
KS
62172014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6218
6219 * elf/dl-deps.c
6220 (preload): New functions broken out of _dl_map_object_deps.
6221 (_dl_map_object_deps): Remove a nested function. Update call sites.
6222
6268f532
JM
62232014-10-01 Joseph Myers <joseph@codesourcery.com>
6224
6225 [BZ #14138]
6226 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6227 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6228
b925285f
SE
62292014-10-01 Steve Ellcey <sellcey@mips.com>
6230
6231 * sysdeps/mips/strcmp.S: New.
6232
754a15c6
JM
62332014-09-30 Joseph Myers <joseph@codesourcery.com>
6234
6235 [BZ #14138]
6236 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6237 (linkat): Likewise.
6238 (mkdirat): Likewise.
6239 (readlinkat): Likewise.
6240 (renameat): Likewise.
6241 (symlinkat): Likewise.
6242 (unlinkat): Likewise.
6243 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6244 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6245 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6246 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6247 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6248 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6249 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6250
85bb81c9
WN
62512014-09-30 Will Newton <will.newton@linaro.org>
6252
dc6fe23b
WN
6253 * math/math.h: Define long double math functions if
6254 _LIBC_TEST is defined.
6255 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6256
85bb81c9
WN
6257 * localedata/Makefile: Move assignment to tests-special
6258 into an ifdef testing run-built-tests.
6259 * timezone/Makefile: Likewise.
6260
b7e02da4
JM
62612014-09-29 Joseph Myers <joseph@codesourcery.com>
6262
6263 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6264 with $(BASH) not $(SHELL).
6265
62058ce6
CD
62662014-09-29 Carlos O'Donell <carlos@redhat.com>
6267 Matthew LeGendre <legendre1@llnl.gov>
6268
6269 [BZ #17411]
6270 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6271 l_reloc_result.
6272
8e257a29
KS
62732014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6274
6275 * stdio-common/printf_fp.c
6276 (hack_digit): New function, broken out of ...
6277 (__printf_fp): ... local function here. Update call sites.
6278 hack_digit now takes an additional parameter that is a pointer
6279 to a struct of the referenced locals. Those locals moved inside
6280 the struct and references updated.
6281
f4a58f0d
L
62822014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6283
6284 * aclocal.m4: Require autoconf 2.69.
6285 * configure: Regenerated.
6286 * sysdeps/aarch64/configure: Likewise.
6287 * sysdeps/alpha/configure: Likewise.
6288 * sysdeps/arm/armv7/configure: Likewise.
6289 * sysdeps/arm/configure: Likewise.
6290 * sysdeps/ia64/configure: Likewise.
6291 * sysdeps/mach/configure: Likewise.
6292 * sysdeps/mips/configure: Likewise.
6293 * sysdeps/s390/configure: Likewise.
6294 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6296
6297 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6298 file.
6299 * sysdeps/ia64/configure.ac: Likewise.
6300
93ae1eba
JM
63012014-09-26 Joseph Myers <joseph@codesourcery.com>
6302
1810d3ab
JM
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6304 specify symbol version for ld.so. Do not include entry for
6305 libpthread.
6306 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6307 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6308 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6309
93ae1eba
JM
6310 [BZ #14171]
6311 * Makeconfig [$(build-shared) = yes]
6312 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6313 makefiles.
6314 [$(build-shared) = yes && $(soversions.mk-done) = t]
6315 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6316 [$(build-shared) = yes && $(soversions.mk-done) = t]
6317 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6318 to Makerules.
6319 [$(build-shared) = yes && $(soversions.mk-done) = t]
6320 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6321 here.
6322 [$(build-shared) = yes && $(soversions.mk-done) = t]
6323 (common-generated): Don't append gnu/lib-names.h and
6324 gnu/lib-names.stmp here.
6325 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6326 (lib-names-h-abi): New variable.
6327 [$(build-shared) = yes && $(soversions.mk-done) = t]
6328 (lib-names-stmp-abi): Likewise.
6329 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6330 abi-variants] (before-compile): Append
6331 $(common-objpfx)$(lib-names-h-abi).
6332 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6333 abi-variants] (common-generated): Append gnu/lib-names.h.
6334 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6335 abi-variants] (install-others-nosubdir): Depend on
6336 $(inst_includedir)/$(lib-names-h-abi).
6337 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6338 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6339 [$(build-shared) = yes && $(soversions.mk-done) = t]
6340 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6341 [$(build-shared) = yes && $(soversions.mk-done) = t]
6342 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6343 [$(build-shared) = yes && $(soversions.mk-done) = t]
6344 (common-generated): Append $(lib-names-h-abi) and
6345 $(lib-names-stmp-abi).
6346 * scripts/lib-names.awk: Do not handle multi being set.
6347 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6348 Remove variable.
6349 (abi-lp64_be-ld-soname): Likewise.
6350 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6351 Likewise.
6352 (abi-hard-ld-soname): Likewise.
6353 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6354 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6355 Remove variable.
6356 (abi-o32_hard-ld-soname): Likewise.
6357 (abi-o32_soft_2008-ld-soname): Likewise.
6358 (abi-o32_hard_2008-ld-soname): Likewise.
6359 (abi-n32_soft-ld-soname): Likewise.
6360 (abi-n32_hard-ld-soname): Likewise.
6361 (abi-n32_soft_2008-ld-soname): Likewise.
6362 (abi-n32_hard_2008-ld-soname): Likewise.
6363 (abi-n64_soft-ld-soname): Likewise.
6364 (abi-n64_hard-ld-soname): Likewise.
6365 (abi-n64_soft_2008-ld-soname): Likewise.
6366 (abi-n64_hard_2008-ld-soname): Likewise.
6367 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6368 Likewise.
6369 (abi-64-v2-ld-soname): Likewise.
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6371 ld.so entries.
6372 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6373 variable.
6374 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6375 entry.
6376 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6377 variable.
6378 (abi-64-ld-soname): Likewise.
6379 (abi-x32-ld-soname): Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6381 entry.
6382 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6383
68870f12
JM
63842014-09-23 Joseph Myers <joseph@codesourcery.com>
6385
6386 [BZ #14138]
6387 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6388 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6389 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6390 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6391 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6392 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6393 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6394 syscall entry for GLIBC_2.2 symbol version.
6395 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6396 Likewise.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6398 (setrlimit): Likewise.
6399 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6400 Likewise.
6401
ea58f202
WN
64022014-09-23 Will Newton <will.newton@linaro.org>
6403
6404 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6405 _LINUX_ARM_SYSDEP_H include guard too.
6406 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6407 define.
6408
69eb9a18
RV
64092014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6410
6411 * sysdeps/unix/sysv/linux/eventfd.c:
6412 Make first argument unsigned.
6413 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6414 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6415
20e5a5f7
OB
64162014-09-20 Ondřej Bílka <neleai@seznam.cz>
6417
6418 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6419 * socket/sys/socket.h: Likewise
6420 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6421
d3c827e7
AK
64222014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6423
6424 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6425
fe1cc35a
AS
64262014-09-17 Arjun Shankar <arjun.is@lostca.se>
6427
6428 * time/tst-ftime.c: New test.
6429 * time/Makefile (tests): Add tst-ftime.
6430
4e8afe69
JM
64312014-09-17 Joseph Myers <joseph@codesourcery.com>
6432
c4fe3ea7
JM
6433 * soft-fp/extended.h: Fix comment formatting.
6434 * soft-fp/op-1.h: Likewise.
6435 * soft-fp/op-2.h: Likewise.
6436 * soft-fp/op-4.h: Likewise.
6437 * soft-fp/op-8.h: Likewise.
6438 * soft-fp/op-common.h: Likewise.
6439 * soft-fp/soft-fp.h: Likewise.
6440
4e8afe69
JM
6441 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6442
af296fcd
JM
64432014-09-16 Joseph Myers <joseph@codesourcery.com>
6444
6445 [BZ #6652]
6446 * Makeconfig (soversions-default-setname): Remove variable.
6447 ($(common-objpfx)soversions.i): Don't pass default_setname to
6448 soversions.awk.
6449 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6450 oldest_abi to abi-versions.awk.
6451 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6452 * config.make.in (oldest-abi): Remove variable.
6453 * configure.ac (--enable-oldest-abi): Remove configure option.
6454 * configure: Regenerated.
6455 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6456 text.
6457 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6458 * scripts/soversions.awk: Do not handle default_setname variable.
6459 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6460 variable.
6461 * sysdeps/mach/hurd/configure: Regenerated.
6462 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6463 variable.
6464 * sysdeps/unix/sysv/linux/configure: Regenerated.
6465
545583d6
SP
64662014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6467
d330b980
SP
6468 * elf/Makefile (CFLAGS-interp.c): Remove.
6469 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6470 path string.
6471 * elf/interp.c: Include generated runtime-linker.h
6472
02657da2
SP
6473 * Makerules (lib%.so): Don't include $(+interp) in
6474 prerequisites.
6475 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6476 * dlfcn/eval.c: Remove file.
6477
653b1080
SP
6478 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6479 macros.
6480
602f80ec
SP
6481 [BZ #17266]
6482 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6483 4.2 and newer.
6484
545583d6
SP
6485 [BZ #17370]
6486 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6487
884ddc50
SP
64882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6489 Jakub Jelinek <jakub@redhat.com>
6490
6491 [BZ #17266]
6492 * libio/stdio.h: Check definition of __fortify_function
6493 instead of __extern_always_inline to include bits/stdio2.h.
6494 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6495 check if __extern_always_inline is defined.
6496 [__USE_MISC || __USE_XOPEN]: Likewise.
6497 [__USE_ISOC99] Likewise.
6498 * misc/sys/cdefs.h (__fortify_function): Define only if
6499 __extern_always_inline is defined.
6500 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6501 __extern_always_inline and __extern_inline only for g++-4.3
6502 and newer or a compatible gcc.
6503
a7b87268
AS
65042014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6505
6506 [BZ #17371]
6507 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6508 last change to handle zero prefix length.
6509
3f41521d
SP
65102014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6511
61fe374a
SP
6512 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6513 _SC_REGEX_VERSION.
6514
3f41521d
SP
6515 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6516 _POSIX_RAW_SOCKETS.
6517
d8f879ee
AM
65182014-09-13 Allan McRae <allan@archlinux.org>
6519
6520 * po/ru.po: Update Russian translation from translation project.
6521
c079afb7
RM
65222014-09-12 Roland McGrath <roland@hack.frob.com>
6523
a62b3c15
RM
6524 * locale/programs/locale.c (show_locale_vars): Inline local function
6525 into its sole call site. Clean up some style nits.
6526 (print_item): New function, broken out of ...
6527 (show_info): ... local function here. Clean up style nits.
6528
d7e49b19
RM
6529 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6530 out of ...
6531 (set_class_defaults): ... local function set_default here.
6532 Define set_default as a macro locally to pass constant parameters.
6533 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6534 rather than a shared local.
6535
c079afb7
RM
6536 * stdlib/rpmatch.c (try): New function, broken out of ...
6537 (rpmatch): ... local function here. Also, prototypify definition.
6538
0bd72468
JM
65392014-09-12 Joseph Myers <joseph@codesourcery.com>
6540
ba90e050
JM
6541 * scripts/soversions.awk: Do not handle configuration names.
6542 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6543 vendor and os variables to soversions.awk.
6544 * configure.ac: Do not modify gnu-* host_os.
6545 * configure: Regenerated
6546 * shlib-versions: Remove first column with configuration names.
6547 * nptl/shlib-versions: Likewise.
6548 * nptl_db/shlib-versions: Likewise.
6549 * sysdeps/hppa/shlib-versions: Likewise.
6550 * sysdeps/m68k/shlib-versions: Likewise.
6551 * sysdeps/mach/hurd/shlib-versions: Likewise.
6552 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6553 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6554 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6555 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6556 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6557 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6558 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6559 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6561 Likewise.
6562 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6563 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6564 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6565 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6566 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6567 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6568 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6569 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6570
73a39112
JM
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6572 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6574 Regenerated.
6575 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6577 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6578
c729e7c1
JM
6579 * shlib-versions: Remove OS-specific entries. Moved to files in
6580 sysdeps.
6581 * sysdeps/mach/hurd/shlib-versions: New file.
6582 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6583
dc932a24
JM
6584 * nptl/shlib-versions: Remove architecture-specific entries.
6585 Moved to files in sysdeps.
6586 * shlib-versions: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6588 file.
6589 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6590 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6591 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6592 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6593
0bd72468
JM
6594 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6595 (UDP_NO_CHECK6_RX): Likewise.
6596
920238e0
SP
65972014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
6599 * sysdeps/posix/sysconf.c (__sysconf): Spell
6600 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6601
ba7b4d29
FW
66022014-08-12 Florian Weimer <fweimer@redhat.com>
6603
6604 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6605 loading.
6606 * iconv/Versions (__gconv_transliterate): Export for use from
6607 gconv modules.
6608 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6609 (struct __gconv_trans_data, __gconv_trans_fct,
6610 __gconv_trans_context_fct, __gconv_trans_query_fct,
6611 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6612 definitions.
6613 (struct __gconv_step_data): Remove __trans member.
6614 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6615 longer hidden. Remove unused trans_data argument.
6616 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6617 (__gconv_translit_find): Remove declaration.
6618 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6619 prototype.
6620 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6621 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6622 trans_data argument. Add hidden definition.
6623 (__gconv_translit_find): Remove.
6624 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6625 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6626 * iconv/skeleton.c: Remove transliteration initialization.
6627 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6628 __gconv_step_data initialization.
6629 * libio/iofwide.c (__libio_translit_): Remove.
6630 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6631 * wcsmbs/btowc.c (__btowc): Likewise.
6632 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6633 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6634 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6635 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6636 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6637 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6638 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6639 * wcsmbs/wctob.c (wctob): Likewise.
6640
5379aebd
SP
66412014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6642
6643 [BZ #16194]
6644 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6645 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6646 register usage.
6647 * sysdeps/x86/Makefile: Adjust.
6648
8c0ab919
RM
66492014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6650 Roland McGrath <roland@hack.frob.com>
6651
6652 * locale/weight.h: Add include guard.
6653 (findidx): Make static rather than auto; take new parameters
6654 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6655 * locale/weightwc.h: Likewise.
6656 * posix/fnmatch_loop.c
6657 (FCT): Change type of EXTRA from int32_t to wint_t.
6658 Don't include either header inside the function.
6659 Call FINDIDX rather than findidx, and pass new arguments.
6660 #undef FINDIDX at the end of the file.
6661 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6662 FINDIDX before including fnmatch_loop.c for the non-wide version.
6663 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6664 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6665 for the wide version.
6666 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6667 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6668 Pass new arguments to findidx.
6669 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6670 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6671 Don't #include it inside the function. Pass new arguments to findidx.
6672 * posix/regex_internal.h
6673 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6674 (re_string_elem_size_at): Don't #include it inside the function.
6675 Pass new arguments to findidx.
6676 * string/strcoll_l.c: #include WEIGHT_H at top level.
6677 (get_next_seq): Don't #include it inside the function.
6678 Pass new arguments to findidx.
6679 (get_next_seq_nocache): Likewise.
6680 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6681 (STRXFRM): Don't #include it inside the function.
6682 Pass new arguments to findidx.
6683
52ffbdf2
FW
66842014-09-11 Florian Weimer <fweimer@redhat.com>
6685
6686 [BZ #17344]
6687 * malloc/malloc.c (unlink): Turn asserts into a call to
6688 malloc_printerr.
6689
984c0ea9
TL
66902014-09-11 Tim Lammens <tim.lammens@gmail.com>
6691
6692 [BZ #17370]
6693 * libio/wfileops (do_ftell_wide): Free OUT.
6694
3daee107
CM
66952014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6696
6697 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6698
58b930ae
SP
66992014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6700
6701 [BZ #17363]
6702 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6703 group if the current group is empty.
6704
3b473fec
AZ
67052014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6706
71ae8647
AZ
6707 * benchtests/bench-memset.c (test_main): Add more test from size
6708 from 32 to 512 bytes.
6709 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6710 Add POWER8 memset object.
6711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6712 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6713 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6714 implementation.
6715 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6716 Likewise.
6717 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6718 multiarch POWER8 memset optimization.
6719 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6720 POWER8 memset optimization.
6721
3b473fec
AZ
6722 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6723 Remove bzero multiarch objects.
6724 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6725 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6726 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6727 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6728 Remove define.
6729 [__bzero]: Redefine to specific name.
6730 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6731 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6732 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6733 define.
6734 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6736
e6fb9587
FW
67372014-09-10 Florian Weimer <fweimer@redhat.com>
6738
6739 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6740 warnings into errors.
6741
6742 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6743 __cxa_thread_atexit_impl prototype.
6744
9d3a350b
SE
67452014-09-09 Steve Ellcey <sellcey@mips.com>
6746
6747 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6748 Fix capitalization of error message.
6749
0febba23
SE
67502014-09-09 Steve Ellcey <sellcey@mips.com>
6751
6752 * sysdeps/mips/preconfigure: Modify ABI tests.
6753
645a0e9c
CD
67542014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6755
6756 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6757
d83f0734
CD
67582014-09-07 Roland McGrath <roland@hack.frob.com>
6759 Carlos O'Donell <carlos@systemhalted.org>
6760
6761 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6762 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6763 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6764 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6765 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6766 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6767 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6768 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6769 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6770 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6771 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6772 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6773 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6774 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6775 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6776 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6777 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6778 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6779 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6780 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6781 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6782 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6783 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6784 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6785 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6786 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6787 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6788 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6789 Deconditionalize the code that was previously under [RESET_PID].
6790 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6791 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6792 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6793 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6794 include sysdep.h.
6795
21c83793
AM
67962014-09-08 Allan McRae <allan@archlinux.org>
6797
6798 * version.h (RELEASE): Set to "development".
6799 (VERSION): Set to "2.20.90"
6800
1cd9b65c
AM
68012014-09-07 Allan McRae <allan@archlinux.org
6802
b8079dd0
AM
6803 * version.h (RELEASE): Set to "stable".
6804 (VERSION): Set to "2.20"
6805 * include/features.h (__GLIBC_MINOR__): Set to 20.
6806
c46303ef
AM
6807 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6808 Liebler.
6809
1cd9b65c
AM
6810 * po/ko.po: Update Korean translation from translation project.
6811
8622092d
CM
68122014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6813
6814 [BZ #17354]
6815 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6816 macro for handling signed relocations.
6817
41488498
FW
68182014-09-03 Florian Weimer <fweimer@redhat.com>
6819
6820 [BZ #17325]
6821 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6822 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6823 assert.
6824 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6825 * iconvdata/ibm935.c (BODY): Likewise.
6826 * iconvdata/ibm937.c (BODY): Likewise.
6827 * iconvdata/ibm939.c (BODY): Likewise.
6828 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6829 assert.
6830 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6831 script.
6832 * iconvdata/run-iconv-test.sh: New test loop for checking for
6833 decoder crashers.
6834
a78b712d
KR
68352014-09-02 Khem Raj <raj.khem@gmail.com>
6836
6837 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6838 libm_hidden_ver.
6839
cb08abc6
AM
68402014-09-01 Allan McRae <allan@archlinux.org>
6841
2c31e102
AM
6842 * po/eo.po: Update Esperanto translation from translation project.
6843
cb08abc6
AM
6844 * po/ca.po: Update Catalan translation from translation project.
6845
17a62de1
ST
68462014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6847
6848 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6849 __proc_dostop call.
6850
9570bc53
MW
68512014-08-27 Mark Wielaard <mjw@redhat.com>
6852
6853 [BZ #17319]
6854 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6855 to call set_thread_area instead of hand written asm.
6856 (__NR_set_thread_area): Removed define.
6857 (TLS_FLAG_WRITABLE): Likewise.
6858 (__ASSUME_SET_THREAD_AREA): Remove check.
6859 (TLS_EBX_ARG): Remove define.
6860 (TLS_LOAD_EBX): Likewise.
6861
b0f955c9
ST
68622014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6863
6864 Simplify atomicity of socket creation in bind.
6865
6866 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6867 looking up the name after linking the file.
6868
529bf515
AM
68692014-08-27 Allan McRae <allan@archlinux.org>
6870
6871 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6872
a1a6a401
FW
68732014-08-26 Florian Weimer <fweimer@redhat.com>
6874
6875 [BZ #17187]
6876 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6877 trans_compare, open_translit, __gconv_translit_find):
6878 Remove module loading code.
6879
686ab290
AM
68802014-08-26 Allan McRae <allan@archlinux.org>
6881
e4e7cfd2
AM
6882 * po/vi.po: Update Vietnamese translation from translation project.
6883
6aa09f71
AM
6884 * po/uk.po: Update Ukrainian translation from translation project.
6885
edc0660e
AM
6886 * po/fr.po: Update French translation from translation project.
6887
7eea72ac
AM
6888 * po/ru.po: Update Russian translation from translation project.
6889
93c49eff
AM
6890 * po/pl.po: Update Polish translation from translation project.
6891
46acaf63
AM
6892 * po/cs.po: Update Czech translation from translation project.
6893
a9f5ce98
AM
6894 * po/de.po: Update German translation from translation project.
6895
373f2b78
AM
6896 * po/bg.po: Update Bulgarian translation from translation project.
6897
e7548bd8
AM
6898 * po/sv.po: Update Sweedish translation from translation project.
6899
c526bf4d
AM
6900 * po/nl.po: Update Dutch translation from translation project.
6901
686ab290
AM
6902 * po/es.po: Update Spanish translation from translation project.
6903
eb72478a
SP
69042014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6905
dd763fdb
SP
6906 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6907
318c7a58
SP
6908 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6909 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6910 (CPPFLAGS-iconvconfig): Likewise.
6911 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6912
eb72478a
SP
6913 * include/libc-symbols.h: Remove unnecessary check for
6914 NOT_IN_libc.
6915 * nptl/pthreadP.h: Likewise.
6916 * sysdeps/aarch64/setjmp.S: Likewise.
6917 * sysdeps/alpha/setjmp.S: Likewise.
6918 * sysdeps/arm/sysdep.h: Likewise.
6919 * sysdeps/i386/setjmp.S: Likewise.
6920 * sysdeps/m68k/setjmp.c: Likewise.
6921 * sysdeps/posix/getcwd.c: Likewise.
6922 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6923 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6924 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6925 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6926 * sysdeps/sh/sh3/setjmp.S: Likewise.
6927 * sysdeps/sh/sh4/setjmp.S: Likewise.
6928 * sysdeps/unix/alpha/sysdep.h: Likewise.
6929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6930 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6931 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6932 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6937 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6940 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6942 * sysdeps/x86_64/setjmp.S: Likewise.
6943
d44a052c
JM
69442014-08-13 Joseph Myers <joseph@codesourcery.com>
6945
6946 [BZ #17263]
6947 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6948 <stdint.h>.
6949 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6950 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6951
508ce3ac
SP
69522014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6953
e44c8b0e
SP
6954 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6955
508ce3ac
SP
6956 [BZ #17262]
6957 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6958 and __x86_64__ when disabling x87 inline functions.
6959
b4acef1f
L
69602014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6961
6962 [BZ #17259]
6963 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6964 asm statement with __cpuid_count.
6965
61b1ef6e
MF
69662014-08-12 Mike Frysinger <vapier@gentoo.org>
6967
6968 * configure.ac: Change __ehdr_start code to dereference the struct.
6969 Run readelf on the output to look for relocations.
6970 * configure: Regenerated.
6971
898c62f4
JM
69722014-08-12 Joseph Myers <joseph@codesourcery.com>
6973
6974 [BZ #17261]
6975 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6976 value to 0.
6977 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6978
9a8a5720
RM
69792014-08-12 Roland McGrath <roland@hack.frob.com>
6980
6981 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6982
4e75751c
BO
69832014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6984
6985 [BZ #16892]
6986 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6987 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6988
bb2ce416
SA
69892014-08-12 Sean Anderson <seanga2@gmail.com>
6990
6991 * malloc/malloc.c: Fix typo in comment.
6992
7950a4ee
AM
69932014-08-09 Allan McRae <allan@archlinux.org>
6994
6995 * Regenerate libc.po.
6996
f469c49f
MF
69972014-08-08 Mike Frysinger <vapier@gentoo.org>
6998
6999 * intl/tst-gettext2.sh: Check every lang file for creation.
7000
656b84c2
WD
70012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7002
7003 * sysdeps/aarch64/fpu/math_private.h
7004 (libc_feholdsetround_noex_aarch64_ctx): New function.
7005
538e9e45
W
70062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7007
7008 * sysdeps/arm/armv6/strcpy.S (strcpy):
7009 Fix performance issue in misaligned cases.
7010
d4795e4a
AZ
70112014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7012
7013 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7014 Move definition from termios.h.
7015 (struct termio): Likewise.
7016 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7017 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7018 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7019 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7020 Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7022 Move definition to ioctl-types.h
7023 (struct termio): Likewise.
7024 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7025 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7026 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7027 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7028 Likewise.
7029
64accb62
RH
70302014-08-05 Richard Henderson <rth@redhat.com>
7031
27bb6dc0
RH
7032 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7033 exceptions.
7034 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7035 Add fraiseexcpt.
7036 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7037 Use __feraiseexcept.
7038 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7039 Protect libm symbols with IS_IN_libm.
7040
64accb62
RH
7041 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7042
e5292691
BO
70432014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7044
7045 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7046
5b4bd2d4
WN
70472014-08-04 Will Newton <will.newton@linaro.org>
7048
7049 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7050 file.
7051
fcadaeef
MF
70522014-08-04 Mike Frysinger <vapier@gentoo.org>
7053
7054 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7055 variants for each function.
7056
43a94c64
RM
70572014-08-04 Roland McGrath <roland@hack.frob.com>
7058
7059 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7060 appended ...
7061 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7062 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7063 appended ...
7064 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7065 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7066 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7067 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7068 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7069 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7070 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7071 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7072 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7073 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7084 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7086 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7087 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7088 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7089 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7090 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7091 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7092 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7093 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7094 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7095 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7096 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7097 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7098 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7099 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7100 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7101 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7102 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7103 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7104 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7105 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7106 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7108 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7110 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7112 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7114 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7115 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7116 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7117 Update #include.
7118 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7119 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7120
8f3c1fa4
RM
71212014-08-04 Roland McGrath <roland@hack.frob.com>
7122
7123 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7124 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7125 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7126 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7127 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7128 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7129
ca08746f
RM
71302014-08-04 Roland McGrath <roland@hack.frob.com>
7131
7132 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7133 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7134 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7135 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7136
9c925ff9
RM
71372014-08-04 Roland McGrath <roland@hack.frob.com>
7138
7139 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7140 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7141 (__libc_vfork): Define function under this name.
7142 (__vfork): Define as an alias.
7143 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7144 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7145
e641054c
RM
71462014-08-04 Roland McGrath <roland@hack.frob.com>
7147
7148 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7149 that was previously under [RESET_PID].
7150 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7151
dacdc867
AS
71522014-08-04 Andreas Schwab <schwab@suse.de>
7153
7154 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7155
41f725ff
MF
71562014-08-03 Mike Frysinger <vapier@gentoo.org>
7157
7158 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7159 (main): Likewise.
7160
277cfb31
RM
71612014-08-01 Roland McGrath <roland@hack.frob.com>
7162
7163 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7164
4896f049
RH
71652014-08-01 Richard Henderon <rth@redhat.com>
7166
7167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7168 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7169 typo in exact zero test.
7170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7171 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7173
6f64e7d7
RM
71742014-08-01 Roland McGrath <roland@hack.frob.com>
7175
7176 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7177 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7178 * sysdeps/arm/sysdep.h: ... here.
7179 [!__ASSEMBLER__]: Include <stdint.h>.
7180
3f3dd810
SP
71812014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7182
a476ac4b
SP
7183 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7184 (HAVE_WCTYPE_H): Likewise.
7185 (HAVE_ISWCTYPE): Likewise.
7186 (ENABLE_NLS): Likewise.
7187 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7188 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7189
78dd658a
SP
7190 * posix/regex_internal.c: Check if DEBUG is defined and is
7191 set.
7192
3f3dd810
SP
7193 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7194 (HAVE_MBSRTOWCS): Likewise.
7195 * posix/fnmatch.c: Include string.h unconditionally.
7196
95ee7fb1
SL
71972014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7198
7199 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7200 reversal.
7201
23fe486b
RM
72022014-07-31 Roland McGrath <roland@hack.frob.com>
7203
f61a113f
RM
7204 * sysdeps/generic/safe-fatal.h: New file.
7205 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7206 * nptl/forward.c: Include it.
7207 (__pthread_unwind): Use __safe_fatal as default action, rather
7208 than a bogus use of INTERNAL_SYSCALL that could never work.
7209
9fe7e787
RM
7210 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7211 * configure.ac (libc_cv_builtin_trap): New test.
7212 * configure: Regenerated.
7213 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7214 (ABORT_INSTRUCTION): Define using __builtin_trap.
7215
23fe486b
RM
7216 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7217 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7218 * sysdeps/nptl/nptl-signals.h: New file.
7219 * nptl/pthreadP.h: Include <nptl-signals.h>.
7220
f349489e
SL
72212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7222
7223 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7224 (ONE_DIRECTION): Define.
7225 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7226 (ONE_DIRECTION): Define.
7227 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7228 (ONE_DIRECTION): Define.
7229
2f438e20
SL
72302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7231
7232 * sysdeps/s390/Makefile: Delete file.
7233 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7234 * sysdeps/s390/__longjmp.c: Delete file.
7235 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7236 Remove fields __flags and __reserved.
7237 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7238 and add versioning.
7239 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7240 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7241 * sysdeps/s390/rtld-setjmp.S: Likewise.
7242 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7243 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7244 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7245 * sysdeps/s390/s390-32/setjmp.S: ... here.
7246 Add versioning.
7247 (__sigsetjmp): Remove setting __flags field.
7248 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7249 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7250 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7251 * sysdeps/s390/s390-64/setjmp.S: ... here.
7252 Add versioning.
7253 (__sigsetjmp): Remove setting __flags field.
7254 * sysdeps/s390/setjmp.S: Delete file.
7255 * sysdeps/s390/sigjmp.c: Likewise.
7256 * sysdeps/s390/v1-longjmp.c: Likewise.
7257 * sysdeps/s390/v1-setjmp.h: Likewise.
7258 * sysdeps/s390/v1-sigjmp.c: Likewise.
7259 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7260 Remove v1-longjmp_chk.
7261 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7262 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7263 Include debug/longjmp_chk.c and add versioning.
7264 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7265 Include nptl/pt-longjmp.c and add versioning.
7266 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7267 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7268 Include __longjmp.c.
7269 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7270 Move to ...
7271 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7272 (__getcontext): Remove setting __flags field.
7273 Add versioning.
7274 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7275 Don't restore upper high grps.
7276 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7277 Likewise.
7278 (__swapcontext): Remove setting uc_flags field.
7279 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7280 Delete file.
7281 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7282 Include __longjmp.c.
7283 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7284 Move to ...
7285 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7286 (__getcontext): Remove setting __flags field.
7287 Add versioning.
7288 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7289 (__swapcontext): Remove setting uc_flags field.
7290 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7292 Remove fields uc_high_gprs and __reserved.
7293 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7294 New file with reverted content.
7295 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7297 Regenerated.
7298 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7299 Regenerated.
7300
6c9578a2
AS
73012014-07-31 Andreas Schwab <schwab@suse.de>
7302
7303 * config.h.in (HAVE_IFUNC): Define to 0.
7304 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7305 definedness.
7306
05f3633d
LM
73072014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7308
7309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7310 memmove-avx-unaligned, memcpy-avx-unaligned and
7311 mempcpy-avx-unaligned.
7312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7313 Add tests for AVX memcpy functions.
7314 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7315 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7316 memcpy_chk.
7317 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7318 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7319 memmove_chk.
7320 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7321 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7322 mempcpy_chk.
7323 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7324 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7325 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7326
a53fbd8e
AZ
73272013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7328
7329 [BZ #17213]
7330 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7331 powerpc64le.
7332
0961f7e1
JL
73332014-07-29 Jeff Layton <jlayton@poochiereds.net>
7334
7335 [BZ #16839]
7336 * manual/llio.texi: Add section about open file description locks.
7337 * manual/examples/ofdlocks.c: Example of open file description
7338 lock usage.
7339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7340 F_OFD_SETLK, and F_OFD_SETLKW.
7341
cc5fb300
AM
73422014-07-23 Allan McRae <allan@archlinux.org>
7343
7344 * po/es.po: Update Spanish translation from translation project.
7345
23329dca
AS
73462014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7347
7348 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7349
9c82da17
MR
73502014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7351
7352 [BZ #17078]
7353 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7354 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7355 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7356
29c4f53e
JM
73572014-07-17 Joseph Myers <joseph@codesourcery.com>
7358
831b9896
JM
7359 [BZ #17088]
7360 * math/fesetenv.c (__fesetenv)
7361 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7362 * math/feupdateenv.c (__feupdateenv)
7363 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7364
b21c2d50
JM
7365 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7366 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7367 (__ASSUME_SOCKETCALL): Do not define.
7368
067764ef
JM
7369 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7370 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7371 (__ASSUME_SOCKETCALL): Do not define.
7372 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7373 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7374 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7375 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7376 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7377 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7378 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7379 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7380
642530c1
JM
7381 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7382 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7383 (__ASSUME_SOCKETCALL): Do not define.
7384 (__ASSUME_IPC64): Define unconditionally.
7385 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7386 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7387 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7388 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7389 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7391 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7392 Likewise.
7393
03f77315
JM
7394 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7395 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7396 (__ASSUME_SOCKETCALL): Do not define.
7397 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7398 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7399 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7400 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7401 (__ASSUME_REQUEUE_PI): Define unconditionally.
7402 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7403 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7404 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7405 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7406 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7407 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7408
083b1f7c
JM
7409 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7410 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7411 (__ASSUME_SOCKETCALL): Do not define.
7412 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7413 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7414 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7415 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7416 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7417 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7418
5be44ea6
JM
7419 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7420 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7421 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7422 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7423 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7424 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7425 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7426 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7427 (__ASSUME_GETCPU_SYSCALL): Likewise.
7428
d95ffd4c
JM
7429 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7430 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7431 cases for individual architectures.
7432 * sysdeps/gnu/configure: Regenerated.
7433 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7434 LIBC_SLIBDIR_RTLDDIR.
7435 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7436 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7437 LIBC_SLIBDIR_RTLDDIR.
7438 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7440 LIBC_SLIBDIR_RTLDDIR.
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7442 Regenerated.
7443 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7444 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7445 file.
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7447 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7448 file.
7449 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7450 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7451 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7452 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7453
29c4f53e
JM
7454 * sysdeps/aarch64/shlib-versions: Move to ...
7455 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7456 * sysdeps/alpha/shlib-versions: Move to ...
7457 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7458 * sysdeps/arm/shlib-versions: Move to ...
7459 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7460 * sysdeps/hppa/shlib-versions: Move all contents except for
7461 libgcc_s entry to ...
7462 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7463 entry from ...
7464 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7465 * sysdeps/ia64/shlib-versions: Move to ...
7466 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7467 entry from ...
7468 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7469 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7470 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7471 * sysdeps/microblaze/shlib-versions: Move to ...
7472 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7473 * sysdeps/mips/shlib-versions: Move to ...
7474 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7475 entry from ...
7476 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7477 * sysdeps/tile/shlib-versions: Move to ...
7478 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7480 from ...
7481 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7482 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7483 entry from ...
7484 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7485
32bead5b
WN
74862014-07-17 Will Newton <will.newton@linaro.org>
7487
57977c4b
WN
7488 * sysdeps/arm/bits/atomic.h
7489 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7490 (__arch_compare_and_exchange_bool_16_int): Likewise.
7491 (__arch_compare_and_exchange_bool_64_int): Likewise.
7492
32bead5b
WN
7493 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7494 into an #else block.
7495
37fccd41
RM
74962014-07-16 Roland McGrath <roland@hack.frob.com>
7497
7498 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7499 just Linux configurations. Test empirically that the compiler sets
7500 __ARM_EABI__, rather than using the tuple to decide.
7501 * sysdeps/arm/preconfigure: Regenerated.
7502 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7503 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7504 contents appended ...
7505 * sysdeps/arm/configure.ac: ... here.
7506 * sysdeps/arm/configure: Regenerated.
7507
b365f3ec
RM
75082014-07-15 Roland McGrath <roland@hack.frob.com>
7509
8badf496
RM
7510 * nptl/pthread_kill.c: New file.
7511 * nptl/pthread_sigmask.c: New file.
7512 * nptl/pthread_sigqueue.c: New file.
7513
3df6f22e
RM
7514 * sysdeps/nptl/lowlevellock.h: New file.
7515 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7516 * sysdeps/nptl/lowlevellock-futex.h: New file.
7517
b365f3ec
RM
7518 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7519 Remove dead declarations.
7520
f2fef657
L
75212014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7522
7523 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7524 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7525 config-cflags-avx2.
7526 * sysdeps/x86_64/configure.ac: Likewise.
7527 * sysdeps/i386/configure: Regenerated.
7528 * sysdeps/x86_64/configure: Likewise.
7529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7530 memset-avx2 only if config-cflags-avx2 is yes.
7531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7532 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7533 defined.
7534 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7535 only if HAVE_AVX2_SUPPORT is defined.
7536 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7537
f6c44d47
AM
75382014-07-14 Alan Modra <amodra@gmail.com>
7539
7540 [BZ #17153]
7541 * elf/elf.h (DT_PPC64_NUM): Correct value.
7542 * NEWS: Add to fixed bug list.
7543
7ee03f00
JM
75442014-07-13 Jim Meyering <meyering@fb.com>
7545
7546 [BZ 17150]
7547 regex: don't deref NULL upon heap allocation failure
7548 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7549 failure in one more place.
7550 To trigger the segfault, configure grep -with-included-regex,
7551 build it, and run these commands:
7552 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7553
9d39d517
AS
75542014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7555
7556 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7557
a75b89b7
RH
75582014-07-11 Richard Henderson <rth@redhat.com>
7559
7560 * sysdeps/aarch64/libm-test-ulps: Update.
7561
771eb141
FW
75622014-07-10 Florian Weimer <fweimer@redhat.com>
7563
7564 [BZ #17135]
7565 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7566 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7567 (__nptl_setxid): Initialize error member. Call
7568 __nptl_setxid_error.
7569 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7570 * nptl/descr.h (struct xid_command): Add error member.
7571 * nptl/tst-setuid3.c: New file.
7572 * nptl/Makefile (tests): Add it.
7573
bc1da176
AZ
75742014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7575
7576 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7577 New define.
7578 (__lll_trylock): Use __lll_base_trylock.
7579 (__lll_cond_trylock): Likewise.
7580
887865fc
RM
75812014-07-10 Roland McGrath <roland@hack.frob.com>
7582
c0c6bac9
RM
7583 * nptl/pthread_create.c (start_thread): Use atomic_or and
7584 lll_futex_wake directly rather than lll_robust_dead.
7585 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7586 (lll_robust_dead): Macro removed.
6a42be57 7587 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7588 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7589 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7590 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7591 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7592 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7593 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7594 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7595 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7596 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7597 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7598 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7599 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7600 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7601 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7602
887865fc
RM
7603 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7604 Use atomic_compare_and_exchange_val_acq directly rather than
7605 lll_robust_trylock.
7606 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7607 (__lll_robust_trylock, lll_robust_trylock): Removed.
7608 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7609 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7610 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7612 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7613 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7614 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7615 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7617 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7618 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7619 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7620 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7622
58536726
FW
76232014-07-02 Florian Weimer <fweimer@redhat.com>
7624
7625 * manual/locale.texi (Locale Names): New section documenting
7626 locale name syntax. Adjust menu and node chaining accordingly.
7627 (Choosing Locale): Reference Locale Names, Locale Categories.
7628 Mention setting LC_ALL=C. Reflect that name syntax is now
7629 documented.
7630 (Locale Categories): New section title. Reference Locale Names.
7631 LC_ALL is an environment variable, but not a category.
7632 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7633 description, now in Locale Name. Reference that section. Locale
7634 name syntax is now documented.
7635
4e8f95a0
FW
76362014-07-02 Florian Weimer <fweimer@redhat.com>
7637
7638 [BZ #17137]
7639 * locale/findlocale.c (name_present, valid_locale_name): New
7640 functions.
7641 (_nl_find_locale): Use the loc_name variable to store name
7642 candidates. Call name_present and valid_locale_name to check and
7643 validate locale names. Return an error if the locale is invalid.
7644
d1836456
FW
76452014-07-02 Florian Weimer <fweimer@redhat.com>
7646
7647 * locale/setlocale.c (setlocale): Use strdup for allocating
7648 composite name copy.
7649
d69b7f5a
SP
76502014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7651
888c679b
SP
7652 Sync up with gnulib.
7653 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7654 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7655 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7656 and _GL_ARG_NONNULL.
7657 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7658 [!_LIBC]: Include code for Windows and Cygwin.
7659 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7660 Include prototype for int strerror_r.
7661 [!_LIBC] (is_open): New function.
7662 (flush_stdout): New function.
7663 (print_errno_message): Use it.
7664 (error): Likewise.
7665 (error_at_line): Likewise.
7666 (error_tail) Add function attribute macros. Use
7667 __builtin_expect.
7668
180e0e4b
SP
7669 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7670
d22f1fe2
SP
7671 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7672
12f2254b
SP
7673 * io/ftw.c: Include sys/param.h unconditionally.
7674
c3c7c360
SP
7675 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7676
d62aa75a
SP
7677 [BZ #17125]
7678 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7679 libc_freeres_ptr.
7680 (freecache): New function to free CACHE on exit.
7681
d69b7f5a
SP
7682 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7683 initialization.
7684
5efe06a1
DM
76852014-07-09 David S. Miller <davem@davemloft.net>
7686
7687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7688
7000d82e
DM
7689 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7690 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7691 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7692 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7693 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7694 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7695 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7696 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7697 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7698 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7699 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7700 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7701 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7702
c213442d
AS
77032014-07-09 Andreas Schwab <schwab@suse.de>
7704
4a2552c3
AS
7705 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7706 output.
7707 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7708 (do_test): Likewise.
7709
c213442d
AS
7710 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7711
82374e65
WN
77122014-07-09 Will Newton <will.newton@linaro.org>
7713
7714 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7715 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7716 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7717 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7718 * sysdeps/hppa/start.S (_start): Likewise.
7719
6680738a
SP
77202014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7721
6ee3eab4
SP
7722 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7723
6680738a
SP
7724 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7725 defined.
7726
80b5c505
SP
77272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7728
e35c53e3
SP
7729 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7730 after checking that it is non-NULL.
7731
80b5c505
SP
7732 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7733
91f4b564
AZ
77342014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7735
27b75f56
AZ
7736 * sysdeps/powerpc/memmove.c: Remove file.
7737 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7738 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7739 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7740 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7741 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7742 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7743 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7744 string memmove instead of removed powerpc one.
7745
e7f95bb5
AZ
7746 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7747 [weak_alias]: Fix compiler warning due trailing data.
7748 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7749 [weak_alias]: Likewise.
7750 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7751 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7752
91f4b564
AZ
7753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7754 (__libc_ifunc_impl_list): Add memmove functions.
7755
7c33f1e5
SP
77562014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7757
7758 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7759 Remove code.
7760 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7761 Likewise
7762 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7763 Likewise
7764 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7765 Likewise
7766 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7767 Likewise
7768 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7769 Likewise
7770 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7771 Likewise
7772 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7773 Likewise
7774 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7775 Likewise
7776 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7777 Likewise
7778 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7779 Likewise
7780 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7781 Likewise
7782 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7783 Likewise
7784 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7785 Likewise
7786 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7787 Likewise
7788 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7789 Likewise
7790 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7791 Likewise
7792
3f17b03b
AZ
77932014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7794
87868c24
AZ
7795 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7796 to avoid alignment traps in non-cacheable memory.
7797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7798
07aedd78
AZ
7799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7800 multiarch objects.
7801 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7802 file: multiarch power7 memmove.
7803 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7804 multiarch default memmove.
7805 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7806 multiarch memove for powerpc32/power4.
7807
17762f66
AZ
7808 * string/bcopy.c: Use full path to include memmove.c.
7809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7810 multiarch objects.
7811 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7812 bcopy for powerpc64.
7813 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7814 bcopy for powerpc64.
7815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7816 and memmove implementations.
7817 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7818 optimized multiarch memmove for POWER7/powerpc64.
7819 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7820 default multiarch memmove for powerpc64.
7821 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7822 multiarch for powerpc64.
7823 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7824 for POWER7/powerpc64.
7825 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7826 memmove for POWER7/powerpc64.
7827
d6f68bbe
AZ
7828 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7829 glibc default one.
7830
3f17b03b
AZ
7831 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7832 __ELF_NATIVE_CLASS equal to 64.
7833
08192659
RM
78342014-07-07 Roland McGrath <roland@hack.frob.com>
7835
f4c4021b
RM
7836 * sysdeps/nptl/lowlevellock.h: File removed.
7837
f083450f
RM
7838 * NEWS: NPTL is no longer an add-on!
7839 * nptl/internaltypes.h: Moved ...
7840 * sysdeps/nptl/internaltypes.h: ... here.
7841 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7842 * sysdeps/nptl/fork.c: Likewise.
7843 * sysdeps/nptl/gai_misc.h: Likewise.
7844 * sysdeps/nptl/librt-cancellation.c: Likewise.
7845 * sysdeps/nptl/jmp-unwind.c: Likewise.
7846 * sysdeps/nptl/setxid.h: Likewise.
7847 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7848 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7849 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7850 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7851 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7852 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7853 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7854 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7855 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7856 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7857 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7858 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7859 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7860 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7861 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7862 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7863 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7864 * nptl/Makeconfig: Moved ...
7865 * sysdeps/nptl/Makeconfig: ... here.
7866 * nptl/configure: File removed.
7867 * nptl/ANNOUNCE: File removed.
7868 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7869 * sysdeps/unix/sysv/linux/configure: Regenerated.
7870
08192659
RM
7871 * nptl/Makefile (routines): Add libc_pthread_init,
7872 libc_multiple_threads, register-atfork and unregister-atfork.
7873 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7874 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7875 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7876 pthread-pi-defines.sym, structsem.sym.
7877 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7878 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7879 [$(subdir) = nptl] (tests): Add tst-setgetname.
7880 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7881 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7882 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7883 [!LIBC_SIGACTION]: Remove aliases.
7884 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7885 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7886 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7887 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7888 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7889 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7892 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7893 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7894 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7895 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7896 __libc_allocate_rtsig_private.
7897 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7898 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7899 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7900 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7901 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7902 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7903 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7904 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7905 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7906 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7907 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7908 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7909 * nptl/internaltypes.h: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7911 * sysdeps/nptl/jmp-unwind.c: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7913 * nptl/libc-lowlevellock.c: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7915 * nptl/libc_multiple_threads.c: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7917 * nptl/libc_pthread_init.c: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7919 * nptl/lowlevelbarrier.sym: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7921 * nptl/lowlevelcond.sym: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7923 * nptl/lowlevellock.c: ... here.
7924 * nptl/lowlevellock.h: Moved ...
7925 * sysdeps/nptl/lowlevellock.h: ... here.
7926 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7927 * nptl/lowlevelrobustlock.c: ... here.
7928 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7929 * nptl/lowlevelrobustlock.sym: ... here.
7930 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7931 * nptl/lowlevelrwlock.sym: ... here.
7932 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7933 * nptl/pt-fork.c: ... here.
7934 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7935 * nptl/pthread-pi-defines.sym: ... here.
7936 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7937 * nptl/pthread_attr_getaffinity.c: ... here.
7938 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7939 * nptl/pthread_attr_setaffinity.c: ... here.
7940 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7941 * nptl/pthread_mutex_cond_lock.c: ... here.
7942 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7943 Update #include.
7944 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7945 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7946 * nptl/pthread_once.c: ... here, replacing old file.
7947 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7948 * nptl/pthread_yield.c: ... here.
7949 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7950 * nptl/register-atfork.c: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7952 * nptl/sem_post.c: ... here.
7953 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7954 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7955 * nptl/sem_timedwait.c: ... here.
7956 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7957 * nptl/sem_trywait.c: ... here.
7958 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7959 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7960 * nptl/sem_wait.c: ... here.
7961 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7962 * nptl/structsem.sym: ... here.
7963 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7964 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7965 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7966 * nptl/unregister-atfork.c: ... here.
7967 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7968 * nptl/unwindbuf.sym: ... here.
7969 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7970 * sysdeps/nptl/fork.c: ... here.
7971 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7972 * sysdeps/nptl/fork.h: ... here.
7973 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7974 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7975 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7977 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7979 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7980 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7981 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7982 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7983 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7985 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7987 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7989 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7991 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7993 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7994 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7995 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7997 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7998 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7999 * sysdeps/unix/sysv/linux/raise.c: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8001 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8002 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8003 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8005 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8007 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8008 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8009 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8010 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8011 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8012 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8013 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8014 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8015
96baf6ff
SP
80162014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8017
8018 * sysdeps/generic/memcopy.h: Add comment for
8019 MEMCPY_OK_FOR_FWD_MEMMOVE.
8020
6b7b14b2
WN
80212014-07-04 Will Newton <will.newton@linaro.org>
8022
1570a72b
WN
8023 * string/memchr.c: Merge from gnulib.
8024 [_LIBC]: Remove conditionals.
8025 (__ptr_t): Remove define.
8026 (LONG_MAX_32_BITS): Likewise.
8027 (LONG_MAX): Likewise.
8028 (MEMCHR): Use ANSI prototype and optimize algorithm.
8029
6b7b14b2
WN
8030 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8031
38851324
SP
80322014-07-03 Roland McGrath <roland@hack.frob.com>
8033
3d9eb57c
RM
8034 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8035 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8036
78b984ae
RM
8037 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8038 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8039 in a bare environment with no <stdlib.h> installed.
8040 * sysdeps/nptl/configure: Regenerated.
8041
2d5976a5
RM
8042 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8043
c1f5acd4
RM
8044 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8045 AC_EGREP_CPP for kernel header checks, so they only succeed if
8046 including <linux/version.h> actually works right.
8047 * sysdeps/unix/sysv/linux/configure: Regenerated.
8048
4d614fe5
RM
8049 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8050 value so it's not diagnosed as unused.
8051
38851324
SP
8052 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8053 thing) with "ifeq ($(subdir),rt)".
8054
b3ec00e5
RH
80552014-07-03 Richard Henderson <rth@redhat.com>
8056
69862e25
RH
8057 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8058 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8059 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8060
d5e16ade
RH
8061 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8062 (math_force_eval): New.
8063
ca7b945c
RH
8064 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8065 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8066
cd1175a3
RH
8067 * sysdeps/alpha/fpu/s_round.c: Remove file.
8068 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8069
b3ec00e5
RH
8070 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8071 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8072 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8073 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8074 (_dl_start, print_statistics): Likewise.
8075 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8076 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8077
8078 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8079 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8080 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8081 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8083 (HP_SMALL_TIMING_AVAIL): Define.
8084 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8086 (HP_SMALL_TIMING_AVAIL): Define.
8087 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8088 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8089
8090 * sysdeps/aarch64/hp-timing.h: New file.
8091
8092 * sysdeps/generic/hp-timing.h: Remove dead comment.
8093 * sysdeps/generic/hp-timing-common.h: New file.
8094 * sysdeps/alpha/hp-timing.h: Include it.
8095 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8096 * sysdeps/i386/i686/hp-timing.h: Likewise.
8097 * sysdeps/ia64/hp-timing.h: Likewise.
8098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8099 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8100 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8101 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8102 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8103 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8104 (hp_timing_t): New.
8105
8106 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8107 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8108 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8109 * elf/rtld.c (_dl_start_final): Likewise.
8110 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8111 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8112 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8113 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8114 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8116 (HP_TIMING_DIFF_INIT): Remove.
8117 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8118 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8119 (HP_TIMING_DIFF_INIT): Remove.
8120 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8121 * sysdeps/i386/i686/hp-timing.c: Remove file.
8122 * sysdeps/x86_64/hp-timing.c: Remove file.
8123 * sysdeps/ia64/hp-timing.c: Remove file.
8124 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8125 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8126 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8127 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8128
8129 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8130 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8131 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8132 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8134 (HP_TIMING_ACCUM): Remove.
8135 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8136 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8137 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8138
8139 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8140 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8141 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8142 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8144 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8145 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8146 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8147
8148 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8149
225f410f
MR
81502014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8151
8152 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8153
3247f285
SP
81542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8155
8156 Sync up with gettext.
8157 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8158 [_MSC_VER]: Include malloc.h
8159 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8160 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8161 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8162 TEMP_FAILURE_RETRY. Cast return of alloca.
8163 [!_LIBC] Call gl_rwlock_init.
8164 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8165
d12704c7
SP
81662014-07-02 Roland McGrath <roland@hack.frob.com>
8167
8168 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8169 before checking its value.
8170
99f8dc92
SP
81712014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8172
05fdac77
SP
8173 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8174
99f8dc92
SP
8175 * debug/memcpy_chk.c: Don't include pagecopy.h.
8176 * debug/mempcpy_chk.c: Likewise.
8177 * string/memcpy.c: Likewise.
8178 * string/memmove.c: Likewise.
8179 * sysdeps/powerpc/memmove.c: Likewise.
8180 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8181 definition of PAGE_COPY_FWD_MAYBE here...
8182 * sysdeps/generic/pagecopy.h: ... from here.
8183 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8184
bc8ea385
VR
81852014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8186 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8187
8188 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8190 optimizations.
8191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8192 (__libc_ifunc_impl_list): Likewise.
8193 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8194 multiarch strcat for PPC64.
8195 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8196 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8197
fe5f34e4
RM
81982014-07-02 Roland McGrath <roland@hack.frob.com>
8199
8200 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8201
256aa665
SP
82022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8203
d4eb8195
SP
8204 * intl/loadmsgcat.c: Remove declaration of
8205 get_sysdep_segment_value.
8206 (get_sysdep_segment_value): Use ISO C style.
8207 (_nl_load_domain): Use ISO C style. Get rid of redundant
8208 semicolon. Fix typo and formatting in comment.
8209 (_nl_unload_domain): Use ISO C style.
8210
256aa665
SP
8211 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8212
b100f9aa
WN
82132014-07-02 Will Newton <will.newton@linaro.org>
8214
8215 * malloc/obstack.c: Merge from gnulib master.
8216 [HAVE_CONFIG_H]: Remove conditional code.
8217 [!_LIBC]: Include config.h.
8218 [!ELIDE_CODE]: Don't include inttypes.h, include
8219 stdint.h unconditionally.
8220 (print_and_abort): Mark as _Noreturn.
8221 (_obstack_allocated_p): Mark as __attribute_pure__.
8222 (obstack_free): Rename to __obstack_free.
8223 [!__attribute__]: Remove conditional code.
8224 * malloc/obstack.h: Merge from gnulib master.
8225 [__cplusplus]: Move conditional down.
8226 [!__attribute_pure__]: Define __attribute_pure__ here
8227 if it is not already defined.
8228 (_obstack_memory_used): Mark as __attribute_pure__.
8229 [!__obstack_free]: Define as obstack_free.
8230 [__GNUC__]: Remove check for ancient NeXT gcc.
8231
c4c41244
PE
82322014-07-02 Will Newton <will.newton@linaro.org>
8233 Paul Eggert <eggert@cs.ucla.edu>
8234
8235 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8236
e1e041c4
SP
82372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8238
8239 * resolv/gethnamaddr.c: Add comment warning that the file is
8240 not maintained.
8241
ccf431ff
CD
82422014-07-01 Carlos O'Donell <carlos@redhat.com>
8243
d34570a6
CD
8244 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8245 entries.
8246
ccf431ff
CD
8247 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8248 entry for aio_cancel and aio_cancel64.
8249 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8250 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8251 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8252 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8253 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8254 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8255 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8256 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8257 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8258 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8259 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8260 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8261 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8262
ca06321d
RM
82632014-07-01 Roland McGrath <roland@hack.frob.com>
8264
8265 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8266 * nptl/pthread_mutex_lock.c: Likewise.
8267 * nptl/pthread_mutex_timedlock.c: Likewise.
8268 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8269
a1ac3184
RH
82702014-07-01 Richard henderson <rth@redhat.com>
8271
631021e0
RH
8272 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8273 (__isnan, __isnanl): Remove.
8274 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8275
a1ac3184
RH
8276 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8277
0c1d731f
SL
82782014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8279
8280 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8281
76985d3e
SP
82822014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8283
8284 * resolv/nss_dns/dns-host.c (getanswer_r)
8285 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8286
b0cb3096
JM
82872014-07-01 Joseph Myers <joseph@codesourcery.com>
8288
8289 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8290 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8291 undefine.
8292 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8293 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8294
4d76cb39
RM
82952014-07-01 Roland McGrath <roland@hack.frob.com>
8296
8297 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8298 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8299
8300 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8301 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8302
8303 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8304 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8305 ... here.
8306 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8307 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8308
8309 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8310 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8311 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8312 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8313
8314 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8315 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8316 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8319 Moved ...
8320 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8321 ... here.
8322 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8323 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8325 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8326 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8327 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8328 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8329 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8330 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8331 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8332 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8333 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8334 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8335 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8336 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8337 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8339 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8340 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8341 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8342 ... here.
8343 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8344 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8345 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8346 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8347 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8348 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8349 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8350 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8351
0cdcad17
DH
83522014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8353
8354 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8355 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8356 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8357 Add sysdep.
8358
9b71d0e3
AZ
83592014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8360
8361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8362
665390c2
JM
83632014-06-30 Joseph Myers <joseph@codesourcery.com>
8364
ae05a9d7
JM
8365 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8367
a7672a2f
JM
8368 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8369
665390c2
JM
8370 * sysdeps/arm/libm-test-ulps: Regenerated.
8371
d7a05d07
MR
83722014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8373 Roland McGrath <roland@hack.frob.com>
8374
8375 * test-skeleton.c (signal_handler): Kill the whole process group
8376 before killing the child individually.
8377 (main): Report any failure on `setpgid'.
8378
46f1d8a6
RM
83792014-06-30 Roland McGrath <roland@hack.frob.com>
8380
8381 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8382 from _TLS_H to _ARM_NPTL_TLS_H.
8383 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8384 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8385
9c37ec0b
JM
83862014-06-30 Joseph Myers <joseph@codesourcery.com>
8387
ce9c5b3e
JM
8388 [BZ #16539]
8389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8390 (__expm1l): Return argument unchanged when small but not
8391 subnormal.
8392
3a6e9887
JM
8393 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8394 include macro name.
8395 (_FP_UNPACK_RAW_1_P): Likewise.
8396 (_FP_PACK_RAW_1): Likewise.
8397 (_FP_PACK_RAW_1_P): Likewise.
8398 (_FP_MUL_MEAT_1_wide): Likewise.
8399 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8400 (_FP_MUL_MEAT_1_hard): Likewise.
8401 (_FP_DIV_MEAT_1_imm): Likewise.
8402 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8403 (_FP_DIV_MEAT_1_udiv): Likewise.
8404 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8405 (_FP_UNPACK_RAW_2): Likewise.
8406 (_FP_UNPACK_RAW_2_P): Likewise.
8407 (_FP_PACK_RAW_2): Likewise.
8408 (_FP_PACK_RAW_2_P): Likewise.
8409 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8410 (_FP_MUL_MEAT_2_wide): Likewise.
8411 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8412 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8413 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8414 (_FP_MUL_MEAT_2_gmp): Likewise.
8415 (_FP_DIV_MEAT_2_udiv): Likewise.
8416 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8417 (_FP_FRAC_SRL_4): Likewise.
8418 (_FP_FRAC_SRST_4): Likewise.
8419 (_FP_FRAC_SRS_4): Likewise.
8420 (_FP_UNPACK_RAW_4): Likewise.
8421 (_FP_UNPACK_RAW_4_P): Likewise.
8422 (_FP_PACK_RAW_4): Likewise.
8423 (_FP_PACK_RAW_4_P): Likewise.
8424 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8425 (_FP_MUL_MEAT_4_wide): Likewise.
8426 (_FP_MUL_MEAT_4_gmp): Likewise.
8427 (umul_ppppmnnn): Likewise.
8428 (_FP_DIV_MEAT_4_udiv): Likewise.
8429 (__FP_FRAC_ADD_4): Likewise.
8430 (__FP_FRAC_SUB_3): Likewise.
8431 (__FP_FRAC_SUB_4): Likewise.
8432 (__FP_FRAC_DEC_3): Likewise.
8433 (__FP_FRAC_DEC_4): Likewise.
8434 (__FP_FRAC_ADDI_4): Likewise.
8435 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8436 (_FP_FRAC_SRL_8): Likewise.
8437 (_FP_FRAC_SRS_8): Likewise.
8438
9c37ec0b
JM
8439 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8440 include macro name.
8441 (FP_UNPACK_RAW_EP): Likewise.
8442 (FP_PACK_RAW_E): Likewise.
8443 (FP_PACK_RAW_EP): Likewise.
8444 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8445 (_FP_ISSIGNAN): Likewise.
8446 (_FP_ADD_INTERNAL): Likewise.
8447 (_FP_FMA): Likewise.
8448 (_FP_CMP): Likewise.
8449 (_FP_SQRT): Likewise.
8450 (_FP_TO_INT): Likewise.
8451 (_FP_FROM_INT): Likewise.
8452 (FP_EXTEND): Likewise.
8453 (_FP_DIV_MEAT_N_loop): Likewise.
8454
2125f674
MR
84552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8456
8457 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8458 throughout.
8459
edea4028
JM
84602014-06-29 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #17097]
8463 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8464 result with correct sign in case of exponents that produce
8465 overflow except for X very close to 1.
8466
dd0ba018
PE
84672014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8468
8469 mktime: merge #if/#ifdef usage from glibc
8470 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8471 as that works with both Glibc's and Gnulib's style.
8472 See thread starting at Siddhesh Poyarekar's bug report at:
8473 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8474
64df73c2
SP
84752014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8476
8477 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8478 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8479 * sysdeps/tile/tilegx/memmove.c: Remove file.
8480
f1eafb41
JM
84812014-06-27 Joseph Myers <joseph@codesourcery.com>
8482
8483 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8484 abi-name definition.
8485 * scripts/soversions.awk: Do not handle or generate ABI lines.
8486 * shlib-versions: Remove ABI entries.
8487 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8488 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8489
58eb0862
RM
84902014-06-27 Roland McGrath <roland@hack.frob.com>
8491
37caf178
RM
8492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8493 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8494 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8499 Moved ...
8500 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8501 ... here.
8502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8503 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8511 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8513 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8515 Moved ...
8516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8522 Moved ...
8523 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8525 Moved ...
8526 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8528 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8530 Moved ...
8531 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8533 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8535 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8537 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8539 Moved ...
8540 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8542 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8544 Moved ...
8545 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8547 Moved ...
8548 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8550 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8552 Moved ...
8553 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8554 ... here.
8555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8556 Identical file removed.
8557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8558 Moved ...
8559 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8561 Identical file removed.
8562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8565 Moved ...
8566 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8568 Identical file removed.
8569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8570 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8572 Identical file removed.
8573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8576 Identical file removed.
8577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8578 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8580 Identical file removed.
8581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8582 Moved ...
8583 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8585 Identical file removed.
8586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8587 Moved ...
8588 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8592 Identical file removed.
8593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8594 Moved ...
8595 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8596 ... here.
8597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8598 Identical file removed.
8599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8600 Moved ...
8601 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8603 Identical file removed.
8604 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8605 Moved ...
8606 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8607 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8608 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8612 Moved ...
8613 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8615 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8616
58eb0862
RM
8617 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8618 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8619 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8620 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8621 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8622
6f12d062
AS
86232014-06-27 Arjun Shankar <arjun.is@lostca.se>
8624
8625 [BZ #17092]
8626 * nscd/nscd.c (monitor_child): Return exit status of child
8627 instead of return value from wait syscall.
8628
be254932
JM
86292014-06-27 Joseph Myers <joseph@codesourcery.com>
8630
cb403c34
JM
8631 * configure.ac (libc_commonpagesize): Remove variable.
8632 (libc_relro_required): Likewise.
8633 (libc_cv_z_relro): Remove configure test.
8634 * configure: Regenerated.
8635 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8636 variable.
8637 (libc_relro_required): Likewise.
8638 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8639 (libc_relro_required): Likewise.
8640 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8641 (libc_relro_required): Likewise.
8642 * sysdeps/arm/preconfigure: Regenerated.
8643 * sysdeps/ia64/preconfigure: Remove file.
8644 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8645 variable.
8646 (libc_relro_required): Likewise.
8647
be254932
JM
8648 [BZ #16561]
8649 [BZ #16562]
8650 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8651 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8652 recompute overflowing results in original rounding mode.
8653 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8654 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8655 recompute overflowing results in original rounding mode.
8656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8657 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8658 recompute overflowing results in original rounding mode.
8659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8660 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8661 recompute overflowing results in original rounding mode.
8662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8663 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8664 recompute overflowing results in original rounding mode.
8665 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8666 (libc_feholdsetround_ctx): New macro.
8667 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8668 * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8670
b351d85a
JM
86712014-06-26 Joseph Myers <joseph@codesourcery.com>
8672
8673 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8674 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8675 corresponding .cpsetup call.
8676
3cb4de47
RM
86772014-06-26 Roland McGrath <roland@hack.frob.com>
8678
8679 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8680 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8681 * sysdeps/arm/Makefile [$(subdir) = csu]
8682 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8683 (static-only-routines): Add aeabi_read_tp here.
8684 (shared-only-routines): Add libc-aeabi_read_tp here.
8685 (CFLAGS-libc-start.c): Add -fexceptions here.
8686 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8687 (sysdep_routines, static-only-routines, shared-only-routines):
8688 Don't add to these here.
8689 (CFLAGS-libc-start.c): Likewise.
8690
8691 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8692 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8693 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8694 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8695 * sysdeps/arm/Makefile [$(subdir) = rt]
8696 (librt-sysdep_routines, librt-shared-only-routines):
8697 Append rt-aeabi_unwind_cpp_pr1 here.
8698 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8699 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8700 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8701 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8702 Append nptl-aeabi_unwind_cpp_pr1 here.
8703 (tests): Filter out tst-cleanupx4 here.
8704 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8705 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8706 Don't do those here.
8707
354426bb
JM
87082014-06-26 Joseph Myers <joseph@codesourcery.com>
8709
8710 * scripts/list-sources.sh: Do not handle ports specially.
8711
28b0a8c9
RM
87122014-06-26 Roland McGrath <roland@hack.frob.com>
8713
a3dd035d
RM
8714 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8715 * sysdeps/arm/feupdateenv.c: Likewise.
8716
28b0a8c9
RM
8717 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8718
e66a8203
JM
87192014-06-26 Joseph Myers <joseph@codesourcery.com>
8720
8721 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8722 trailing whitespace removed.
8723 * scripts/config.guess: Update to version 2014-03-23.
8724 * scripts/config.sub: Update to version 2014-05-01
8725 * scripts/install-sh: Update to version 2013-12-25.23.
8726 * scripts/move-if-change: Update from gnulib.
8727
74171115
SP
87282014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8729
b97c9ce5
SP
8730 * debug/memmove_chk.c: Remove pagecopy.h include.
8731
4000f892
SP
87322014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8733
74171115
SP
8734 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8735 identical to gnulib mktime.
8736
a8779c28
JM
87372014-06-26 Joseph Myers <joseph@codesourcery.com>
8738
e64708de
JM
8739 * configure.ac: Do not test for machine being rs6000. Do not test
8740 for powerpc*-*soft.
8741 * configure: Regenerated.
8742
a8779c28
JM
8743 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8744 test.
8745 * configure: Regenerated.
8746 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8747 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8748 Remove configure test.
8749 * sysdeps/arm/configure: Regenerated.
8750 * sysdeps/nptl/configure.ac: Do not check
8751 libc_cv_asm_cfi_directives.
8752 * sysdeps/nptl/configure: Regenerated.
8753 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8754 * sysdeps/x86_64/nptl/configure: Remove generated file.
8755 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8756 unconditional.
8757 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8758
2aac0a86
SP
87592014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8760
059bf913
SP
8761 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8762 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8763 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8764 it is defined.
8765
4cf5b6d0
SP
8766 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8767 instead of whether it is defined.
8768 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8769 * sysdeps/hppa/dl-machine.h: Likewise.
8770 * sysdeps/ia64/dl-machine.h: Likewise.
8771 * sysdeps/m68k/dl-machine.h: Likewise.
8772 * sysdeps/microblaze/dl-machine.h: Likewise.
8773 * sysdeps/mips/dl-machine.: Likewise.
8774 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8775 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8776 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8777 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8778 * sysdeps/sh/dl-machine.h: Likewise.
8779 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8780 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8781 * sysdeps/tile/dl-machine.h: Likewise.
8782 * sysdeps/x86_64/dl-machine.h: Likewise.
8783
2aac0a86
SP
8784 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8785 code.
8786 (verify_persistent_db): Likewise.
8787
6ad2df0b
RM
87882014-06-26 Roland McGrath <roland@hack.frob.com>
8789
d8a483f3
RM
8790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8791 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8795 Moved ...
8796 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8797 ... here.
8798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8799 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8801 Identical file removed.
8802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8803 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8805 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8807 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8811 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8813 Moved ...
8814 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8816 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8818 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8820 Moved ...
8821 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8823 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8825 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8827 Identical file removed.
8828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8829 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8833 Moved ...
8834 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8835 ... here.
8836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8845 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8847 Moved ...
8848 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8850 Moved ...
8851 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8855 Moved ...
8856 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8858 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8859
52ae23b4
RM
8860 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8861 folded into ...
8862 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8863 * sysdeps/unix/sysv/linux/s390/Versions
8864 (libpthread: GLIBC_2.19): New version set.
8865 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8866 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8867 (librt: GLIBC_2.3.3): New version set.
8868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8869 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8870 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8871 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8872 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8873 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8874 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8876 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8877 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8878 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8879 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8880 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8881 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8882 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8883 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8884 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8885 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8886 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8887 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8888 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8889 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8891 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8892 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8893 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8894 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8896 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8897 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8898 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8899 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8901 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8904 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8906 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8908 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8910 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8912 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8913
39507e4a
RM
8914 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8915 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8916 (__libc_vfork): Define the function under this name.
8917 [!NOT_IN_libc] (__vfork): Make this an alias.
8918 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8920 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8921 (__libc_vfork): Define the function under this name.
8922 [!NOT_IN_libc] (__vfork): Make this an alias.
8923 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8924 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8925 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8928 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8929
e549ee56
RM
8930 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8931 code that was previously under [RESET_PID].
8932 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8933 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8934 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8935
6ad2df0b
RM
8936 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8937 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8938 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8939 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8940 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8941 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8942 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8943 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8944 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8945 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8947 Moved ...
8948 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8956 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8957 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8958 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8960 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8961 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8964 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8965 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8966 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8967 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8968 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8970 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8971 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8972 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8973 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8974 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8975 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8976 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8977
7c1c1d8e
RM
89782014-06-25 Roland McGrath <roland@hack.frob.com>
8979
8980 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8981 that was previously under [RESET_PID].
8982 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8983
3e239be6
JM
89842014-06-25 Joseph Myers <joseph@codesourcery.com>
8985
74385da5
JM
8986 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8987 not undefine and redefine.
8988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8989 [O_CLOEXEC]: Make code unconditional.
8990 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8991 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8992 <kernel-features.h>.
8993 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8994 conditional variable definition.
8995 (shm_open) [O_CLOEXEC]: Make code unconditional.
8996 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8997 code.
8998
c2570a0b
JM
8999 * configure.ac (USE_REGPARMS): Don't define here.
9000 * configure: Regenerated.
9001 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9002 * sysdeps/i386/configure: Regenerated.
9003
11b076bb
JM
9004 * nptl/createthread.c: Don't include kernel-features.h.
9005 * nptl/pthread_cancel.c: Likewise.
9006 * nptl/pthread_condattr_setclock.c: Likewise.
9007 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9008 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9009 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9010 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9011 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9012 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9013 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9016 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9017 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9018 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9019 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9020 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9021 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9022 * nscd/gai.c: Likewise.
9023 * nss/nss_db/db-open.c: Likewise.
9024 * sysdeps/generic/ldsodefs.h: Likewise.
9025 * sysdeps/sh/nptl/tls.h: Likewise.
9026 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9027 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9028 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9029 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9030 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9031 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9032 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9033 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9034 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9035 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9036 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9037 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9038 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9039 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9040 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9041 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9042 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9043 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9044 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9045 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9048 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9049 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9050 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9051 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9052 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9053 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9054 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9055 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9056 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9057 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9058 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9059 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9060 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9061 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9062 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9063 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9064 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9065 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9066 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9067 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9068 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9069 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9070 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9071 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9072 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9073 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9074 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9075 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9076 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9077 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9078 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9079 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9080 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9081 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9082 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9083 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9106 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9107 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9108 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9109 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9110 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9111 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9112 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9113 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9114 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9115 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9116 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9117 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9118 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9119 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9120 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9121 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9122 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9123 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9124 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9125 * sysdeps/unix/sysv/linux/system.c: Likewise.
9126 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9127 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9128 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9129 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9130 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9131 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9132 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9133
92072d57
JM
9134 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9135 * configure: Regenerated.
9136 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9137
3e239be6
JM
9138 * configure.ac (base_machine): Do not set specially for particular
9139 machines here.
9140 * configure: Regenerated.
9141 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9142 settings from configure.ac.
9143 * sysdeps/i386/preconfigure: New file.
9144 * sysdeps/s390/preconfigure: Likewise.
9145 * sysdeps/sh/preconfigure: Likewise.
9146 * sysdeps/sparc/preconfigure: Likewise.
9147
06d50baa
RM
91482014-06-25 Roland McGrath <roland@hack.frob.com>
9149
74836003
RM
9150 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9151 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9152 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9153 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9154 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9155 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9156 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9157 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9158 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9159 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9160 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9161 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9162 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9163 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9165 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9166 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9167 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9168 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9169
9170 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9171 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9172 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9173 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9174 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9175 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9176 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9177 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9178 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9179 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9180 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9181 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9182 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9183 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9184 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9185 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9186 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9187 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9188 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9189 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9190 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9191 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9192 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9193 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9194 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9195 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9197 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9199 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9200 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9201 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9202 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9203 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9204 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9205 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9206 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9207 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9208
06d50baa
RM
9209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9212 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9214 Moved ...
9215 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9216 ... here.
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9218 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9220 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9222 Moved ...
9223 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9229 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9231 Moved ...
9232 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9234 Moved ...
9235 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9237 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9239 Moved ...
9240 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9242 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9244 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9246 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9250 Moved ...
9251 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9252 ... here.
9253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9254 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9258 Moved ...
9259 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9267 Moved ...
9268 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9270 Moved ...
9271 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9275 Moved ...
9276 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9278 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9280 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9281
a4ccbc9b
JM
92822014-06-25 Joseph Myers <joseph@codesourcery.com>
9283
0828edbf
JM
9284 * timezone/checktab.awk: Update from tzcode 2014e.
9285 * timezone/private.h: Likewise.
9286 * timezone/tzfile.h: Likewise.
9287 * timezone/zdump.c: Likewise.
9288 * timezone/zic.c: Likewise.
9289
a4ccbc9b
JM
9290 * sysdeps/unix/sysv/linux/kernel-features.h
9291 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9293 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9294 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9295 Remove conditional code.
9296
9aea0cb8
WN
92972014-06-25 Will Newton <will.newton@linaro.org>
9298
9299 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9300 (_dl_arm_cap_flags): Add HWCAP2 values.
9301 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9302 (_DL_HWCAP_COUNT): Increase to 37.
9303 (_DL_HWCAP_LAST): New define.
9304 (_DL_HWCAP2_LAST): New define.
9305 (_dl_procinfo): Add support for printing
9306 AT_HWCAP2 entries.
9307 (_dl_string_hwcap): Use _dl_hwcap_string.
9308
6eaa65ce
AZ
93092014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9310
9311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9312
0f5b7185
JM
93132014-06-25 Joseph Myers <joseph@codesourcery.com>
9314
cfd2ea50
JM
9315 * README: Do not mention ports directory.
9316
cecf2ed4
JM
9317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9318 Remove macro.
9319 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9320 <kernel-features.h>.
9321 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9322 conditional variable definition.
9323 (__futimes): Update comment.
9324 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9325 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9326
a638de82
JM
9327 [BZ #16560]
9328 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9329 arguments close to 0.
9330 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9331 Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9333 Likewise.
9334 * math/auto-libm-test-in: Add more tests of exp10.
9335 * math/auto-libm-test-out: Regenerated.
9336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9337
0f5b7185
JM
9338 * sysdeps/unix/sysv/linux/kernel-features.h
9339 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9340 * sysdeps/unix/sysv/linux/readv.c: Do not include
9341 <kernel-features.h>.
9342 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9343 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9344 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9345 unconditional.
9346 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9347 conditional code.
9348 * sysdeps/unix/sysv/linux/writev.c: Do not include
9349 <kernel-features.h>.
9350 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9351 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9352 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9353 unconditional.
9354 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9355 conditional code.
9356
c7aec4be
WN
93572014-06-25 Will Newton <will.newton@linaro.org>
9358
9359 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9360 comment changes throughout the file. Remove checks
9361 for HAVE_*_H definitions that are not required.
9362 (__gen_tempname): Call abort if an unknown kind value is
9363 passed.
9364
c5241f95
AS
93652014-06-25 Andreas Schwab <schwab@suse.de>
9366
9367 [BZ #17086]
9368 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9369 scalbln, scalblnf, scalblnl in libc.
9370
911422da
SP
93712014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9372
9373 [BZ #17086]
9374 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9375 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9376 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9377
0d749bbe
RM
93782014-06-24 Roland McGrath <roland@hack.frob.com>
9379
9380 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9381 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9382 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9383 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9384 Update #include.
9385 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9386 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9387 Update #include.
9388 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9389 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9390 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9391 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9392 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9393 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9394 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9395 * sysdeps/x86/bits/semaphore.h: ... here.
9396 * sysdeps/x86/nptl/elide.h: Moved ...
9397 * sysdeps/x86/elide.h: ... here.
9398 * sysdeps/x86_64/nptl/Implies: File removed.
9399 * sysdeps/i386/nptl/Implies: File removed.
9400
0ea5d373
JM
94012014-06-24 Joseph Myers <joseph@codesourcery.com>
9402
4060283d
JM
9403 [BZ #16539]
9404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9405 return the argument for normal arguments with exponent below -64.
9406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9407 Likewise.
9408 * math/auto-libm-test-in: Add another test of expm1.
9409 * math/auto-libm-test-out: Regenerated.
9410
e7dd3c8c
JM
9411 [BZ #16287]
9412 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9413 calling __erfcl for arguments at least 16.
9414 * math/auto-libm-test-in: Add more tests of erf.
9415 * math/auto-libm-test-out: Regenerated.
9416
0ea5d373
JM
9417 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9418 individual architectures.
9419 * sysdeps/unix/sysv/linux/configure: Regenerated.
9420 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9421 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9422 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9423 (ldd_rewrite_script): Define variable.
9424 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9426 file.
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9428 generated file.
9429 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9430 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9431 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9432 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9433 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9434 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9435 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9436 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9437
2307e126
SP
94382014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9439
9440 [BZ #17084]
9441 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9442 Rename member __data.d to __data.__elision_data.
9443
c0a4ed77
W
94442014-06-24 Wilco <wdijkstr@arm.com>
9445
9446 * NEWS: Add 16918 to fixed bug list.
9447
b8c00573
W
94482014-06-24 Wilco <wdijkstr@arm.com>
9449
9450 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9451
b5570d92
W
94522014-06-24 Wilco <wdijkstr@arm.com>
9453
9454 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9455 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9456 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9457 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9458 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9459 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9460 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9461 Use _FPU_MASK_RM.
9462
947bdca2
W
94632014-06-24 Wilco <wdijkstr@arm.com>
9464
9465 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9466
00f669ed
W
94672014-06-24 Wilco <wdijkstr@arm.com>
9468
9469 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9470 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9471 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9472 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9473
db59bad3
W
94742014-06-24 Wilco <wdijkstr@arm.com>
9475
9476 [BZ #16918]
9477 * sysdeps/arm/feupdateenv.c (feupdateenv):
9478 Rewrite to reduce FPSCR accesses and fix return value.
9479
001f7b77
W
94802014-06-24 Wilco <wdijkstr@arm.com>
9481
9482 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9483 Optimize to avoid unnecessary FPSCR writes.
9484 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9485 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9486 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9487 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9488
4841e6a6
W
94892014-06-24 Wilco <wdijkstr@arm.com>
9490
9491 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9492 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9493 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9494 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9495 Call libc_fetestexcept_vfp.
9496 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9497 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9498 __SOFTFP__ ifdef so that they can be built for softfp.
9499
0813022c
SP
95002014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9501
08e5862f
SP
9502 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9503 argument type signed char.
9504
0813022c
SP
9505 * Makerules (check-abi): Dump diff of symlist if the test
9506 fails.
9507
3fc7236a
RM
95082014-06-23 Roland McGrath <roland@hack.frob.com>
9509
aba8ef95
RM
9510 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9511 using abort.
9512
3fc7236a
RM
9513 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9514 Remove unused variable ST.
9515
4da6db51
JM
95162014-06-23 Joseph Myers <joseph@codesourcery.com>
9517
4648909d
JM
9518 [BZ #16354]
9519 [BZ #17061]
9520 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9521 small arguments before calling __expm1.
9522 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9523 small arguments before calling __expm1f.
9524 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9525 small arguments before calling __expm1l.
9526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9527 Likewise.
9528 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9529 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9530 spurious underflow for some cosh tests.
9531 * math/auto-libm-test-out: Regenerated.
9532 * sysdeps/i386/fpu/libm-test-ulps: Update.
9533
46a3d3c7
JM
9534 [BZ #17050]
9535 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9536 (__ieee754_y1): Set errno if return value overflows.
9537 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9538 (__ieee754_y1f): Set errno if return value overflows.
9539 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9540 (__ieee754_y1l): Set errno if return value overflows.
9541 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9542 (__ieee754_y1l): Set errno if return value overflows.
9543 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9544 * math/auto-libm-test-out: Regenerated.
9545
863893ec
JM
9546 * math/gen-auto-libm-tests.c: Document use of
9547 ignore-zero-inf-sign.
9548 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9549 (input_flags): Add ignore-zero-inf-sign.
9550 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9551 * math/gen-libm-test.pl (generate_testfile): Handle
9552 ignore-zero-inf-sign.
9553 * math/auto-libm-test-in: Mark some cpow tests with
9554 ignore-zero-inf-sign and some with xfail-rounding.
9555 * math/auto-libm-test-out: Regenerated.
9556 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9557 * sysdeps/i386/fpu/libm-test-ulps: Update.
9558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9559
4da6db51
JM
9560 [BZ #16315]
9561 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9562 overflowing or underflowing operations take place with sign of
9563 result.
9564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9566 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9567 (__ieee754_pow): Recompute overflowing and underflowing results in
9568 original rounding mode.
9569 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9570 (__powl_helper): Allow negative argument X and scale negated value
9571 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9572 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9573 overflowing or underflowing operations take place with sign of
9574 result.
9575 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9576 Include <math.h>.
9577 * math/auto-libm-test-in: Add more tests of pow.
9578 * math/auto-libm-test-out: Regenerated.
9579 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9580 (pow_tonearest_test_data): Remove.
9581 (pow_test_tonearest): Likewise.
9582 (pow_towardzero_test_data): Likewise.
9583 (pow_test_towardzero): Likewise.
9584 (pow_downward_test_data): Likewise.
9585 (pow_test_downward): Likewise.
9586 (pow_upward_test_data): Likewise.
9587 (pow_test_upward): Likewise.
9588 (main): Don't call removed functions.
9589 * sysdeps/i386/fpu/libm-test-ulps: Update.
9590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9591
5686b236
RM
95922014-06-23 Roland McGrath <roland@hack.frob.com>
9593
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9595 Moved ...
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9598 Moved ...
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9601 Moved ...
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9604 Moved ...
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9607 File removed.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9609 File removed.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9611 File removed.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9613 File removed.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9615 File removed.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9617 File removed.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9619 File removed.
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9621 File removed.
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9623 File removed.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9625 File removed.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9627 File removed.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9629 File removed.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9631 Moved ...
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9636 ... here.
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9638 Moved ...
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9641 Moved ...
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9644 Moved ...
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9647 Moved ...
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9650 Moved ...
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9653 Moved ...
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9656 Moved ...
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9660 ... here.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9662 Moved ...
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9665 Moved ...
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9667 ... here.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9669 Moved ...
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9671 ... here.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9673 Moved ...
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9675 ... here.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9677 Moved ...
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9680 Moved ...
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9685 Moved ...
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9687 ... here.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9689 Moved ...
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9691 ... here.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9693 Moved ...
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9696 Moved ...
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9699 Moved ...
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9702 Moved ...
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9705 Moved ...
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9707 ... here.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9709 Moved ...
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9712 Moved ...
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9715 Moved ...
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9718 Moved ...
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9723 Moved ...
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9726 Moved ...
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9729 Moved ...
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9731 ... here.
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9733 Moved ...
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9735 ... here.
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9737 Moved ...
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9739 ... here.
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9741 Moved ...
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9744 Moved ...
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9747 Moved ...
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9750 Moved ...
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9752 ... here.
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9754 Moved ...
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9756 ... here.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9758 Moved ...
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9760 ... here.
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9765 Moved ...
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9767
e6d90d67
WD
97682014-06-23 Will Newton <will.newton@linaro.org>
9769 Wilco <wdijkstr@arm.com>
9770
9771 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9772 implementation. Include get-rounding-mode.h.
9773 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9774 [!libc_feholdsetround_noex_ctx]: Define
9775 libc_feholdsetround_noex_ctx.
9776 [!libc_feholdsetround_noexf_ctx]: Define
9777 libc_feholdsetround_noexf_ctx.
9778 [!libc_feholdsetround_noexl_ctx]: Define
9779 libc_feholdsetround_noexl_ctx.
9780 (libc_feholdsetround_ctx): New function.
9781 (libc_feresetround_ctx): New function.
9782 (libc_feholdsetround_noex_ctx): New function.
9783 (libc_feresetround_noex_ctx): New function.
9784
d42df555
RM
97852014-06-23 Roland McGrath <roland@hack.frob.com>
9786
88a46474
RM
9787 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9788 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9789 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9790 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9791 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9792 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9793
15bed472
RM
9794 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9795 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9796 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9797 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9798 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9799 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9801 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9802 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9803 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9804 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9807 ... here.
9808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9809 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9813 Moved ...
9814 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9815 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9816 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9822 Moved ...
9823 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9825 Moved ...
9826 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9830 Moved ...
9831 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9835 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9836 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9837 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9841 Moved ...
9842 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9843 ... here.
9844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9845 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9846 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9857 Moved ...
9858 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9864 Moved ...
9865 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9869 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9870
d42df555
RM
9871 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9872 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9873 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9886 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9888 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9890 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9892 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9896 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9897 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9898 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9899
76e5216e
JM
99002014-06-23 Joseph Myers <joseph@codesourcery.com>
9901
9902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9903 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9904 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9905 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9906 (IPV6_PMTUDISC_INTERFACE): Likewise.
9907 (IPV6_PMTUDISC_OMIT): Likewise.
9908
7a81cbcc
AS
99092014-06-23 Andreas Schwab <schwab@suse.de>
9910
9911 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9912 Remove unused errout label.
9913
db224009
AZ
99142014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9915
9916 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9917 macro: hardware supports Vector Crypto instructions.
9918
f393b4aa
WN
99192014-06-23 Will Newton <will.newton@linaro.org>
9920
cc7d0447
WN
9921 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9922 rather than __builtin_expect.
9923
d6d06225
WN
9924 * elf/dl-lookup.c (undefined_msg): Remove variable.
9925 (_dl_lookup_symbol_x): Replace undefined_msg with string
9926 literal.
9927
f393b4aa
WN
9928 * elf/dl-lookup.c (do_lookup_unique): New function.
9929 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9930 to a separate function.
9931
ac60763e
AS
99322014-06-23 Andreas Schwab <schwab@suse.de>
9933
9934 [BZ #17079]
9935 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9936 before reading the next line.
9937
c5c13355
WN
99382014-06-23 Will Newton <will.newton@linaro.org>
9939
9940 * test-skeleton.c (signal_handler): Use printf and %m
9941 rather than perror. Use printf rather than fprintf to
9942 stderr. Use puts rather than fputs to stderr.
9943 (main): Likewise.
9944
bd3675f9
LC
99452014-06-22 Ludovic Courtès <ludo@gnu.org>
9946
9947 * nscd/nscd.c (thread_info_t): Remove typedef.
9948 (thread_info): Remove variable.
9949
d03efb2f
AM
99502014-06-21 Allan McRae <allan@archlinux.org>
9951
9952 * NEWS: Mention CVE-2014-4043.
9953
bc4a86fa
RM
99542014-06-20 Roland McGrath <roland@hack.frob.com>
9955
dc9a54f8
RM
9956 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9957 * nptl/smp.h: ... here.
9958
bd7022c4
RM
9959 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9960
26ffd5e6
RM
9961 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9962 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9963 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9964 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9965
93a6d082
RM
9966 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9967 * nptl/stack-aliasing.h: New file.
9968 * sysdeps/i386/i686/stack-aliasing.h: New file.
9969 * sysdeps/i386/i686/nptl/Makefile: File removed.
9970 * sysdeps/x86_64/stack-aliasing.h: New file.
9971 * sysdeps/x86_64/nptl/Makefile
9972 (CFLAGS-pthread_create.c): Variable removed.
9973
bc4a86fa
RM
9974 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9975 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9976 old file.
9977 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9978 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9979 old file.
9980
2272ffc1
JM
99812014-06-21 Joseph Myers <joseph@codesourcery.com>
9982
9983 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9984 (__ASSUME_SIGFRAME_V2): Remove macro.
9985 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9986 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9987 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9988 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9989 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9990 Declare as function. Remove conditional macro definitions.
9991 (__default_rt_sa_restorer): Likewise.
9992 (__default_sa_restorer_v1): Remove declaration.
9993 (__default_sa_restorer_v2): Likewise.
9994 (__default_rt_sa_restorer_v1): Likewise.
9995 (__default_rt_sa_restorer_v2): Likewise.
9996 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9997 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9998 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9999
4b88139b
RM
100002014-06-20 Roland McGrath <roland@hack.frob.com>
10001
10002 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10003 (libpthread-routines): Add sysdep.
10004 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10005 * sysdeps/unix/sysv/linux/sparc/Versions
10006 (libpthread: GLIBC_2.3.3): New version set.
10007 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10008 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10009 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10011 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10012 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10013 Moved ...
10014 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10015 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10016 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10018 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10020 * sysdeps/sparc/nptl/sem_init.c: ... here.
10021 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10022 * sysdeps/sparc/nptl/sem_post.c: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10024 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10025 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10026 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10027 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10028 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10029 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10030 (libpthread-routines): Add cpu_relax.
10031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10032 File removed.
10033 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10034 (librt: GLIBC_2.3.3): New version set.
10035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10036 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10038 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10041 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10043 Moved ...
10044 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10046 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10048 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10050 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10052 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10054 Moved ...
10055 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10056 Update #include.
10057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10058 Moved ...
10059 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10060 Update #include.
10061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10062 Moved ...
10063 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10064 Update #include.
10065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10066 Moved ...
10067 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10068 Update #include.
10069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10070 Moved ...
10071 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10072 Update #include.
10073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10074 Moved ...
10075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10076 Update #include.
10077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10078 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10084 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10086 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10088 Moved ...
10089 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10093 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10094
d7109027
JM
100952014-06-20 Joseph Myers <joseph@codesourcery.com>
10096
9bc6103d
JM
10097 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10098 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10099 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10100 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10101 * nscd/nscd.c: Likewise.
10102 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10103 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10104 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10105 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10106
d7109027
JM
10107 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10108 <kernel-features.h>.
10109 (init_mq_netlink): Remove conditional have_sock_cloexec
10110 definitions. Remove code conditional on have_sock_cloexec < 0.
10111 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10112 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10113 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10114 <kernel-features.h>.
10115 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10116 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10117
d92d8f8a
L
101182014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10119
10120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10121 Add tests for memset_chk and memset.
10122
10123 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10124 with AVX2_Usable.
10125
4e6d2347
MR
101262014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10127
257ce712
MR
10128 [BZ #16046]
10129 * elf/tst-dl-iter-static.c: New file.
10130 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10131
4e6d2347
MR
10132 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10133 error.
10134
a2a76afe
JM
101352014-06-20 Joseph Myers <joseph@codesourcery.com>
10136
7fd00f99
JM
10137 * sysdeps/unix/sysv/linux/kernel-features.h
10138 (__ASSUME_F_GETOWN_EX): Remove macro.
10139 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10140 <kernel-features.h>.
10141 (miss_F_GETOWN_EX): Remove variable or macro.
10142 (do_fcntl): Do not check miss_F_GETOWN_EX.
10143 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10144
4a103975
JM
10145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10146 Remove macro.
10147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10148 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10149 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10150
a2a76afe
JM
10151 * sysdeps/unix/sysv/linux/kernel-features.h
10152 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10153 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10154 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10155 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10156
90e5dd48
MR
101572014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10158
10159 [BZ #17075]
10160 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10161 Fix calculation of the symbol's value.
10162 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10163 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10164 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10165 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10166 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10167 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10168 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10169 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10170 (modules-names): Add `tst-armtlsdescmod',
10171 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10172 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10173 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10174 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10175 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10176 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10177 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10178 ($(objpfx)tst-armtlsdescloc): New dependency.
10179 ($(objpfx)tst-armtlsdescextnow): Likewise.
10180 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10181 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10182 TLS scheme support.
10183 * sysdeps/arm/configure: Regenerate.
10184
809fdf0d
JM
101852014-06-20 Joseph Myers <joseph@codesourcery.com>
10186
10187 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10188 (__atfct_seterrno_2): Likewise.
10189 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10190 <kernel-features.h>.
10191 (__ASSUME_ATFCTS): Do not undefine and redefine.
10192 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10193 (__have_atfcts): Remove conditional definition.
10194 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10195 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10196 unreachable if [__ASSUME_ATFCTS].
10197 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10198 not undefine and redefine.
10199 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10200 <kernel-features.h>.
10201 (faccessat) [__NR_faccessat]: Make code unconditional.
10202 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10203 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10204 <kernel-features.h>.
10205 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10206 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10207 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10208 <kernel-features.h>.
10209 (fchownat) [__NR_fchownat]: Make code unconditional.
10210 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10211 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10212 <kernel-features.h>.
10213 (futimesat) [__NR_futimesat]: Make code unconditional.
10214 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10215 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10216 <kernel-features.h>.
10217 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10218 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10219 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10220 <kernel-features.h>.
10221 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10222 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10223 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10224 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10225 <kernel-features.h>.
10226 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10227 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10228 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10229 <kernel-features.h>.
10230 (linkat) [__NR_linkat]: Make code unconditional.
10231 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10232 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10233 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10234 <kernel-features.h>.
10235 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10236 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10237 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10238 <kernel-features.h>.
10239 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10240 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10241 * sysdeps/unix/sysv/linux/openat.c: Do not include
10242 <kernel-features.h>.
10243 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10244 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10245 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10246 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10247 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10248 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10249 <kernel-features.h>.
10250 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10251 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10252 result of INLINE_SYSCALL directly, not via int variable.
10253 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10254 <kernel-features.h>.
10255 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10256 (renameat) [__NR_renameat]: Make code unconditional.
10257 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10258 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10259 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10260 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10262 (__ASSUME_ATFCTS): Do not undefine and redefine.
10263 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10264 <kernel-features.h>.
10265 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10266 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10267 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10268 <kernel-features.h>.
10269 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10270 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10271 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10272 (__ASSUME_ATFCTS): Do not undefine and redefine.
10273 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10274 <kernel-features.h>.
10275 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10276 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10277 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10278 <kernel-features.h>.
10279 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10280 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10281
224c6c51
L
102822014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10283
10284 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10285
aa6ec754
AS
102862014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10287
10288 [BZ #17069]
10289 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10290 constructed tree before returning error.
10291 * posix/bug-regexp36.c: Expand test case.
10292
d8c2869d
SL
102932014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10294
3ef6b850
SL
10295 [BZ #6803]
10296 * math/libm-test.inc (scalbln_test_date):
10297 Add errno expectations.
10298 * math/w_scalblnf.c: New File.
10299 Add wrapper which checks for setting errno to ERANGE.
10300 Add weak_alias for corresponding scalbln function.
10301 * math/w_scalbln.c: Likewise.
10302 * math/w_scalblnl.c: Likewise.
10303 * math/Makefile (libm-calls): Add w_scalbln.
10304 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10305 Remove weak_alias for corresponding scalbln function.
10306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10310 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10311 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10312 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10313 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10314 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10315 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10316 Remove long_double_symbol for scalblnl function in libm, libc.
10317 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10318 Add wrapper which checks for setting errno to ERANGE.
10319 Add long_double_symbol for scalblnl function in libm, libc.
10320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10321 Remove long_double_symbol for scalblnl in libm.
10322 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10323 Add wrapper which checks for setting errno to ERANGE.
10324 Add long_double_symbol for scalblnl function in libm.
10325 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10326 Do not use wrapper because of own implementation.
10327
c8daec5c
L
103282014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10329
10330 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10331 3 bytes for __pad1 for x32.
10332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10333
5c74e47c
LM
103342014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10335 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10338 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10341 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10342
4d43ef1e
AS
103432014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10344
10345 [BZ #17069]
10346 * posix/regcomp.c (parse_expression): Deallocate partially
10347 constructed tree before returning error.
10348 * posix/Makefile.c (tests): Add bug-regex36.
10349 (generated): Add bug-regex36.mtrace.
10350 (tests-special): Add $(objpfx)bug-regex36-mem.out
10351 (bug-regex36-ENV): New variable.
10352 ($(objpfx)bug-regex36-mem.out): New rule.
10353 * posix/bug-regex36.c: New file.
10354
51a7380b
WN
103552014-06-19 Will Newton <will.newton@linaro.org>
10356
10357 * malloc/malloc.c (systrim): If extra is zero then return
10358 early.
10359
91b84fe5
SP
103602014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10361
10362 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10363
f940b965
RE
103642014-06-19 Richard Earnshaw <rearnsha@arm.com>
10365
10366 * sysdeps/aarch64/strchr.S: New file.
10367
4ba7a00f
JM
103682014-06-18 Joseph Myers <joseph@codesourcery.com>
10369
10370 [BZ #17022]
10371 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10372 from arguments -2 or below.
10373 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10374 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10375
b3a9f56b
AS
103762014-06-18 Andreas Schwab <schwab@suse.de>
10377
10378 [BZ #17062]
10379 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10380 of a bracket expr not to run off the end of the string.
10381 * posix/Makefile (tests): Add tst-fnmatch3.
10382 * posix/tst-fnmatch3.c: New file.
10383
85d89278
JM
103842014-06-18 Joseph Myers <joseph@codesourcery.com>
10385
10386 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10387 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10388 [$(cross-compiling) = no]: Likewise.
10389 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10390 [$(cross-compiling) = no]: Likewise.
10391
754c5a08
RS
103922014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10393
10394 [BZ #17031]
10395 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10396 double, adjusted for any remainder from the high double.
10397 * math/libm-test.inc (nearbyint): Add tests.
10398 (rint): Likewise.
10399
556f529d
AZ
104002014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10401
10402 * nptl/sysdeps/powerpc/Makefile: Moved ...
10403 * sysdeps/powerpc/nptl/Makefile: ... here.
10404 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10405 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10406 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10407 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10408 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10409 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10410 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10411 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10412 * nptl/sysdeps/powerpc/tls.h: Moved ...
10413 * sysdeps/powerpc/nptl/tls.h: ... here.
10414
91c03c53
JM
104152014-06-16 Joseph Myers <joseph@codesourcery.com>
10416
10417 [BZ #16681]
10418 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10419 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10420 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10421 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10422 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10423 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10424 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10425 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10426 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10427
a76e63c5
AS
104282014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10429
10430 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10431
f2f6d82f
AS
104322014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10433
ea8a15f6
AS
10434 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10435 defined operator.
10436
f2f6d82f
AS
10437 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10438 $TIMEOUTFACTOR.
10439
a7291117
FW
104402014-06-16 Florian Weimer <fweimer@redhat.com>
10441
10442 [BZ #17058]
10443 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10444 non-executed part of the test.
10445
3d7c00e3
AS
104462014-06-16 Andreas Schwab <schwab@suse.de>
10447
10448 * string/bits/string2.h (strdup, strndup): Update feature guard.
10449
6957fb31
DM
104502014-06-14 David S. Miller <davem@davemloft.net>
10451
10452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10453
11b9e55b
AS
104542014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10455
1d2a0492
AS
10456 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10457 that was previously under [RESET_PID].
10458 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10459
11b9e55b
AS
10460 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10461 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10462 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10463 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10464 (__libc_vfork): New strong alias.
10465 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10466
0f6901d0
AK
104672014-06-14 Andi Kleen <ak@linux.intel.com>
10468
10469 * sysdeps/generic/elide.h: New file.
10470
38bbbb9f
SL
104712014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10472
10473 * Makefile (installed-headers): Adjust path of pthread.h header.
10474
45193bb8
RM
104752014-06-13 Roland McGrath <roland@hack.frob.com>
10476
9a25fd1e
RM
10477 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10478 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10479 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10480 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10481
4004f7e4
RM
10482 * nptl/sysdeps/s390/Makefile: Moved ...
10483 * sysdeps/s390/nptl/Makefile: ... here.
10484 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10485 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10486 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10487 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10488 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10489 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10490 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10491 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10492 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10493 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10494 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10495 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10496 * nptl/sysdeps/s390/tls.h: Moved ...
10497 * sysdeps/s390/nptl/tls.h: ... here.
10498
45193bb8
RM
10499 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10500 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10501
f6fdf533
DM
105022014-06-13 David S. Miller <davem@davemloft.net>
10503
10504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10507 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10511 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10512 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10513 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10514 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10515 Remove RESET_PID cpp guards.
10516 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10517 Remove RESET_PID cpp guards.
10518 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10519
f5d71e14
AS
105202014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10521
10522 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10523 __sp to uintptr_t.
10524
b7aa8caa
AK
105252014-06-13 Andi Kleen <ak@linux.intel.com>
10526
4b266200
AZ
10527 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10535 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10537 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10540 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10542 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10543 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10547
10548 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10549 (pthread_rwlock_rdlock): Add elision.
10550 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10551 (pthread_rwlock_wrlock): Add elision.
10552 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10553 (pthread_rwlock_trywrlock): Add elision.
10554 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10555 (pthread_rwlock_tryrdlock): Add elision.
10556 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10557 (pthread_rwlock_tryrdlock): Add elision unlock.
10558 * nptl/sysdeps/pthread/pthread.h:
10559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10560 (PTHREAD_RWLOCK_INITIALIZER,
10561 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10562 Handle new elision field.
10563 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10564 * sysdeps/arm/nptl/bits/pthreadtypes.h
10565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10566 * sysdeps/sh/nptl/bits/pthreadtypes.h
10567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10568 * sysdeps/tile/nptl/bits/pthreadtypes.h
10569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10570 * sysdeps/a/nptl/bits/pthreadtypes.h
10571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10572 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10574 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10576 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10578 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10580 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10582 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10584 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10586 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10588 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10589 (elision_init): Set try_xbegin to zero when no RTM.
10590 * sysdeps/x86/nptl/bits/pthreadtypes.h
10591 (pthread_rwlock_t): Change __pad1 to __rwelision.
10592 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10593
a832bdd3
AK
105942014-06-13 Andi Kleen <ak@linux.intel.com>
10595
10596 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10597 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10598 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10599 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10600
995a46bb
MI
106012014-06-13 Meador Inge <meadori@codesourcery.com>
10602
10603 [BZ #16996]
03ed7738 10604 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10605 that the cached result has been set before returning it.
10606
45262aee
RM
106072014-06-12 Roland McGrath <roland@hack.frob.com>
10608
febf6cc5
RM
10609 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10610 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10611 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10612 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10614 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10615
e2682246
RM
10616 * nptl/sysdeps/sparc/Makefile: Moved ...
10617 * sysdeps/sparc/nptl/Makefile: ... here.
10618 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10619 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10620 * nptl/sysdeps/sparc/tls.h: Moved ...
10621 * sysdeps/sparc/nptl/tls.h: ... here.
10622 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10623 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10624 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10625 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10626 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10627 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10628 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10629 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10630 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10631 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10632 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10633 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10634 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10635 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10636 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10637 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10638 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10639 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10640 Update #include.
10641 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10642 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10643 Update #include.
10644 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10645 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10646 Update #include.
10647 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10648 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10649 Update #include.
10650
b0725f43
RM
10651 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10652
b14368b8
RM
10653 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10654 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10655
c5620eb3
RM
10656 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10657 (struct list_links): Type removed.
10658 (struct thread_node, struct timer_node): Replace struct list_links
10659 with struct list_head.
10660 (list_unlink_ip): Likewise.
10661 * sysdeps/pthread/timer_routines.c
10662 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10663 (list_append, list_insbefore): Likewise.
10664 (list_init): Function removed.
10665 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10666 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10667 * sysdeps/pthread/Makefile: ... here, new file.
10668
10669 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10670 * sysdeps/nptl/Implies: ... here.
10671 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10672 * nptl/sysdeps/pthread/list.h: Moved ...
10673 * include/list.h: ... here.
10674 * nptl/sysdeps/pthread/createthread.c: Moved ...
10675 * nptl/createthread.c: ... here.
10676 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10677 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10678 * nptl/pt-longjmp.c: ... here.
10679 * nptl/sysdeps/pthread/Makefile: Moved ...
10680 * sysdeps/nptl/Makefile: ... here.
10681 * nptl/sysdeps/pthread/Subdirs: Moved ...
10682 * sysdeps/nptl/Subdirs: ... here.
10683 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10684 * sysdeps/nptl/aio_misc.h: ... here.
10685 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10686 * sysdeps/nptl/bits/libc-lock.h: ... here.
10687 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10688 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10689 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10690 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10691 * nptl/sysdeps/pthread/configure: Moved ...
10692 * sysdeps/nptl/configure: ... here.
10693 * nptl/sysdeps/pthread/configure.ac: Moved ...
10694 * sysdeps/nptl/configure.ac: ... here.
10695 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10696 * sysdeps/nptl/gai_misc.h: ... here.
10697 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10698 * sysdeps/nptl/librt-cancellation.c: ... here.
10699 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10700 * sysdeps/nptl/malloc-machine.h: ... here.
10701 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10702 * sysdeps/nptl/pthread-functions.h: ... here.
10703 * nptl/sysdeps/pthread/pthread.h: Moved ...
10704 * sysdeps/nptl/pthread.h: ... here.
10705 * nptl/sysdeps/pthread/setxid.h: Moved ...
10706 * sysdeps/nptl/setxid.h: ... here.
10707 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10708 * sysdeps/nptl/sigfillset.c: ... here.
10709 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10710 * sysdeps/nptl/tcb-offsets.h: ... here.
10711 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10712 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10713 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10714 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10715 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10716 * sysdeps/pthread/allocalim.h: ... here.
10717 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10718 * sysdeps/pthread/bits/sigthread.h: ... here.
10719 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10720 * sysdeps/pthread/flockfile.c: ... here.
10721 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10722 * sysdeps/pthread/ftrylockfile.c: ... here.
10723 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10724 * sysdeps/pthread/funlockfile.c: ... here.
10725 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10726 * sysdeps/pthread/posix-timer.h: ... here.
10727 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10728 * sysdeps/pthread/timer_create.c: ... here.
10729 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10730 * sysdeps/pthread/timer_delete.c: ... here.
10731 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10732 * sysdeps/pthread/timer_getoverr.c: ... here.
10733 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10734 * sysdeps/pthread/timer_gettime.c: ... here.
10735 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10736 * sysdeps/pthread/timer_routines.c: ... here.
10737 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10738 * sysdeps/pthread/timer_settime.c: ... here.
10739 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10740 * sysdeps/pthread/tst-timer.c: ... here.
10741 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10742 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10743
e876b090
RM
10744 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10745 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10746
f6b07b3d
RM
10747 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10748 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10749 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10750 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10751 Update #include target.
10752 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10753 * sysdeps/i386/i686/nptl/Makefile: ... here.
10754 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10755 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10756 Update #include target.
10757 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10758 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10759 * nptl/sysdeps/i386/Makefile: Moved ...
10760 * sysdeps/i386/nptl/Makefile: ... here.
10761 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10762 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10763 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10764 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10765 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10766 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10767 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10768 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10769 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10770 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10771 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10772 * nptl/sysdeps/i386/tls.h: Moved ...
10773 * sysdeps/i386/nptl/tls.h: ... here.
10774
45262aee
RM
10775 * sysdeps/sh/Makefile [$(subdir) = csu]
10776 (gen-as-const-headers): Add tcb-offsets.sym.
10777 * nptl/sysdeps/sh/Makefile: File removed.
10778 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10779 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10780 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10781 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10782 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10783 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10784 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10785 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10786 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10787 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10788 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10789 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10790 * nptl/sysdeps/sh/tls.h: Moved ...
10791 * sysdeps/sh/nptl/tls.h: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10793 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10795 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10797 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10798 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10799 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10800 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10801 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10802 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10803 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10805 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10807 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10809 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10811 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10813 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10815 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10817 Moved ...
10818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10820 Moved ...
10821 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10823 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10827 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10828 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10829 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10830 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10831 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10832 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10833 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10834 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10835 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10836 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10837 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10838 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10839 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10840
35a5e3e3
SL
108412014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10842
10843 * posix/spawn_faction_addopen.c: Include string.h.
10844
14642b85
RM
108452014-06-11 Roland McGrath <roland@hack.frob.com>
10846
10847 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10848 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10849 * nptl/sysdeps/x86_64/Makefile: Moved ...
10850 * sysdeps/x86_64/nptl/Makefile: ... here.
10851 * nptl/sysdeps/x86_64/configure: Moved ...
10852 * sysdeps/x86_64/nptl/configure: ... here.
10853 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10854 * sysdeps/x86_64/nptl/configure.ac: ... here.
10855 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10856 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10857 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10858 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10859 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10860 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10861 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10862 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10863 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10864 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10865 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10866 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10867 * nptl/sysdeps/x86_64/tls.h: Moved ...
10868 * sysdeps/x86_64/nptl/tls.h: ... here.
10869 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10870 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10871 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10872 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10873
10874 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10875
31c44fea
AZ
108762014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10877
10878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10879
e81a4f9a
JM
108802014-06-11 Joseph Myers <joseph@codesourcery.com>
10881
10882 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10883 type.
10884 [POSIX] (off_t): Likewise.
10885 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10886 [POSIX] (S_ISBLK): Require macro.
10887 [POSIX] (S_ISCHR): Likewise.
10888 [POSIX] (S_ISDIR): Likewise.
10889 [POSIX] (S_ISFIFO): Likewise.
10890 [POSIX] (S_ISREG): Likewise.
10891 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10892 optional-macro.
10893 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10894 type.
10895 [POSIX] (time_t): Likewise.
10896 [POSIX] (timer_t): Likewise.
10897
89e435f3
FW
108982014-06-11 Florian Weimer <fweimer@redhat.com>
10899
10900 [BZ #17048]
10901 * posix/spawn_int.h (struct __spawn_action): Make the path string
10902 non-const to support deallocation.
10903 * posix/spawn_faction_addopen.c
10904 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10905 * posix/spawn_faction_destroy.c
10906 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10907 path in all spawn_do_open actions.
10908 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10909 posix_spawn_file_actions_addopen.
10910
c3a2ebe1
CM
109112014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10912
10913 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10914 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10915 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10916 conditional code always true.
10917 (__libc_vfork): New alias.
10918
9503784a
RM
109192014-06-11 Roland McGrath <roland@hack.frob.com>
10920
c9cab3d2
RM
10921 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10922 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10923
d3996c79
RM
10924 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10925
ba5ec611
RM
10926 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10927 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10928
f12b4814
RM
10929 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10930 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10931
9503784a
RM
10932 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10933 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10934
e23d3d26
VR
109352014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10936
10937 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10938 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10939 multiarch strcmp for PPC64.
10940 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10941 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10943 multiarch optimizations.
10944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10945 (__libc_ifunc_impl_list): Likewise.
10946
42b1161e
SP
109472014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10948
10949 * benchtests/scripts/validate_benchout.py: New script.
10950 * benchtests/Makefile (bench-func): Call it.
10951 * benchtests/scripts/benchout.schema.json: New file.
10952
2d0fc4dc
CM
109532014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10954
4a594c34
AZ
10955 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10956 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10957 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10958 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10959 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10960 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10961 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10962 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10963 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10964 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10965 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10966 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10967 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10968 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10969 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10970 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10972 Moved ...
4a594c34 10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10974 ... here.
4a594c34 10975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10976 Moved ...
4a594c34
AZ
10977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10979 Moved ...
4a594c34 10980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10981 ... here.
4a594c34 10982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10983 Moved ...
4a594c34 10984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10985 ... here.
4a594c34 10986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10987 Moved ...
4a594c34
AZ
10988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10990 Moved ...
4a594c34 10991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10992 ... here.
4a594c34 10993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10994 Moved ...
4a594c34 10995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10996 ... here.
4a594c34 10997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10998 Moved ...
4a594c34
AZ
10999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11001 Moved ...
4a594c34 11002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11003 ... here.
4a594c34 11004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11005 Moved ...
4a594c34 11006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11007 ... here.
4a594c34 11008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11009 Moved ...
4a594c34 11010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11011 ... here.
4a594c34 11012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11013 Moved ...
4a594c34
AZ
11014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11016 Moved ...
4a594c34 11017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11018 ... here.
4a594c34 11019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11020 Moved ...
4a594c34 11021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11022 ... here.
4a594c34 11023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11024 Moved ...
4a594c34 11025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11026 ... here.
4a594c34 11027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11028 Moved ...
4a594c34
AZ
11029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11031 Moved ...
4a594c34 11032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11033 ... here.
4a594c34 11034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11035 Moved ...
4a594c34 11036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11037 ... here.
4a594c34 11038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11039 Moved ...
4a594c34
AZ
11040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11042 Moved ...
4a594c34 11043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11044 ... here.
4a594c34 11045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11046 Moved ...
4a594c34
AZ
11047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11049 Moved ...
4a594c34
AZ
11050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11052 Moved ...
4a594c34 11053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11054 ... here.
4a594c34 11055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11056 Moved ...
4a594c34 11057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11058 ... here.
4a594c34 11059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11060 Moved ...
4a594c34 11061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11062 ... here.
4a594c34 11063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11064 Moved ...
4a594c34
AZ
11065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11067 Moved ...
4a594c34 11068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11069 ... here.
4a594c34 11070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11071 Moved ...
4a594c34 11072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11073 ... here.
4a594c34
AZ
11074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11075 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11079 Moved ...
4a594c34 11080 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11081 ... here.
4a594c34
AZ
11082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11083 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11085 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11087 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11089 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11091 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11093 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11095 Moved ...
4a594c34
AZ
11096 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11097 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11098 Moved ...
4a594c34
AZ
11099 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11101 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11103 Moved ...
4a594c34
AZ
11104 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11106 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11107 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11108 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11109 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11110 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11111
0570cfed
W
111122014-06-10 Wilco <wdijkstr@arm.com>
11113
11114 * math/test-fenv-return.c: New file.
11115 * math/Makefile: Add new test test-fenv-return.
11116
f8ba1b56
JM
111172014-06-10 Joseph Myers <joseph@codesourcery.com>
11118
11119 [BZ #17042]
11120 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11121 when x - 1 is zero.
11122 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11123 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11124 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11125 0.0L for an argument of 1.0L.
11126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11127 Likewise.
11128 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11129 value when x - 1 is zero.
11130 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11131 * sysdeps/i386/fpu/libm-test-ulps: Update.
11132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11133
2c3520d9
BO
111342014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11135
11136 [BZ #15119]
11137 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11138
acaa4d24
RM
111392014-06-09 Roland McGrath <roland@hack.frob.com>
11140
11141 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11142 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11143
962b744d
RM
111442014-06-09 Roland McGrath <roland@hack.frob.com>
11145
d752f0cc
RM
11146 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11147 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11148
34eda6d1
RM
11149 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11150 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11151
50f0a637
RM
11152 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11153 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11154
08f41f04
RM
11155 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11156 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11157
962b744d
RM
11158 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11159 if not already defined.
11160 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11161 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11162 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11163 (TLS_INIT_TP): Use it.
11164 (TLS_DEFINE_INIT_TP): New macro.
11165 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11166
09f19b05
JM
111672014-06-09 Joseph Myers <joseph@codesourcery.com>
11168
11169 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11170 constant.
11171 [POSIX] (IXANY): Likewise.
11172 [POSIX] (OLCUC): Likewise.
11173 [POSIX || POSIX2008] (CBAUD): Do not allow.
11174 [POSIX || POSIX2008] (DEFECHO): Likewise.
11175 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11176 [POSIX || POSIX2008] (ECHOKE): Likewise.
11177 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11178 [POSIX || POSIX2008] (EXTA): Likewise.
11179 [POSIX || POSIX2008] (EXTB): Likewise.
11180 [POSIX || POSIX2008] (FLUSHO): Likewise.
11181 [POSIX || POSIX2008] (LOBLK): Likewise.
11182 [POSIX || POSIX2008] (PENDIN): Likewise.
11183 [POSIX || POSIX2008] (SWTCH): Likewise.
11184 [POSIX || POSIX2008] (VDISCARD): Likewise.
11185 [POSIX || POSIX2008] (VDSUSP): Likewise.
11186 [POSIX || POSIX2008] (VLNEXT): Likewise.
11187 [POSIX || POSIX2008] (VREPRINT): Likewise.
11188 [POSIX || POSIX2008] (VSTATUS): Likewise.
11189 [POSIX || POSIX2008] (VWERASE): Likewise.
11190 (B*): Change to B[0123456789]*.
11191 * conform/data/time.h-data [POSIX || UNIX98]
11192 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11193 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11194 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11195 [POSIX] (tm_*): Do not allow.
11196
686554bf
JM
111972014-06-07 Joseph Myers <joseph@codesourcery.com>
11198
11199 * Makefile (install): Don't set LANGUAGE.
11200 * Makefile.in (install): Likewise.
11201 * assert/Makefile (test-assert-ENV): Remove variable.
11202 (test-assert-perr-ENV): Likewise.
11203 * elf/Makefile (neededtest4-ENV): Likewise.
11204 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11205 [$(cross-compiling) = no]: Don't set LANGUAGE.
11206 * io/ftwtest-sh (LANG): Remove variable.
11207 * libio/Makefile (tst-widetext-ENV): Likewise.
11208 * manual/install.texi (Running make install): Don't refer to
11209 environment settings for make install.
11210 * INSTALL: Regenerated.
11211 * nptl/tst-tls6.sh: Don't set LANG.
11212 * posix/globtest.sh (LANG): Remove variable.
11213 * string/Makefile (tester-ENV): Likewise.
11214 (inl-tester-ENV): Likewise.
11215 (noinl-tester-ENV): Likewise.
11216 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11217 [$(cross-compiling) = no]: Don't set LANGUAGE.
11218 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11219 without explicit environment settings.
11220
68e6b6b1
RM
112212014-06-06 Roland McGrath <roland@hack.frob.com>
11222
11223 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11224 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11226 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11227
4d3ae034
CM
112282014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11229
11230 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11231 other files in the crypt directory.
11232 * crypt/crypt.c: Remove duplicate includes.
11233 * crypt/crypt-entry.c: Likewise.
11234 * crypt/crypt_util.c: Likewise.
11235
8540f6d2
JM
112362014-06-06 Joseph Myers <joseph@codesourcery.com>
11237
11238 * Makeconfig (run-program-env): New variable.
11239 (run-program-prefix-before-env): Likewise.
11240 (run-program-prefix-after-env): Likewise.
11241 (run-program-prefix): Define in terms of new variables.
11242 (built-program-cmd-before-env): New variable.
11243 (built-program-cmd-after-env): Likewise.
11244 (built-program-cmd): Define in terms of new variables.
11245 (test-program-prefix-before-env): New variable.
11246 (test-program-prefix-after-env): Likewise.
11247 (test-program-prefix): Define in terms of new variables.
11248 (test-program-cmd-before-env): New variable.
11249 (test-program-cmd-after-env): Likewise.
11250 (test-program-cmd): Define in terms of new variables.
11251 * Rules (make-test-out): Use $(run-program-env).
11252 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11253 (help): Do not mention environment variables. Mention
11254 --timeoutfactor option.
11255 (timeoutfactor): New variable.
11256 (blacklist_exports): Remove function.
11257 (exports): Remove variable.
11258 (command): Do not include ${exports}.
11259 * manual/install.texi (Configuring and compiling): Do not mention
11260 test wrappers preserving environment variables. Mention that last
11261 assignment to a variable must take precedence.
11262 * INSTALL: Regenerated.
11263 * benchtests/Makefile (run-bench): Use $(run-program-env).
11264 * catgets/Makefile ($(objpfx)test1.cat): Use
11265 $(built-program-cmd-before-env), $(run-program-env) and
11266 $(built-program-cmd-after-env).
11267 ($(objpfx)test2.cat): Do not specify environment variables
11268 explicitly.
11269 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11270 $(run-program-env) and $(built-program-cmd-after-env).
11271 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11272 $(run-program-env) and $(test-program-cmd-after-env).
11273 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11274 explicitly.
11275 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11276 run_program_env and test_program_cmd_after_env arguments.
11277 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11278 * elf/tst-pathopt.sh: Use run_program_env argument.
11279 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11280 $(test-wrapper-env) and $(run-program-env).
11281 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11282 run_program_env arguments.
11283 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11284 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11285 $(test-program-prefix-before-env), $(run-program-env) and
11286 $(test-program-prefix-after-env).
11287 ($(objpfx)tst-gettext2.out): Likewise.
11288 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11289 run_program_env and test_program_prefix_after_env arguments.
11290 * intl/tst-gettext2.sh: Likewise.
11291 * intl/tst-gettext4.sh: Do not set environment variables
11292 explicitly.
11293 * intl/tst-gettext6.sh: Likewise.
11294 * intl/tst-translit.sh: Likewise.
11295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11296 $(test-program-prefix-before-env), $(run-program-env) and
11297 $(test-program-prefix-after-env).
11298 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11299 run_program_env and test_program_prefix_after_env arguments.
11300 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11301 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11302 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11303 explicitly with each use of ${test_wrapper_env}.
11304 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11305 $(test-program-prefix-before-env), $(run-program-env) and
11306 $(test-program-prefix-after-env).
11307 * posix/tst-getconf.sh: Do not set environment variables
11308 explicitly.
11309 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11310 run_program_env and test_program_prefix_after_env arguments.
11311 * stdio-common/tst-printf.sh: Do not set environment variables
11312 explicitly.
11313 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11314 $(test-program-prefix-before-env), $(run-program-env) and
11315 $(test-program-prefix-after-env).
11316 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11317 run_program_env and test_program_prefix_after_env arguments.
11318 Split $test calls into $test_pre and $test.
11319 * timezone/Makefile (build-testdata): Use
11320 $(built-program-cmd-before-env), $(run-program-env) and
11321 $(built-program-cmd-after-env).
11322
ed36bfa1
AZ
113232014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11324
11325 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11326 strlen for non SHARED builds.
11327
fc75bf46
SP
113282014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11329
11330 * nptl/allocatestack.c (check_list): Inlined function...
11331 (__reclaim_stacks): ... here.
11332
d89b3d80
OB
113332014-06-05 Ondřej Bílka <neleai@seznam.cz>
11334
11335 [BZ #15698]
11336 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11337 memory overrun.
11338
2bf18041
JM
113392014-06-05 Joseph Myers <joseph@codesourcery.com>
11340
11341 * Rules (make-test-out): Include
11342 LOCPATH=$(common-objpfx)localedata in default environment.
11343 * debug/Makefile (tst-chk1-ENV): Remove variable.
11344 (tst-chk2-ENV): Likewise.
11345 (tst-chk3-ENV): Likewise.
11346 (tst-chk4-ENV): Likewise.
11347 (tst-chk5-ENV): Likewise.
11348 (tst-chk6-ENV): Likewise.
11349 (tst-lfschk1-ENV): Likewise.
11350 (tst-lfschk2-ENV): Likewise.
11351 (tst-lfschk3-ENV): Likewise.
11352 (tst-lfschk4-ENV): Likewise.
11353 (tst-lfschk5-ENV): Likewise.
11354 (tst-lfschk6-ENV): Likewise.
11355 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11356 (tst-iconv7-ENV): Likewise.
11357 * intl/Makefile (LOCPATH-ENV): Likewise.
11358 (tst-codeset-ENV): Likewise.
11359 (tst-gettext3-ENV): Likewise.
11360 (tst-gettext5-ENV): Likewise.
11361 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11362 (tst-fopenloc-ENV): Likewise.
11363 (tst-fgetws-ENV): Remove variable.
11364 (tst-ungetwc1-ENV): Likewise.
11365 (tst-ungetwc2-ENV): Likewise.
11366 (bug-ungetwc2-ENV): Likewise.
11367 (tst-swscanf-ENV): Likewise.
11368 (bug-ftell-ENV): Likewise.
11369 (tst-fgetwc-ENV): Likewise.
11370 (tst-fseek-ENV): Likewise.
11371 (tst-ftell-partial-wide-ENV): Likewise.
11372 (tst-ftell-active-handler-ENV): Likewise.
11373 (tst-ftell-append-ENV): Likewise.
11374 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11375 (tst-regexloc-ENV): Likewise.
11376 (bug-regex1-ENV): Likewise.
11377 (tst-regex-ENV): Likewise.
11378 (tst-regex2-ENV): Likewise.
11379 (bug-regex5-ENV): Likewise.
11380 (bug-regex6-ENV): Likewise.
11381 (bug-regex17-ENV): Likewise.
11382 (bug-regex18-ENV): Likewise.
11383 (bug-regex19-ENV): Likewise.
11384 (bug-regex20-ENV): Likewise.
11385 (bug-regex22-ENV): Likewise.
11386 (bug-regex23-ENV): Likewise.
11387 (bug-regex25-ENV): Likewise.
11388 (bug-regex26-ENV): Likewise.
11389 (bug-regex30-ENV): Likewise.
11390 (bug-regex32-ENV): Likewise.
11391 (bug-regex33-ENV): Likewise.
11392 (bug-regex34-ENV): Likewise.
11393 (bug-regex35-ENV): Likewise.
11394 (tst-rxspencer-ENV): Likewise.
11395 (tst-rxspencer-no-utf8-ENV): Likewise.
11396 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11397 (tst-sscanf-ENV): Likewise.
11398 (tst-swprintf-ENV): Likewise.
11399 (tst-swscanf-ENV): Likewise.
11400 (test-vfprintf-ENV): Likewise.
11401 (scanf13-ENV): Likewise.
11402 (bug14-ENV): Likewise.
11403 (tst-grouping-ENV): Likewise.
11404 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11405 (tst-strtod3-ENV): Likewise.
11406 (tst-strtod4-ENV): Likewise.
11407 (tst-strtod5-ENV): Likewise.
11408 (testmb2-ENV): Likewise./
11409 * string/Makefile (tst-strxfrm-ENV): Likewise.
11410 (tst-strxfrm2-ENV): Likewise.
11411 (bug-strcoll1-ENV): Likewise.
11412 (test-strcasecmp-ENV): Likewise.
11413 (test-strncasecmp-ENV): Likewise.
11414 * time/Makefile (tst-strptime-ENV): Likewise.
11415 (tst-ftime_l-ENV): Likewise.
11416 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11417 (tst-mbrtowc-ENV): Likewise.
11418 (tst-wcrtomb-ENV): Likewise.
11419 (tst-mbrtowc2-ENV): Likewise.
11420 (tst-c16c32-1-ENV): Likewise.
11421 (tst-mbsnrtowcs-ENV): Likewise.
11422
cd1fb604
OB
114232014-06-05 Ondřej Bílka <neleai@seznam.cz>
11424
11425 * manual/resource.texi (How to get information about the memory
11426 subsystem?): Fix typo.
11427 Reported by Peon de la Parra Ivan <peon@keba.com>
11428
b42eca7d
GY
114292014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11430
11431 [BZ #16882]
11432 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11433 (pthread_spin_lock): Branch out of spin loop to proper location.
11434 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11435 (pthread_spin_lock): Likewise.
11436
902b71f9
DM
11437 * nptl/tst-spin4.c: New test.
11438 * nptl/Makefile (tests): Add tst-spin4.
11439
f9d2d032
AS
114402014-06-03 Andreas Schwab <schwab@suse.de>
11441
11442 [BZ #15946]
11443 * resolv/res_send.c (send_dg): Reload file descriptor after
11444 calling reopen.
11445
cf7bfd28
SL
114462014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11447
11448 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11449
111cc714
RH
114502014-06-03 Richard Henderson <rth@redhat.com>
11451
89b4bd6b
RH
11452 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11453 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11454 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11455 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11456 in the SAVE_PID block.
11457 (__libc_vfork): New alias.
71840409 11458 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11459
111cc714
RH
11460 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11461 child in registers, not on the stack. Remove RESET_PID conditionals.
11462 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11463
ccc39911
MS
114642014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11465
11466 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11467
693096cc
W
114682014-06-03 Wilco <wdijkstr@arm.com>
11469
11470 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11471 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11472 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11473 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11474 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11475 Likewise.
11476
0b4366bc
W
114772014-06-03 Wilco <wdijkstr@arm.com>
11478
11479 * sysdeps/aarch64/fpu/math_private.h
11480 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11481 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11482 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11483 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11484 Fix declarations.
11485
8747cd03
KS
114862014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11487
11488 * crypt/crypt-private.h: Include ufc-crypt.h.
11489 (__b64_from_24bit): Declare extern.
11490 * crypt/crypt_util.c(__b64_from_24bit): New function.
11491 (b64t): New static const variable.
11492 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11493 (b64t): Remove variable.
11494 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11495 * crypt/sha256-crypt.c: Include crypt-private.h.
11496 (b64t): Remove variable.
11497 (__sha256_crypt_r): Remove b64_from_24bit and replace
11498 with __b64_from_24bit.
11499 * crypt/sha512-crypt.c: Likewise.
11500
d936d379
RM
115012014-06-02 Roland McGrath <roland@hack.frob.com>
11502
11503 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11504 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11505 Label the code __libc_vfork rather than __vfork.
11506 [!NOT_IN_libc] (vfork): Define as weak alias.
11507 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11508 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11509 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11510
9fa76613
SP
115112014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11512
11513 * malloc/malloc.c (malloc_info): Fix format specifier for
11514 n_mmaps.
11515
a88dadbe
W
115162014-06-02 Wilco <wdijkstr@arm.com>
11517
11518 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11519 FPCR write.
11520
c95b3011
W
115212014-06-02 Wilco <wdijkstr@arm.com>
11522
11523 [BZ #17009]
11524 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11525 Rewrite to reduce FPCR/FPSR accesses.
11526
6b4d7a90
DM
115272014-06-01 David S. Miller <davem@davemloft.net>
11528
11529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11530
30f3d07c
DM
115312014-05-31 David S. Miller <davem@davemloft.net>
11532
11533 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11534 to occur in round to nearest mode when |x| >= 2.0
11535
74f31c18
RH
115362014-05-30 Richard Henderson <rth@twiddle.net>
11537
f0712b54
RH
11538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11539 (PSEUDO_RET_NOERRNO): Remove.
11540 (ret): Don't redefine.
11541 (ret_NOERRNO): Define in terms of ret.
11542 (ret_ERRVAL): Likewise.
11543
74f31c18
RH
11544 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11545 use of PSEUDO_RET; perform the error check directly.
11546
30477995
MM
115472014-05-30 Marko Myllynen <myllynen@redhat.com>
11548
11549 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11550 with __int128_t.
11551
62a58816
SP
115522014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11553
11554 * malloc/malloc (malloc_info): Fix formatting.
11555
4d653a59
SP
115562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11557 Roland McGrath <roland@hack.frob.com>
11558
11559 * malloc/malloc (malloc_info): Also print mmapped statistics.
11560
5190c17f
RM
115612014-05-30 Roland McGrath <roland@hack.frob.com>
11562
11563 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11564 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11565
987c0269
OB
115662014-05-30 Ondřej Bílka <neleai@seznam.cz>
11567
11568 * malloc/malloc.c (malloc_info): Inline mi_arena.
11569
af4e8ef9
RH
115702014-05-29 Richard Henderson <rth@twiddle.net>
11571
1670e207
RH
11572 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11573 Remove comma before expanding ASM_ARGS_##nr.
11574 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11575 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11576 of ASM_ARGS_##nr.
11577 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11578 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11579 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11580 (ASM_ARGS_1): Add leading comma.
11581
11a28aee
RH
11582 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11583 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11584 to __errno_location.
11585 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11586 Remove the expected plt for __errno_location.
11587
a17e5ffb 11588 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11589 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11590 call to __read_tp.
11591
b5be4597
RH
11592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11593 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11594 it and break it down.
11595 (DOCARGS_0, DOCARGS_1): Do nothing.
11596 (DOCARGS_2): Update to store into the new stack frame.
11597 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11598 (UNDOCARGS_1): Update to restore from the new stack frame.
11599 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11600 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11601
645d44ab
RH
11602 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11603 (SINGLE_THREAD_P): New parameter for result regno.
11604 (PSEUDO): Update to match; use cbz instead of beq.
11605
a8b4f04a
RH
11606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11607 Use ENTRY to define the _nocancel entry point. Share the syscall
11608 and syscall error check paths with the cancel path.
11609 (PSEUDO_END): New.
11610
af4e8ef9
RH
11611 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11612 whitespace; tabs before and after asm mnemonics.
11613
26b0d2e1
EW
116142014-05-29 Eric Wong <normalperson@yhbt.net>
11615
11616 [BZ #15132]
11617 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11618 Call fstat64 or stat64 internally, depending on arguments passed.
11619 Replace stat buffer argument with file descriptor argument.
11620 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11621 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11622 Pass fd to __internal_statvfs instead of calling fstat64.
11623 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11624 Pass fd to __internal_statvfs64 instead of calling fstat64.
11625 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11626 Pass -1 to __internal_statvfs instead of calling stat64.
11627 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11628 Pass -1 to __internal_statvfs64 instead of calling stat64.
11629
1efe2bd9
RM
116302014-05-28 Roland McGrath <roland@hack.frob.com>
11631
0d3b7a19
RM
11632 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11633 that was previously under [RESET_PID].
11634 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11635
1efe2bd9
RM
11636 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11637 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11638
a6bea3ca
RM
116392014-05-27 Roland McGrath <roland@hack.frob.com>
11640
30b6629e
RM
11641 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11642
a6bea3ca
RM
11643 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11644 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11645
3dfb9a5c
OB
116462014-05-27 Ondřej Bílka <neleai@seznam.cz>
11647
11648 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11649
774f9285
AS
116502014-05-27 Andreas Schwab <schwab@suse.de>
11651
11652 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11653 TLS_INIT_TP macro.
11654 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11655 * elf/rtld.c (init_tls, dl_main): Likewise.
11656 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11657 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11658 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11659 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11660 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11661 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11662 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11663 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11664 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11665 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11666 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11667 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11668 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11669 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11670 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11671 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11672 * sysdeps/generic/tls.h: Update description.
11673
36ffe739
WN
116742014-05-27 Will Newton <will.newton@linaro.org>
11675
11676 [BZ #16990]
11677 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11678 and restore r2 rather than just restoring.
11679
2482ae43
SP
116802014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11681
11682 [BZ #16724]
11683 * libio/tst-ftell-append.c: New test case.
11684 * libio/Makefile (tests): Add test case.
11685 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11686 append mode.
11687 * libio/wfileops.c (do_ftell_wide): Likewise.
11688
3d1024e8
AZ
116892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11690
bab90016
AZ
11691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11692
c7a8d667
AZ
11693 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11694 ...
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11697 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11698 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11699 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11700 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11701 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11702 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11704 Moved ...
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11707 Moved ...
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11709 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11710 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11711 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11712 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11713 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11714 ...
11715 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11716 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11717 Moved ...
11718 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11719 here.
11720 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11721 ...
11722 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11723 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11724 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11725
daee7851
AZ
11726 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11727 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11728 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11729 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11730
50a40819
AZ
11731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11732 merge into ...
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11735 ...
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11737 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11738 ...
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11741 Moved ...
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11743 here.
11744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11745 Moved ...
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11748 Moved ...
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11750
8464c2a1
AZ
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11752 conditional [RESET_PID].
11753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11754 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11755 removed.
11756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11757 removed.
11758
3d1024e8
AZ
11759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11760 <tcb-offsets.h>.
11761 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11762 (__libc_vfork): New strong alias.
11763 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11764 removed.
11765 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11766 Removed.
11767
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11769 <tcb-offsets.h>.
11770 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11771 (__libc_vfork): New strong alias.
11772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11773 removed.
11774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11775 removed.
11776
fdfd175d
CD
117772014-05-26 Carlos O'Donell <carlos@redhat.com>
11778
11779 * malloc/malloc.c (mi_arena): New function.
11780 (malloc_info): Remove nested function mi_arena. Call non-nosted
11781 function mi_arena.
11782
d298c416
AZ
117832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11784
11785 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11786 by insrwi.
11787 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11788 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11789 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11790 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11791 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11792 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11793 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11794
b60ea6ff
AS
117952014-05-26 Andreas Schwab <schwab@suse.de>
11796
11797 [BZ #16984]
11798 * locale/programs/repertoire.c (repertoire_read): Add slash
11799 between I18NPATH element and file name.
11800 * locale/programs/locfile.c (locfile_read): Likewise.
11801
67365926
SL
118022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11803
11804 * nptl/pthread_mutexattr_settype.c
11805 (__pthread_mutexattr_settype):
11806 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11807
f8bdf1f0
SL
118082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11809
11810 * nptl/tst-mutex5 (do_test):
11811 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11812
15eaf6ff
SP
118132014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11814
11815 * benchtests/README: Document 'init' directive.
11816 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11817 BENCH_INIT.
11818 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11819 (parse_file): Recognize 'init' directive.
11820
75f11331
KM
118212014-05-26 Kyle McMartin <kyle@redhat.com>
11822
11823 [BZ #16796]
11824 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11825 alignment of struct pthread.
11826
c3ec475c
SP
118272014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11828
11829 [BZ #16878]
11830 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11831 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11832 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11833 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11834
82aab97c
RH
118352014-05-25 Richard Henderson <rth@twiddle.net>
11836
aa2f176d
RH
11837 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11838 (SINGLE_THREAD_P_PIC): Remove.
11839 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11840 (SINGLE_THREAD_P_PIC): Remove.
11841
ca3cfa40
RH
11842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11843 branch to syscall error ...
11844 (PSEUDO): ... here.
11845 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11846 from __local_syscall_error to .Lsyscall_error.
11847 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11848 (SYSCALL_ERROR): Update label name.
11849
6e6c2d01
RH
11850 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11851 Do not use DOARGS/UNDOARGS.
11852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11853 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11854 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11855 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11856 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11857
c69abcee
RH
11858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11859 block comment.
11860
82aab97c
RH
11861 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11862 define if !NOT_IN_libc.
11863 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11864 define with non-default symbol versions.
11865
8820e3ac
RH
118662014-05-23 Richard Henderson <rth@twiddle.net>
11867
900e445f
RH
11868 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11869 (vfork, __vfork): Define via compat_symbol.
11870
8820e3ac
RH
11871 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11872 [!HAVE_IFUNC] (vfork_compat): Remove.
11873 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11874
e59252a5
JM
118752014-05-23 Joseph Myers <joseph@codesourcery.com>
11876
11877 [BZ #16978]
11878 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11879 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11880 variable.
11881
132c7f5f
RH
118822014-05-23 Richard Henderson <rth@twiddle.net>
11883
bc89e962
RH
11884 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11885 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11886 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11887 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11888
11889 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11890 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11891 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11892 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11893 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11894 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11896 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11897 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11898 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11899 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11900 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11901 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11908 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11912 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11913 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11914 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11915 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11916 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11917 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11918 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11919 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11920 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11921 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11922 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11923 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11924 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11925 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11926 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11927 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11928 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11929 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11930 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11931 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11932 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11933 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11934 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11935 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11936 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11937 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11938 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11939 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11940 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11942 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11944 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11945
e2fa4bc2
RH
11946 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11947 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11948 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11949 before exiting on error.
11950 (__libc_vfork): New strong alias.
11951 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11952 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11953
279b24e2
RH
11954 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11955 that was previously under [RESET_PID].
11956 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11957
132c7f5f
RH
11958 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11959
b72592e7
JM
119602014-05-23 Joseph Myers <joseph@codesourcery.com>
11961
11962 [BZ #16977]
11963 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11964 value when x - 1 is zero.
11965 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11966 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11967 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11968 0.0L for an argument of 1.0L.
11969 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11970 Likewise.
11971 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11972 value when x - 1 is zero.
11973 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11974 * sysdeps/i386/fpu/libm-test-ulps: Update.
11975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11976
2302d679
RV
119772014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11978
11979 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11980 alphasort and versionsort.
11981
32999d63
AZ
119822014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11983
11984 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11985 macro.
11986 [copysignf]: Likewise.
11987
019324d0
SP
119882014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11989
11990 * crypt/md5-crypt.c: Fix formatting.
11991
34fff5c2
KS
119922014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11993
11994 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11995 (b64_from_24bit): New function.
11996
3d2badac
AZ
119972014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11998
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12000 libc_hidden_builtin_def to ifunc.
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12002 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12003
f7bb179f 120042014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12005
12006 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12007 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12008
4134b50d
JM
120092014-05-21 Joseph Myers <joseph@codesourcery.com>
12010
bb7d0337
JM
12011 * nscd/Depend (linuxthreads): Remove.
12012 (nptl): Add.
12013 * resolv/Depend (linuxthreads): Remove.
12014 * rt/Depend (linuxthreads): Remove.
12015
4134b50d
JM
12016 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12017 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12018 $(common-objpfx)elf/.
12019 (link-libc-before-gnulib): Likewise.
12020 (elfobjdir): Remove variable.
12021 * Makefile (install): Use $(elf-objpfx) instead of
12022 $(common-objpfx)elf/.
12023 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12024 $(elfobjdir)/.
12025 (link-libc-deps): Likewise.
12026 ($(common-objpfx)libc.so): Likewise.
12027 ($(common-objpfx)linkobj/libc.so): Likewise.
12028 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12029 instead of $(common-objpfx)elf/.
12030 (symbolic-link-list): Likewise.
12031 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12032 [$(cross-compiling) = no]: Likewise.
12033 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12034 $(elfobjdir)/.
12035 (static-gnulib-arch): Likewise.
12036 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12037 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12038 $(common-objpfx)elf/.
12039
3612eb8f
RH
120402014-05-21 Richard Henderson <rth@redhat.com>
12041
a6b3657b
RH
12042 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12043 (SINGLE_THREAD_P): Use the correct width load. Fold
12044 into the ldr offset.
12045
3612eb8f
RH
12046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12047 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12048
175cef41
JM
120492014-05-20 Joseph Myers <joseph@codesourcery.com>
12050
12051 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12052 (libgcc_s_resume): Use __attribute_used__.
12053 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12054 Likewise.
12055
e13bccd3
AZ
120562014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12057
12058 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12059 optimization when used with float constants.
12060
7c112a38
AZ
12061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12062
ae75a883
AJ
120632014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12064
12065 [BZ #16915]
12066 * locale/nl_langinfo_l.c: Make direct reference to every
12067 _nl_current_CATEGORY symbol.
12068 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12069 (tests-static): Add tst-langinfo-static.
12070 (tests-special): Add tst-langinfo-static.out.
12071 ($(objpfx)tst-langinfo.out): Redirect output.
12072 ($(objpfx)tst-langinfo-static.out): New.
12073 * localedata/tst-langinfo.sh: Send output to stdout.
12074 * localedata/tst-langinfo-static.c: New file.
12075
4406c41c
AJ
12076 [BZ #16965]
12077 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12078 when the shift amount is modulo the limb size.
12079
4c0a1e63
RH
120802014-05-20 Richard Henderson <rth@redhat.com>
12081
de9d8f20
RH
12082 [BZ #16967]
12083 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12084 Change type of sa_flags from unsigned int to int.
12085
4c0a1e63
RH
12086 [BZ #16966]
12087 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12088
12089 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12090
a60339aa
WN
120912014-05-20 Will Newton <will.newton@linaro.org>
12092
12093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12094 Test the return value of the system call in the nocancel case.
12095
7d05a816
YR
120962014-05-20 Will Newton <will.newton@linaro.org>
12097 Yvan Roux <yvan.roux@linaro.org>
12098
12099 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12100 #include of asm/ptrace.h.
12101 (PTRACE_GET_THREAD_AREA): Remove #undef.
12102 (PTRACE_GETHBPREGS): Likewise.
12103 (PTRACE_SETHBPREGS): Likewise.
12104 (struct user_regs_struct): New structure.
12105 (struct user_fpsimd_struct): New structure.
12106 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12107 #include of asm/ptrace.h and second #include of sys/user.h.
12108 (PTRACE_GET_THREAD_AREA): Remove #undef.
12109 (PTRACE_GETHBPREGS): Likewise.
12110 (PTRACE_SETHBPREGS): Likewise.
12111 (ELF_NGREG): Use new struct user_regs_struct.
12112 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12113
af121e37
AZ
121142014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12115
12116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12118
834caf06
JM
121192014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12120
12121 [BZ #16958]
12122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12123 membar to avoid block loads/stores to overlap previous stores.
12124
e184a918
RH
121252014-05-17 Richard Henderson <rth@redhat.com>
12126
12127 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12128 Create the __##syscall_name##_nocancel entry point.
12129 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12130 Remove; let the sysdep-cancel.h code create it.
12131
f56c7a6a
DM
121322014-05-17 David S. Miller <davem@davemloft.net>
12133
12134 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12135 Protect with __USE_GNU.
12136 (TIOCSET_TEMPT): Likewise.
12137 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12138 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12139 these are already provided in bits/ioctl-types.h
12140
f75616b2
RM
121412014-05-16 Roland McGrath <roland@hack.frob.com>
12142
3edeca86
RM
12143 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12144 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12145
f75616b2
RM
12146 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12147 Use wait4 regardless of [__NR_waitpid].
12148
deb0f7f6
MR
121492014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12150
12151 PR libgcc/60166
12152 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12153 (_FP_NANSIGN_Q): Set the quiet bit.
12154
79520f4b
JM
121552014-05-16 Joseph Myers <joseph@codesourcery.com>
12156
12157 * benchtests/Makefile
12158 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12159 not $(common-objpfx)math/libm.so.
12160 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12161 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12162 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12163 $(common-objpfx)dlfcn/libdl.so.
12164 ($(objpfx)tst-audit8): Depend on $(libm), not
12165 $(common-objpfx)math/libm.so.
12166 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12167 not $(common-objpfx)dlfcn/libdl.so.
12168 * math/Makefile
12169 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12170 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12171 [$(build-shared) = yes].
12172 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12173 $(common-objpfx)nptl/libpthread.so.
12174 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12175 $(common-objpfx)math/libm.so$(libm.so-version) or
12176 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12177 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12178 $(common-objpfx)dlfcn/libdl.so.
12179 * setjmp/Makefile (link-libm): Remove variable.
12180 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12181 * stdio-common/Makefile (link-libm): Remove variable.
12182 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12183 * stdlib/Makefile (link-libm): Remove variable.
12184 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12185 ($(objpfx)tst-strtod-round): Likewise.
12186 ($(objpfx)tst-tininess): Likewise.
12187 ($(objpfx)tst-strtod-underflow): Likewise.
12188 ($(objpfx)tst-strtod6): Likewise.
12189 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12190 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12191 $(common-objpfx)dlfcn/libdl.so.
12192
026b0fe4
AZ
121932014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12194
12195 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12196 BSD terminal modes definitions.
12197
def4bcb2
RM
121982014-05-16 Roland McGrath <roland@hack.frob.com>
12199
fe39b021
RM
12200 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12201 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12202
1d1fc46e 12203 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12204 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12205 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12206 Don't do #include_next.
12207 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12208 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12209 Don't do #include_next.
12210 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12211 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12212 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12213 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12214
c72399fb
AM
122152014-05-16 Allan McRae <allan@archlinux.org>
12216
d51d659d
AM
12217 * po/sv.po: Update Swedish translation from translation project.
12218
c72399fb
AM
12219 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12220 in sed expression.
12221
d0583c40
AJ
122222014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12223
12224 [BZ #16917]
12225 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12226 errno if the TIOCGPTN ioctl fails with an error different than
12227 EINVAL.
12228 * login/tst-ptsname.c: New file.
12229 * login/Makefile (tests): Add tst-ptsname.
12230
d16e6ec7
AJ
12231 [BZ #16943]
12232 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12233 and prlimit64.
12234
cf26a0cb
SP
122352014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
12237 [BZ #16849]
12238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12239 herrno to return EAI_AGAIN.
12240
5675da1e
RM
122412014-05-14 Roland McGrath <roland@hack.frob.com>
12242
a5d87b3d
RM
12243 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12244 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12245 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12250 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12252 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12256 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12264 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12266 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12268 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12270 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12271 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12272 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12274 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12276 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12278 Moved ...
12279 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12291 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12293 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12295 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12299 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12301 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12303 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12305 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12307 Moved ...
12308 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12310 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12312 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12314 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12316 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12318 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12320 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12322 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12324 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12326 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12328 Moved ...
12329 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12331 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12332
039890a6
RM
12333 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12334 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12335 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12336 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12337 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12339 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12341 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12343 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12345 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12347 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12348 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12349 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12351 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12352 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12353 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12354 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12355 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12356 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12357 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12358 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12359 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12361 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12362 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12364
65c89320
RM
12365 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12366 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12367
348f8e8c
RM
12368 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12369 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12370 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12371 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12372 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12373 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12374 Moved ...
12375 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12377 Moved ...
12378 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12379 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12380 Moved ...
12381 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12383 Moved ...
12384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12385 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12386 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12388 Moved ...
12389 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12390 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12391 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12394 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12395 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12397 Moved ...
12398 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12400 Moved ...
12401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12402 ... here.
12403 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12404 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12406 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12407 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12408 Moved ...
12409 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12410 ... here.
12411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12412 Moved ...
12413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12415 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12417 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12418 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12419 Moved ...
12420 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12422 Moved ...
12423 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12424 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12425 Moved ...
12426 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12428 Moved ...
12429 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12431 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12433 Moved ...
12434 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12435 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12436 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12440 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12442 Moved ...
12443 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12445 Moved ...
12446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12447 ... here.
12448 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12449 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12450 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12451 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12452 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12453 Moved ...
12454 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12455 ... here.
12456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12457 Moved ...
12458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12460 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12462 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12463 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12465 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12466 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12468 Moved ...
12469 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12471 Moved ...
12472 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12474 Moved ...
12475 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12477 Moved ...
12478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12480 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12481 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12482 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12484 Moved ...
12485 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12486 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12487 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12491 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12493 Moved ...
12494 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12496 Moved ...
12497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12498 ... here.
12499 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12500 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12502 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12503 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12504 Moved ...
12505 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12506 ... here.
12507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12508 Moved ...
12509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12511 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12512 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12513 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12515 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12517 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12519 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12520
5085af05
RM
12521 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12522 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12523
708f0813
RM
12524 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12525 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12526
c96067bc
RM
12527 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12528 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12529 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12531 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12532 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12533 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12534 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12535 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12539 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12541 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12543 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12545 Moved ...
12546 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12548 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12550 Moved ...
12551 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12553 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12555 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12559 Moved ...
12560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12562 Moved ...
12563 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12565 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12569 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12570 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12571 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12572 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12573 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12575 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12577 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12578 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12579 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12580
ec136444
RM
12581 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12582 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12583 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12584 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12585 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12586
2fbdf533
RM
12587 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12588 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12589 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12590 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12591 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12592 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12593 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12594 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12595 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12596 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12597
4c68138b
RM
12598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12599 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12600
4eaae765
RM
12601 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12602 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12603 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12604 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12605 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12606 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12607 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12608 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12609 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12610 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12611 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12612 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12613 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12614 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12616 Update #include.
12617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12618 Likewise.
12619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12620 Likewise.
12621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12622 Likewise.
12623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12624 Likewise.
12625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12626 Likewise.
12627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12628 Likewise.
12629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12630 Likewise.
12631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12632 Likewise.
12633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12634 Likewise.
4ef6befa
RM
12635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12640 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12642 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12643 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12646 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12650
941d7dfd
RM
12651 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12652 that was previously under [RESET_PID].
12653 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12654 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12655 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12656
1b731c35
RM
12657 * sysdeps/i386/nptl/Implies: New file.
12658 * sysdeps/x86_64/nptl/Implies: New file.
12659 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12660 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12661 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12662 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12663
e2787137
RM
12664 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12665 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12666 (__libc_vfork): New strong alias.
12667 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12668 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12669
12670 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12671 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12672 (__libc_vfork): New strong alias.
12673 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12674 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12675
5675da1e
RM
12676 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12677 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12678 (__libc_vfork): New strong alias.
12679 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12680 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12681 * nptl/pt-vfork.c: New file.
12682 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12683 (libpthread: GLIBC_2.20): New version set (empty).
12684
4f02e2b8
WN
126852014-05-14 Will Newton <will.newton@linaro.org>
12686
12687 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12688 rather than #if.
12689
0bf061d3
JM
126902014-05-14 Joseph Myers <joseph@codesourcery.com>
12691
1a84c3d6
JM
12692 [BZ #16564]
12693 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12694 arguments with exponent 65 or above.
12695 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12696 arguments 0x1p113L or above.
12697 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12698 to arguments 0x1p107L or above.
12699 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12700 positive arguments with exponent 65 or above.
12701 * math/auto-libm-test-in: Add more tests of log1p.
12702 * math/auto-libm-test-out: Regenerated.
12703
01dbacd2
JM
12704 [BZ #16928]
12705 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12706 non-finite arguments is +0.
12707 * math/s_cacosf.c (__cacosf): Likewise.
12708 * math/s_cacosl.c (__cacosl): Likewise.
12709 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12710 * sysdeps/i386/fpu/libm-test-ulps: Update.
12711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712
913d03c8
JM
12713 [BZ #16927]
12714 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12715 value.
12716 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12717 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12718 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12719 for explicit high bit of mantissa when testing for argument equal
12720 to 1.
12721 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12722 * sysdeps/i386/fpu/libm-test-ulps: Update.
12723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12724
0bf061d3
JM
12725 [BZ #16516]
12726 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12727 (__erf): Scale by 16 instead of 8 in potentially underflowing
12728 case. Ensure exception if result actually underflows.
12729 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12730 (__erff): Scale by 16 instead of 8 in potentially underflowing
12731 case. Ensure exception if result actually underflows.
12732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12733 (efx8): Remove variable.
12734 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12735 case. Ensure exception if result actually underflows.
12736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12737 (efx8): Remove variable.
12738 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12739 case. Ensure exception if result actually underflows.
12740 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12741 (efx8): Remove variable.
12742 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12743 case. Ensure exception if result actually underflows.
12744 * math/auto-libm-test-in: Add more tests of erf.
12745 * math/auto-libm-test-out: Regenerated.
12746
73ba67cb
AS
127472014-05-14 Andreas Schwab <schwab@suse.de>
12748
3d8c8bff
AS
12749 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12750 Remove code conditionalized on USE___THREAD.
12751
73ba67cb
AS
12752 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12753 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12754 not definedness.
12755
5c521ecd
JM
127562014-05-14 Joseph Myers <joseph@codesourcery.com>
12757
5e7698c6
JM
12758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12759 Define unconditionally.
12760 (__ASSUME_O_CLOEXEC): Likewise.
12761 (__ASSUME_SOCK_CLOEXEC): Likewise.
12762 (__ASSUME_IN_NONBLOCK): Likewise.
12763 (__ASSUME_PIPE2): Likewise.
12764 (__ASSUME_EVENTFD2): Likewise.
12765 (__ASSUME_SIGNALFD4): Likewise.
12766 (__ASSUME_DUP3): Likewise.
12767 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12768 (__ASSUME_DUP3): Do not define.
12769 (__ASSUME_EVENTFD2): Likewise.
12770 (__ASSUME_IN_NONBLOCK): Likewise.
12771 (__ASSUME_O_CLOEXEC): Likewise.
12772 (__ASSUME_PIPE2): Likewise.
12773 (__ASSUME_SIGNALFD4): Likewise.
12774 (__ASSUME_SOCK_CLOEXEC): Likewise.
12775 (__ASSUME_UTIMES): Undefine.
12776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12777 (__ASSUME_UTIMES): Do not define.
12778 (__ASSUME_O_CLOEXEC): Likewise.
12779 (__ASSUME_SOCK_CLOEXEC): Likewise.
12780 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12781 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12782 0x020621].
12783 (__ASSUME_PIPE2): Likewise.
12784 (__ASSUME_EVENTFD2): Likewise.
12785 (__ASSUME_SIGNALFD4): Likewise.
12786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12787 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12788 Do not define.
12789 (__ASSUME_EVENTFD2): Likewise.
12790 (__ASSUME_SIGNALFD4): Likewise.
12791 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12792 (__ASSUME_32BITUIDS): Likewise.
12793 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12794 (__ASSUME_IPC64): Likewise.
12795 (__ASSUME_ST_INO_64_BIT): Likewise.
12796 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12797 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12798 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12799 (__ASSUME_UTIMES): Do not define.
12800 (__ASSUME_PSELECT): Likewise.
12801 (__ASSUME_PPOLL): Likewise.
12802 (__ASSUME_O_CLOEXEC): Likewise.
12803 (__ASSUME_SOCK_CLOEXEC): Likewise.
12804 (__ASSUME_IN_NONBLOCK): Likewise.
12805 (__ASSUME_PIPE2): Likewise.
12806 (__ASSUME_EVENTFD2): Likewise.
12807 (__ASSUME_SIGNALFD4): Likewise.
12808 (__ASSUME_DUP3): Likewise.
12809 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12810 (__ASSUME_UTIMES): Likewise.
12811 (__ASSUME_O_CLOEXEC): Likewise.
12812 (__ASSUME_SOCK_CLOEXEC): Likewise.
12813 (__ASSUME_IN_NONBLOCK): Likewise.
12814 (__ASSUME_PIPE2): Likewise.
12815 (__ASSUME_EVENTFD2): Likewise.
12816 (__ASSUME_SIGNALFD4): Likewise.
12817 (__ASSUME_DUP3): Likewise.
12818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12819 (__ASSUME_UTIMES): Likewise.
12820 (__ASSUME_O_CLOEXEC): Likewise.
12821 (__ASSUME_SOCK_CLOEXEC): Likewise.
12822 (__ASSUME_IN_NONBLOCK): Likewise.
12823 (__ASSUME_PIPE2): Likewise.
12824 (__ASSUME_EVENTFD2): Likewise.
12825 (__ASSUME_SIGNALFD4): Likewise.
12826 (__ASSUME_DUP3): Likewise.
12827 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12828 Likewise.
12829 (__ASSUME_UTIMES): Likewise.
12830 (__ASSUME_EVENTFD2): Likewise.
12831 (__ASSUME_SIGNALFD4): Likewise.
12832 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12833 (__ASSUME_O_CLOEXEC): Likewise.
12834 (__ASSUME_SOCK_CLOEXEC): Likewise.
12835 (__ASSUME_IN_NONBLOCK): Likewise.
12836 (__ASSUME_PIPE2): Likewise.
12837 (__ASSUME_EVENTFD2): Likewise.
12838 (__ASSUME_SIGNALFD4): Likewise.
12839 (__ASSUME_DUP3): Likewise.
12840 (__ASSUME_UTIMES): Undefine.
12841
5c521ecd
JM
12842 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12843 feclearexcept. Remove symbol versioning code.
12844 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12845 symbol versioning code.
12846 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12847 symbol versioning code.
12848 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12849 feupdateenv. Remove symbol versioning code.
12850 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12851 fegetexceptflag. Remove symbol versioning code.
12852 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12853 fesetexceptflag. Remove symbol versioning code.
12854 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12855 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12856 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12857 (__posix_fadvise64_l32): Remove prototype.
12858 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12859 code.
12860
5da9dfad
RM
128612014-05-13 Roland McGrath <roland@hack.frob.com>
12862
12863 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12864 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12865 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12866 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12867
893b4f37
SK
128682014-05-13 Sami Kerola <kerolasa@iki.fi>
12869
12870 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12871 current working directory
12872
e0db6517
RM
128732014-05-13 Roland McGrath <roland@hack.frob.com>
12874
58aa195d
RM
12875 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12876 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12877 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12878 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12879 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12880 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12881 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12882 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12883 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12884 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12885 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12886 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12887 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12890 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12891 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12892 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12894 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12895 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12896 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12897 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12898 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12899 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12900 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12901 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12902 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12903 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12904 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12905 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12906 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12908 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12909 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12910 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12911 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12912 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12913 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12914 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12915 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12916 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12917
8c6d01f0
RM
12918 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12919 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12920
12921 * sysdeps/unix/sysv/linux/arm/Makefile
12922 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12923 Add rt-aeabi_unwind_cpp_pr1.
12924 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12925 Add nptl-aeabi_unwind_cpp_pr1.
12926 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12927 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12928 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12929 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12930 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12931 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12932
12933 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12934 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12935 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12936 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12937
bba6da4e
RM
12938 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12939 Deconditionalize the code that was previously under [RESET_PID].
12940 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12941
e0db6517
RM
12942 * sysdeps/generic/exit-thread.h: New file.
12943 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12944 * include/unistd.h (__exit_thread): Remove declaration.
12945 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12946 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12947 * csu/libc-start.c: Include <exit-thread.h>.
12948 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12949 * nptl/pthread_create.c: Include <exit-thread.h>.
12950 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12951 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12952 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12953 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12954 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12955 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12956 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12957 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12958 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12959 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12960 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12961 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12962 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12963 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12964 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12965 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12966 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12967
01eb16fd
AS
129682014-05-13 Andreas Schwab <schwab@suse.de>
12969
12970 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12971
637461d9
JM
129722014-05-12 Joseph Myers <joseph@codesourcery.com>
12973
12974 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12975 (__ASSUME_UTIMES): Do not condition on kernel version.
12976 (__ASSUME_PSELECT): Define unconditionally.
12977 (__ASSUME_PPOLL): Likewise.
12978 (__ASSUME_ATFCTS): Likewise.
12979 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12980 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12981 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12982 (__ASSUME_UTIMENSAT): Define unconditionally.
12983 (__ASSUME_PRIVATE_FUTEX): Likewise.
12984 (__ASSUME_FALLOCATE): Likewise.
12985 (__ASSUME_O_CLOEXEC): Likewise.
12986 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12987 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12988 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12989 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12990 (__ASSUME_IN_NONBLOCK): Likewise.
12991 (__ASSUME_PIPE2): Likewise.
12992 (__ASSUME_EVENTFD2): Likewise.
12993 (__ASSUME_SIGNALFD4): Likewise.
12994 (__ASSUME_DUP3): Likewise.
12995 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12996 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12997 (__ASSUME_AT_RANDOM): Likewise.
12998 (__ASSUME_PREADV): Likewise.
12999 (__ASSUME_PWRITEV): Likewise.
13000 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13001 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13002 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13003 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13004 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13005 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13006 (__ASSUME_O_CLOEXEC): Define unconditionally.
13007 (__ASSUME_PSELECT): Do not undefine conditionally.
13008 (__ASSUME_PPOLL): Likewise.
13009 (__ASSUME_ATFCTS): Likewise.
13010 (__ASSUME_SET_ROBUST_LIST): Likewise.
13011 (__ASSUME_UTIMENSAT): Likewise.
13012 (__ASSUME_FDATASYNC): Define unconditionally.
13013 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13014 (__ASSUME_SIGFRAME_V2): Likewise.
13015 )__ASSUME_EVENTFD2): Likewise.
13016 (__ASSUME_SIGNALFD4): Likewise.
13017 (__ASSUME_PSELECT): Do not undefine conditionally.
13018 (__ASSUME_PPOLL): Likewise.
13019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13020 (__ASSUME_PSELECT): Define unconditionally.
13021 (__ASSUME_PPOLL): Likewise.
13022 (__ASSUME_O_CLOEXEC): Likewise.
13023 (__ASSUME_SOCK_CLOEXEC): Likewise.
13024 (__ASSUME_IN_NONBLOCK): Likewise.
13025 (__ASSUME_PIPE2): Likewise.
13026 (__ASSUME_EVENTFD2): Likewise.
13027 (__ASSUME_SIGNALFD4): Likewise.
13028 (__ASSUME_DUP3): Likewise.
13029 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13030 (__ASSUME_O_CLOEXEC): Likewise.
13031 (__ASSUME_SOCK_CLOEXEC): Likewise.
13032 (__ASSUME_IN_NONBLOCK): Likewise.
13033 (__ASSUME_PIPE2): Likewise.
13034 (__ASSUME_EVENTFD2): Likewise.
13035 (__ASSUME_SIGNALFD4): Likewise.
13036 (__ASSUME_DUP3): Likewise.
13037 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13038 (__ASSUME_EVENTFD2): Likewise.
13039 (__ASSUME_SIGNALFD4): Likewise.
13040 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13041
315eb1d8
AS
130422014-05-12 Andreas Schwab <schwab@suse.de>
13043
13044 [BZ #16932]
13045 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13046 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13047 than maximum RPC packet size.
13048 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13049 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13050 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13051 (_nss_nis_getservbyport_r): Likewise.
13052
91df99f7
WN
130532014-05-12 Will Newton <will.newton@linaro.org>
13054
13055 * malloc/Makefile (tests): Add tst-mallopt.
13056 * malloc/tst-mallopt.c: New file.
13057
0a982a29
RM
130582014-05-09 Roland McGrath <roland@hack.frob.com>
13059
13060 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13061 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13062
0ded08a5
AZ
130632014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13064
13065 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13066 (tst-tlsmod6.so): Likewise.
13067
55d4d550
RM
130682014-05-09 Roland McGrath <roland@hack.frob.com>
13069
13070 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13071
77d08aca
JM
130722014-05-09 Joseph Myers <joseph@codesourcery.com>
13073
13074 [BZ #16064]
13075 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13076 and <dl-procinfo.h>.
13077 (__fegetenv): Save SSE state in envp->__eip if supported.
13078 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13079 envp->__eip if supported.
13080 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13081 and <dl-procinfo.h>.
13082 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13083 __data_offset and __data_selector in environment to 0. Set SSE
13084 state if supported.
13085 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13086 test-fenv-sse.
13087 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13088 -mfpmath=sse.
13089 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13090
28162f4d
WN
130912014-05-09 Will Newton <will.newton@linaro.org>
13092
13093 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13094 and libc_relro_required for ARM.
13095 * sysdeps/arm/preconfigure: Regenerate.
13096
5a414ff7
DV
130972014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13098 Stefan Liebler <stli@linux.vnet.ibm.com>
13099
13100 * config.make.in (enable-lock-elision): New Makefile variable.
13101 * configure.ac: Likewise.
13102 * configure: Regenerate.
13103 * sysdeps/s390/configure.ac:
13104 Add check for gcc transactions support.
13105 * sysdeps/s390/configure: Regenerate.
13106 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13107 Build elision files if enabled.
13108 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13109 Add lock elision support for s390.
13110 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13111 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13112 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13113 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13114 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13115 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13116 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13117 Likewise.
13118 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13119 Likewise.
13120 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13121 Likewise.
13122 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13123 Likewise.
13124 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13125 (__lll_timedlock_elision, __lll_lock_elision)
13126 (__lll_unlock_elision, __lll_trylock_elision)
13127 (lll_timedlock_elision, lll_lock_elision)
13128 (lll_unlock_elision, lll_trylock_elision): Add.
13129 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13130 (pthread_mutex_t): Add lock elision support for s390.
13131
1a2f40e5
W
131322014-05-14 Wilco <wdijkstr@arm.com>
13133
13134 * sysdeps/arm/fclrexcpt.c: Cleanup.
13135 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13136 * sysdeps/arm/feenablxcpt.c: Cleanup.
13137 * sysdeps/arm/fegetenv.c: Cleanup.
13138 * sysdeps/arm/fegetexcept.c: Cleanup.
13139 * sysdeps/arm/fegetround.c: Cleanup.
13140 * sysdeps/arm/feholdexcpt.c: Cleanup.
13141 * sysdeps/arm/fesetenv.c: Cleanup.
13142 * sysdeps/arm/fesetround.c: Cleanup.
13143 * sysdeps/arm/feupdateenv.c: Cleanup.
13144 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13145 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13146 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13147 * sysdeps/arm/ftestexcept.c: Cleanup.
13148 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13149 * sysdeps/arm/setfpucw.c: Cleanup.
13150
f63c86fe
WN
131512014-05-09 Will Newton <will.newton@linaro.org>
13152
13153 * sysdeps/arm/armv7/strcmp.S: New file.
13154 * NEWS: Mention addition of ARMv7 optimized strcmp.
13155
7a1a51b5
RM
131562014-05-08 Roland McGrath <roland@hack.frob.com>
13157
95afbbe5
RM
13158 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13159 look for %.ac rather than %.in.
13160
13161 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13162 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13163 * sysdeps/mach/hurd/configure: Regenerated.
13164 * sysdeps/unix/sysv/linux/configure: Regenerated.
13165
7a1a51b5
RM
13166 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13167
5057ad3b
SE
131682014-05-07 Steve Ellcey <sellcey@mips.com>
13169
13170 [BZ# 16922]
13171 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13172 (LONG_SUB): Ditto.
13173 (PTR_SUB): Ditto.
13174
8dc97517
AS
131752014-05-07 Andreas Schwab <schwab@suse.de>
13176
13177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13178 when skipping over non-matching result from nscd.
13179
ce0c5b8f
OB
131802014-05-07 Ondřej Bílka <neleai@seznam.cz>
13181
13182 [BZ #16876]
13183 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13184
a1189263
OB
13185 [BZ #16877]
13186 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13187 nscd security class.
ce0c5b8f 13188
0f58d252
RM
131892014-05-06 Roland McGrath <roland@hack.frob.com>
13190
13191 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13192 * sysdeps/arm/unwind.h: ... here.
13193
83df9ad0
AJ
131942014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13195
ce0c5b8f
OB
13196 [BZ# 16916]
13197 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13198 Define.
83df9ad0 13199
f360f94a
VR
132002014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13201
13202 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13203 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13204 multiarch strncpy for PPC64.
13205 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13206 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13208 multiarch optimizations.
13209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13210 (__libc_ifunc_impl_list): Likewise.
13211 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13212 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13213 multiarch stpncpy for PPC64.
13214 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13215 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13216
978a41c3
AS
132172014-05-06 Andreas Schwab <schwab@suse.de>
13218
13219 [BZ #16912]
13220 * gmon/mcount.c (_MCOUNT_DECL): Use
13221 atomic_compare_and_exchange_bool_acq instead of
13222 catomic_compare_and_exchange_bool_acq.
13223
eb1ed03d
RM
132242014-05-05 Roland McGrath <roland@hack.frob.com>
13225
fe658845
RM
13226 * elf/Makefile (others, install-bin): Remove pldd.
13227 (pldd-modules): Variable removed.
13228 ($(objpfx)pldd): Target removed.
13229 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13230 (others, install-bin): Append pldd here.
13231 ($(objpfx)pldd): New target.
13232
eb1ed03d
RM
13233 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13234 to 0, so the first #if test emitted later doesn't see it undefined.
13235 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13236 * sysdeps/gnu/errlist.c: Regenerated.
13237
19c4bec0
AZ
132382014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13239
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13241 [libc_hidden_builtin_def]: Define to empty value.
13242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13243 [libc_hidden_builtin_def]: Likewise.
13244 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13245 [libc_hidden_builtin_def]: Likewise.
13246 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13247 [libc_hidden_builtin_def]: Likewise.
13248 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13249 __redirect_memcpy and define ifunc as default hidden symbol.
13250 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13251 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13252
7776e669
AC
132532014-05-04 Adam Conrad <adconrad@0c3.net>
13254
13255 * locale/iso-4217.def: Reintroduce XDR currency.
13256
d69aeb12
AM
132572014-05-04 Allan McRae <allan@archlinux.org>
13258
13259 * po/eo.po: Update Esperanto translation from translation project.
13260
8f1df5cf
CD
132612014-05-02 Carlos O'Donell <carlos@redhat.com>
13262
13263 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13264 and FEATURE_INDEX_MAX to 1.
13265 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13266
13e402e7
SE
132672014-05-01 Steve Ellcey <sellcey@mips.com>
13268
13269 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13270 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13271 * iconvdata/big5.c (ONE_DIRECTION): Define.
13272 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13273 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13274 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13275 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13276 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13277 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13278 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13279 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13280 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13281 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13282 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13283 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13284 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13285 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13286 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13287 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13288 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13289 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13290 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13291 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13292 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13293 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13294 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13295 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13296 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13297 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13298 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13299 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13300 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13301 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13302 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13303 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13304 * iconvdata/johab.c (ONE_DIRECTION): Define.
13305 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13306 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13307 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13308 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13309 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13310 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13311 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13312 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13313 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13314 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13315
c727f032
RM
133162014-05-01 Roland McGrath <roland@hack.frob.com>
13317
8f2f08d0
RM
13318 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13319 (_IO_JUMPS_OFFSET): Define to 0.
13320
c727f032
RM
13321 * nptl/sysdeps/pthread/bits/libc-lock.h
13322 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13323 (__libc_lock_define_initialized_recursive): Always define using
13324 initializer. Modern compilers treat uninitialized (implicit zero) and
13325 explicit zero initializers the same (i.e. put the datum in bss).
13326
a849e800
AS
133272014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13328
13329 * nscd/nscd-client.h: Include <string.h>.
13330
5331255b
DM
133312014-05-01 David S. Miller <davem@davemloft.net>
13332
13333 [BZ #16885]
13334 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13335 multiple zero bytes exist at the end of a string.
13336 Reported by Aurelien Jarno <aurelien@aurel32.net>
13337
13338 * string/test-strcmp.c (check): Add explicit test for situations where
13339 there are multiple zero bytes after the first.
13340
4fdfe821
AS
133412014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13342
13343 [BZ #16890]
13344 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13345 when compiling wprintf.
13346 * stdio-common/tstdiomisc.c (t3): New function.
13347 (main): Call it.
13348
0cdddc25
SE
133492014-05-01 Steve Ellcey <sellcey@mips.com>
13350
13351 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13352 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13353 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13354 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13355
6426d77e
SE
133562014-05-01 Steve Ellcey <sellcey@mips.com>
13357
13358 * stdlib/longlong.h: Updated from GCC.
13359
6d96f5e4
WN
133602014-05-01 Will Newton <will.newton@linaro.org>
13361 Bernard Ogden <bernie.ogden@linaro.org>
13362
7470db0c
WN
13363 * NEWS: Update fixed bug list.
13364
6d96f5e4
WN
13365 [BZ #15119]
13366 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13367
211d653c
DM
133682014-04-30 David S. Miller <davem@davemloft.net>
13369
4fa262fa
DM
13370 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13371 (libc_feholdexcept_setround_sparc_ctx): New function.
13372 (libc_fesetenv_sparc_ctx): Likewise.
13373 (libc_feupdateenv_sparc_ctx): Likewise.
13374 (libc_feholdsetround_sparc_ctx): Likewise.
13375 (libc_feholdexcept_setround_ctx): Define.
13376 (libc_feholdexcept_setroundf_ctx): Likewise.
13377 (libc_feholdexcept_setroundl_ctx): Likewise.
13378 (libc_fesetenv_ctx): Likewise.
13379 (libc_fesetenvf_ctx): Likewise.
13380 (libc_fesetenvl_ctx): Likewise.
13381 (libc_feupdateenv_ctx): Likewise.
13382 (libc_feupdateenvf_ctx): Likewise.
13383 (libc_feupdateenvl_ctx): Likewise.
13384 (libc_feresetround_ctx): Likewise.
13385 (libc_feresetroundf_ctx): Likewise.
13386 (libc_feresetroundl_ctx): Likewise.
13387 (libc_feholdsetround_ctx): Likewise.
13388 (libc_feholdsetroundf_ctx): Likewise.
13389 (libc_feholdsetroundl_ctx): Likewise.
13390
1d3d93ef
DM
13391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13392 with __USE_GNU instead of XOPEN cpp guards.
13393
8aa583c3
DM
13394 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13395 0.
13396
211d653c
DM
13397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13398 with XOPEN cpp guards.
13399
60c8f1f6
JB
134002014-04-30 Julian Brown <julian@codesourcery.com>
13401
13402 [BZ #16888]
13403 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13404 handling.
13405
9a461d46
JM
134062014-04-30 Joseph Myers <joseph@codesourcery.com>
13407
d0f5b3f8
JM
13408 [BZ #9894]
13409 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13410 Change to 2.6.32.
13411 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13412 * sysdeps/unix/sysv/linux/configure: Regenerated.
13413 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13414 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13415 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13416 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13417 * README: Update reference to required Linux kernel version.
13418 * manual/install.texi (Linux): Update reference to required Linux
13419 kernel headers version.
13420 * INSTALL: Regenerated.
13421
9a461d46
JM
13422 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13423 header inclusion.
13424 [POSIX] (limits.h): Likewise.
13425 [POSIX] (math.h): Likewise.
13426 [POSIX] (sys/wait.h): Likewise.
13427 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13428 function.
13429 [POSIX] (stddef.h): Do not allow header inclusion.
13430
1775babf
AZ
134312014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13432
57f41c40 13433 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13434
8f630cca
YY
134352014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13436
13437 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13438 Return immediately after lll_futex_wake.
13439
1cdeb237
SP
134402014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13441
bc8f194c
SP
13442 [BZ #16791]
13443 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13444 structure.
13445 (datahead_init_pos): Call datahead_init_common early.
13446 (datahead_init_neg): Likewise.
13447
1cdeb237
SP
13448 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13449 datahead_init_neg): New functions.
13450 * nscd/aicache.c (addhstaiX): Use them.
13451 * nscd/grpcache.c (cache_addgr): Likewise.
13452 * nscd/hstcache.c (cache_addhst): Likewise.
13453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13454 * nscd/netgroupcache.c (do_notfound): Likewise.
13455 (addgetnetgrentX): Likewise.
13456 (addinnetgrX): Likewise.
13457 * nscd/pwdcache.c (cache_addpw): Likewise.
13458 * nscd/servicescache.c (cache_addserv): Likewise.
13459
16b293a7
SP
134602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13461 Atsushi Onoe <atsushi@onoe.org>
13462
13463 [BZ #14308]
13464 [BZ #12994]
13465 [BZ #13651]
13466 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13467 one response is valid.
13468 * resolv/res_send.c (send_dg): Check for validity of other
13469 response if the current response is a referral.
13470
a28a9b94
SE
134712014-04-29 Steve Ellcey <sellcey@mips.com>
13472
13473 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13474
2ca180e9
SL
134752014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13476
13477 [BZ #16823]
13478 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13479 Always divide by positive zero when computing -Inf result.
13480 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13481 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13482
18f2945a
AZ
134832014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13484
13485 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13486 FPSCR if value do not change.
13487 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13488 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13489 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13490 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13491 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13492 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13493 function.
13494
5abebba4
CD
134952014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13496
13497 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13498 * sysdeps/unix/sysv/linux/hppa: Move directory from
13499 ports/systeps/unix/sysv/linux/hppa.
13500 * README: Update listing for hppa-*-linux-gnu.
13501
f7ed60c2
OB
135022014-04-28 Ondřej Bílka <neleai@seznam.cz>
13503
fff763a5
OB
13504 [BZ #16754]
13505 * manual/stdio.texi (Hook functions): Fix types of stream hook
13506 functions.
f7ed60c2
OB
13507 [BZ #16854]
13508 * socket/sys/socket.h: Fix typo in comment.
13509
df639d73
WD
135102014-04-28 Wilco <wdijkstr@arm.com>
13511
f7ed60c2 13512 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13513 * sysdeps/arm/math_private.h: New file.
13514 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13515
48332d82
L
135162014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13517
13518 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13519 with __int128_t.
13520 (La_x86_64_retval): Likewise.
13521
e5e0d9a4
IB
135222014-04-24 Ian Bolton <ian.bolton@arm.com>
13523
13524 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13525 fpsr if value didn't change.
13526 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13527 to fpcr if value didn't change.
13528 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13529 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13530 fpsr or fpcr if value didn't change.
13531 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13532 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13533 fpcr if value didn't change.
13534 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13535 to fpsr if value didn't change.
13536
bacc75f7
SP
135372014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13538
13539 * nptl/tst-sem3.c: Use test-skeleton.c
13540 (main): Rename to do_test. Use return instead of
13541 exit.
13542 * nptl/tst-sem4.c: Use test-skeleton.c
13543 (main): Rename to do_test.
13544
a059d359
DM
135452014-04-22 David S. Miller <davem@davemloft.net>
13546
13547 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13548 (struct sigaction): New struct member __glibc_reserved0, change
13549 type of sa_flags to int.
13550
ea6c92f3
YZ
135512014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13552
13553 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13554 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13555
766c4a36
SP
135562014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13557
13558 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13559 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13560
140cc7ab
VK
135612014-04-22 Will Newton <will.newton@linaro.org>
13562 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13563
13564 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13565 (__longjmp): Add longjmp and longjmp_target SystemTap
13566 probes.
13567 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13568 (__sigsetjmp): Add setjmp SystemTap probe.
13569
c54e5cf7
CD
135702014-04-17 Carlos O'Donell <carlos@redhat.com>
13571
13572 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13573 match manual order.
13574
75ffb047
AZ
135752014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13576
13577 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13578
2cd925f7
AZ
13579 * sysdeps/powerpc/fpu/fenv_private.h
13580 (libc_feholdexcept_setroundl_ctx): Define to
13581 libc_feholdexcept_setround_ppc_ctx.
13582 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13583 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13584 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13585 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13586
39e6cd8d
IB
135872014-04-17 Ian Bolton <ian.bolton@arm.com>
13588
13589 * sysdeps/aarch64/math-tests.h: New file.
13590
f9281df9
SY
135912014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13592
13593 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13594 New.
13595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13596 Check and set bit_AVX2_Usable.
13597 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13598 macro.
13599 (bit_AVX2): Likewise.
13600 (index_AVX2_Usable): Likewise.
13601 (CPUID_AVX2): Likewise.
13602 (HAS_AVX2): Likewise.
13603
37d35007
WN
136042014-04-17 Will Newton <will.newton@linaro.org>
13605
7c677662
WN
13606 * manual/setjmp.texi (System V contexts): Add note that
13607 calling setcontext on a context created by a call to a
13608 signal handler is undefined. Update text to note that
13609 setcontext from a signal handler is possible but not
13610 recommended.
13611
37d35007 13612 [BZ #16629]
e04a4e9d
WN
13613 * stdlib/tst-setcontext.c: Include signal.h.
13614 (main): Check that the signal stack before and
13615 after swapcontext is the same.
13616
37d35007
WN
13617 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13618 Re-implement to restore registers in user code and avoid
13619 rt_sigreturn system call.
13620
423a7160
W
136212014-04-17 Wilco <wdijkstr@arm.com>
13622
13623 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13624 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13625 * math/test-fenv.c: Skip exception trap tests on targets which only
13626 support non-stop mode.
13627
bc93ab29
IB
136282014-04-17 Ian Bolton <ian.bolton@arm.com>
13629 Wilco Dijkstra <wilco.dijkstra@arm.com>
13630
13631 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13632 (libc_feholdsetround_aarch64_ctx)
13633 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13634 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13635 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13636 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13637 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13638 (libc_feresetround_noexl_ctx): Define.
13639
95fc5fa3
RH
136402014-04-16 Richard Henderson <rth@redhat.com>
13641
ddb04724
RH
13642 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13643
d77c0899
RH
13644 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13645 unwind tables.
13646
a3df56fc
RH
13647 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13648 const from the non-libc, non-ldso copy.
13649
95fc5fa3
RH
13650 * sysdeps/alpha/libm-test-ulps: Regenerate.
13651
7e0b6763
IB
136522014-04-16 Ian Bolton <ian.bolton@arm.com>
13653 Wilco Dijkstra <wilco.dijkstra@arm.com>
13654
13655 * sysdeps/aarch64/fpu/math_private.h: New file.
13656
a9ea2e0c
MS
136572014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13658
13659 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13660
ea8ba7cd
IZ
136612014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13662
7e54fd04 13663 [BZ #16275]
ea8ba7cd
IZ
13664 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13665 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13667 Intel MPX bound registers before _dl_profile_fixup.
13668 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13669 registers after _dl_profile_fixup. Save and restore bound
13670 registers bnd0/bnd1 when calling _dl_call_pltexit.
13671 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13672 (LR_BND_OFFSET): Likewise.
13673 (LRV_BND0_OFFSET): Likewise.
13674 (LRV_BND1_OFFSET): Likewise.
13675
9f2a4fbc
ST
136762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13677
13678 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13679 to...
13680 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13681 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13682 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13683 fields.
9f2a4fbc 13684
fd15a59b
ST
136852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13686
13687 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13688
f19dfa0a
SL
136892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13690
13691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13692
4fa8bc3b
SL
136932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13694
13695 [BZ #14770]
13696 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13697 * sysdeps/s390/configure: Regenerate.
13698
8ea587db
SL
13699 [BZ #16824]
13700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13701 Set round-to-nearest internally to reduce error accumulation.
13702
aa5f0ff1
AM
137032014-04-16 Alan Modra <amodra@gmail.com>
13704
13705 [BZ #16740]
13706 [BZ #16619]
13707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13708 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13709 * NEWS: Update fixed bug list.
aa5f0ff1 13710
bb9c256f
SP
137112014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13712
13713 * benchtests/Makefile: Depend on libraries in build directory.
13714 (bench-math): Separate out math tests.
13715 (bench-pthread): Separate out pthread tests.
13716 (bench): Include math and pthread tests.
13717
f737dfd0
CD
137182014-04-14 Carlos O'Donell <carlos@redhat.com>
13719
13720 [BZ #16831]
13721 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13722 _dl_debug_initialize.
13723
0699f766
CD
13724 * configure.ac: Remove SELinux header check.
13725 * configure: Regenerate.
13726 * nscd/selinux.c (perms): Array of const char* to permission names.
13727 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13728 default policy. Call string_to_security_class and string_to_av_perm to
13729 translate strings. Enforce default policy and call avs_has_perm with
13730 results of translated strings.
13731
809bd45f
DM
137322014-04-13 David S. Miller <davem@davemloft.net>
13733
13734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13735
89e691f2
AM
137362014-04-12 Allan McRae <allan@archlinux.org>
13737
13738 [BZ #16838]
13739 * manual/string.texi (Collation Functions): Fix qsort argument
13740 order in example.
13741 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13742
9c9daaeb
CM
137432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13744
13745 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13746 Make the test a no-op if there are no exceptions defined.
13747
95561fb9
PP
137482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13749
fe8d072c 13750 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13751 enable-hardcoded-path-in-tests
13752
970c602a
WN
137532014-04-11 Will Newton <will.newton@linaro.org>
13754
13755 * benchtests/Makefile (extra-objs): Add json-lib.o.
13756 (bench-func): Tidy up JSON output.
13757 * benchtests/bench-skeleton.c: Include json-lib.h.
13758 (main): Use JSON library functions to do output of
13759 benchmark results.
13760 * benchtests/bench-timing-type.c (main): Output the
13761 timing type simply, leaving formatting to the user.
13762 * benchtests/json-lib.c: New file.
13763 * benchtests/json-lib.h: Likewise.
13764
36875b06
TR
137652014-04-11 Torvald Riegel <triegel@redhat.com>
13766
13767 [BZ #15215]
13768 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13769 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13770 memory barriers. Add comments.
13771 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13772 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13773 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13774 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13775 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13776 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13777
579db35a
SL
137782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13779
13780 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13781 * sysdeps/s390/s390-64/configure.ac: ... this ...
13782 * sysdeps/s390/configure.ac: ... to here.
13783 * sysdeps/s390/s390-32/configure: Delete file.
13784 * sysdeps/s390/s390-64/configure: Delete file.
13785 * sysdeps/s390/configure: Regenerate.
13786
c12e9f37
JAPH
137872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13788
13789 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13790
439bda32
WN
137912014-04-11 Will Newton <will.newton@linaro.org>
13792
13793 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13794 to zero if it is not defined elsewhere. (mtrim): Test
13795 the value of MALLOC_DEBUG with #if rather than #ifdef.
13796
6a5d6ea1
TR
137972014-04-10 Torvald Riegel <triegel@redhat.com>
13798
13799 * benchtests/pthread_once-inputs: New file.
13800 * benchtests/pthread_once-source.c: New file.
13801 * benchtests/README: Update documentation.
13802
a4c75cfd
IZ
138032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13804 H.J. Lu <hongjiu.lu@intel.com>
13805
7e54fd04 13806 [BZ #16275]
a4c75cfd
IZ
13807 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13808 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13809 * sysdeps/x86_64/configure: Regenerated.
13810 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13811 macro.
13812 (REGISTER_SAVE_RAX): Likewise.
13813 (REGISTER_SAVE_RCX): Likewise.
13814 (REGISTER_SAVE_RDX): Likewise.
13815 (REGISTER_SAVE_RSI): Likewise.
13816 (REGISTER_SAVE_RDI): Likewise.
13817 (REGISTER_SAVE_R8): Likewise.
13818 (REGISTER_SAVE_R9): Likewise.
13819 (REGISTER_SAVE_BND0): Likewise.
13820 (REGISTER_SAVE_BND1): Likewise.
13821 (REGISTER_SAVE_BND2): Likewise.
13822 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13823 bound registers when calling _dl_fixup.
13824
27822ce6
AZ
138252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13826
13827 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13828 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13829 of its definition.
27822ce6
AZ
13830 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13831 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13832 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13833 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13834 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13835 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13836 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13837
a88ddc90
PTB
138382014-04-09 Peter Brett <peter@peter-b.co.uk>
13839
13840 [BZ #15514]
13841 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13842 pathconf(_PC_NAME_MAX).
13843
01f8eac2
AZ
138442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13845
13846 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13847 Remove macro usage.
13848 (__PTHREAD_SPINS): Move definition to ...
13849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13850 (__PTHREAD_SPINS): ... here.
13851 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13852 (__PTHREAD_SPIN): Likewise.
13853 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13854 (__PTHREAD_SPIN): Likewise.
13855 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13856 (__PTHREAD_SPIN): Likewise.
13857 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13858 (__PTHREAD_SPIN): Likewise.
13859 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13860 (__PTHREAD_SPIN): Likewise.
13861 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13862 (__PTHREAD_SPIN): Likewise.
13863 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13864 (__PTHREAD_SPIN): Likewise.
13865 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13866 (__PTHREAD_SPIN): Likewise.
13867 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13868 (__PTHREAD_SPIN): Likewise.
13869 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13870 (__PTHREAD_SPIN): Likewise.
13871 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13872 (__PTHREAD_SPIN): Likewise.
13873 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13874 (__PTHREAD_SPIN): Likewise.
13875
de21c33c
AZ
13876 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13877 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13878 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13879 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13880 imply folder.
13881 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13882 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13883 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13884 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13885 correct imply path.
13886 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13887 strlen symbol for non multi-arch builds.
13888 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13889 missing hidden_def and weak_alias.
13890
862c472e
CD
138912014-04-08 Carlos O'Donell <carlos@redhat.com>
13892
13893 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13894
8667f90e
WN
138952014-04-07 Will Newton <will.newton@linaro.org>
13896
13897 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13898 and contents. [!_LIBC] Remove #ifndef and contents.
13899 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13900 * string/memccpy.c (__memccpy): Use ANSI prototype.
13901 * string/memfrob.c (memfrob): Likewise.
13902 * string/strcoll.c (STRCOLL): Likewise.
13903 * string/strlen.c (strlen): Likewise.
13904 * string/strtok.c (STRTOK): Likewise.
13905 * string/strcat.c: Remove unused #include of memcopy.h.
13906 (strcat): Use ANSI prototype.
13907 * string/strchr.c: Remove unused #include of memcopy.h.
13908 (strchr): Use ANSI prototype.
13909 * string/strcmp.c: Remove unused #include of memcopy.h.
13910 (strcmp): Use ANSI prototype.
13911 * string/strcpy.c: Remove unused #include of memcopy.h.
13912 (strcpy): Use ANSI prototype.
13913
7ffa9423
AZ
139142014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13915
13916 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13917 * config.make.in (config-extra-cppflags): Set it from
13918 libc_extra_cppflags.
13919 * configure.ac (libc_extra_cflags): Make it accumulate over
13920 configure fragments.
13921 (libc_extra_cppflags): New flag.
13922 * configure. Regenerate.
13923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13924 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13925 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13927
8bd70862
AZ
13928 [BZ #16815]
13929 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13930 result for FE_DOWNWARD rounding mode.
13931 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13932 Likewise.
13933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13934
d42f3448
CM
139352014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13936
13937 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13938 in function argument name.
13939
1c21d115
DS
139402014-04-03 David Svoboda <svoboda@cert.org>
13941
13942 [BZ #5666]
13943 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13944 explicitly.
13945
fcccd512
RM
139462014-04-03 Roland McGrath <roland@hack.frob.com>
13947
13948 * elf/dl-unmap-segments.h: New file.
13949 * sysdeps/generic/ldsodefs.h
13950 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13951 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13952 * elf/dl-fptr.c: Likewise.
13953 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13954 * sysdeps/aarch64/tlsdesc.c: Likewise.
13955 * sysdeps/arm/tlsdesc.c: Likewise.
13956 * sysdeps/i386/tlsdesc.c: Likewise.
13957 * sysdeps/tile/dl-runtime.c: Likewise.
13958 * sysdeps/x86_64/tlsdesc.c: Likewise.
13959 * elf/dl-load.h: New file.
13960 * elf/dl-load.c: Include it.
13961 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13962 Macros moved to dl-load.h.
13963 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13964 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13965 Use _dl_unmap_segments in place of __munmap.
13966 Break out segment-mapping loop into ...
13967 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13968
f6488e2b
WN
139692014-04-03 Will Newton <will.newton@linaro.org>
13970
13971 * elf/dl-lookup.c (do_lookup_x): Remove comment
13972 referring to nested function and move variable
13973 declarations down to before first use.
13974
6f05bafe
JM
139752014-04-02 Joseph Myers <joseph@codesourcery.com>
13976
a84e78c8
JM
13977 [BZ #16799]
13978 [BZ #16800]
13979 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13980 with 0 numerator.
13981 * math/s_catanf.c (__catanf): Likewise.
13982 * math/s_catanh.c (__catanh): Likewise.
13983 * math/s_catanhf.c (__catanhf): Likewise.
13984 * math/s_catanhl.c (__catanhl): Likewise.
13985 * math/s_catanl.c (__catanl): Likewise.
13986 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13987 by positive zero when computing -Inf result.
13988 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13989 (catanh_test): Likewise.
13990 * sysdeps/i386/fpu/libm-test-ulps: Update.
13991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13992
6f05bafe
JM
13993 [BZ #16789]
13994 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13995 instead of using underflowing value in computing result.
13996 * math/s_clog10.c (__clog10): Likewise.
13997 * math/s_clog10f.c (__clog10f): Likewise.
13998 * math/s_clog10l.c (__clog10l): Likewise.
13999 * math/s_clogf.c (__clogf): Likewise.
14000 * math/s_clogl.c (__clogl): Likewise.
14001 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14002 (clog10_test): Likewise.
14003 * sysdeps/i386/fpu/libm-test-ulps: Update.
14004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14005
b0abbc21
AM
140062014-04-02 Alan Modra <amodra@gmail.com>
14007
14008 [BZ #16739]
14009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14010 output when value is near a power of two. Use int64_t for lx and
14011 remove casts. Use decimal rather than hex exponent constants.
14012 Don't use long double multiplication when double will suffice.
14013 * math/libm-test.inc (nextafter_test_data): Add tests.
14014 * NEWS: Add 16739 and 16786 to bug list.
14015
af6b1797
AM
14016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14017
483818d7
AM
14018 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14019
f6c55796
WN
140202014-04-01 Will Newton <will.newton@linaro.org>
14021
14022 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14023 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14024
13f7fe35
FW
140252014-04-01 Florian Weimer <fweimer@redhat.com>
14026
14027 [BZ #13347]
14028 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14029 * nptl/tst-setuid2.c: New file.
14030 * nptl/Makefile (xtests): Add tst-setuid2.
14031
c859b32e
AM
140322014-04-01 Alan Modra <amodra@gmail.com>
14033
14034 [BZ #16786]
14035 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14036
54fa2475
JM
140372014-03-31 Joseph Myers <joseph@codesourcery.com>
14038
8795b4a4
JM
14039 [BZ #6803]
14040 [BZ #6804]
14041 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14042 set errno as appropriate.
14043 * math/w_scalbf.c (__scalbf): Likewise.
14044 * math/w_scalbl.c (__scalbl): Likewise.
14045 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14046 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14047 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14048 Add more NaN tests.
14049
54fa2475
JM
14050 [BZ #16349]
14051 * math/w_atan2.c: Include <errno.h>.
14052 (__atan2): Set errno for result underflowing to zero.
14053 * math/w_atan2f.c: Include <errno.h>.
14054 (__atan2f): Set errno for result underflowing to zero.
14055 * math/w_atan2l.c: Include <errno.h>.
14056 (__atan2l): Set errno for result underflowing to zero.
14057 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14058 tests.
14059 * math/auto-libm-test-out: Regenerated.
14060
757d9dd5
AZ
140612014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14062
14063 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14064 Encode instruction correctly in little endian.
14065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14066 Likewise.
14067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14068 Likewise.
14069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14070 Likewise.
14071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14072 Likewise.
14073
d7a68734
JM
140742014-03-31 Joseph Myers <joseph@codesourcery.com>
14075
47c5adeb
JM
14076 [BZ #9894]
14077 * sysdeps/unix/sysv/linux/kernel-features.h
14078 [__sparc__ && !__arch64__ && !__sparc_v9__]
14079 (__ASSUME_SET_ROBUST_LIST): Do not define.
14080 [__sparc__ && !__arch64__ && !__sparc_v9__]
14081 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14082 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14083 Likewise.
14084 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14085 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14086 (__ASSUME_REQUEUE_PI): Likewise.
14087 (__ASSUME_SET_ROBUST_LIST): Likewise.
14088 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14089 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14090 Undefine.
14091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14092 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14093 Likewise.
14094 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14095 Likewise.
14096 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14097 Likewise.
14098 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14099 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14100 Undefine.
14101 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14102 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14103 Likewise.
14104
d7a68734
JM
14105 [BZ #16648]
14106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14107 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14108 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14109
c760f5c2
WN
141102014-03-31 Will Newton <will.newton@linaro.org>
14111
14112 * benchtests/Makefile (bench): Add ffs and ffsll to list
14113 of tests.
14114 * benchtests/ffs-inputs: New file.
14115 * benchtests/ffsll-inputs: Likewise.
14116
ea6029b1
JM
141172014-03-29 Joseph Myers <joseph@codesourcery.com>
14118
14119 [BZ #16770]
14120 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14121 too large before casting to int.
14122 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14123 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14124 * math/libm-test.inc (scalb_test_data): Add more tests.
14125
cf806aff
SP
141262014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14127
56737508
SP
14128 * benchtests/Makefile (DETAILED_OPT): New make option.
14129 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14130 set.
14131 * benchtests/bench-skeleton.c: Include stdbool.h.
14132 (main): Store and print timings per input.
14133 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14134 member to each argument value.
14135 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14136 (_print_arg_data): Initialize per-input timing to 0.
14137
cb5e4aad
SP
14138 * benchtests/Makefile (timing-type): New binary.
14139 (bench-clean): Also remove bench-timing-type.
14140 (bench): New target for timing-type.
14141 (bench-func): Print output in JSON format.
14142 * benchtests/bench-skeleton.c (main): Print output in JSON
14143 format.
14144 * benchtests/bench-timing-type.c: New file.
14145 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14146 (TIMING_PRINT_STATS): Remove.
14147 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14148 name separately.
14149
cf806aff
SP
14150 * benchtests/bench-modf.c: Remove.
14151 * benchtests/modf-inputs: New inputs file.
14152
289e0779
JM
141532014-03-28 Joseph Myers <joseph@codesourcery.com>
14154
14155 [BZ #16362]
14156 * math/s_clog10.c (M_PI_LOG10E): New macro.
14157 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14158 imaginary parts are 0.
14159 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14160 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14161 imaginary parts are 0.
14162 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14163 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14164 imaginary parts are 0.
14165 * math/libm-test.inc (clog10_test_data): Update expected results
14166 for when real and imaginary parts are 0.
14167
277ae3f1
PP
141682014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14169
14170 * elf/dl-load.c: Finish conversion of __builtin_expect into
14171 __glibc_{un}likely.
14172
03a7091f
JM
141732014-03-27 Joseph Myers <joseph@codesourcery.com>
14174
14175 [BZ #16348]
14176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14177 1+x for argument with exponent below -67.
14178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14179 Likewise.
14180 * math/auto-libm-test-in: Add more tests of exp.
14181 * math/auto-libm-test-out: Regenerated.
14182
ea7d8b95
SP
141832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14184
dd3022d7
SP
14185 [BZ #16759]
14186 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14187 (nscd_getnetgrent): Use it.
14188
ea7d8b95
SP
14189 [BZ #16760]
14190 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14191 of stpcpy.
14192
df5b85da
AK
141932014-03-27 Andi Kleen <ak@linux.intel.com>
14194
57f41c40
AS
14195 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14196 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14197 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14198 (lll_robust_unlock): Remove out of line section. Use cfi
14199 intrinsics.
df5b85da 14200 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14201 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14202 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14203 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14204 (lll_robust_unlock): Remove out of line section. Use cfi
14205 intrinsics.
df5b85da
AK
14206 (LLL_STUB_UNWIND_INFO*): Remove.
14207
fbd6b5a4
SP
142082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14209
14210 [BZ #16758]
14211 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14212 blank values.
14213
1b26b855
PP
142142014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14215
14216 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14217
9be36fb8
JM
142182014-03-26 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #16198]
14221 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14222 fnstenv.
14223 * math/test-fenv-preserve.c: New file.
14224 * math/Makefile (tests): Add test-fenv-preserve.
14225
60a2f3c1
WN
142262014-03-26 Will Newton <will.newton@linaro.org>
14227
14228 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14229
a5e5f1e2
RM
142302014-03-25 Roland McGrath <roland@hack.frob.com>
14231
14232 * scripts/versionlist.awk: Partition the version sets and emit all
14233 GLIBC_* (sorted) before all others (sorted).
14234
00f4012a
JM
142352014-03-25 Joseph Myers <joseph@codesourcery.com>
14236
14237 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14238 GLIBC_2.2.5 version.
14239
7bc5a741
AZ
142402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14241
14242 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14243 calls.
14244
7578473b
AZ
14245 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14246 previous change.
14247
f3f1dab3
AZ
14248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14249
6da36183
AS
142502014-03-25 Andreas Schwab <schwab@suse.de>
14251
14252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14253 label to be used after in6ailist is initialized.
14254
f3f1dab3 142552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14256
7578473b 14257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14258 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14259
046651c1
JM
142602014-03-25 Joseph Myers <joseph@codesourcery.com>
14261
14262 [BZ #16357]
14263 [BZ #16599]
14264 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14265 min_plus_half.
14266 (fp_formats): Update initializers.
14267 (init_fp_formats): Initialize new field.
14268 (output_for_one_input_case): Allow underflow for results up to
14269 min_plus_half.
14270 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14271 * math/auto-libm-test-in: Don't mark some underflows from asin and
14272 atanh as spurious.
14273 * math/auto-libm-test-out: Regenerated.
14274 * sysdeps/i386/fpu/libm-test-ulps: Update.
14275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14276
003e49ed
AS
142772014-03-25 Andreas Schwab <schwab@suse.de>
14278
14279 * libio/Makefile (tst-ftell-partial-wide-ENV)
14280 (tst-ftell-active-handler-ENV): Define.
14281
de031874
SL
142822014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14283
14284 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14285
55a81e3b
PP
142862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14287
14288 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14289
f3426898
JM
142902014-03-24 Joseph Myers <joseph@codesourcery.com>
14291
14292 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14293 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14294 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14295
a42faf59
PP
142962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14297
14298 [BZ #16634]
a42faf59 14299 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14300 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14301 (open_path): Change from boolean 'secure' to complete flag 'mode'
14302 (_dl_map_object): Adjust.
a42faf59
PP
14303 * elf/Makefile (tests): Add tst-dlopen-aout.
14304 * elf/tst-dlopen-aout.c: New test.
14305
50936127
SL
143062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14307
14308 [BZ #16714]
14309 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14310 (struct stat): Rename member pad0 to __glibc_reserved0.
14311
26011b5c
SL
14312 [BZ #16712]
14313 * sysdeps/s390/s390-32/bits/wordsize.h
14314 (__WORDSIZE32_SIZE_ULONG): New define.
14315 * sysdeps/s390/s390-64/bits/wordsize.h
14316 (__WORDSIZE32_SIZE_ULONG): Likewise.
14317 * sysdeps/generic/stdint.h (SIZE_MAX):
14318 Define as UL if __WORDSIZE32_SIZE_ULONG.
14319
a2d86bf1
SL
14320 [BZ #16713]
14321 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14322 (__glibc_reserved0): New variable.
14323 (sa_flags): Change type to int.
14324
78b6eebc
SL
14325 * posix/Makefile (before-compile): Use += before-compile instead
14326 of a :=.
14327
f1399b5a
SL
14328 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14329 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14330
a071766e
AS
143312014-03-20 Andreas Schwab <schwab@suse.de>
14332
14333 [BZ #16743]
14334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14335 non-matching result from nscd.
14336
27c673b8
SP
143372014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14338
14339 * scripts/bench.py: Moved to ...
14340 * benchtests/scripts/bench.py: ... here.
14341 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14342
44152e4b
AS
143432014-03-24 Andreas Schwab <schwab@suse.de>
14344
14345 [BZ #16002]
14346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14347 alloca_account and account alloca use for struct in6ailist.
14348
b376a11a
JM
143492014-03-24 Joseph Myers <joseph@codesourcery.com>
14350
14351 [BZ #16284]
14352 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14353 rounding mode to recompute results that overflow to infinity or
14354 underflow to zero.
14355 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14356 bug 16284.
14357 * math/auto-libm-test-out: Regenerated.
14358 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14359 (ccosh_test): Likewise.
14360 (csin_test_data): Use plus_oflow.
14361 (csin_test): Use ALL_RM_TEST.
14362 (csinh_test_data): Use plus_oflow.
14363 (csinh_test): Use ALL_RM_TEST.
14364 * sysdeps/i386/fpu/libm-test-ulps: Update.
14365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14366
f7be7376
JM
143672014-03-21 Joseph Myers <joseph@codesourcery.com>
14368
1ca2d03e
JM
14369 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14370 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14371 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14372
f7be7376
JM
14373 [BZ #16731]
14374 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14375 when x - 1 is zero.
14376 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14377 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14378 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14380 argument is 1.
14381 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14382 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14383 zero.
14384 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14385 * sysdeps/i386/fpu/libm-test-ulps: Update.
14386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14387
fdf4534d
SP
143882014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14389
df26ea53
SP
14390 * scripts/bench.pl: Remove file.
14391 * scripts/bench.py: New benchmark script.
14392 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14393 * benchtests/README: Mention python dependency.
14394 * scripts/pylintrc: New file.
14395 * scripts/pylint: New file.
14396
fdf4534d
SP
14397 * bits/mathdef.h: Use #ifdef instead of #if.
14398 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14399 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14400 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14401 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14402 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14403 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14404
6f23d093
AZ
144052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14406 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14407
14408 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14410 and strpbrk-ppc64 objects.
14411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14412 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14413 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14414 multiarch strpbrk for POWER7.
14415 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14416 multiarch strpbrk for PPC64.
14417 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14418 ifunc selector.
14419 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14420 strpbrk for POWER7.
14421
8c92dfff
JM
144222014-03-20 Joseph Myers <joseph@codesourcery.com>
14423
14424 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14425 (atan_test): Likewise.
14426 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14427 (atanh_test): Use ALL_RM_TEST.
14428 (atan2_test_data): Likewise.
14429 (cabs_test): Likewise.
14430 (cacosh_test): Likewise.
14431 (carg_test): Likewise.
14432 (casin_test): Likewise.
14433 (casinh_test): Likewise.
14434 (cbrt_test): Likewise.
14435 (csqrt_test): Likewise.
14436 (erf_test): Likewise.
14437 (erfc_test): Likewise.
14438 (pow10_test): Likewise.
14439 (exp2_test): Likewise.
14440 (hypot_test): Likewise.
14441 (j0_test): Likewise.
14442 (j1_test): Likewise.
14443 (lgamma_test): Likewise.
14444 (gamma_test): Likewise.
14445 (sincos_test): Likewise.
14446 (tanh_test): Likewise.
14447 (y0_test): Likewise.
14448 (y1_test): Likewise.
14449 * sysdeps/i386/fpu/libm-test-ulps: Update.
14450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451
6eaf95cb
AZ
144522014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14453
a387428c
SP
14454 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14456 and strcspn-ppc64 objects.
14457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14458 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14459 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14460 multiarch strcspn for POWER7.
14461 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14462 multiarch strcspn for PPC64.
14463 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14464 ifunc selector.
14465 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14466 strcspn for POWER7.
14467
ae3a5dff
JM
144682014-03-20 Joseph Myers <joseph@codesourcery.com>
14469
14470 * math/gen-libm-test.pl (generate_testfile): Expect only function
14471 name as argument to AUTO_TESTS_* and pass results for all rounding
14472 modes to parse_args.
14473 (parse_auto_input): Separate inputs of automatic tests from
14474 outputs before storing in %auto_tests.
14475 * math/libm-test.inc (acos_test_data): Update call to
14476 AUTO_TESTS_f_f.
14477 (acos_test): Use ALL_RM_TEST.
14478 (acos_tonearest_test_data): Remove.
14479 (acos_test_tonearest): Likewise.
14480 (acos_towardzero_test_data): Likewise.
14481 (acos_test_towardzero): Likewise.
14482 (acos_downward_test_data): Likewise.
14483 (acos_test_downward): Likewise.
14484 (acos_upward_test_data): Likewise.
14485 (acos_test_upward): Likewise.
14486 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14487 (asin_test_data): Likewise.
14488 (asin_test): Use ALL_RM_TEST.
14489 (asin_tonearest_test_data): Remove.
14490 (asin_test_tonearest): Likewise.
14491 (asin_towardzero_test_data): Likewise.
14492 (asin_test_towardzero): Likewise.
14493 (asin_downward_test_data): Likewise.
14494 (asin_test_downward): Likewise.
14495 (asin_upward_test_data): Likewise.
14496 (asin_test_upward): Likewise.
14497 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14498 (atan_test_data): Likewise.
14499 (atanh_test_data): Likewise.
14500 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14501 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14502 (carg_test_data): Likewise.
14503 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14504 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14505 (ccosh_test_data): Likewise.
14506 (cexp_test_data): Likewise.
14507 (clog_test_data): Likewise.
14508 (clog10_test_data): Likewise.
14509 (cos_test_data): Update call to AUTO_TESTS_f_f.
14510 (cos_test): Use ALL_RM_TEST.
14511 (cos_tonearest_test_data): Remove.
14512 (cos_test_tonearest): Likewise.
14513 (cos_towardzero_test_data): Likewise.
14514 (cos_test_towardzero): Likewise.
14515 (cos_downward_test_data): Likewise.
14516 (cos_test_downward): Likewise.
14517 (cos_upward_test_data): Likewise.
14518 (cos_test_upward): Likewise.
14519 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14520 (cosh_test): Use ALL_RM_TEST.
14521 (cosh_tonearest_test_data): Remove.
14522 (cosh_test_tonearest): Likewise.
14523 (cosh_towardzero_test_data): Likewise.
14524 (cosh_test_towardzero): Likewise.
14525 (cosh_downward_test_data): Likewise.
14526 (cosh_test_downward): Likewise.
14527 (cosh_upward_test_data): Likewise.
14528 (cosh_test_upward): Likewise.
14529 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14530 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14531 (ctan_test_data): Likewise.
14532 (ctan_test): Use ALL_RM_TEST.
14533 (ctan_tonearest_test_data): Remove.
14534 (ctan_test_tonearest): Likewise.
14535 (ctan_towardzero_test_data): Likewise.
14536 (ctan_test_towardzero): Likewise.
14537 (ctan_downward_test_data): Likewise.
14538 (ctan_test_downward): Likewise.
14539 (ctan_upward_test_data): Likewise.
14540 (ctan_test_upward): Likewise.
14541 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14542 (ctanh_test): Use ALL_RM_TEST.
14543 (ctanh_tonearest_test_data): Remove.
14544 (ctanh_test_tonearest): Likewise.
14545 (ctanh_towardzero_test_data): Likewise.
14546 (ctanh_test_towardzero): Likewise.
14547 (ctanh_downward_test_data): Likewise.
14548 (ctanh_test_downward): Likewise.
14549 (ctanh_upward_test_data): Likewise.
14550 (ctanh_test_upward): Likewise.
14551 (erf_test_data): Update call to AUTO_TESTS_f_f.
14552 (erfc_test_data): Likewise.
14553 (exp_test_data): Likewise.
14554 (exp_test): Use ALL_RM_TEST.
14555 (exp_tonearest_test_data): Remove.
14556 (exp_test_tonearest): Likewise.
14557 (exp_towardzero_test_data): Likewise.
14558 (exp_test_towardzero): Likewise.
14559 (exp_downward_test_data): Likewise.
14560 (exp_test_downward): Likewise.
14561 (exp_upward_test_data): Likewise.
14562 (exp_test_upward): Likewise.
14563 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14564 (exp10_test): Use ALL_RM_TEST.
14565 (exp10_tonearest_test_data): Remove.
14566 (exp10_test_tonearest): Likewise.
14567 (exp10_towardzero_test_data): Likewise.
14568 (exp10_test_towardzero): Likewise.
14569 (exp10_downward_test_data): Likewise.
14570 (exp10_test_downward): Likewise.
14571 (exp10_upward_test_data): Likewise.
14572 (exp10_test_upward): Likewise.
14573 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14574 (expm1_test_data): Likewise.
14575 (expm1_test): Use ALL_RM_TEST.
14576 (expm1_tonearest_test_data): Remove.
14577 (expm1_test_tonearest): Likewise.
14578 (expm1_towardzero_test_data): Likewise.
14579 (expm1_test_towardzero): Likewise.
14580 (expm1_downward_test_data): Likewise.
14581 (expm1_test_downward): Likewise.
14582 (expm1_upward_test_data): Likewise.
14583 (expm1_test_upward): Likewise.
14584 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14585 (fma_test): Use ALL_RM_TEST.
14586 (fma_towardzero_test_data): Remove.
14587 (fma_test_towardzero): Likewise.
14588 (fma_downward_test_data): Likewise.
14589 (fma_test_downward): Likewise.
14590 (fma_upward_test_data): Likewise.
14591 (fma_test_upward): Likewise.
14592 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14593 (j0_test_data): Update call to AUTO_TESTS_f_f.
14594 (j1_test_data): Likewise.
14595 (jn_test_data): Update call to AUTO_TESTS_if_f.
14596 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14597 (log_test_data): Update call to AUTO_TESTS_f_f.
14598 (log10_test_data): Likewise.
14599 (log1p_test_data): Likewise.
14600 (log2_test_data): Likewise.
14601 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14602 (pow_tonearest_test_data): Likewise.
14603 (sin_test_data): Update call to AUTO_TESTS_f_f.
14604 (sin_test): Use ALL_RM_TEST.
14605 (sin_tonearest_test_data): Remove.
14606 (sin_test_tonearest): Likewise.
14607 (sin_towardzero_test_data): Likewise.
14608 (sin_test_towardzero): Likewise.
14609 (sin_downward_test_data): Likewise.
14610 (sin_test_downward): Likewise.
14611 (sin_upward_test_data): Likewise.
14612 (sin_test_upward): Likewise.
14613 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14614 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14615 (sinh_test): Use ALL_RM_TEST.
14616 (sinh_tonearest_test_data): Remove.
14617 (sinh_test_tonearest): Likewise.
14618 (sinh_towardzero_test_data): Likewise.
14619 (sinh_test_towardzero): Likewise.
14620 (sinh_downward_test_data): Likewise.
14621 (sinh_test_downward): Likewise.
14622 (sinh_upward_test_data): Likewise.
14623 (sinh_test_upward): Likewise.
14624 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14625 (sqrt_test): Use ALL_RM_TEST.
14626 (sqrt_tonearest_test_data): Remove.
14627 (sqrt_test_tonearest): Likewise.
14628 (sqrt_towardzero_test_data): Likewise.
14629 (sqrt_test_towardzero): Likewise.
14630 (sqrt_downward_test_data): Likewise.
14631 (sqrt_test_downward): Likewise.
14632 (sqrt_upward_test_data): Likewise.
14633 (sqrt_test_upward): Likewise.
14634 (tan_test_data): Update call to AUTO_TESTS_f_f.
14635 (tan_test): Use ALL_RM_TEST.
14636 (tan_tonearest_test_data): Remove.
14637 (tan_test_tonearest): Likewise.
14638 (tan_towardzero_test_data): Likewise.
14639 (tan_test_towardzero): Likewise.
14640 (tan_downward_test_data): Likewise.
14641 (tan_test_downward): Likewise.
14642 (tan_upward_test_data): Likewise.
14643 (tan_test_upward): Likewise.
14644 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14645 (tgamma_test_data): Likewise.
14646 (y0_test_data): Likewise.
14647 (y1_test_data): Likewise.
14648 (yn_test_data): Update call to AUTO_TESTS_if_f.
14649 (main): Do not call removed functions.
14650
d71aeee8
JM
146512014-03-19 Joseph Myers <joseph@codesourcery.com>
14652
14653 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14654 (ldexp_test_data): Remove.
14655 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14656 scalbn_test_data.
14657 (scalb_test): Use ALL_RM_TEST.
14658
baaf1ded
AS
146592014-03-19 Andreas Schwab <schwab@suse.de>
14660
14661 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14662
b1115e91
JM
146632014-03-19 Joseph Myers <joseph@codesourcery.com>
14664
14665 [BZ #16649]
14666 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14667 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14668 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14670 (__ASSUME_PREADV): Undefine.
14671 (__ASSUME_PWRITEV): Likewise.
14672
0283ecca
RM
146732014-03-18 Roland McGrath <roland@hack.frob.com>
14674
7d375303
RM
14675 * bits/mman-linux.h: Add comment about non-Linux use.
14676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14677 bits/mman-linux.h resting place.
14678
0283ecca
RM
14679 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14680 * bits/mman-linux.h: ... here.
14681
aebe1003
AZ
146822014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14683
14684 * conform/conformtest.pl: Add standard definition when calling C
14685 preprocessor on data files.
14686 (checknamespace): Remove unused variable.
14687
b29b6bb8
JM
146882014-03-18 Joseph Myers <joseph@codesourcery.com>
14689
14690 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14691 minus_oflow, plus_uflow and minus_uflow in expected results.
14692 * math/libm-test.inc (scalbn_test_data): Add more tests of
14693 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14694 minus_uflow.
14695 (scalbn_test): Use ALL_RM_TEST.
14696 (scalbln_test_data): Add more tests of negative arguments. Use
14697 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14698 (scalbln_test): Use ALL_RM_TEST.
14699
c8f8fa15
RM
147002014-03-18 Roland McGrath <roland@hack.frob.com>
14701
14702 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14703
fede7a5f
WN
147042014-03-18 Will Newton <will.newton@linaro.org>
14705
14706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14707 inaccurate comment.
14708
80cf0a58
JM
147092014-03-18 Joseph Myers <joseph@codesourcery.com>
14710
14711 * Makerules [!subdir] (check-abi): Exit with error status if a
14712 test failed.
14713
b3620862
JM
147142014-03-17 Joseph Myers <joseph@codesourcery.com>
14715
14716 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14717 for rint. Include results for all rounding modes.
14718 (nearbyint_test): Use ALL_RM_TEST.
14719 (rint_test_data): Include all tests used for nearbyint.
14720
788bba36
WN
147212014-03-17 Will Newton <will.newton@linaro.org>
14722
04ec140a
WN
14723 * nptl/sysdeps/pthread/pthread.h: Revert previous
14724 change.
14725
7579d8d5
WN
14726 * sysdeps/generic/ldsodefs.h: Revert previous
14727 change.
14728
c15cf13a
WN
14729 * libio/genops.c: Revert previous change.
14730 * libio/libioP.h: Likewise.
14731 * stdio-common/vfprintf.c: Likewise.
14732
d0ac1324
WN
14733 * sysdeps/generic/math_private.h: Revert previous
14734 change.
14735
9290130a
WN
14736 * sysdeps/generic/math_private.h: Check whether
14737 HAVE_RM_CTX is defined with #ifdef rather
14738 than #if.
14739
afb466fc
WN
14740 * argp/argp-fmtstream.h: Check whether
14741 __STRICT_ANSI__ is defined with #ifdef rather
14742 than #if.
14743 * argp/argp.h: Likewise.
14744
f7efd7c3
WN
14745 * libio/genops.c: Check whether
14746 _IO_JUMPS_OFFSET is defined with #ifdef rather
14747 than #if.
14748 * libio/libioP.h: Likewise.
14749 * stdio-common/vfprintf.c: Likewise.
14750
53f1bed3
WN
14751 * sysdeps/generic/ldsodefs.h: Check whether
14752 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14753 than #if.
14754
788bba36
WN
14755 * nptl/sysdeps/pthread/pthread.h: Check
14756 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14757 its value.
14758
fcd89ebe
SP
147592014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14760
ae42bbc5
SP
14761 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14762 setting O_APPEND.
14763 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14764 test case.
14765
ea33158c
SP
14766 [BZ #16680]
14767 * libio/fileops.c (_IO_file_open): Seek to end of file but
14768 don't cache the offset.
14769 (get_file_offset): Remove function.
14770 (do_ftell): Use cached offset when available.
14771 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14772 don't cache the offset.
14773 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14774 case.
14775 (do_one_test): Call it.
14776 (do_ftell_test): Fix up expected old offset for a+ mode.
14777 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14778 available.
14779
b1dbb426
SP
14780 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14781 up test status with function return status.
14782 (do_write_test): Likewise.
14783 (do_append_test): Likewise.
14784
fcd89ebe
SP
14785 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14786 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14787 Remove.
14788
9962a2d3
JM
147892014-03-17 Joseph Myers <joseph@codesourcery.com>
14790
14791 * math/gen-libm-test.pl (parse_args): Handle results specified for
14792 each rounding mode separately.
14793 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14794 tests and results from lrint_tonearest_test_data,
14795 lrint_towardzero_test_data, lrint_downward_test_data and
14796 lrint_upward_test_data.
14797 (lrint_test): Use ALL_RM_TEST.
14798 (lrint_tonearest_test_data): Remove.
14799 (lrint_test_tonearest): Likewise.
14800 (lrint_towardzero_test_data): Likewise.
14801 (lrint_test_towardzero): Likewise.
14802 (lrint_downward_test_data): Likewise.
14803 (lrint_test_downward): Likewise.
14804 (lrint_upward_test_data): Likewise.
14805 (lrint_test_upward): Likewise.
14806 (llrint_test_data): Merge in per-rounding-mode tests and results
14807 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14808 llrint_downward_test_data and llrint_upward_test_data.
14809 (llrint_test): Use ALL_RM_TEST.
14810 (llrint_tonearest_test_data): Remove.
14811 (llrint_test_tonearest): Likewise.
14812 (llrint_towardzero_test_data): Likewise.
14813 (llrint_test_towardzero): Likewise.
14814 (llrint_downward_test_data): Likewise.
14815 (llrint_test_downward): Likewise.
14816 (llrint_upward_test_data): Likewise.
14817 (llrint_test_upward): Likewise.
14818 (rint_test_data): Merge in per-rounding-mode tests and results
14819 from rint_tonearest_test_data, rint_towardzero_test_data,
14820 rint_downward_test_data and rint_upward_test_data. Add
14821 per-rounding-mode results for tests not in those arrays.
14822 (rint_test): Use ALL_RM_TEST.
14823 (rint_tonearest_test_data): Remove.
14824 (rint_test_tonearest): Likewise.
14825 (rint_towardzero_test_data): Likewise.
14826 (rint_test_towardzero): Likewise.
14827 (rint_downward_test_data): Likewise.
14828 (rint_test_downward): Likewise.
14829 (rint_upward_test_data): Likewise.
14830 (rint_test_upward): Likewise.
14831 (main): Don't call removed functions.
14832
5006148e
RM
148332014-03-14 Roland McGrath <roland@hack.frob.com>
14834
14835 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14836 "Compiled on ..." crapola. It is anti-useful.
14837
d6fe5e58
JM
148382014-03-14 Joseph Myers <joseph@codesourcery.com>
14839
14840 * scripts/evaluate-test.sh: Handle fourth argument to determine
14841 whether test run should stop on failure.
14842 * Makeconfig (stop-on-test-failure): New variable.
14843 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14844 $(stop-on-test-failure).
14845 * Makefile (tests): Give a summary of results from testing and
14846 exit with failure status if they include an ERROR or FAIL.
14847 (xtests): Likewise.
14848 * manual/install.texi (Configuring and compiling): Mention
14849 stop-on-test-failure=y.
14850 * INSTALL: Regenerated.
14851
498a2233
RM
148522014-03-14 Roland McGrath <roland@hack.frob.com>
14853
22dbc19d
RM
14854 * scripts/versionlist.awk: New file.
14855 * Makerules [$(build-shared) = yes]
14856 (postclean-generated): Add Versions.def, not Versions.def.v and
14857 Versions.def.v.i.
14858 ($(common-objpfx)Versions.def.v.i): Target removed.
14859 ($(common-objpfx)Versions.def): New target.
14860 ($(common-objpfx)Versions.all): Depend on that rather that
14861 $(common-objpfx)Versions.def.v.
14862 * Versions.def: File removed.
14863
498a2233
RM
14864 * Makeconfig (+gccwarn): Add -Wundef.
14865 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14866 a dl-sysdep.h breaking its contract.
14867 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14868 * include/stackinfo.h: New file.
14869 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14870 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14871 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14872 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14873 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14874 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14875 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14876 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14877 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14878 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14879 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14880 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14881 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14882 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14883 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14884
c7de5025
AZ
148852014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14886
14887 [BZ #16707]
14888 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14889 implementation.
14890 * math/libm-test.inc (round_test_data): Add more tests.
14891
98fb27a3
AZ
14892 [BZ #16706]
14893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14894 implementation.
14895 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14896
374f7f61
AZ
14897 [BZ #16701]
14898 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14899 implementation.
14900 * math/libm-test.inc (ceil_test_data): Add more tests.
14901
4655c291
AZ
14902 * math/libm-test.inc (trunc_test_data): Add more tests related to
14903 BZ#16414.
14904
d7329d4b
RM
149052014-03-14 Roland McGrath <roland@hack.frob.com>
14906
14907 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14908 with #if rather than #ifdef.
14909 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14910
aa4de9ce
L
149112014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14912
14913 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14914 first. Disable AVX-512 GCC support if assembler doesn't support
14915 it.
14916 * sysdeps/x86_64/configure: Regenerated.
14917
2e03fae7
CD
149182014-03-13 Carlos O'Donell <carlos@redhat.com>
14919
14920 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14921 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14922 (__old_pthread_attr_setstack): Likewise.
14923 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14924 [!_STACK_GROWS_DOWN]: Likewise.
14925
43ca83ec
MF
149262014-03-13 Mike Frysinger <vapier@gentoo.org>
14927
14928 * config.make.in (have-bash2): Delete.
14929 * configure.ac (libc_cv_have_bash2): Delete.
14930 * configure: Regenerate.
14931 * elf/Makefile (common-ldd-rewrite): Rename to ...
14932 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14933 (sh-ldd-rewrite): Delete.
14934 (bash-ldd-rewrite): Delete.
14935 (have-bash2): Delete checks.
57f41c40
AS
14936 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14937 ldd-rewrite.
c66e48b4
MF
14938
14939 * config.make.in (have-ksh): Delete.
14940 (KSH): Delete.
14941 * configure.ac (libc_cv_have_ksh): Delete.
14942 * configure: Regenerate.
14943
b93834ef
MF
14944 * elf/Makefile: Delete $(have-ksh) check.
14945 ($(objpfx)sotruss): Change KSH to BASH.
14946 * elf/sotruss.ksh: Rename to ...
14947 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14948 function style to match POSIX. Drop ksh vim mode setting.
14949
f3a4632a
MF
14950 * manual/time.texi (Specifying the Time Zone with TZ): Change
14951 Tuesday to Thursday.
14952
5896c8bd
MF
14953 * debug/tst-longjmp_chk2.c: Update header comment.
14954 (stackoverflow_handler): Add comment. Call assert on pass value.
14955
2d63a517
IZ
149562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14957
7e54fd04 14958 [BZ #16194]
2d63a517
IZ
14959 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14960 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14961 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14962 (La_x86_64_vector): Add zmm.
14963 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14964 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14965 ($(objpfx)tst-audit10): New target.
14966 ($(objpfx)tst-audit10.out): Likewise.
14967 (tst-audit10-ENV): New.
14968 (AVX512-CFLAGS): Likewise.
14969 (CFLAGS-tst-audit10.c): Likewise.
14970 (CFLAGS-tst-auditmod10a.c): Likewise.
14971 (CFLAGS-tst-auditmod10b.c): Likewise.
14972 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14973 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14974 * sysdeps/x86_64/configure: Regenerated.
14975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14976 AVX-512 zmm register support.
14977 (_dl_x86_64_save_sse): Likewise.
14978 (_dl_x86_64_restore_sse): Likewise.
14979 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14980 size vector registers.
14981 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14982 (ZMM_SIZE): Likewise.
14983 * sysdeps/x86_64/tst-audit10.c: New file.
14984 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14985 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14986
44c4e5d5
RM
149872014-03-13 Roland McGrath <roland@hack.frob.com>
14988
14989 * configure.ac (HAVE_EHDR_START): New check.
14990 * configure: Regenerated.
14991 * config.h.in (HAVE_EHDR_START): New #undef.
14992 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14993 assuming the lowest-addressed segment maps the start of the file.
14994
acd6e389
JM
149952014-03-13 Joseph Myers <joseph@codesourcery.com>
14996
14997 * INSTALL: Regenerated.
14998
6f918f36
WN
149992014-03-13 Will Newton <will.newton@linaro.org>
15000
15001 * manual/setjmp.texi (System V contexts): Improve
15002 clarity and grammar of documentation.
15003
798212a0
PP
150042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15005
15006 [BZ #16381]
798212a0 15007 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15008 (tests-pie): Add tst-pie2.
798212a0
PP
15009 * elf/tst-pie2.c: New file.
15010 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15011 for ET_EXEC.
15012 * elf/rtld.c (map_doit): Load executable as lt_executable.
15013 (dl_main): Likewise.
15014
abe6d90c
JM
150152014-03-12 Joseph Myers <joseph@codesourcery.com>
15016
15017 [BZ #16642]
15018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15019 (__ASSUME_PSELECT): Undefine.
15020
dd3946c6
AZ
150212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15022
15023 [BZ #16689]
15024 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15025 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15026 static build.
15027 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15028 selector for static builds.
15029
c44496df
SP
150302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15031
15032 [BZ #16695]
15033 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15034 key in the buffer.
15035
27c7220a
AZ
150362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15037
57f41c40
AS
15038 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15039 IFUNC selector for static builds.
27c7220a 15040
600fa361
JM
150412014-03-11 Joseph Myers <joseph@codesourcery.com>
15042
76c96cf7
JM
15043 * sysdeps/mips/math_private.h [__mips_hard_float]
15044 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15045 libc_feresetround_mips_ctx.
15046 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15047 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15048 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15049
600fa361
JM
15050 [BZ #16677]
15051 * math/s_nextafter.c (__nextafter): Do not return value from
15052 overflowing computation.
15053 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15054 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15055 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15056 Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15058 Likewise.
15059 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15060 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15061
d7706c32
RM
150622014-03-11 Roland McGrath <roland@hack.frob.com>
15063
15064 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15065 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15066 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15067 the new mov targetting sp.
15068
4facea47
AZ
150692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15070
15071 [BZ #16683]
15072 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15073 Define it for static builds as well.
15074 (NO_BZERO_IMPL): Likewise.
15075
e65caf1f
VR
150762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15077
15078 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15079 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15080 multiarch strspn for PPC64.
15081 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15082 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15084 (__libc_ifunc_impl_list): Likewise.
15085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15086 multiarch optimizations
15087 * string/strspn.c (strspn): Using macro to redefine symbol name.
15088
ba9cc071
AZ
150892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15090 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15091
15092 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15093 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15094 multiarch strncat for PPC64.
15095 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15096 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15098 (__libc_ifunc_impl_list): Likewise.
15099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15100 multiarch optimizations
15101
8b4ff974
SP
151022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15103
15104 [BZ #16639]
15105 * nscd/nscd.service: Make service type forking.
15106
54b46a4b
AZ
151072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15108
15109 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15110 sign in non default rounding modes.
15111 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15112
e9996ef7
JM
151132014-03-08 Joseph Myers <joseph@codesourcery.com>
15114
15115 * math/libm-test.inc (ALL_RM_TEST): New macro.
15116 (ceil_test): Use ALL_RM_TEST.
15117 (cimag_test): Likewise.
15118 (conj_test): Likewise.
15119 (copysign_test): Likewise.
15120 (cproj_test): Likewise.
15121 (creal_test): Likewise.
15122 (fabs_test): Likewise.
15123 (floor_test): Likewise.
15124 (fmax_test): Likewise.
15125 (fmin_test): Likewise.
15126 (fmod_test): Likewise.
15127 (fpclassify_test): Likewise.
15128 (frexp_test): Likewise.
15129 (ilogb_test): Likewise.
15130 (isfinite_test): Likewise.
15131 (finite_test): Likewise.
15132 (isgreater_test): Likewise.
15133 (isgreaterequal_test): Likewise.
15134 (isinf_test): Likewise.
15135 (isless_test): Likewise.
15136 (islessequal_test): Likewise.
15137 (islessgreater_test): Likewise.
15138 (isnan_test): Likewise.
15139 (isnormal_test): Likewise.
15140 (issignaling_test): Likewise.
15141 (isunordered_test): Likewise.
15142 (logb_test): Likewise.
15143 (logb_downward_test_data): Remove.
15144 (logb_test_downward): Likewise.
15145 (lround_test): Use ALL_RM_TEST.
15146 (llround_test): Likewise.
15147 (modf_test): Likewise.
15148 (nexttoward_test): Likewise.
15149 (remainder_test): Likewise.
15150 (drem_test): Likewise.
15151 (remainder_tonearest_test_data): Likewise.
15152 (remainder_test_tonearest): Likewise.
15153 (drem_test_tonearest): Likewise.
15154 (remainder_towardzero_test_data): Likewise.
15155 (remainder_test_towardzero): Likewise.
15156 (drem_test_towardzero): Likewise.
15157 (remainder_downward_test_data): Likewise.
15158 (remainder_test_downward): Likewise.
15159 (drem_test_downward): Likewise.
15160 (remainder_upward_test_data): Likewise.
15161 (remainder_test_upward): Likewise.
15162 (drem_test_upward): Likewise.
15163 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15164 (round_test): Use ALL_RM_TEST.
15165 (signbit_test): Likewise.
15166 (trunc_test): Likewise.
15167 (significand_test): Likewise.
15168 (main): Don't call removed functions.
15169
bc61d27c
JM
151702014-03-07 Joseph Myers <joseph@codesourcery.com>
15171
5c780849
JM
15172 [BZ #16674]
15173 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15174 || __USE_XOPEN2K8].
15175 (ILL_ILLOPN): Likewise.
15176 (ILL_ILLADR): Likewise.
15177 (ILL_ILLTRP): Likewise.
15178 (ILL_PRVOPC): Likewise.
15179 (ILL_PRVREG): Likewise.
15180 (ILL_COPROC): Likewise.
15181 (ILL_BADSTK): Likewise.
15182 (FPE_INTDIV): Likewise.
15183 (FPE_INTOVF): Likewise.
15184 (FPE_FLTDIV): Likewise.
15185 (FPE_FLTOVF): Likewise.
15186 (FPE_FLTUND): Likewise.
15187 (FPE_FLTRES): Likewise.
15188 (FPE_FLTINV): Likewise.
15189 (FPE_FLTSUB): Likewise.
15190 (SEGV_MAPERR): Likewise.
15191 (SEGV_ACCERR): Likewise.
15192 (BUS_ADRALN): Likewise.
15193 (BUS_ADRERR): Likewise.
15194 (BUS_OBJERR): Likewise.
15195 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15196 (TRAP_TRACE): Likewise.
15197 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15198 __USE_XOPEN2K8].
15199 (CLD_KILLED): Likewise.
15200 (CLD_DUMPED): Likewise.
15201 (CLD_TRAPPED): Likewise.
15202 (CLD_STOPPED): Likewise.
15203 (CLD_CONTINUED): Likewise.
15204 (POLL_IN): Likewise.
15205 (POLL_OUT): Likewise.
15206 (POLL_MSG): Likewise.
15207 (POLL_ERR): Likewise.
15208 (POLL_PRI): Likewise.
15209 (POLL_HUP): Likewise.
15210 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15211 Likewise.
15212 (ILL_ILLOPN): Likewise.
15213 (ILL_ILLADR): Likewise.
15214 (ILL_ILLTRP): Likewise.
15215 (ILL_PRVOPC): Likewise.
15216 (ILL_PRVREG): Likewise.
15217 (ILL_COPROC): Likewise.
15218 (ILL_BADSTK): Likewise.
15219 (FPE_INTDIV): Likewise.
15220 (FPE_INTOVF): Likewise.
15221 (FPE_FLTDIV): Likewise.
15222 (FPE_FLTOVF): Likewise.
15223 (FPE_FLTUND): Likewise.
15224 (FPE_FLTRES): Likewise.
15225 (FPE_FLTINV): Likewise.
15226 (FPE_FLTSUB): Likewise.
15227 (SEGV_MAPERR): Likewise.
15228 (SEGV_ACCERR): Likewise.
15229 (BUS_ADRALN): Likewise.
15230 (BUS_ADRERR): Likewise.
15231 (BUS_OBJERR): Likewise.
15232 (BUS_MCEERR_AR): Likewise.
15233 (BUS_MCEERR_AO): Likewise.
15234 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15235 (TRAP_TRACE): Likewise.
15236 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15237 __USE_XOPEN2K8].
15238 (CLD_KILLED): Likewise.
15239 (CLD_DUMPED): Likewise.
15240 (CLD_TRAPPED): Likewise.
15241 (CLD_STOPPED): Likewise.
15242 (CLD_CONTINUED): Likewise.
15243 (POLL_IN): Likewise.
15244 (POLL_OUT): Likewise.
15245 (POLL_MSG): Likewise.
15246 (POLL_ERR): Likewise.
15247 (POLL_PRI): Likewise.
15248 (POLL_HUP): Likewise.
15249 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15250 (ILL_ILLOPN): Likewise.
15251 (ILL_ILLADR): Likewise.
15252 (ILL_ILLTRP): Likewise.
15253 (ILL_PRVOPC): Likewise.
15254 (ILL_PRVREG): Likewise.
15255 (ILL_COPROC): Likewise.
15256 (ILL_BADSTK): Likewise.
15257 (FPE_INTDIV): Likewise.
15258 (FPE_INTOVF): Likewise.
15259 (FPE_FLTDIV): Likewise.
15260 (FPE_FLTOVF): Likewise.
15261 (FPE_FLTUND): Likewise.
15262 (FPE_FLTRES): Likewise.
15263 (FPE_FLTINV): Likewise.
15264 (FPE_FLTSUB): Likewise.
15265 (SEGV_MAPERR): Likewise.
15266 (SEGV_ACCERR): Likewise.
15267 (BUS_ADRALN): Likewise.
15268 (BUS_ADRERR): Likewise.
15269 (BUS_OBJERR): Likewise.
15270 (BUS_MCEERR_AR): Likewise.
15271 (BUS_MCEERR_AO): Likewise.
15272 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15273 (TRAP_TRACE): Likewise.
15274 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15275 __USE_XOPEN2K8].
15276 (CLD_KILLED): Likewise.
15277 (CLD_DUMPED): Likewise.
15278 (CLD_TRAPPED): Likewise.
15279 (CLD_STOPPED): Likewise.
15280 (CLD_CONTINUED): Likewise.
15281 (POLL_IN): Likewise.
15282 (POLL_OUT): Likewise.
15283 (POLL_MSG): Likewise.
15284 (POLL_ERR): Likewise.
15285 (POLL_PRI): Likewise.
15286 (POLL_HUP): Likewise.
15287 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15288 Likewise.
15289 (ILL_ILLOPN): Likewise.
15290 (ILL_ILLADR): Likewise.
15291 (ILL_ILLTRP): Likewise.
15292 (ILL_PRVOPC): Likewise.
15293 (ILL_PRVREG): Likewise.
15294 (ILL_COPROC): Likewise.
15295 (ILL_BADSTK): Likewise.
15296 (ILL_BADIADDR): Likewise.
15297 (ILL_BREAK): Likewise.
15298 (FPE_INTDIV): Likewise.
15299 (FPE_INTOVF): Likewise.
15300 (FPE_FLTDIV): Likewise.
15301 (FPE_FLTOVF): Likewise.
15302 (FPE_FLTUND): Likewise.
15303 (FPE_FLTRES): Likewise.
15304 (FPE_FLTINV): Likewise.
15305 (FPE_FLTSUB): Likewise.
15306 (FPE_DECOVF): Likewise.
15307 (FPE_DECDIV): Likewise.
15308 (FPE_DECERR): Likewise.
15309 (FPE_INVASC): Likewise.
15310 (FPE_INVDEC): Likewise.
15311 (SEGV_MAPERR): Likewise.
15312 (SEGV_ACCERR): Likewise.
15313 (SEGV_PSTKOVF): Likewise.
15314 (BUS_ADRALN): Likewise.
15315 (BUS_ADRERR): Likewise.
15316 (BUS_OBJERR): Likewise.
15317 (BUS_MCEERR_AR): Likewise.
15318 (BUS_MCEERR_AO): Likewise.
15319 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15320 (TRAP_TRACE): Likewise.
15321 (TRAP_BRANCH): Likewise.
15322 (TRAP_HWBKPT): Likewise.
15323 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15324 __USE_XOPEN2K8].
15325 (CLD_KILLED): Likewise.
15326 (CLD_DUMPED): Likewise.
15327 (CLD_TRAPPED): Likewise.
15328 (CLD_STOPPED): Likewise.
15329 (CLD_CONTINUED): Likewise.
15330 (POLL_IN): Likewise.
15331 (POLL_OUT): Likewise.
15332 (POLL_MSG): Likewise.
15333 (POLL_ERR): Likewise.
15334 (POLL_PRI): Likewise.
15335 (POLL_HUP): Likewise.
15336 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15337 (ILL_ILLOPN): Likewise.
15338 (ILL_ILLADR): Likewise.
15339 (ILL_ILLTRP): Likewise.
15340 (ILL_PRVOPC): Likewise.
15341 (ILL_PRVREG): Likewise.
15342 (ILL_COPROC): Likewise.
15343 (ILL_BADSTK): Likewise.
15344 (FPE_INTDIV): Likewise.
15345 (FPE_INTOVF): Likewise.
15346 (FPE_FLTDIV): Likewise.
15347 (FPE_FLTOVF): Likewise.
15348 (FPE_FLTUND): Likewise.
15349 (FPE_FLTRES): Likewise.
15350 (FPE_FLTINV): Likewise.
15351 (FPE_FLTSUB): Likewise.
15352 (SEGV_MAPERR): Likewise.
15353 (SEGV_ACCERR): Likewise.
15354 (BUS_ADRALN): Likewise.
15355 (BUS_ADRERR): Likewise.
15356 (BUS_OBJERR): Likewise.
15357 (BUS_MCEERR_AR): Likewise.
15358 (BUS_MCEERR_AO): Likewise.
15359 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15360 (TRAP_TRACE): Likewise.
15361 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15362 __USE_XOPEN2K8].
15363 (CLD_KILLED): Likewise.
15364 (CLD_DUMPED): Likewise.
15365 (CLD_TRAPPED): Likewise.
15366 (CLD_STOPPED): Likewise.
15367 (CLD_CONTINUED): Likewise.
15368 (POLL_IN): Likewise.
15369 (POLL_OUT): Likewise.
15370 (POLL_MSG): Likewise.
15371 (POLL_ERR): Likewise.
15372 (POLL_PRI): Likewise.
15373 (POLL_HUP): Likewise.
15374 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15375 (ILL_ILLOPN): Likewise.
15376 (ILL_ILLADR): Likewise.
15377 (ILL_ILLTRP): Likewise.
15378 (ILL_PRVOPC): Likewise.
15379 (ILL_PRVREG): Likewise.
15380 (ILL_COPROC): Likewise.
15381 (ILL_BADSTK): Likewise.
15382 (FPE_INTDIV): Likewise.
15383 (FPE_INTOVF): Likewise.
15384 (FPE_FLTDIV): Likewise.
15385 (FPE_FLTOVF): Likewise.
15386 (FPE_FLTUND): Likewise.
15387 (FPE_FLTRES): Likewise.
15388 (FPE_FLTINV): Likewise.
15389 (FPE_FLTSUB): Likewise.
15390 (SEGV_MAPERR): Likewise.
15391 (SEGV_ACCERR): Likewise.
15392 (BUS_ADRALN): Likewise.
15393 (BUS_ADRERR): Likewise.
15394 (BUS_OBJERR): Likewise.
15395 (BUS_MCEERR_AR): Likewise.
15396 (BUS_MCEERR_AO): Likewise.
15397 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15398 (TRAP_TRACE): Likewise.
15399 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15400 __USE_XOPEN2K8].
15401 (CLD_KILLED): Likewise.
15402 (CLD_DUMPED): Likewise.
15403 (CLD_TRAPPED): Likewise.
15404 (CLD_STOPPED): Likewise.
15405 (CLD_CONTINUED): Likewise.
15406 (POLL_IN): Likewise.
15407 (POLL_OUT): Likewise.
15408 (POLL_MSG): Likewise.
15409 (POLL_ERR): Likewise.
15410 (POLL_PRI): Likewise.
15411 (POLL_HUP): Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15413 (ILL_ILLOPN): Likewise.
15414 (ILL_ILLADR): Likewise.
15415 (ILL_ILLTRP): Likewise.
15416 (ILL_PRVOPC): Likewise.
15417 (ILL_PRVREG): Likewise.
15418 (ILL_COPROC): Likewise.
15419 (ILL_BADSTK): Likewise.
15420 (FPE_INTDIV): Likewise.
15421 (FPE_INTOVF): Likewise.
15422 (FPE_FLTDIV): Likewise.
15423 (FPE_FLTOVF): Likewise.
15424 (FPE_FLTUND): Likewise.
15425 (FPE_FLTRES): Likewise.
15426 (FPE_FLTINV): Likewise.
15427 (FPE_FLTSUB): Likewise.
15428 (SEGV_MAPERR): Likewise.
15429 (SEGV_ACCERR): Likewise.
15430 (BUS_ADRALN): Likewise.
15431 (BUS_ADRERR): Likewise.
15432 (BUS_OBJERR): Likewise.
15433 (BUS_MCEERR_AR): Likewise.
15434 (BUS_MCEERR_AO): Likewise.
15435 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15436 (TRAP_TRACE): Likewise.
15437 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15438 __USE_XOPEN2K8].
15439 (CLD_KILLED): Likewise.
15440 (CLD_DUMPED): Likewise.
15441 (CLD_TRAPPED): Likewise.
15442 (CLD_STOPPED): Likewise.
15443 (CLD_CONTINUED): Likewise.
15444 (POLL_IN): Likewise.
15445 (POLL_OUT): Likewise.
15446 (POLL_MSG): Likewise.
15447 (POLL_ERR): Likewise.
15448 (POLL_PRI): Likewise.
15449 (POLL_HUP): Likewise.
15450 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15451 (ILL_ILLOPN): Likewise.
15452 (ILL_ILLADR): Likewise.
15453 (ILL_ILLTRP): Likewise.
15454 (ILL_PRVOPC): Likewise.
15455 (ILL_PRVREG): Likewise.
15456 (ILL_COPROC): Likewise.
15457 (ILL_BADSTK): Likewise.
15458 (ILL_DBLFLT): Likewise.
15459 (ILL_HARDWALL): Likewise.
15460 (FPE_INTDIV): Likewise.
15461 (FPE_INTOVF): Likewise.
15462 (FPE_FLTDIV): Likewise.
15463 (FPE_FLTOVF): Likewise.
15464 (FPE_FLTUND): Likewise.
15465 (FPE_FLTRES): Likewise.
15466 (FPE_FLTINV): Likewise.
15467 (FPE_FLTSUB): Likewise.
15468 (SEGV_MAPERR): Likewise.
15469 (SEGV_ACCERR): Likewise.
15470 (BUS_ADRALN): Likewise.
15471 (BUS_ADRERR): Likewise.
15472 (BUS_OBJERR): Likewise.
15473 (BUS_MCEERR_AR): Likewise.
15474 (BUS_MCEERR_AO): Likewise.
15475 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15476 (TRAP_TRACE): Likewise.
15477 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15478 __USE_XOPEN2K8].
15479 (CLD_KILLED): Likewise.
15480 (CLD_DUMPED): Likewise.
15481 (CLD_TRAPPED): Likewise.
15482 (CLD_STOPPED): Likewise.
15483 (CLD_CONTINUED): Likewise.
15484 (POLL_IN): Likewise.
15485 (POLL_OUT): Likewise.
15486 (POLL_MSG): Likewise.
15487 (POLL_ERR): Likewise.
15488 (POLL_PRI): Likewise.
15489 (POLL_HUP): Likewise.
15490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15491 (ILL_ILLOPN): Likewise.
15492 (ILL_ILLADR): Likewise.
15493 (ILL_ILLTRP): Likewise.
15494 (ILL_PRVOPC): Likewise.
15495 (ILL_PRVREG): Likewise.
15496 (ILL_COPROC): Likewise.
15497 (ILL_BADSTK): Likewise.
15498 (FPE_INTDIV): Likewise.
15499 (FPE_INTOVF): Likewise.
15500 (FPE_FLTDIV): Likewise.
15501 (FPE_FLTOVF): Likewise.
15502 (FPE_FLTUND): Likewise.
15503 (FPE_FLTRES): Likewise.
15504 (FPE_FLTINV): Likewise.
15505 (FPE_FLTSUB): Likewise.
15506 (SEGV_MAPERR): Likewise.
15507 (SEGV_ACCERR): Likewise.
15508 (BUS_ADRALN): Likewise.
15509 (BUS_ADRERR): Likewise.
15510 (BUS_OBJERR): Likewise.
15511 (BUS_MCEERR_AR): Likewise.
15512 (BUS_MCEERR_AO): Likewise.
15513 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15514 (TRAP_TRACE): Likewise.
15515 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15516 __USE_XOPEN2K8].
15517 (CLD_KILLED): Likewise.
15518 (CLD_DUMPED): Likewise.
15519 (CLD_TRAPPED): Likewise.
15520 (CLD_STOPPED): Likewise.
15521 (CLD_CONTINUED): Likewise.
15522 (POLL_IN): Likewise.
15523 (POLL_OUT): Likewise.
15524 (POLL_MSG): Likewise.
15525 (POLL_ERR): Likewise.
15526 (POLL_PRI): Likewise.
15527 (POLL_HUP): Likewise.
15528 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15529 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15530
bc61d27c
JM
15531 [BZ #16670]
15532 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15533 before #include of <time.h>.
15534 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15535 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15536 (test-xfail-UNIX98/sched.h/conform): Likewise.
15537
302949e2
MS
155382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15539
15540 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15541 error absence of trapping exception support.
15542 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15543
a00f522a
JM
155442014-03-07 Joseph Myers <joseph@codesourcery.com>
15545
6f99f280
JM
15546 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15547 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15548 * timezone/Makefile (testdata): Move definition above include of
15549 Rules.
15550 (test-zones): New variable.
15551 (tests-special): Add zone files.
15552 (build-testdata): Use $(evaluate-test).
15553
0b20a9e8
JM
15554 * elf/Makefile (tests-special): Rename tests to end with .out.
15555 ($(objpfx)noload-mem): Likewise.
15556 ($(objpfx)tst-leaks1-mem): Likewise.
15557 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15558 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15559 $(objpfx)test-iconvconfig.out.
15560 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15561 set -e inside subshell and redirect output to file.
15562 * iconvdata/Makefile (generated): Rename tests to end with .out.
15563 Correct type.
15564 (tests-special): Rename tests to end with .out.
15565 ($(objpfx)mtrace-tst-loading): Likewise.
15566 * intl/Makefile (generated): Likewise.
15567 (tests-special): Likewise.
15568 ($(objpfx)mtrace-tst-gettext): Likewise.
15569 * misc/Makefile (generated): Likewise.
15570 (tests-special): Likewise.
15571 ($(objpfx)tst-error1-mem): Likewise.
15572 * nptl/Makefile (tests-special): Likewise.
15573 ($(objpfx)tst-stack3-mem): Likewise.
15574 (generated): Likewise.
15575 * posix/Makefile (generated): Likewise.
15576 (tests-special): Likewise.
15577 (xtests-special): Likewise.
15578 ($(objpfx)tst-fnmatch-mem): Likewise.
15579 ($(objpfx)bug-regex2-mem): Likewise.
15580 ($(objpfx)bug-regex14-mem): Likewise.
15581 ($(objpfx)bug-regex21-mem): Likewise.
15582 ($(objpfx)bug-regex31-mem): Likewise.
15583 ($(objpfx)tst-vfork3-mem): Likewise.
15584 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15585 ($(objpfx)tst-pcre-mem): Likewise.
15586 ($(objpfx)tst-boost-mem): Likewise.
15587 ($(objpfx)bug-ga2-mem): Likewise.
15588 ($(objpfx)bug-glob2-mem): Likewise.
15589 * resolv/Makefile (generate): Likewise.
15590 (tests-special): Likewise.
15591 (xtests-special): Likewise.
15592 (generated): Likewise.
15593 ($(objpfx)mtrace-tst-leaks): Likewise.
15594 ($(objpfx)mtrace-tst-leaks2): Likewise.
15595
265d52ab
JM
15596 * scripts/merge-test-results.sh: New file.
15597 * Makefile (tests-special-notdir): New variable.
15598 (tests): Run merge-test-results.sh.
15599 (xtests): Likewise.
15600 * Rules (tests-special-notdir): New variable.
15601 (xtests-special-notdir): Likewise.
15602 (tests): Run merge-test-results.sh
15603 (xtests): Likewise.
15604
54ee292d
JM
15605 * Makeconfig (test-xfail-name): New variable.
15606 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15607 compute variable name for expected failures.
15608 * conform/Makefile (conformtest-headers-data): New variable.
15609 (conformtest-standards): Likewise.
15610 (conformtest-headers-ISO): Likewise.
15611 (conformtest-headers-ISO99): Likewise.
15612 (conformtest-headers-ISO11): Likewise.
15613 (conformtest-headers-POSIX): Likewise.
15614 (conformtest-headers-XPG3): Likewise.
15615 (conformtest-headers-XPG4): Likewise.
15616 (conformtest-headers-UNIX98): Likewise.
15617 (conformtest-headers-XOPEN2K): Likewise.
15618 (conformtest-headers-POSIX2008): Likewise.
15619 (conformtest-headers-XOPEN2K8): Likewise.
15620 (conformtest-header-list-base): Likewise.
15621 (conformtest-header-list-tests): Likewise.
15622 (conformtest-header-base): Likewise.
15623 (conformtest-header-tests): Likewise.
15624 (tests-special): Add $(conformtest-header-list-tests). If
15625 [$(fast-check) && !$(cross-compiling)], add
15626 $(conformtest-header-tests) instead of
15627 $(objpfx)run-conformtest.out.
15628 (generated): Add $(conformtest-header-list-base). If
15629 [$(fast-check) && !$(cross-compiling)], add
15630 $(conformtest-header-base). Remove previous setting.
15631 ($(conformtest-header-list-tests)): New target.
15632 (test-xfail-run-conformtest): Remove variable.
15633 ($(objpfx)run-conformtest.out): Remove target.
15634 (test-xfail-ISO11/complex.h/conform): New variable.
15635 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15636 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15637 (test-xfail-XPG3/varargs.h/conform): Likewise.
15638 (test-xfail-XPG4/varargs.h/conform): Likewise.
15639 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15640 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15641 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15642 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15643 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15644 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15645 (test-xfail-XPG3/ftw.h/conform): Likewise.
15646 (test-xfail-XPG3/grp.h/conform): Likewise.
15647 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15648 (test-xfail-XPG3/limits.h/conform): Likewise.
15649 (test-xfail-XPG3/pwd.h/conform): Likewise.
15650 (test-xfail-XPG3/search.h/conform): Likewise.
15651 (test-xfail-XPG3/signal.h/conform): Likewise.
15652 (test-xfail-XPG3/stdio.h/conform): Likewise.
15653 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15654 (test-xfail-XPG3/string.h/conform): Likewise.
15655 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15656 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15657 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15658 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15659 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15660 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15661 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15662 (test-xfail-XPG3/termios.h/conform): Likewise.
15663 (test-xfail-XPG3/time.h/conform): Likewise.
15664 (test-xfail-XPG3/unistd.h/conform): Likewise.
15665 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15666 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15667 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15668 (test-xfail-XPG4/netdb.h/conform): Likewise.
15669 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15670 (test-xfail-XPG4/signal.h/conform): Likewise.
15671 (test-xfail-XPG4/stdio.h/conform): Likewise.
15672 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15673 (test-xfail-XPG4/stropts.h/conform): Likewise.
15674 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15675 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15676 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15677 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15678 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15679 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15680 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15681 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15682 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15683 (test-xfail-XPG4/termios.h/conform): Likewise.
15684 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15685 (test-xfail-XPG4/unistd.h/conform): Likewise.
15686 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15687 (test-xfail-POSIX/sched.h/conform): Likewise.
15688 (test-xfail-POSIX/signal.h/conform): Likewise.
15689 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15690 (test-xfail-POSIX/tar.h/conform): Likewise.
15691 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15692 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15693 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15694 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15695 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15696 (test-xfail-UNIX98/sched.h/conform): Likewise.
15697 (test-xfail-UNIX98/signal.h/conform): Likewise.
15698 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15699 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15700 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15701 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15702 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15703 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15704 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15705 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15706 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15707 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15708 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15709 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15710 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15711 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15712 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15713 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15714 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15715 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15716 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15717 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15718 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15719 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15720 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15721 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15722 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15723 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15724 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15725 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15726 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15727 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15728 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15729 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15730 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15731 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15732 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15733 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15734 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15735 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15736 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15737 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15738 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15739 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15740 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15741 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15742 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15743 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15744 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15745 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15746 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15747 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15748 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15749 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15750 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15751 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15752 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15753 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15754 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15755 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15756 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15757 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15758 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15759 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15760 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15761 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15762 (conformtest-cc-flags): Likewise.
15763 ($(conformtest-header-tests): New target.
15764 * conform/check-header-lists.sh: New file.
15765 * conform/run-conformtest.sh: Remove.
15766
a00f522a
JM
15767 * conform/conformtest.pl: Allow ' and \ in values given for
15768 constants.
15769 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15770 inclusion.
15771 [POSIX] (sys/types.h): Likewise.
15772 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15773 inclusion.
15774 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15775 inclusion.
15776 * conform/data/signal.h-data (SIGIO): Remove expectation.
15777 [XPG3] (SIGBUS): Do not expect.
15778 [POSIX || XPG3] (SIGPOLL): Likewise.
15779 [POSIX || XPG3] (SIGPROF): Likewise.
15780 [POSIX || XPG3] (SIGSYS): Likewise.
15781 [XPG3] (SIGTRAP): Likewise.
15782 [POSIX || XPG3] (SIGURG): Likewise.
15783 [POSIX || XPG3] (SIGVTALRM): Likewise.
15784 [POSIX || XPG3] (SIGXCPU): Likewise.
15785 [POSIX || XPG3] (SIGXFSZ): Likewise.
15786 [POSIX] (SA_SIGINFO): Expect.
15787 [XPG3] (siginfo_t): Do not expect type or contents.
15788 [POSIX] (si_pid): Do not expect element.
15789 [POSIX] (si_uid): Likewise.
15790 [POSIX] (si_addr): Likewise.
15791 [POSIX] (si_status): Likewise.
15792 [POSIX] (si_band): Likewise.
15793 [XPG4] (si_value): Likewise.
15794 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15795 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15796 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15797 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15798 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15799 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15800 [POSIX || XPG3] (ILL_COPROC): Likewise.
15801 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15802 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15803 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15804 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15805 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15806 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15807 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15808 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15809 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15810 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15811 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15812 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15813 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15814 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15815 [POSIX || XPG3] (CLD_EXITED): Likewise.
15816 [POSIX || XPG3] (CLD_KILLED): Likewise.
15817 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15818 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15819 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15820 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15821 [POSIX || XPG3] (POLL_IN): Likewise.
15822 [POSIX || XPG3] (POLL_OUT): Likewise.
15823 [POSIX || XPG3] (POLL_MSG): Likewise.
15824 [POSIX || XPG3] (POLL_ERR): Likewise.
15825 [POSIX || XPG3] (POLL_PRI): Likewise.
15826 [POSIX || XPG3] (POLL_HUP): Likewise.
15827 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15828 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15829 (SIG*): Do not allow.
15830 [XPG3] (si_*): Likewise.
15831 [XPG3] (SI_*): Likewise.
15832 [XPG3 || XPG4] (sigev_*): Likewise.
15833 [XPG3 || XPG4] (SIGEV_*): Likewise.
15834 [XPG3 || XPG4] (sival_*): Likewise.
15835 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15836 [POSIX || XPG3] (BUS_*): Likewise.
15837 [POSIX || XPG3] (CLD_*): Likewise.
15838 [POSIX || XPG3] (FPE_*): Likewise.
15839 [POSIX || XPG3] (ILL_*): Likewise.
15840 [POSIX || XPG3] (POLL_*): Likewise.
15841 [POSIX || XPG3] (SEGV_*): Likewise.
15842 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15843 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15844 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15845 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15846 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15847 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15848 Specify type and value.
15849 (TVERSLEN): Likewise.
15850 (REGTYPE): Likewise.
15851 (AREGTYPE): Likewise.
15852 (LNKTYPE): Likewise.
15853 (SYMTYPE): Likewise.
15854 (CHRTYPE): Likewise.
15855 (BLKTYPE): Likewise.
15856 (DIRTYPE): Likewise.
15857 (FIFOTYPE): Likewise.
15858 (CONTTYPE): Likewise.
15859 (TSUID): Likewise.
15860 (TSGID): Likewise.
15861 (TSVTX): Likewise.
15862 (TUREAD): Likewise.
15863 (TUWRITE): Likewise.
15864 (TUEXEC): Likewise.
15865 (TGREAD): Likewise.
15866 (TGWRITE): Likewise.
15867 (TGEXEC): Likewise.
15868 (TOREAD): Likewise.
15869 (TOWRITE): Likewise.
15870 (TOEXEC): Likewise.
15871 [POSIX] (TSVTX): Expect constant.
15872
aa97dee1
JM
158732014-03-06 Joseph Myers <joseph@codesourcery.com>
15874
f214606a
JM
15875 * Makefile (tests): Change dependencies to ....
15876 (tests-special): ... additions to this variable.
15877 (tests): Depend on $(tests-special).
15878 * Makerules (check-abi-list): New variable.
15879 (check-abi): Depend on $(check-abi-list).
15880 [$(subdir) = elf] (tests-special): Add
15881 $(objpfx)check-abi-libc.out.
15882 [$(build-shared) = yes && subdir] (tests-special): Add
15883 $(check-abi-list).
15884 [$(build-shared) = yes && subdir] (tests): Do not depend on
15885 check-abi.
15886 * Rules (tests): Depend on $(tests-special).
15887 (xtests): Depend on $(xtests-special).
15888 * catgets/Makefile (tests): Change dependencies to ....
15889 (tests-special): ... additions to this variable.
15890 * conform/Makefile (tests): Change dependencies to ....
15891 (tests-special): ... additions to this variable.
15892 * elf/Makefile (tests): Change dependencies to ....
15893 (tests-special): ... additions to this variable.
15894 * grp/Makefile (tests): Change dependencies to ....
15895 (tests-special): ... additions to this variable.
15896 * iconv/Makefile (xtests): Change dependencies to ....
15897 (xtests-special): ... additions to this variable.
15898 * iconvdata/Makefile (tests): Change dependencies to ....
15899 (tests-special): ... additions to this variable.
15900 * intl/Makefile (tests): Change dependencies to ....
15901 (tests-special): ... additions to this variable. Also add
15902 $(objpfx)tst-gettext.out.
15903 * io/Makefile (tests): Change dependencies to ....
15904 (tests-special): ... additions to this variable.
15905 * libio/Makefile (tests): Change dependencies to ....
15906 (tests-special): ... additions to this variable.
15907 * malloc/Makefile (tests): Change dependencies to ....
15908 (tests-special): ... additions to this variable.
15909 * misc/Makefile (tests): Change dependencies to ....
15910 (tests-special): ... additions to this variable.
15911 * nptl/Makefile (tests): Change dependencies to ....
15912 (tests-special): ... additions to this variable.
15913 * nptl_db/Makefile (tests): Change dependencies to ....
15914 (tests-special): ... additions to this variable.
15915 * posix/Makefile (tests): Change dependencies to ....
15916 (tests-special): ... additions to this variable.
15917 (xtests): Change dependencies to ....
15918 (xtests-special): ... additions to this variable.
15919 * resolv/Makefile (tests): Change dependencies to ....
15920 (tests-special): ... additions to this variable.
15921 (xtests): Change dependencies to ....
15922 (xtests-special): ... additions to this variable.
15923 * stdio-common/Makefile (tests): Change dependencies to ....
15924 (tests-special): ... additions to this variable.
15925 (do-tst-unbputc): Remove target.
15926 (do-tst-printf): Likewise.
15927 * stdlib/Makefile (tests): Change dependencies to ....
15928 (tests-special): ... additions to this variable.
15929 * string/Makefile (tests): Change dependencies to ....
15930 (tests-special): ... additions to this variable.
15931 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15932 (tests-special): ... additions to this variable.
15933
81700b53
JM
15934 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15935 whole file.
15936 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15937 whole file.
15938 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15939 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15940
2ea18461
JM
15941 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15942 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15943 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15944 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15945 * conform/data/libgen.h-data [XPG3]: Likewise.
15946 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15947 * conform/data/ndbm.h-data [XPG3]: Likewise.
15948 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15949 * conform/data/netdb.h-data [XPG3]: Likewise.
15950 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15951 * conform/data/poll.h-data [XPG3]: Likewise.
15952 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15953 * conform/data/strings.h-data [XPG3]: Likewise.
15954 * conform/data/stropts.h-data [XPG3]: Likewise.
15955 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15956 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15957 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15958 Likewise.
15959 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15960 * conform/data/sys/time.h-data [XPG3]: Likewise.
15961 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15962 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15963 * conform/data/sys/un.h-data [XPG3]: Likewise.
15964 * conform/data/syslog.h-data [XPG3]: Likewise.
15965 * conform/data/ucontext.h-data [XPG3]: Likewise.
15966 * conform/data/utmpx.h-data [XPG3]: Likewise.
15967 * conform/data/varargs.h-data [UNIX98]: Enable file.
15968
355bc986
JM
15969 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15970
215db402
JM
15971 * math/libm-test.inc (struct test_f_f_data): Move expected results
15972 into structure for each rounding mode.
15973 (struct test_ff_f_data): Likewise.
15974 (struct test_ff_f_data_nexttoward): Likewise.
15975 (struct test_fi_f_data): Likewise.
15976 (struct test_fl_f_data): Likewise.
15977 (struct test_if_f_data): Likewise.
15978 (struct test_fff_f_data): Likewise.
15979 (struct test_c_f_data): Likewise.
15980 (struct test_f_f1_data): Likewise.
15981 (struct test_fF_f1_data): Likewise.
15982 (struct test_ffI_f1_data): Likewise.
15983 (struct test_c_c_data): Likewise.
15984 (struct test_cc_c_data): Likewise.
15985 (struct test_f_i_data): Likewise.
15986 (struct test_ff_i_data): Likewise.
15987 (struct test_f_l_data): Likewise.
15988 (struct test_f_L_data): Likewise.
15989 (struct test_fFF_11_data): Likewise.
15990 (RM_): New macro.
15991 (RM_FE_DOWNWARD): Likewise.
15992 (RM_FE_TONEAREST): Likewise.
15993 (RM_FE_TOWARDZERO): Likewise.
15994 (RM_FE_UPWARD): Likewise.
15995 (RUN_TEST_LOOP_f_f): Update references to expected results.
15996 (RUN_TEST_LOOP_2_f): Likewise.
15997 (RUN_TEST_LOOP_fff_f): Likewise.
15998 (RUN_TEST_LOOP_c_f): Likewise.
15999 (RUN_TEST_LOOP_f_f1): Likewise.
16000 (RUN_TEST_LOOP_fF_f1): Likewise.
16001 (RUN_TEST_LOOP_fI_f1): Likewise.
16002 (RUN_TEST_LOOP_ffI_f1): Likewise.
16003 (RUN_TEST_LOOP_c_c): Likewise.
16004 (RUN_TEST_LOOP_cc_c): Likewise.
16005 (RUN_TEST_LOOP_f_i): Likewise.
16006 (RUN_TEST_LOOP_f_i_tg): Likewise.
16007 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16008 (RUN_TEST_LOOP_f_b): Likewise.
16009 (RUN_TEST_LOOP_f_b_tg): Likewise.
16010 (RUN_TEST_LOOP_f_l): Likewise.
16011 (RUN_TEST_LOOP_f_L): Likewise.
16012 (RUN_TEST_LOOP_fFF_11): Likewise.
16013 * math/gen-libm-test.pl (parse_args): Output four copies of
16014 expected results for each test.
16015
67737b8f
JM
16016 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16017 (__ASSUME_UTIMES): Remove.
16018 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16019 (__ASSUME_UTIMES): Likewise.
16020
aa97dee1
JM
16021 * math/gen-auto-libm-tests.c: Update comment on output format.
16022 (output_for_one_input_case): Generate before-rounding and
16023 after-rounding information as conditions on output flags not
16024 floating-point format.
16025 * math/auto-libm-test-out: Regenerated.
16026 * math/gen-libm-test.pl (cond_value): New function.
16027 (or_cond_value): Use cond_value.
16028 (generate_testfile): Handle conditional exceptions.
16029
e6b6a857
JM
160302014-03-05 Joseph Myers <joseph@codesourcery.com>
16031
2f0a0f44
JM
16032 * math/libm-test.inc (max_valid_error): New variable.
16033 (init_max_error): Take new argument specifying whether function
16034 results are exactly determined. Set max_valid_error and bound
16035 other variables for errors based on this argument.
16036 (set_max_error): Do not record results above max_valid_error.
16037 (check_float_internal): Only accept errors of up to 0.5ulps if
16038 also at most max_valid_error.
16039 (START): Take new argument EXACT and pass it to init_max_error.
16040 (acos_test): Update call to START.
16041 (acos_test_tonearest): Likewise.
16042 (acos_test_towardzero): Likewise.
16043 (acos_test_downward): Likewise.
16044 (acos_test_upward): Likewise.
16045 (acosh_test): Likewise.
16046 (asin_test): Likewise.
16047 (asin_test_tonearest): Likewise.
16048 (asin_test_towardzero): Likewise.
16049 (asin_test_downward): Likewise.
16050 (asin_test_upward): Likewise.
16051 (asinh_test): Likewise.
16052 (atan_test): Likewise.
16053 (atanh_test): Likewise.
16054 (atan2_test): Likewise.
16055 (cabs_test): Likewise.
16056 (cacos_test): Likewise.
16057 (cacosh_test): Likewise.
16058 (carg_test): Likewise.
16059 (casin_test): Likewise.
16060 (casinh_test): Likewise.
16061 (catan_test): Likewise.
16062 (catanh_test): Likewise.
16063 (cbrt_test): Likewise.
16064 (ccos_test): Likewise.
16065 (ccosh_test): Likewise.
16066 (ceil_test): Likewise.
16067 (cexp_test): Likewise.
16068 (cimag_test): Likewise.
16069 (clog_test): Likewise.
16070 (clog10_test): Likewise.
16071 (conj_test): Likewise.
16072 (copysign_test): Likewise.
16073 (cos_test): Likewise.
16074 (cos_test_tonearest): Likewise.
16075 (cos_test_towardzero): Likewise.
16076 (cos_test_downward): Likewise.
16077 (cos_test_upward): Likewise.
16078 (cosh_test): Likewise.
16079 (cosh_test_tonearest): Likewise.
16080 (cosh_test_towardzero): Likewise.
16081 (cosh_test_downward): Likewise.
16082 (cosh_test_upward): Likewise.
16083 (cpow_test): Likewise.
16084 (cproj_test): Likewise.
16085 (creal_test): Likewise.
16086 (csin_test): Likewise.
16087 (csinh_test): Likewise.
16088 (csqrt_test): Likewise.
16089 (ctan_test): Likewise.
16090 (ctan_test_tonearest): Likewise.
16091 (ctan_test_towardzero): Likewise.
16092 (ctan_test_downward): Likewise.
16093 (ctan_test_upward): Likewise.
16094 (ctanh_test): Likewise.
16095 (ctanh_test_tonearest): Likewise.
16096 (ctanh_test_towardzero): Likewise.
16097 (ctanh_test_downward): Likewise.
16098 (ctanh_test_upward): Likewise.
16099 (erf_test): Likewise.
16100 (erfc_test): Likewise.
16101 (exp_test): Likewise.
16102 (exp_test_tonearest): Likewise.
16103 (exp_test_towardzero): Likewise.
16104 (exp_test_downward): Likewise.
16105 (exp_test_upward): Likewise.
16106 (exp10_test): Likewise.
16107 (exp10_test_tonearest): Likewise.
16108 (exp10_test_towardzero): Likewise.
16109 (exp10_test_downward): Likewise.
16110 (exp10_test_upward): Likewise.
16111 (pow10_test): Likewise.
16112 (exp2_test): Likewise.
16113 (expm1_test): Likewise.
16114 (expm1_test_tonearest): Likewise.
16115 (expm1_test_towardzero): Likewise.
16116 (expm1_test_downward): Likewise.
16117 (expm1_test_upward): Likewise.
16118 (fabs_test): Likewise.
16119 (fdim_test): Likewise.
16120 (floor_test): Likewise.
16121 (fma_test): Likewise.
16122 (fma_test_towardzero): Likewise.
16123 (fma_test_downward): Likewise.
16124 (fma_test_upward): Likewise.
16125 (fmax_test): Likewise.
16126 (fmin_test): Likewise.
16127 (fmod_test): Likewise.
16128 (fpclassify_test): Likewise.
16129 (frexp_test): Likewise.
16130 (hypot_test): Likewise.
16131 (ilogb_test): Likewise.
16132 (isfinite_test): Likewise.
16133 (finite_test): Likewise.
16134 (isgreater_test): Likewise.
16135 (isgreaterequal_test): Likewise.
16136 (isinf_test): Likewise.
16137 (isless_test): Likewise.
16138 (islessequal_test): Likewise.
16139 (islessgreater_test): Likewise.
16140 (isnan_test): Likewise.
16141 (isnormal_test): Likewise.
16142 (issignaling_test): Likewise.
16143 (isunordered_test): Likewise.
16144 (j0_test): Likewise.
16145 (j1_test): Likewise.
16146 (jn_test): Likewise.
16147 (ldexp_test): Likewise.
16148 (lgamma_test): Likewise.
16149 (gamma_test): Likewise.
16150 (lrint_test): Likewise.
16151 (lrint_test_tonearest): Likewise.
16152 (lrint_test_towardzero): Likewise.
16153 (lrint_test_downward): Likewise.
16154 (lrint_test_upward): Likewise.
16155 (llrint_test): Likewise.
16156 (llrint_test_tonearest): Likewise.
16157 (llrint_test_towardzero): Likewise.
16158 (llrint_test_downward): Likewise.
16159 (llrint_test_upward): Likewise.
16160 (log_test): Likewise.
16161 (log10_test): Likewise.
16162 (log1p_test): Likewise.
16163 (log2_test): Likewise.
16164 (logb_test): Likewise.
16165 (logb_test_downward): Likewise.
16166 (lround_test): Likewise.
16167 (llround_test): Likewise.
16168 (modf_test): Likewise.
16169 (nearbyint_test): Likewise.
16170 (nextafter_test): Likewise.
16171 (nexttoward_test): Likewise.
16172 (pow_test): Likewise.
16173 (pow_test_tonearest): Likewise.
16174 (pow_test_towardzero): Likewise.
16175 (pow_test_downward): Likewise.
16176 (pow_test_upward): Likewise.
16177 (remainder_test): Likewise.
16178 (drem_test): Likewise.
16179 (remainder_test_tonearest): Likewise.
16180 (drem_test_tonearest): Likewise.
16181 (remainder_test_towardzero): Likewise.
16182 (drem_test_towardzero): Likewise.
16183 (remainder_test_downward): Likewise.
16184 (drem_test_downward): Likewise.
16185 (remainder_test_upward): Likewise.
16186 (drem_test_upward): Likewise.
16187 (remquo_test): Likewise.
16188 (rint_test): Likewise.
16189 (rint_test_tonearest): Likewise.
16190 (rint_test_towardzero): Likewise.
16191 (rint_test_downward): Likewise.
16192 (rint_test_upward): Likewise.
16193 (round_test): Likewise.
16194 (scalb_test): Likewise.
16195 (scalbn_test): Likewise.
16196 (scalbln_test): Likewise.
16197 (signbit_test): Likewise.
16198 (sin_test): Likewise.
16199 (sin_test_tonearest): Likewise.
16200 (sin_test_towardzero): Likewise.
16201 (sin_test_downward): Likewise.
16202 (sin_test_upward): Likewise.
16203 (sincos_test): Likewise.
16204 (sinh_test): Likewise.
16205 (sinh_test_tonearest): Likewise.
16206 (sinh_test_towardzero): Likewise.
16207 (sinh_test_downward): Likewise.
16208 (sinh_test_upward): Likewise.
16209 (sqrt_test): Likewise.
16210 (sqrt_test_tonearest): Likewise.
16211 (sqrt_test_towardzero): Likewise.
16212 (sqrt_test_downward): Likewise.
16213 (sqrt_test_upward): Likewise.
16214 (tan_test): Likewise.
16215 (tan_test_tonearest): Likewise.
16216 (tan_test_towardzero): Likewise.
16217 (tan_test_downward): Likewise.
16218 (tan_test_upward): Likewise.
16219 (tanh_test): Likewise.
16220 (tgamma_test): Likewise.
16221 (trunc_test): Likewise.
16222 (y0_test): Likewise.
16223 (y1_test): Likewise.
16224 (yn_test): Likewise.
16225 (significand_test): Likewise.
16226
e6b6a857
JM
16227 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16228 individual tests in comment.
16229 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16230 (prev_max_error): New variable.
16231 (prev_real_max_error): Likewise.
16232 (prev_imag_max_error): Likewise.
16233 (compare_ulp_data): Don't refer to test names in comment.
16234 (find_test_ulps): Remove function.
16235 (find_function_ulps): Likewise.
16236 (find_complex_function_ulps): Likewise.
16237 (init_max_error): Take function name as argument. Look up ulps
16238 for that function.
16239 (print_ulps): Remove function.
16240 (print_max_error): Use prev_max_error instead of calling
16241 find_function_ulps.
16242 (print_complex_max_error): Use prev_real_max_error and
16243 prev_imag_max_error instead of calling find_complex_function_ulps.
16244 (check_float_internal): Take max_ulp parameter instead of calling
16245 find_test_ulps. Don't call print_ulps.
16246 (check_float): Update call to check_float_internal.
16247 (check_complex): Update calls to check_float_internal.
16248 (START): Pass argument to init_max_error.
16249 * math/gen-libm-test.pl (%results): Don't include "kind"
16250 information.
16251 (parse_ulps): Don't handle ulps of individual tests.
16252 (print_ulps_file): Likewise.
16253 (output_ulps): Likewise.
16254 * math/README.libm-test: Update.
16255 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16256 individual tests.
16257 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16258 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16259 * sysdeps/arm/libm-test-ulps: Likewise.
16260 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16261 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16262 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16263 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16264 * sysdeps/microblaze/libm-test-ulps: Likewise.
16265 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16266 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16268 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16270 * sysdeps/sh/libm-test-ulps: Likewise.
16271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16272 * sysdeps/tile/libm-test-ulps: Likewise.
16273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16274
45adef3c
JM
162752014-03-04 Joseph Myers <joseph@codesourcery.com>
16276
16277 * math/libm-test.inc (print_complex_max_error): Check separately
16278 whether real and imaginary errors are within allowed range and
16279 pass 0 to print_complex_function_ulps instead of value within
16280 allowed range.
16281
000232b9
SP
162822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16283
d4b17258
SP
16284 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16285 formatting.
16286 (get_handles_fopen): Likewise.
16287 (do_write_test): Likewise.
16288
091eff71
SP
16289 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16290
fa3cd248
SP
16291 * libio/fileops.c (do_ftell): Use cached offset when
16292 available.
16293 * libio/iofwide.c (do_ftell_wide): Likewise.
16294 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16295 _IO_file_attach.
16296 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16297
000232b9
SP
16298 [BZ #16532]
16299 * libio/libioP.h (get_file_offset): New function.
16300 * libio/fileops.c (get_file_offset): Likewise.
16301 (do_ftell): Likewise.
16302 (_IO_new_file_seekoff): Split out ftell logic.
16303 * libio/wfileops.c (do_ftell_wide): Likewise.
16304 (_IO_wfile_seekoff): Split out ftell logic.
16305 * libio/tst-ftell-active-handler.c: New test case.
16306 * libio/Makefile (tests): Add it.
16307
116f4d1a
RM
163082014-03-03 Roland McGrath <roland@hack.frob.com>
16309
16310 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16311 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16312
532a6035
SP
163132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16314
16315 [BZ #16639]
16316 * nscd/connections.c (nscd_init): Call do_exit.
16317 (start_threads): Call do_exit and notify_parent.
16318 (begin_drop_privileges): Call do_exit.
16319 (finish_drop_privileges): Likewise.
16320 * nscd/selinux.c (preserve_capabilities): Likewise.
16321 (install_real_capabilities): Likewise.
16322 (nscd_selinux_enabled): Likewise.
16323 (avc_create_thread): Likewise.
16324 (avc_alloc_lock): Likewise.
16325 (nscd_avc_init): Likewise.
16326 * nscd/nscd.c (parent_fd): New static variable.
16327 (main): Create a pipe between parent and child processes.
16328 Skip closing parent_fd.
16329 (monitor_child): New function.
16330 (do_exit): Likewise.
16331 (notify_parent): Likewise.
16332 * nscd/nscd.h (notify_parent): Likewise.
16333 (do_exit): Likewise.
16334
d6285c9f
CD
163352014-03-03 Carlos O'Donell <carlos@redhat.com>
16336
16337 * malloc/malloc.c (__libc_calloc): Revert last change.
16338
2b85d2a0
AZ
163392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16340
16341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16342
c7debbdf
RS
163432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16344
16345 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16347 implementation.
16348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16349 (__libc_ifunc_impl_list): Likewise.
16350 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16351 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16352 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16353 * string/strrchr.c: Define STRRCHR.
16354
235eed86
OB
163552014-02-28 Ondřej Bílka <neleai@seznam.cz>
16356
16357 * benchtest/bench-strtok.c (simple_strtok): Delete.
16358 (strtok_string): Use as benchmark.
16359 * string/strtok (STRTOK): New macro.
16360
8e25d1e7
CD
163612014-02-28 Carlos O'Donell <carlos@redhat.com>
16362
ef563f92
CD
16363 * manual/threads.texi: Add header and standard comments to all
16364 functions.
16365
8e25d1e7
CD
16366 * elf/dl-lookup.c (check_match): New function.
16367 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16368 (do_lookup_x): Remove nested function check_match. Use non-nested
16369 function check_match.
16370
ff71cc37
RM
163712014-02-28 Roland McGrath <roland@hack.frob.com>
16372
f08e9a26
RM
16373 * csu/Makefile (generated, before-compile): Use += rather than =.
16374 * catgets/Makefile (generated, generated-dirs): Likewise.
16375 * debug/Makefile (generated): Likewise.
16376 * dlfcn/Makefile (generated): Likewise.
16377 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16378 * iconvdata/Makefile (before-compile, generated): Likewise.
16379 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16380 * libio/Makefile (generated): Likewise.
16381 * malloc/Makefile (generated): Likewise.
16382 * manual/Makefile (generated, generated-dirs): Likewise.
16383 * misc/Makefile (generated): Likewise.
16384 * posix/Makefile (generated): Likewise.
16385 * resolv/Makefile (generated): Likewise.
16386 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16387 * timezone/Makefile (generated, generated-dirs): Likewise.
16388
ff71cc37
RM
16389 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16390
fe13a20c
AZ
163912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16392
57f41c40
AS
16393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16394 power8 implementation.
16395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16396 file: POWER8 llround ifunc implementation.
16397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16398 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16399 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16400 POWER8 llround implementation.
16401
57f41c40
AS
16402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16403 power8 implementation.
16404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16405 file: POWER8 llrint ifunc implementation.
16406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16407 Add POWER8 implementation.
1ad8950a
AZ
16408 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16409 POWER8 llrint implementation.
16410
57f41c40
AS
16411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16412 power8 implementation.
16413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16414 file: POWER8 finite ifunc implementation.
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16416 Add POWER8 implementation.
cac626d6
AZ
16417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16418 Likewise.
16419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16420 POWER8 finite implementation.
16421 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16422
57f41c40
AS
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16424 power8 implementation.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16426 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16428 POWER8 implementation.
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16430 Likewise.
57f41c40
AS
16431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16432 isinf implementation.
4393fc11
AZ
16433 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16434
57f41c40
AS
16435 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16436 (INIT_ARCH): Add hwcap2 initialization.
16437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16438 power8 implementation.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16440 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16442 POWER8 implementation.
16443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16444 Likewise.
57f41c40
AS
16445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16446 isnan implementation.
487972ae
AZ
16447 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16448
7d92b787
JY
164492014-02-27 Joey Ye <joey.ye@arm.com>
16450
16451 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16452 (_FP_NANFRAC_Q): Set to zero.
16453
1cadc858
SP
164542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16455
16456 [BZ #16623]
16457 * math/auto-libm-test-in: New test inputs.
16458 * math/auto-libm-test-out: Regenerate.
16459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16460 and DA.
16461 (__cos): Likewise.
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16463
f8c17e79
JM
164642014-02-27 Joseph Myers <joseph@codesourcery.com>
16465
16466 * scripts/evaluate-test.sh: Take new argument indicating whether
16467 failure is expected.
16468 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16469 indicating whether failure is expected.
16470 * conform/Makefile (test-xfail-run-conformtest): New variable.
16471 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16472 level.
16473 * posix/Makefile (test-xfail-annexc): New variable.
16474 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16475
a5f891ac
JM
164762014-02-26 Joseph Myers <joseph@codesourcery.com>
16477
16478 * argp/Makefile: Include Makeconfig immediately after defining
16479 subdir.
16480 * assert/Makefile: Likewise.
16481 * benchtests/Makefile: Likewise.
16482 * catgets/Makefile: Likewise.
16483 * conform/Makefile: Likewise.
16484 * crypt/Makefile: Likewise.
16485 * csu/Makefile: Likewise.
16486 (all): Remove target.
16487 * ctype/Makefile: Include Makeconfig immediately after defining
16488 subdir.
16489 * debug/Makefile: Likewise.
16490 * dirent/Makefile: Likewise.
16491 * dlfcn/Makefile: Likewise.
16492 * gmon/Makefile: Likewise.
16493 * gnulib/Makefile: Likewise.
16494 * grp/Makefile: Likewise.
16495 * gshadow/Makefile: Likewise.
16496 * hesiod/Makefile: Likewise.
16497 * hurd/Makefile: Likewise.
16498 (all): Remove target.
16499 * iconvdata/Makefile: Include Makeconfig immediately after
16500 defining subdir.
16501 * inet/Makefile: Likewise.
16502 * intl/Makefile: Likewise.
16503 * io/Makefile: Likewise.
16504 * libio/Makefile: Likewise.
16505 (all): Remove target.
16506 * locale/Makefile: Include Makeconfig immediately after defining
16507 subdir.
16508 * login/Makefile: Likewise.
16509 * mach/Makefile: Likewise.
16510 (all): Remove target.
16511 * malloc/Makefile: Include Makeconfig immediately after defining
16512 subdir.
16513 (all): Remove target.
16514 * manual/Makefile: Include Makeconfig immediately after defining
16515 subdir.
16516 * math/Makefile: Likewise.
16517 * misc/Makefile: Likewise.
16518 * nis/Makefile: Likewise.
16519 * nss/Makefile: Likewise.
16520 * po/Makefile: Likewise.
16521 (all): Remove target.
16522 * posix/Makefile: Include Makeconfig immediately after defining
16523 subdir.
16524 * pwd/Makefile: Likewise.
16525 * resolv/Makefile: Likewise.
16526 * resource/Makefile: Likewise.
16527 * rt/Makefile: Likewise.
16528 * setjmp/Makefile: Likewise.
16529 * shadow/Makefile: Likewise.
16530 * signal/Makefile: Likewise.
16531 * socket/Makefile: Likewise.
16532 * soft-fp/Makefile: Likewise.
16533 * stdio-common/Makefile: Likewise.
16534 * stdlib/Makefile: Likewise.
16535 * streams/Makefile: Likewise.
16536 * string/Makefile: Likewise.
16537 * sunrpc/Makefile: Likewise.
16538 (all): Remove target.
16539 * sysvipc/Makefile: Include Makeconfig immediately after defining
16540 subdir.
16541 * termios/Makefile: Likewise.
16542 * time/Makefile: Likewise.
16543 * timezone/Makefile: Likewise.
16544 (all): Remove target.
16545 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16546 subdir.
16547 * wctype/Makefile: Likewise.
16548
5b456e9d
SE
165492014-02-26 Steve Ellcey <sellcey@mips.com>
16550
16551 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16552 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16553 (libc_feholdexcept_setround_mips): Ditto.
16554 (libc_feholdsetround): New.
16555 (libc_feholdsetroundf): New.
16556 (libc_feholdsetroundl): New.
16557 (libc_feupdateenv_test_mips): New.
16558 (libc_feupdateenv_test): New.
16559 (libc_feupdateenv_testf): New.
16560 (libc_feupdateenv_testl): New.
16561 (libc_feresetround): New.
16562 (libc_feresetroundf): New.
16563 (libc_feresetroundl): New.
16564 (libc_fetestexcept_mips): New.
16565 (libc_fetestexcept): New.
16566 (libc_fetestexceptf): New.
16567 (libc_fetestexceptl): New.
16568 (HAVE_RM_CTX): New.
16569 (libc_feholdexcept_setround_mips_ctx): New.
16570 (libc_feholdexcept_setround_ctx): New.
16571 (libc_feholdexcept_setroundf_ctx): New.
16572 (libc_feholdexcept_setroundl_ctx): New.
16573 (libc_fesetenv_mips_ctx): New.
16574 (libc_fesetenv_ctx): New.
16575 (libc_fesetenv_ctxf): New.
16576 (libc_fesetenv_ctxl): New.
16577 (libc_feupdateenv_mips_ctx): New.
16578 (libc_feupdateenv_ctx): New.
16579 (libc_feupdateenvf_ctx): New.
16580 (libc_feupdateenvl_ctx): New.
16581 (libc_feholdsetround_mips_ctx): New.
16582 (libc_feholdsetround_ctx): New.
16583 (libc_feholdsetroundf_ctx): New.
16584 (libc_feholdsetroundl_ctx): New.
16585 (libc_feresetround_mips_ctx): New.
16586 (libc_feresetround_ctx): New.
16587 (libc_feresetroundf_ctx): New.
16588 (libc_feresetroundl_ctx): New.
16589
085d0e35
CD
165902014-02-26 Carlos O'Donell <carlos@redhat.com>
16591
f067bf1f
CD
16592 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16593
085d0e35
CD
16594 * manual/ipc.texi: New file.
16595 * manual/Makefile (chapters): Add ipc.
16596 * manual/job.texi: Add "Inter-Process Communication" to next.
16597 * manual/process.texi: Add "Inter-Process Communication" to prev.
16598
86e58c08
AZ
165992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16600
16601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16602
4248f0da
OB
166032014-02-26 Ondřej Bílka <neleai@seznam.cz>
16604
16605 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16606
cf822e3c
OB
16607 * manual/arith.texi: Fix spaces after sentences.
16608 * manual/charset.texi: Likewise.
16609 * manual/errno.texi: Likewise.
16610 * manual/install.texi: Likewise.
16611 * manual/llio.texi: Likewise.
16612 * manual/locale.texi: Likewise.
16613 * manual/maint.texi: Likewise.
16614 * manual/math.texi: Likewise.
16615 * manual/memory.texi: Likewise.
16616 * manual/message.texi: Likewise.
16617 * manual/probes.texi: Likewise.
16618 * manual/resource.texi: Likewise.
16619 * manual/signal.texi: Likewise.
16620 * manual/socket.texi: Likewise.
16621 * manual/stdio.texi: Likewise.
16622 * manual/string.texi: Likewise.
16623 * manual/time.texi: Likewise.
16624 * manual/users.texi: Likewise.
16625
ade40b10
CD
166262014-02-25 Carlos O'Donell <carlos@redhat.com>
16627
16628 [BZ #16632]
16629 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16630 _DEFAULT_SOURCE is defined.
16631
d0503676
CD
166322014-02-25 Ulrich Drepper <drepper@gmail.com>
16633 Carlos O'Donell <carlos@redhat.com>
16634
16635 [BZ #16613]
16636 * elf/dl-tls.c (_dl_count_modids): New function.
16637 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16638 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16639 audit library and increment generation counter.
16640 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16641 * elf/tst-audit9.c: New file.
16642 * elf/tst-auditmod9a.c: New file.
16643 * elf/tst-auditmod9b.c: New file.
16644 * elf/Makefile: Add rules to build and run tst-audit9.
16645
4cbf380c
FW
166462014-02-25 Florian Weimer <fweimer@redhat.com>
16647
16648 [BZ #15347]
16649 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16650
80a56cc3
WN
166512014-02-25 Will Newton <will.newton@linaro.org>
16652
16653 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16654 (__longjmp): Restore sp and lr before restoring callee
16655 saved registers. Add longjmp and longjmp_target
16656 SystemTap probe point.
16657 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16658 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16659 Define to zero to match jmpbuf layout.
16660 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16661 (__sigsetjmp): Save sp and lr before saving callee
16662 saved registers. Add setjmp SystemTap probe point.
16663
3ea0f74e
SL
166642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16665
16666 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16667
b04acb26
AS
166682014-02-24 Andreas Schwab <schwab@suse.de>
16669
16670 [BZ #15804]
16671 * elf/pldd.c (wait_for_ptrace_stop): New function.
16672 (main): Call it after attaching.
16673
098ad55c
RM
166742014-02-22 Roland McGrath <roland@hack.frob.com>
16675
d4ec6ae1
RM
16676 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16677 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16678 Versions files is now verboten.
16679 * hurd/Versions (libc: GLIBC_2.0):
16680 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16681 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16682 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16683 * mach/Versions: Likewise.
16684
098ad55c
RM
16685 * csu/Versions: Remove unused %include.
16686 * resolv/Versions: Likewise.
16687
acd7f096
JM
166882014-02-21 Joseph Myers <joseph@codesourcery.com>
16689
f0881698
JM
16690 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16691 ($(objpfx)check-local-headers.out): Likewise.
16692 ($(objpfx)begin-end-check.out): Likewise.
16693 * Makerules (check-abi-%.out): Likewise.
16694 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16695 ($(objpfx)test2.cat): Likewise.
16696 ($(objpfx)de/libc.cat): Likewise.
16697 ($(objpfx)test-gencat.out): Likewise.
16698 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16699 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16700 ($(objpfx)noload-mem): Likewise.
16701 ($(objpfx)tst-pathopt.out): Likewise.
16702 ($(objpfx)tst-rtld-load-self.out): Likewise.
16703 ($(objpfx)tst-array1-cmp.out): Likewise.
16704 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16705 ($(objpfx)tst-array2-cmp.out): Likewise.
16706 ($(objpfx)tst-array3-cmp.out): Likewise.
16707 ($(objpfx)tst-array4-cmp.out): Likewise.
16708 ($(objpfx)tst-array5-cmp.out): Likewise.
16709 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16710 ($(objpfx)check-textrel.out): Likewise.
16711 ($(objpfx)check-execstack.out): Likewise.
16712 ($(objpfx)check-localplt.out): Likewise.
16713 ($(objpfx)order2-cmp.out): Likewise.
16714 ($(objpfx)tst-leaks1-mem): Likewise.
16715 ($(objpfx)tst-leaks1-static-mem): Likewise.
16716 ($(objpfx)tst-initorder-cmp.out): Likewise.
16717 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16718 ($(objpfx)tst-unused-dep.out): Likewise.
16719 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16720 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16721 * iconv/Makefile (test-iconvconfig): Likewise.
16722 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16723 ($(objpfx)iconv-test.out): Likewise.
16724 ($(objpfx)tst-tables.out): Likewise.
16725 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16726 ($(objpfx)tst-gettext.out): Likewise.
16727 ($(objpfx)tst-translit.out): Likewise.
16728 ($(objpfx)tst-gettext2.out): Likewise.
16729 ($(objpfx)tst-gettext4.out): Likewise.
16730 ($(objpfx)tst-gettext6.out): Likewise.
16731 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16732 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16733 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16734 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16735 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16736 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16737 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16738 ($(objpfx)wordexp-tst.out): Likewise.
16739 ($(objpfx)annexc.out): Likewise.
16740 ($(objpfx)tst-fnmatch-mem): Likewise.
16741 ($(objpfx)bug-regex2-mem): Likewise.
16742 ($(objpfx)bug-regex14-mem): Likewise.
16743 ($(objpfx)bug-regex21-mem): Likewise.
16744 ($(objpfx)bug-regex31-mem): Likewise.
16745 ($(objpfx)tst-vfork3-mem): Likewise.
16746 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16747 ($(objpfx)tst-pcre-mem): Likewise.
16748 ($(objpfx)tst-boost-mem): Likewise.
16749 ($(objpfx)tst-getconf.out): Likewise.
16750 ($(objpfx)bug-ga2-mem): Likewise.
16751 ($(objpfx)bug-glob2-mem): Likewise.
16752 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16753 ($(objpfx)mtrace-tst-leaks2): Likewise.
16754 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16755 ($(objpfx)tst-printf.out): Likewise.
16756 ($(objpfx)tst-setvbuf1.out): Likewise.
16757 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16758 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16759 ($(objpfx)tst-fmtmsg.out): Likewise.
16760 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16761 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16762
acd7f096
JM
16763 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16764 * bits/sigaction.h [__USE_MISC]: Likewise.
16765 * bits/waitstatus.h: Update #endif comments.
16766 * ctype/ctype.h: Likewise.
16767 * dirent/dirent.h: Likewise.
16768 [__USE_MISC]: Remove redundant conditionals.
16769 * grp/grp.h: Update #endif comments.
16770 [__USE_GNU]: Remove redundant conditionals.
16771 [__USE_MISC]: Likewise.
16772 * inet/netinet/in.h [__USE_GNU]: Likewise.
16773 * io/sys/stat.h [__USE_MISC]: Likewise.
16774 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16775 * libio/bits/stdio.h: Update #endif comments.
16776 [__USE_MISC]: Remove redundant conditionals.
16777 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16778 * libio/stdio.h: Update #endif comments.
16779 [__USE_MISC]: Remove redundant conditionals.
16780 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16781 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16782 * math/math.h: Update #else and #endif comments.
16783 [__USE_MISC]: Remove redundant conditionals.
16784 * misc/sys/uio.h: Update #endif comments.
16785 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16786 * posix/glob.h [__USE_MISC]: Likewise.
16787 * posix/sys/types.h: Update #endif comments.
16788 [__USE_MISC]: Remove redundant conditionals.
16789 * posix/sys/wait.h: Update #endif comments.
16790 [__USE_MISC]: Remove redundant conditionals.
16791 * posix/unistd.h: Update #endif comments.
16792 [__USE_MISC]: Remove redundant conditionals.
16793 * pwd/pwd.h [__USE_GNU]: Likewise.
16794 [__USE_MISC]: Likewise.
16795 * resolv/netdb.h [__USE_GNU]: Likewise.
16796 * signal/signal.h: Update #endif comments.
16797 [__USE_MISC]: Remove redundant conditionals.
16798 * stdlib/stdlib.h: Update #else and #endif comments.
16799 [__USE_MISC]: Remove redundant conditionals.
16800 [__USE_GNU]: Likewise.
16801 * string/bits/string2.h [__USE_MISC]: Likewise.
16802 * string/string.h: Update #endif comments.
16803 [__USE_MISC]: Remove redundant conditionals.
16804 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16805 Likewise.
16806 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16807 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16808 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16809 Likewise.
16810 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16811 Likewise.
16812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16813 comments.
16814 [__USE_MISC]: Remove redundant conditionals.
16815 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16816 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16817 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16818 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16819 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16820 Likewise.
16821 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16822 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16823 Likewise.
16824 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16825 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16826 Likewise.
16827 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16828 Likewise.
16829 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16830 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16831 Likewise.
16832 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16833 Likewise.
16834 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16835 * sysdeps/x86/bits/string.h: Update #endif comments.
16836 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16837 conditionals.
16838 * time/sys/time.h: Update #endif comments.
16839 * time/time.h: Likewise.
16840 [__USE_MISC]: Remove redundant conditionals.
16841
a5d82e4e
YG
168422014-02-21 Yury Gribov <y.gribov@samsung.com>
16843
16844 [BZ #16600]
16845 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16846
9a80491d
AS
168472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16848
16849 * Versions.def (librt): Add GLIBC_2.17.
16850
105fa381
AC
168512014-02-21 Adam Conrad <adconrad@0c3.net>
16852
16853 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16854 synonym for _SYS_AUXV_H to allow direct inclusion.
16855 * sysdeps/sparc/bits/hwcap.h: Likewise.
16856 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16857 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16858 * sysdeps/sparc/sysdep.h: Likewise.
16859
b8cd1c4e
SP
168602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16861
16862 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16863
bd939d23
RS
168642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16865
16866 * benchtests/bench-strrchr.c: Print length instead of position.
16867
5d7b57ca
JM
168682014-02-20 Joseph Myers <joseph@codesourcery.com>
16869
bc688c10
JM
16870 [BZ #16611]
16871 * sysdeps/unix/sysv/linux/kernel-features.h
16872 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16873 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16874 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16875 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16876 Likewise.
16877 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16878 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16879 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16880 (__ASSUME_SENDMMSG): Define instead of using previous
16881 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16882 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16883 (__ASSUME_SENDMMSG_SYSCALL): Define.
16884 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16885 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16886 Likewise.
16887 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16888 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16889 Likewise.
16890 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16891 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16892 Likewise.
16893 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16894 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16895 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16896 [__ASSUME_SENDMMSG]: Change conditionals to
16897 [__ASSUME_SENDMMSG_SOCKETCALL].
16898 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16899 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16900 Define.
16901 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16902 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16903 Likewise.
16904 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16905 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16906 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16907 [!__ASSUME_SENDMMSG]: Change conditional to
16908 [!__ASSUME_SENDMMSG_SOCKETCALL].
16909 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16910 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16911 Define.
16912
0e31b18c
JM
16913 [BZ #16610]
16914 * sysdeps/unix/sysv/linux/kernel-features.h
16915 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16916 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16917 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16918 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16919 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16920 [__i386__ || __sparc__]
16921 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16922 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16923 (__ASSUME_RECVMMSG): Define instead of using previous
16924 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16925 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16926 (__ASSUME_RECVMMSG_SYSCALL): Define.
16927 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16928 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16929 Likewise.
16930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16931 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16932 Likewise.
16933 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16934 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16935 Likewise.
16936 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16937 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16938 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16939 [__ASSUME_RECVMMSG]: Change condition to
16940 [__ASSUME_RECVMMSG_SOCKETCALL].
16941 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16942 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16943 Define.
16944 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16946 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16947 Likewise.
16948 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16949 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16950 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16951 [!__ASSUME_RECVMMSG]: Change condition to
16952 [!__ASSUME_RECVMMSG_SOCKETCALL].
16953 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16954 (__ASSUME_RECVMMSG_SYSCALL): Define.
16955
dd481ccf
JM
16956 [BZ #16609]
16957 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16958 __powerpc__ || __s390__ || __sh__ || __sparc__]
16959 (__ASSUME_SOCKETCALL): Define.
16960 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16961 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16962 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16963 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16964 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16965 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16966 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16967 (__ASSUME_ACCEPT4): Define instead of using previous
16968 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16969 __powerpc__ || __sparc__ || __s390__)] condition.
16970 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16971 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16972 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16973 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16974 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16975 [!__ASSUME_ACCEPT4]: Change condition to
16976 [!__ASSUME_ACCEPT4_SOCKETCALL].
16977 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16978 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16979 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16980 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16981 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16982 __ASSUME_ACCEPT4_SYSCALL.
16983 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16984 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16985 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16986 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16987 __ASSUME_ACCEPT4_SYSCALL.
16988 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16989 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16990 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16991 [__ASSUME_ACCEPT4]: Change condition to
16992 [__ASSUME_ACCEPT4_SOCKETCALL].
16993 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16994 (__ASSUME_SOCKETCALL): Define.
16995 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16996 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16997 (__ASSUME_SOCKETCALL): Define.
16998 (__ASSUME_ACCEPT4): Remove.
16999 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17000 Define.
17001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17002 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17003 Likewise.
17004 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17005 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17006
5d7b57ca
JM
17007 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17008 macro.
17009 (HWCAP_ARM_LPAE): Likewise.
17010 (HWCAP_ARM_EVTSTRM): Likewise.
17011 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17012 Add vpfd32, lpae and evtstrm.
17013 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17014 Increase to 22.
17015
63689d61
JM
170162014-02-19 Joseph Myers <joseph@codesourcery.com>
17017
17018 * math/auto-libm-test-in: Add tests of clog10.
17019 * math/auto-libm-test-out: Regenerated.
17020 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17021 * sysdeps/i386/fpu/libm-test-ulps: Update.
17022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17023
ab09bf61
AS
170242014-02-18 Andreas Schwab <schwab@suse.de>
17025
17026 [BZ #16574]
17027 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17028 Store non-zero if the second buffer was newly allocated.
17029 (send_dg): Likewise.
17030 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17031 to send_vc and send_dg.
17032 (res_nsend): Pass NULL for ansp2_malloced.
17033 * resolv/res_query.c (__libc_res_nquery): Add parameter
17034 answerp2_malloced and pass it down to __libc_res_nsend.
17035 (res_nquery): Pass additional NULL to __libc_res_nquery.
17036 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17037 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17038 second answer buffer if answerp2_malloced was set.
17039 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17040 (__libc_res_nquerydomain): Add parameter
17041 answerp2_malloced and pass it down to __libc_res_nquery.
17042 (res_nquerydomain): Pass additional NULL to
17043 __libc_res_nquerydomain.
17044 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17045 additional NULL to __libc_res_nsend and __libc_res_nquery.
17046 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17047 additional NULL to __libc_res_nsearch.
17048 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17049 parameter of __libc_res_nsearch to check for separately allocated
17050 second buffer.
17051 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17052 __libc_res_nquery.
17053 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17054 additional NULL to __libc_res_nquery.
17055 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17056 __libc_res_nsearch.
17057 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17058 * include/resolv.h: Update prototypes of __libc_res_nquery,
17059 __libc_res_nsearch, __libc_res_nsend.
17060
a4fb7861
JM
170612014-02-18 Joseph Myers <joseph@codesourcery.com>
17062
c6af2d89
JM
17063 * math/auto-libm-test-in: Add tests of fma.
17064 * math/auto-libm-test-out: Regenerated.
17065 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17066 (fma_towardzero_test_data): Likewise.
17067 (fma_downward_test_data): Likewise.
17068 (fma_upward_test_data): Likewise.
17069 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17070 mpc_mode.
17071 (rounding_modes): Add values for new field.
17072 (func_calc_method): Add value mpfr_fff_f.
17073 (func_calc_desc): Add mpfr_fff_f union field.
17074 (test_function): Add field exact_args.
17075 (FUNC): Add macro argument EXACT_ARGS.
17076 (FUNC_mpfr_f_f): Update call to FUNC.
17077 (FUNC_mpfr_f_f): Likewise.
17078 (FUNC_mpfr_ff_f): Likewise.
17079 (FUNC_mpfr_if_f): Likewise.
17080 (FUNC_mpc_c_f): Likewise.
17081 (FUNC_mpc_c_c): Likewise.
17082 (test_functions): Add fma. Update calls to FUNC.
17083 (handle_input_arg): Add argument exact_args.
17084 (add_test): Update call to handle_input_arg.
17085 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17086 (output_for_one_input_case): Update call to calc_generic_results.
17087 Recalculate exact zero results in each rounding mode.
17088
a4fb7861
JM
17089 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17090 non-negative before setting low bit.
17091 * math/auto-libm-test-in: Mark one asin test possibly having
17092 spurious underflow.
17093 * math/auto-libm-test-out: Regenerated.
17094 * sysdeps/i386/fpu/libm-test-ulps: Update.
17095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17096
ef114eaf
DH
170972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17098
2b7f4f2c
SP
17099 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17100 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17101 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17102 * README: Add missing listing for microblaze*-*-linux-gnu.
17103
8125aedc
AM
171042014-02-16 Ondřej Bílka <neleai@seznam.cz>
17105
17106 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17107 duplicate code
17108
c70a4b1d
MF
171092014-02-16 Mike Frysinger <vapier@gentoo.org>
17110
17111 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17112 * sysdeps/unix/sysv/linux/ia64: Move directory from
17113 ports/sysdeps/unix/sysv/linux/ia64.
17114 * README: Update listing for ia64-*-linux-gnu.
17115
591aeaf7
TD
171162014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17117 Joseph Myers <joseph@codesourcery.com>
17118
17119 * Makeconfig (test-name): New variable.
17120 (evaluate-test): Likewise.
17121 * Makerules (do-test-clean): Remove .test-result files.
17122 (common-mostlyclean): Likewise.
17123 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17124 * scripts/evaluate-test.sh: New file.
17125
6e89caf1
JM
171262014-02-14 Joseph Myers <joseph@codesourcery.com>
17127
7f98f180
JM
17128 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17129 separate $(objpfx)tst-fopenloc-cmp.out and
17130 $(objpfx)tst-fopenloc-mem.out targets.
17131 (tests): Update dependencies.
17132 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17133 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17134 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17135 (tst-rxspencer-no-utf8-ARGS): New variable.
17136 (tst-rxspencer-no-utf8-ENV): Likewise.
17137 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17138 instead of $(objpfx)tst-rxspencer-mem.
17139 ($(objpfx)tst-rxspencer-mem): Change target to
17140 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17141 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17142 * posix/tst-rxspencer-no-utf8.c: New file.
17143
6e89caf1
JM
17144 * elf/Makefile ($(objpfx)order.out): Remove rule.
17145 [$(run-built-tests) = yes] (tests): Depend on
17146 $(objpfx)order-cmp.out.
17147 ($(objpfx)order-cmp.out): New rule.
17148 [$(run-built-tests) = yes] (tests): Depend on
17149 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17150 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17151 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17152 $(objpfx)tst-array5-static-cmp.out.
17153 ($(objpfx)tst-array1.out): Remove rule.
17154 ($(objpfx)tst-array1-cmp.out): New rule.
17155 ($(objpfx)tst-array1-static.out): Remove rule.
17156 ($(objpfx)tst-array1-static-cmp.out): New rule.
17157 ($(objpfx)tst-array2.out): Remove rule.
17158 ($(objpfx)tst-array2-cmp.out): New rule.
17159 ($(objpfx)tst-array3.out): Remove rule.
17160 ($(objpfx)tst-array3-cmp.out): New rule.
17161 ($(objpfx)tst-array4.out): Remove rule.
17162 ($(objpfx)tst-array4-cmp.out): New rule.
17163 ($(objpfx)tst-array5.out): Remove rule.
17164 ($(objpfx)tst-array5-cmp.out): New rule.
17165 ($(objpfx)tst-array5-static.out): Remove rule.
17166 ($(objpfx)tst-array5-static-cmp.out): New rule.
17167 [$(run-built-tests) = yes] (tests): Depend on
17168 $(objpfx)order2-cmp.out.
17169 ($(objpfx)order2.out): Remove rule.
17170 ($(objpfx)order2-cmp.out): New rule.
17171 ($(objpfx)tst-initorder.out): Remove rule.
17172 [$(run-built-tests) = yes] (tests): Depend on
17173 $(objpfx)tst-initorder-cmp.out.
17174 ($(objpfx)tst-initorder-cmp.out): New rule.
17175 ($(objpfx)tst-initorder2.out): Remove rule.
17176 [$(run-built-tests) = yes] (tests): Depend on
17177 $(objpfx)tst-initorder2-cmp.out.
17178 ($(objpfx)tst-initorder2-cmp.out): New rule.
17179 [$(run-built-tests) = yes] (tests): Depend on
17180 $(objpfx)tst-unused-dep-cmp.out.
17181 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17182 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17183 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17184 on $(objpfx)tst-setvbuf1-cmp.out.
17185 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17186 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17187 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17188 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17189 ($(objpfx)tst-svc.out): Remove rule.
17190 ($(objpfx)tst-svc-cmp.out): New rule.
17191
ed9a38e2
JM
171922014-02-13 Joseph Myers <joseph@codesourcery.com>
17193
17194 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17195 * ctype/ctype.h [__USE_MISC]: Likewise.
17196 * dirent/dirent.h [__USE_MISC]: Likewise.
17197 * grp/grp.h [__USE_MISC]: Likewise.
17198 * io/fcntl.h [__USE_MISC]: Likewise.
17199 * io/sys/stat.h [__USE_MISC]: Likewise.
17200 * libio/stdio.h [__USE_MISC]: Likewise.
17201 * posix/unistd.h [__USE_MISC]: Likewise.
17202 * pwd/pwd.h [__USE_MISC]: Likewise.
17203 * stdlib.h [__USE_MISC]: Likewise.
17204 * string/bits/string2.h [__USE_MISC]: Likewise.
17205 * string/string.h [__USE_MISC]: Likewise.
17206 * time/time.h [__USE_MISC]: Likewise.
17207
d6680619
AS
172082014-02-13 Andreas Schwab <schwab@suse.de>
17209
17210 [BZ #16574]
17211 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17212 second answer buffer if it was separately allocated.
17213
ace614b8
JM
172142014-02-12 Joseph Myers <joseph@codesourcery.com>
17215
743151ae
JM
17216 * sysdeps/mips/math-tests.h: Include <features.h>.
17217 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17218 (ROUNDING_TESTS_long_double): Do not define.
17219 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17220 (EXCEPTION_TESTS_long_double): Likewise.
17221 * sysdeps/mips/mips64/libm-test-ulps: Update.
17222
498afc54
JM
17223 * include/features.h (__USE_BSD): Remove macro definitions.
17224 (__USE_SVID): Likewise.
17225 (_BSD_SOURCE): Likewise.
17226 (_SVID_SOURCE): Likewise.
17227 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17228 from definition of _DEFAULT_SOURCE.
17229 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17230 [_DEFAULT_SOURCE].
17231 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17232 * bits/mman.h [__USE_BSD]: Likewise.
17233 * bits/termios.h [__USE_BSD]: Likewise.
17234 * bits/waitstatus.h [__USE_BSD]: Likewise.
17235 * ctype/ctype.h [__USE_SVID]: Likewise.
17236 * dirent/dirent.h [__USE_BSD]: Likewise.
17237 * grp/grp.h [__USE_SVID]: Likewise.
17238 [__USE_BSD]: Likewise.
17239 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17240 * io/fcntl.h [__USE_BSD]: Likewise.
17241 * io/ftw.h [__USE_BSD]: Likewise.
17242 * io/sys/stat.h [__USE_BSD]: Likewise.
17243 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17244 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17245 * libio/stdio.h [__USE_SVID]: Likewise.
17246 [__USE_BSD]: Likewise.
17247 * math/math.h [__USE_SVID]: Likewise.
17248 [__USE_BSD]: Likewise.
17249 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17250 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17251 * misc/search.h [__USE_SVID]: Likewise.
17252 * misc/sys/mman.h [__USE_BSD]: Likewise.
17253 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17254 * misc/sys/uio.h [__USE_BSD]: Likewise.
17255 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17256 * posix/glob.h [__USE_BSD]: Likewise.
17257 * posix/regex.h [__USE_BSD]: Likewise.
17258 * posix/sys/types.h [__USE_BSD]: Likewise.
17259 [__USE_SVID]: Likewise.
17260 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17261 * posix/sys/wait.h [__USE_BSD]: Likewise.
17262 [__USE_SVID]: Likewise.
17263 * posix/unistd.h [__USE_BSD]: Likewise.
17264 [__USE_SVID]: Likewise.
17265 * pwd/pwd.h [__USE_SVID]: Likewise.
17266 * resolv/netdb.h [__USE_BSD]: Likewise.
17267 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17268 * signal/signal.h [__USE_BSD]: Likewise.
17269 [__USE_SVID]: Likewise.
17270 * socket/sys/socket.h [__USE_BSD]: Likewise.
17271 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17272 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17273 [__USE_SVID]: Likewise.
17274 * string/bits/string2.h [__USE_BSD]: Likewise.
17275 [__USE_SVID]: Likewise.
17276 * string/bits/string3.h [__USE_BSD]: Likewise.
17277 * string/endian.h [__USE_BSD]: Likewise.
17278 * string/string.h [__USE_SVID]: Likewise.
17279 [__USE_BSD]: Likewise.
17280 * string/strings.h [__USE_BSD]: Likewise.
17281 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17282 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17283 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17284 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17285 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17286 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17287 Likewise.
17288 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17289 Likewise.
17290 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17291 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17292 Likewise.
17293 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17294 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17295 Likewise.
17296 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17297 Likewise.
17298 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17299 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17301 Likewise.
17302 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17303 Likewise.
17304 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17305 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17306 * termios/termios.h [__USE_BSD]: Likewise.
17307 * time/sys/time.h [__USE_BSD]: Likewise.
17308 * time/time.h [__USE_BSD]: Likewise.
17309 [__USE_SVID]: Likewise.
17310
dd7b064c
JM
17311 * Makefile (subdir_targets): Remove subdir_lint.out.
17312
a2c4c199
JM
17313 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17314 (do-tst-printf): Likewise.
17315 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17316 $(objpfx)tst-printf.out.
17317
8756f740
JM
17318 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17319
1b6dd3f1
JM
17320 * Makerules (check-abi-%): Change target to
17321 $(objpfx)check-abi-%.out.
17322 (check-abi target): Update dependencies.
17323 (check-abi-pattern variable): Redirect output of diff to $@.
17324 (check-abi variable): Likewise.
17325 * elf/Makefile (check-abi): Update dependencies.
17326
ace614b8
JM
17327 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17328 unused.
17329 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17330 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17331 subnormal range.
17332 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17333 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17334 value has largest subnormal exponent.
17335 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17336 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17337 * sysdeps/aarch64/soft-fp/sfp-machine.h
17338 (_FP_TININESS_AFTER_ROUNDING): New macro.
17339 * sysdeps/alpha/soft-fp/sfp-machine.h
17340 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17341 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17342 Likewise.
17343 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17344 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17345 * sysdeps/mips/soft-fp/sfp-machine.h
17346 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17347 * sysdeps/powerpc/soft-fp/sfp-machine.h
17348 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17349 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17350 Likewise.
17351 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17352 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17353 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17354 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17355 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17356 Likewise.
17357
fbfdf9cb
DAS
173582014-02-12 Dylan Alex Simon <dylan@dylex.net>
17359
17360 [BZ #16545]
17361 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17362 model 1.
17363
68b7efaa
RH
173642014-02-12 Richard Henderson <rth@redhat.com>
17365
c70a4b1d 17366 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17367 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17368 * sysdeps/unix/sysv/linux/alpha: Move directory from
17369 ports/sysdeps/unix/sysv/linux/alpha.
17370 * README: Update listing for alpha-*-linux-gnu.
17371
cb4a2928
JM
173722014-02-11 Joseph Myers <joseph@codesourcery.com>
17373
c941736c
JM
17374 * include/features.h: Update comment documenting feature test
17375 macros.
17376 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17377 _DEFAULT_SOURCE.
17378 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17379 (_SVID_SOURCE): Likewise.
17380 (_DEFAULT_SOURCE): Update description of default features.
17381 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17382 with _GNU_SOURCE.
17383 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17384 (S_ISVTX): Likewise.
17385 * manual/math.texi (Mathematical Constants): Likewise.
17386 * manual/signal.texi (Interrupted Primitives): Likewise.
17387 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17388 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17389 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17390 Don't refer to _SVID_SOURCE in warning text.
17391
e8d8d7ec
JM
17392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17393
cb4a2928
JM
17394 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17395 already defined.
17396 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17397 * sysdeps/mips/dl-lookup.c: Remove.
17398 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17399
7e6424e3
AK
174002014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17401
17402 [BZ #16447]
17403 * math/auto-libm-test-in: Add testcase for expl.
17404 * math/auto-libm-test-out: Regenerate.
17405 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17406 calculation of unsafe.
17407 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17408
75eff3fe
MS
174092014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17410
17411 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17412 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17413 ports/sysdeps/unix/sysv/linux/aarch64.
17414 * README: Update listing for aarch64*-*-linux-gnu.
17415
d35f1e80
WN
174162014-02-11 Will Newton <will.newton@linaro.org>
17417
17418 * manual/probes.texi (Mathematical Function Probes): Use
17419 "triggered" instead of "hit".
17420
7b3436d4
WN
17421 * manual/probes.texi (Internal Probes): Add documentation
17422 of setjmp, longjmp and longjmp_target probes.
17423
b4f12ca3
WN
17424 * include/stap-probe.h: Add comment about probe argument
17425 format.
17426
c13a72b7
WN
17427 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17428 definition. (tr_where, tr_freehook, tr_mallochook,
17429 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17430
195b8165
DM
174312014-02-11 David S. Miller <davem@davemloft.net>
17432
17433 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17434 processing int_tests.
17435
2ad7600b
JM
174362014-02-10 Joseph Myers <joseph@codesourcery.com>
17437
17438 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17439 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17440 * sysdeps/unix/sysv/linux/mips: Move directory from
17441 ports/sysdeps/unix/sysv/linux/mips.
17442 * README: Update listing for mips-*-linux-gnu and
17443 mips64-*-linux-gnu.
17444
73588a72
AS
174452014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17446
17447 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17448 * sysdeps/unix/sysv/linux/m68k: Move directory from
17449 ports/sysdeps/unix/sysv/linux/m68k.
17450 * README: Update listing for m68k-*-linux-gnu.
17451
4372980f
CM
174522014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17453
17454 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17455 * sysdeps/unix/sysv/linux/generic: Move directory from
17456 ports/sysdeps/unix/sysv/linux/generic.
17457 * sysdeps/unix/sysv/linux/tile: Move directory from
17458 ports/sysdeps/unix/sysv/linux/tile.
17459 * README: Update listing for tile*-*-linux-gnu.
17460
a1ffb40e
OB
174612014-02-10 Ondřej Bílka <neleai@seznam.cz>
17462
57f41c40
AS
17463 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17464 __builtin_expect.
a1ffb40e
OB
17465 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17466 * catgets/open_catalog.c (__open_catalog): Likewise.
17467 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17468 * debug/confstr_chk.c: Likewise.
17469 * debug/fread_chk.c (__fread_chk): Likewise.
17470 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17471 * debug/getgroups_chk.c: Likewise.
17472 * debug/mbsnrtowcs_chk.c: Likewise.
17473 * debug/mbsrtowcs_chk.c: Likewise.
17474 * debug/mbstowcs_chk.c: Likewise.
17475 * debug/memcpy_chk.c: Likewise.
17476 * debug/memmove_chk.c: Likewise.
17477 * debug/mempcpy_chk.c: Likewise.
17478 * debug/memset_chk.c: Likewise.
17479 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17480 * debug/strcat_chk.c (__strcat_chk): Likewise.
17481 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17482 * debug/strncat_chk.c (__strncat_chk): Likewise.
17483 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17484 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17485 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17486 * debug/wcpncpy_chk.c: Likewise.
17487 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17488 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17489 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17490 * debug/wcsncpy_chk.c: Likewise.
17491 * debug/wcsnrtombs_chk.c: Likewise.
17492 * debug/wcsrtombs_chk.c: Likewise.
17493 * debug/wcstombs_chk.c: Likewise.
17494 * debug/wmemcpy_chk.c: Likewise.
17495 * debug/wmemmove_chk.c: Likewise.
17496 * debug/wmempcpy_chk.c: Likewise.
17497 * debug/wmemset_chk.c: Likewise.
17498 * dirent/scandirat.c (SCANDIRAT): Likewise.
17499 * dlfcn/dladdr1.c (dladdr1): Likewise.
17500 * dlfcn/dladdr.c (dladdr): Likewise.
17501 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17502 * dlfcn/dlerror.c (__dlerror): Likewise.
17503 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17504 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17505 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17506 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17507 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17508 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17509 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17510 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17511 Likewise.
17512 * elf/dl-conflict.c: Likewise.
17513 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17514 * elf/dl-dst.h: Likewise.
17515 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17516 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17517 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17518 * elf/dl-init.c (call_init, _dl_init): Likewise.
17519 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17520 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17521 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17522 Likewise.
a1ffb40e
OB
17523 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17524 Likewise.
17525 * elf/dl-minimal.c (__libc_memalign): Likewise.
17526 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17527 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17528 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17529 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17530 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17531 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17532 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17533 * elf/dl-writev.h (_dl_writev): Likewise.
17534 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17535 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17536 (dl_main): Likewise.
a1ffb40e
OB
17537 * elf/setup-vdso.h (setup_vdso): Likewise.
17538 * grp/compat-initgroups.c (compat_call): Likewise.
17539 * grp/fgetgrent.c (fgetgrent): Likewise.
17540 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17541 * grp/putgrent.c (putgrent): Likewise.
17542 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17543 Likewise.
17544 * hurd/hurdinit.c: Likewise.
17545 * iconvdata/8bit-gap.c (struct): Likewise.
17546 * iconvdata/ansi_x3.110.c : Likewise.
17547 * iconvdata/big5.c : Likewise.
17548 * iconvdata/big5hkscs.c : Likewise.
17549 * iconvdata/cp1255.c: Likewise.
17550 * iconvdata/cp1258.c : Likewise.
17551 * iconvdata/cp932.c : Likewise.
17552 * iconvdata/euc-cn.c: Likewise.
17553 * iconvdata/euc-jisx0213.c : Likewise.
17554 * iconvdata/euc-jp.c: Likewise.
17555 * iconvdata/euc-jp-ms.c : Likewise.
17556 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17557 * iconvdata/gb18030.c : Likewise.
17558 * iconvdata/gbbig5.c (const): Likewise.
17559 * iconvdata/gbgbk.c: Likewise.
17560 * iconvdata/gbk.c : Likewise.
17561 * iconvdata/ibm1364.c : Likewise.
17562 * iconvdata/ibm930.c : Likewise.
17563 * iconvdata/ibm932.c: Likewise.
17564 * iconvdata/ibm933.c : Likewise.
17565 * iconvdata/ibm935.c : Likewise.
17566 * iconvdata/ibm937.c : Likewise.
17567 * iconvdata/ibm939.c : Likewise.
17568 * iconvdata/ibm943.c: Likewise.
17569 * iconvdata/iso_11548-1.c: Likewise.
17570 * iconvdata/iso-2022-cn.c : Likewise.
17571 * iconvdata/iso-2022-cn-ext.c : Likewise.
17572 * iconvdata/iso-2022-jp-3.c: Likewise.
17573 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17574 * iconvdata/iso-2022-kr.c : Likewise.
17575 * iconvdata/iso646.c (gconv_end): Likewise.
17576 * iconvdata/iso_6937-2.c : Likewise.
17577 * iconvdata/iso_6937.c : Likewise.
17578 * iconvdata/iso8859-1.c: Likewise.
17579 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17580 * iconvdata/shift_jisx0213.c : Likewise.
17581 * iconvdata/sjis.c : Likewise.
17582 * iconvdata/t.61.c : Likewise.
17583 * iconvdata/tcvn5712-1.c : Likewise.
17584 * iconvdata/tscii.c: Likewise.
17585 * iconvdata/uhc.c : Likewise.
17586 * iconvdata/unicode.c (gconv_end): Likewise.
17587 * iconvdata/utf-16.c (gconv_end): Likewise.
17588 * iconvdata/utf-32.c (gconv_end): Likewise.
17589 * iconvdata/utf-7.c (base64): Likewise.
17590 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17591 * iconv/gconv_close.c (__gconv_close): Likewise.
17592 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17593 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17594 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17595 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17596 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17597 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17598 * iconv/iconv.c (iconv): Likewise.
17599 * iconv/iconv_close.c: Likewise.
17600 * iconv/loop.c (SINGLE): Likewise.
17601 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17602 * include/atomic.h: Likewise.
17603 * inet/inet6_option.c (option_alloc): Likewise.
17604 * intl/bindtextdom.c (set_binding_values): Likewise.
17605 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17606 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17607 * intl/localealias.c (read_alias_file): Likewise.
17608 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17609 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17610 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17611 * libio/fmemopen.c (fmemopen): Likewise.
17612 * libio/iofgets.c (_IO_fgets): Likewise.
17613 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17614 * libio/iofgetws.c (fgetws): Likewise.
17615 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17616 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17617 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17618 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17619 * locale/findlocale.c (_nl_find_locale): Likewise.
17620 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17621 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17622 Likewise.
17623 * locale/setlocale.c (setlocale): Likewise.
17624 * login/programs/pt_chown.c (main): Likewise.
17625 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17626 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17627 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17628 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17629 * math/e_exp2l.c: Likewise.
17630 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17631 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17632 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17633 * math/s_catan.c (__catan): Likewise.
17634 * math/s_catanf.c (__catanf): Likewise.
17635 * math/s_catanh.c (__catanh): Likewise.
17636 * math/s_catanhf.c (__catanhf): Likewise.
17637 * math/s_catanhl.c (__catanhl): Likewise.
17638 * math/s_catanl.c (__catanl): Likewise.
17639 * math/s_ccosh.c (__ccosh): Likewise.
17640 * math/s_ccoshf.c (__ccoshf): Likewise.
17641 * math/s_ccoshl.c (__ccoshl): Likewise.
17642 * math/s_cexp.c (__cexp): Likewise.
17643 * math/s_cexpf.c (__cexpf): Likewise.
17644 * math/s_cexpl.c (__cexpl): Likewise.
17645 * math/s_clog10.c (__clog10): Likewise.
17646 * math/s_clog10f.c (__clog10f): Likewise.
17647 * math/s_clog10l.c (__clog10l): Likewise.
17648 * math/s_clog.c (__clog): Likewise.
17649 * math/s_clogf.c (__clogf): Likewise.
17650 * math/s_clogl.c (__clogl): Likewise.
17651 * math/s_csin.c (__csin): Likewise.
17652 * math/s_csinf.c (__csinf): Likewise.
17653 * math/s_csinh.c (__csinh): Likewise.
17654 * math/s_csinhf.c (__csinhf): Likewise.
17655 * math/s_csinhl.c (__csinhl): Likewise.
17656 * math/s_csinl.c (__csinl): Likewise.
17657 * math/s_csqrt.c (__csqrt): Likewise.
17658 * math/s_csqrtf.c (__csqrtf): Likewise.
17659 * math/s_csqrtl.c (__csqrtl): Likewise.
17660 * math/s_ctan.c (__ctan): Likewise.
17661 * math/s_ctanf.c (__ctanf): Likewise.
17662 * math/s_ctanh.c (__ctanh): Likewise.
17663 * math/s_ctanhf.c (__ctanhf): Likewise.
17664 * math/s_ctanhl.c (__ctanhl): Likewise.
17665 * math/s_ctanl.c (__ctanl): Likewise.
17666 * math/w_pow.c: Likewise.
17667 * math/w_powf.c: Likewise.
17668 * math/w_powl.c: Likewise.
17669 * math/w_scalb.c (sysv_scalb): Likewise.
17670 * math/w_scalbf.c (sysv_scalbf): Likewise.
17671 * math/w_scalbl.c (sysv_scalbl): Likewise.
17672 * misc/error.c (error_tail): Likewise.
17673 * misc/pselect.c (__pselect): Likewise.
17674 * nis/nis_callback.c (__nis_create_callback): Likewise.
17675 * nis/nis_call.c (__nisfind_server): Likewise.
17676 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17677 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17678 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17679 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17680 * nis/nis_lookup.c (nis_lookup): Likewise.
17681 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17682 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17683 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17684 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17685 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17686 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17687 * nis/nss_compat/compat-initgroups.c (add_group)
17688 (internal_getgrent_r): Likewise.
17689 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17690 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17691 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17692 (internal_getspnam_r): Likewise.
17693 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17694 (_nss_nis_getaliasbyname_r): Likewise.
17695 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17696 (_nss_nis_getntohost_r): Likewise.
17697 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17698 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17699 (_nss_nis_getgrgid_r): Likewise.
17700 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17701 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17702 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17703 (_nss_nis_gethostbyname4_r): Likewise.
17704 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17705 (initgroups_netid): Likewise.
a1ffb40e 17706 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17707 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17708 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17709 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17710 (_nss_nis_getprotobynumber_r): Likewise.
17711 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17712 (_nss_nis_getsecretkey): Likewise.
17713 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17714 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17715 (_nss_nis_getpwuid_r): Likewise.
17716 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17717 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17718 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17719 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17720 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17721 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17722 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17723 Likewise.
57f41c40
AS
17724 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17725 (_nss_nisplus_getntohost_r): Likewise.
17726 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17727 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17728 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17729 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17730 Likewise.
57f41c40
AS
17731 * nis/nss_nisplus/nisplus-initgroups.c
17732 (_nss_nisplus_initgroups_dyn): Likewise.
17733 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17734 (_nss_nisplus_getnetbyaddr_r): Likewise.
17735 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17736 (_nss_nisplus_getprotobynumber_r): Likewise.
17737 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17738 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17739 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17740 Likewise.
57f41c40
AS
17741 * nis/nss_nisplus/nisplus-service.c
17742 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17743 (_nss_nisplus_getservbyport_r): Likewise.
17744 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17745 (_nss_nisplus_getspnam_r): Likewise.
17746 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17747 Likewise.
a1ffb40e
OB
17748 * nscd/aicache.c (addhstaiX): Likewise.
17749 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17750 * nscd/connections.c (register_traced_file, send_ro_fd)
17751 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17752 (main_loop_epoll): Likewise.
a1ffb40e
OB
17753 * nscd/grpcache.c (addgrbyX): Likewise.
17754 * nscd/hstcache.c (addhstbyX): Likewise.
17755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17756 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17757 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17758 (addinnetgrX): Likewise.
17759 * nscd/nscd-client.h (__nscd_acquire_maplock)
17760 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17761 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17762 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17763 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17764 Likewise.
17765 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17767 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17768 (__nscd_get_map_ref): Likewise.
a1ffb40e 17769 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17770 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17771 Likewise.
a1ffb40e
OB
17772 * nscd/pwdcache.c (addpwbyX): Likewise.
17773 * nscd/selinux.c (preserve_capabilities): Likewise.
17774 * nscd/servicescache.c (addservbyX): Likewise.
17775 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17776 * posix/fnmatch.c (fnmatch): Likewise.
17777 * posix/getopt.c (_getopt_internal_r): Likewise.
17778 * posix/glob.c (glob, glob_in_dir): Likewise.
17779 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17780 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17781 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17782 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17783 * resolv/res_init.c: Likewise.
17784 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17785 * resolv/res_query.c (__libc_res_nquery): Likewise.
17786 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17787 Likewise.
17788 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17789 * stdio-common/perror.c (perror): Likewise.
17790 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17791 * stdio-common/tmpnam.c (tmpnam): Likewise.
17792 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17793 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17794 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17795 Likewise.
a1ffb40e
OB
17796 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17797 * stdlib/putenv.c (putenv): Likewise.
17798 * stdlib/setenv.c (__add_to_environ): Likewise.
17799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17800 * stdlib/strtol_l.c (INTERNAL): Likewise.
17801 * string/memmem.c (memmem): Likewise.
17802 * string/strerror.c (strerror): Likewise.
17803 * string/strnlen.c (__strnlen): Likewise.
17804 * string/test-memmem.c (simple_memmem): Likewise.
17805 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17806 * sunrpc/pm_getport.c (__get_socket): Likewise.
17807 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17808 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17809 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17810 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17811 Likewise.
17812 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17813 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17814 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17815 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17816 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17817 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17818 Likewise.
17819 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17820 Likewise.
a1ffb40e
OB
17821 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17822 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17824 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17825 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17827 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17828 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17829 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17830 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17831 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17832 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17833 Likewise.
17834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17835 Likewise.
17836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17837 Likewise.
17838 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17842 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17843 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17844 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17847 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17848 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17850 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17853 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17854 Likewise.
a1ffb40e
OB
17855 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17856 Likewise.
17857 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17858 Likewise.
17859 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17860 Likewise.
17861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17863 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17864 Likewise.
17865 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17866 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17867 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17868 * sysdeps/posix/sleep.c: Likewise.
17869 * sysdeps/posix/tempname.c: Likewise.
17870 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17871 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17872 Likewise.
57f41c40
AS
17873 * sysdeps/powerpc/powerpc32/dl-machine.h
17874 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17875 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17876 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17877 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17878 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17879 Likewise.
17880 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17881 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17882 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17884 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17885 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17886 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17887 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17888 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17889 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17891 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17892 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17894 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17895 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17896 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17897 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17898 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17899 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17900 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17901 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17903 Likewise.
17904 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17905 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17906 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17907 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17908 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17909 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17910 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17911 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17912 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17913 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17914 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17915 Likewise.
17916 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17917 (__posix_fallocate64_l64): Likewise.
17918 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17919 (posix_fallocate): Likewise.
57f41c40
AS
17920 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17921 Likewise.
a1ffb40e 17922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17923 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17924 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17925 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17926 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17927 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17928 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17929 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17930 (__posix_fallocate64_l64): Likewise.
17931 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17932 Likewise.
17933 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17934 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17935 (__get_clockfreq): Likewise.
a1ffb40e
OB
17936 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17937 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17938 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17941 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17942 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17943 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17944 Likewise.
17945 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17946 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17947 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17948 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17949 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17950 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17951 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17952 Likewise.
17953 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17954 (posix_fallocate): Likewise.
17955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17956 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17957 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17958 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17959 (elf_machine_rela, elf_machine_rela_relative)
17960 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17961 * time/asctime.c (asctime_internal): Likewise.
17962 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17963 * time/tzset.c (__tzset_parse_tz): Likewise.
17964 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17965 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17966 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17967 * wcsmbs/wcsmbsload.h: Likewise.
17968
f3d338c9
OB
17969 [BZ #15894]
17970 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17971
57f41c40
AS
17972 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17973 (arena_get2): Remove THREAD_STATS conditionals.
17974 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17975 (__malloc_stats, int): Likewise.
bdfe308a 17976
d674667c
MF
179772014-02-08 Mike Frysinger <vapier@gentoo.org>
17978
17979 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17980 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17981
6349768c
MF
17982 * manual/setjmp.texi: Fix typos/grammar errors.
17983
0b7c7473
MF
17984 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17985 Only return early when n is <= 0. Delete unused return statement.
17986
ac8cc9e3
MF
17987 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17988 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17989 * debug/tst-longjmp_chk3.c: New file.
17990
c5bb8e23
MF
17991 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17992 (test_main): Replace code with set_fortify_handler call.
17993 * debug/test-strcpy_chk.c: Likewise.
17994 * debug/tst-chk1.c: Likewise.
17995 * debug/tst-longjmp_chk.c: Likewise.
17996 * test-skeleton.c: Include fcntl.h & paths.h
17997 (set_fortify_handler): Define.
17998
10444e42
MF
17999 * debug/tst-longjmp_chk.c: Add header comment and include
18000 ../test-skeleton.c.
18001 (do_test): Mark static.
18002 (TEST_FUNCTION): Define.
18003
1e805e8d
MF
18004 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18005 (IP_PMTUDISC_INTERFACE): Likewise.
18006 (IP_MULTICAST_IF): Likewise.
18007 (IP_MULTICAST_TTL): Likewise.
18008 (IP_MULTICAST_LOOP): Likewise.
18009 (IP_ADD_MEMBERSHIP): Likewise.
18010 (IP_DROP_MEMBERSHIP): Likewise.
18011 (IP_UNBLOCK_SOURCE): Likewise.
18012 (IP_BLOCK_SOURCE): Likewise.
18013 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18014 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18015 (IP_MSFILTER): Likewise.
18016 (MCAST_JOIN_GROUP): Likewise.
18017 (MCAST_BLOCK_SOURCE): Likewise.
18018 (MCAST_UNBLOCK_SOURCE): Likewise.
18019 (MCAST_LEAVE_GROUP): Likewise.
18020 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18021 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18022 (MCAST_MSFILTER): Likewise.
18023 (IP_MULTICAST_ALL): Likewise.
18024 (IP_UNICAST_IF): Likewise.
18025
73f79bb7
MF
18026 * timezone/Makefile: Delete $(have-ksh) check.
18027 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18028 * timezone/tzselect.ksh: Add +x mode bits.
18029
8da79b60
MF
18030 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18031 (ANON_INODE_FS_MAGIC): Likewise.
18032 (BDEVFS_MAGIC): Likewise.
18033 (BINFMTFS_MAGIC): Likewise.
18034 (BTRFS_TEST_MAGIC): Likewise.
18035 (CRAMFS_MAGIC_WEND): Likewise.
18036 (DEBUGFS_MAGIC): Likewise.
18037 (ECRYPTFS_SUPER_MAGIC): Likewise.
18038 (EXT3_SUPER_MAGIC): Likewise.
18039 (EXT4_SUPER_MAGIC): Likewise.
18040 (FUTEXFS_SUPER_MAGIC): Likewise.
18041 (HOSTFS_SUPER_MAGIC): Likewise.
18042 (HUGETLBFS_MAGIC): Likewise.
18043 (MINIX3_SUPER_MAGIC): Likewise.
18044 (MTD_INODE_FS_MAGIC): Likewise.
18045 (NILFS_SUPER_MAGIC): Likewise.
18046 (OPENPROM_SUPER_MAGIC): Likewise.
18047 (PIPEFS_MAGIC): Likewise.
18048 (PSTOREFS_MAGIC): Likewise.
18049 (QNX6_SUPER_MAGIC): Likewise.
18050 (RAMFS_MAGIC): Likewise.
18051 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18052 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18053 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18054 (SECURITYFS_MAGIC): Likewise.
18055 (SELINUX_MAGIC): Likewise.
18056 (SMACK_MAGIC): Likewise.
18057 (SOCKFS_MAGIC): Likewise.
18058 (SQUASHFS_MAGIC): Likewise.
18059 (STACK_END_MAGIC): Likewise.
18060 (TMPFS_MAGIC): Likewise.
18061 (USBDEVICE_SUPER_MAGIC): Likewise.
18062 (V9FS_MAGIC): Likewise.
18063 (XENFS_SUPER_MAGIC): Likewise.
18064 (CRAMFS_MAGIC): Fix typo in comment.
18065 (EXT2_SUPER_MAGIC): Update comment.
18066 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18067
464263cc
JM
180682014-02-08 Joseph Myers <joseph@codesourcery.com>
18069
c6bfe5c4
JM
18070 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18071 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18072 * sysdeps/unix/sysv/linux/arm: Move directory from
18073 ports/sysdeps/unix/sysv/linux/arm.
18074 * README: Update listing for arm-*-linux-gnueabi.
18075
464263cc
JM
18076 * README: Remove mention of am33.
18077
32749f6c
RM
180782014-02-07 Roland McGrath <roland@hack.frob.com>
18079
18080 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18081 than the comma operator, to avoid "rhs of comma has no effect"
18082 compiler warnings.
18083 (__sigfillset, __sigandset, __sigorset): Likewise.
18084 * include/signal.h (__sigemptyset): Likewise.
18085 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18086
d5b396c1
AM
180872014-02-07 Allan McRae <allan@archlinux.org>
18088
18089 * version.h (RELEASE): Set to "development".
18090 (VERSION): Set to "2.19.90"
18091 * NEWS: Add 2.20 section.
18092
3bfff2ed
CD
180932014-02-06 Carlos O'Donell <carlos@redhat.com>
18094
18095 [BZ #16529]
18096 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18097
ee7cc385
SP
180982014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18099
18100 * manual/contrib.texi: Update entry for Carlos O'Donell,
18101 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18102
f877c4f2
CD
181032014-02-05 Carlos O'Donell <carlos@rehdat.com>
18104
27e839f6
CD
18105 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18106
f877c4f2
CD
18107 * sysdeps/unix/sysv/linux/kernel-features.h
18108 [__LINUX_KERNEL_VERSION >= 0x020621]
18109 (__ASSUME_PROC_PID_TASK_COMM): Define.
18110
68159946
SP
181112014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18112
ba17cdbd
SP
18113 [BZ #16398]
18114 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18115 conversion when destination buffer does not have enough space.
18116 * libio/tst-ftell-partial-wide.c: New test case.
18117 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18118
68159946
SP
18119 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18120 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18121 Leonard and Allan McRae.
18122
2b528732
DM
181232014-02-04 David S. Miller <davem@davemloft.net>
18124
18125 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18126 32-bit.
18127
0ff82463
AZ
181282014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18129
57f41c40
AS
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18131 New file
c01603f7
AZ
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18133 New file
57f41c40
AS
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18135 New file.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18137 New file.
c01603f7
AZ
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18139 New file.
57f41c40
AS
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18141 New file.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18143 New file.
c01603f7
AZ
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18145 New file.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18147 New file.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18149 New file.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18151 New file.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18153 New file.
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18155 New file.
18156
181572014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18158
0ff82463
AZ
18159 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18160 * shlib-versions: Likewise.
18161
1695c773
AZ
181622014-02-04 Roland McGrath <roland@hack.frob.com>
18163 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18164
18165 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18166 (abilist-pattern): New variable, set to %-le.abilist.
18167
18168 * Makerules (abilist-pattern): New variable.
18169 (vpath): Use $(abilist-pattern) in place of %.abilist.
18170 (check-abi-% pattern rule): Likewise.
18171 (check-abi, update-abi): Likewise.
18172
6c0ce4b4
EW
181732014-02-04 Eric Wong <normalperson@yhbt.net>
18174
18175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18176
481e3524
CD
181772014-02-03 Carlos O'Donell <carlos@redhat.com>
18178
18179 * manual/startup.texi: Add next, previous, and top entries for
18180 the `Program Arguments' and `Environment Variables' nodes.
18181
375592d3
AO
181822014-02-03 Alexandre Oliva <aoliva@redhat.com>
18183
18184 * manual/macros.texi: Add comments before MTASC-safety macros.
18185
f54838ba
AO
18186 * manual/users.texi: Document MTASC-safety properties.
18187
57f41c40
AS
18188 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18189 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18190 @deftypefun, and add @safety note.
18191 * manual/signal.texi: Move comments that analyze the above
18192 functions to their home place.
18193
fd3daba4
AM
181942014-02-03 Allan McRae <allan@archlinux.org>
18195
18196 * po/sl.po: Update Slovenian translation from translation project.
18197
597636d7
AO
181982014-02-02 Alexandre Oliva <aoliva@redhat.com>
18199
18200 * manual/time.texi (timegm): Add missing blank after @c.
18201 Reported by Joseph Myers <joseph@codesourcery.com>.
18202
ee196e3c
AO
182032014-02-01 Alexandre Oliva <aoliva@redhat.com>
18204
18205 * manual/check-safety.sh: New.
18206 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18207
f8d529d5
AO
18208 * manual/terminal.texi: Document MTASC-safety properties.
18209
de55fdf4
AO
18210 * manual/filesys.texi: Document MTASC-safety properties.
18211
c3299c08
AO
18212 * manual/errno.texi: Document MTASC-safety properties.
18213
06e90b14
AO
18214 * manual/intro.texi: Document safety identifiers and
18215 conditionals.
18216
1acd4371
AO
18217 * manual/string.texi (wcstok): Fix prototype.
18218 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18219
23e5b8cb
AO
18220 * manual/time.texi: Document MTASC-safety properties.
18221
11087373
AO
18222 * manual/string.texi: Document MTASC-safety properties.
18223
5da2c93d
AO
18224 * manual/threads.texi: Document MTASC-safety properties.
18225
171e9210
AO
18226 * manual/stdio.texi: Document MTASC-safety properties.
18227
d9e02532
AO
18228 * manual/syslog.texi: Document MTASC-safety properties.
18229
6af8bab7
AO
18230 * manual/sysinfo.texi: Document MTASC-safety properties.
18231
663b02d7
AO
18232 * manual/startup.texi: Document MTASC-safety properties.
18233
973f180b
AO
18234 * manual/socket.texi: Document MTASC-safety properties.
18235
8f3c25c8
AO
18236 * manual/signal.texi: Document MTASC-safety properties.
18237
542210fb
AO
182382014-01-31 Alexandre Oliva <aoliva@redhat.com>
18239
18240 * manual/setjmp.texi: Document MTASC-safety properties.
18241
433c45a2
AO
18242 * manual/search.texi: Document MTASC-safety properties.
18243
c8ce789c
AO
18244 * manual/resource.texi: Document MTASC-safety properties.
18245
19f5d29c
AO
18246 * manual/process.texi: Document MTASC-safety properties.
18247
e2dfb7f4
AO
18248 * manual/platform.texi: Document MTASC-safety properties.
18249
8c1413f5
AO
18250 * manual/pipe.texi: Document MTASC-safety properties.
18251
03483ada
AO
18252 * manual/pattern.texi: Document MTASC-safety properties.
18253
29e7e2df
AO
18254 * manual/message.texi: Document MTASC-safety properties.
18255
9f529d7c
AO
18256 [BZ #12751]
18257 * manual/memory.texi: Document MTASC-safety properties.
18258
27aaa791
AO
18259 * manual/math.texi: Document MTASC-safety properties.
18260
f2d58726
AO
18261 * manual/locale.texi: Document MTASC-safety properties.
18262
2cc3615c
AO
18263 * manual/llio.texi: Document MTASC-safety properties.
18264
d9f0ec97
AO
18265 * manual/libdl.texi: New.
18266
e7c4409a
AO
18267 * manual/lang.texi: Document MTASC-safety properties.
18268
27bdc63c
AO
18269 * manual/job.texi: Document MTASC-safety properties.
18270
a7b90ea9
AO
18271 * manual/getopt.texi: Document MTASC-safety properties.
18272
c49130e3
AO
18273 * manual/ctype.texi: Document MTASC-safety properties.
18274
0d23a5c1
MR
182752014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18276
18277 [BZ #16046]
18278 * csu/libc-tls.c (static_map): Remove variable.
18279 (__libc_setup_tls): Use main executable's link map for TLS data.
18280 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18281 casing for LM_ID_BASE and GL(dl_nns).
18282 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18283 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18284 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18285 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18286 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18287 member.
18288 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18289 l_phnum members.
18290
0037bb60
AO
182912014-01-30 Alexandre Oliva <aoliva@redhat.com>
18292
18293 * manual/debug.texi: Document MTASC-safety properties.
18294
409e00bd
L
182952014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18296
18297 [BZ #16510]
18298 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18299 of __x86_64__ when disabling x87 inline functions.
18300
86e60666
AO
183012014-01-29 Alexandre Oliva <aoliva@redhat.com>
18302
18303 * manual/charset.texi: Document MTASC-safety properties.
18304
76167637
AO
18305 * manual/crypt.texi: Document MTASC-safety properties.
18306
e567f2a0
AO
18307 * manual/conf.texi: Document MTASC-safety properties.
18308
b719dafd
AO
18309 * manual/arith.texi: Document MTASC-safety properties.
18310
4a16c662
AO
18311 * manual/argp.texi: Document MTASC-safety properties.
18312
0a57b83e
AO
18313 * manual/macros.texi: Introduce macros to document multi
18314 thread, asynchronous signal and asynchronous cancellation
18315 safety properties.
18316 * manual/intro.texi: Introduce the properties themselves.
18317
feab2397
KK
183182014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18319
18320 * sysdeps/sh/sh4/Makefile: New file.
18321
1c0d11bc
AS
183222014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18323
18324 * math/gen-libm-test.pl ($srcdir): New variable.
18325 ($auto_input): Use it.
18326
af37a8a3
SP
183272014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18328
d7b00f98
SP
18329 [BZ #16506]
18330 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18331 access beyond array bounds when parsing netgroups file.
18332
af37a8a3
SP
18333 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18334 the old buffer before realloc.
18335
0c00f062
AM
183362014-01-27 Allan McRae <allan@archlinux.org>
18337
18338 * po/fr.po: Update French translation from translation project.
18339
7d69a1b0
KK
183402014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18341
18342 * sysdeps/sh/libm-test-ulps: Regenerate.
18343
6e697ff7
DM
183442014-01-24 David S. Miller <davem@davemloft.net>
18345
18346 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18347
9cadb35c
KK
183482014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18349
18350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18351 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18352
5d41dadf
SP
183532013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18354
18355 [BZ #16474]
18356 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18357 string pointers after reallocation.
18358
0bad441c
KK
183592014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18360
18361 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18362 __SH4A__ instead of __SH_FPU_ANY__.
18363
7007c661
KK
183642014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18365
18366 * sysdeps/sh/fpu_control.h: New file.
18367 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18368 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18369 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18370 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18371 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18372 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18373 * sysdeps/sh/sys/ucontext.h: Remove.
18374 * sysdeps/sh/sys: Remove directory.
18375
0f0c35e4
AK
183762014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18377
18378 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18379 s390/sys/ucontext.h.
18380 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18381 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18382
4959e284
L
183832014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18384
18385 [BZ #15605]
18386 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18387
d98720e0
AZ
183882014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18389
18390 [BZ#16431]
18391 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18392 Adjust the vDSO correctly for internal calls.
18393 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18394
91cbd0bc
AM
183952014-01-20 Allan McRae <allan@archlinux.org>
18396
18397 * po/ca.po: Update Catalan translation from translation project.
18398
7a02cfad
MF
183992014-01-16 Mike Frysinger <vapier@gentoo.org>
18400
18401 * sysdeps/s390/sotruss-lib.c: New file.
18402
736c304a
AZ
184032014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18404
18405 [BZ#16430]
6e077ee5 18406 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18407 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18408 local calls issues by not having a PLT stub required for IFUNC calls.
18409 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18410
94d0cea0
JM
184112014-01-16 Joseph Myers <joseph@codesourcery.com>
18412
18413 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18414 * math/test-fpucw-static.c: Likewise.
18415
980cb518
SP
184162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18417
18418 [BZ #16453]
18419 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18420
2393fc01
AZ
184212014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18422
18423 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18424 implementation for powerpc.
18425
d359bcc2
OB
184262014-01-15 Ondřej Bílka <neleai@seznam.cz>
18427
18428 [BZ #14782]
18429 * sysdeps/posix/system.c (__libc_system): Do not enable
18430 asynchronous cancellation.
18431
7beb48cb
AK
184322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18433
18434 [BZ #16427]
18435 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18436 handling only for numbers special also in the IEEE case.
18437
c20d5bf5
AK
184382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18439
18440 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18441
e83bd4ee
AM
184422014-01-11 Allan McRae <allan@archlinux.org>
18443
76d0ea69
AM
18444 * po/bg.po: Update Bulgarian translation from translation project.
18445
e83bd4ee
AM
18446 * po/de.po: Update German translation from translation project.
18447
bc2ba20a
RM
184482014-01-10 Roland McGrath <roland@hack.frob.com>
18449
18450 * sysdeps/generic/gcc-compat.h: New file.
18451
649ecea2
SP
184522014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18453
18454 * benchtests/asin-inputs: Correct slow inputs.
18455 * benchtests/acos-inputs: Likewise.
18456
1b19c006
AM
184572014-01-10 Allan McRae <allan@archlinux.org>
18458
a46dab08
AM
18459 * po:sv.po: Update Swedish translation from translation project.
18460
421df74a
AM
18461 * po/vi.po: Update Vietnamese translation from translation project.
18462
d61c51a7
AM
18463 * po/eo.po: Update Esperanto translation from translation project.
18464
0339a319
AM
18465 * po/cs.po: Update Czech translation from translation project.
18466
94ad3e99
AM
18467 * po/nl.po: Update Dutch translation from translation project.
18468
e349ca71
AM
18469 * po/pl.po: Update Polish translation from translation project.
18470
ddf930c1
AM
18471 * po/ru.po: Update Russian translation from translation project.
18472
1b19c006
AM
18473 * po/uk.po: Update Ukrainian translation from translation project.
18474
9f236c49
BM
184752014-01-08 Brooks Moses <bmoses@google.com>
18476
18477 * elf/dl-load.c: Fix comment typo.
18478
cd6701cf
CD
184792014-01-08 Carlos O'Donell <carlos@redhat.com>
18480
18481 * po/header.pot: Rename to...
18482 * po/pot.header: ... this.
18483 * po/Makefile: Use pot.header.
18484
66671c84
YK
184852014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18486 Maxim Kuvyrkov <maxim@kugelworks.com>
18487
18488 [BZ #16394]
cd6701cf
CD
18489 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18490 SRC and DEST against LEN.
66671c84 18491
38f34581
AZ
184922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18493
18494 [BZ #16414]
18495 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18496 implementation.
18497 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18498
184992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18500
18501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18502
4c327f2a
JM
185032014-01-08 Joseph Myers <joseph@codesourcery.com>
18504
18505 [BZ #16408]
18506 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18507 for large positive arguments.
18508
b821f414
JM
185092014-01-07 Joseph Myers <joseph@codesourcery.com>
18510
1f0f2067
JM
18511 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18512
a5a326f6
JM
18513 * math/auto-libm-test-in: Mark various tests with
18514 xfail-rounding:ldbl-128ibm.
18515 * math/auto-libm-test-out: Regenerated.
18516
b821f414
JM
18517 [BZ #16407]
18518 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18519 Increase overflow threshold.
18520
94c8a4bc
OB
185212014-01-07 Ondřej Bílka <neleai@seznam.cz>
18522
18523 [BZ #14286]
18524 * stdio-common/vfprintf.c: Check for integer overflow.
18525
87ded0c3
AK
185262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18527
18528 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18529 the first argument and return value of __tls_get_addr_internal.
18530
c5eebdd0
AK
185312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18532
18533 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18534 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18535
05d138ef
AK
185362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18537
18538 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18539 * sysdeps/s390/rtld-global-offsets.sym: New file.
18540 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18541 GLIBC_2.19 symbol.
18542 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18544 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18545 ... this.
18546 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18547 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18548 ... this.
18549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18550 Regenerate.
18551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18552 Regenerate.
18553 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18554 halfs of GPRs for high_gprs contexts.
18555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18556 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18557 field.
18558 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18559 uc_flags field.
18560 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18561 64 bit versions:
18562 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18563 for high GPRs (uc_high_gprs) and for future extensions
18564 (__reserved).
18565 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18566 for future extensions (__reserved).
18567 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18568 64 bit versions:
18569 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18570 SC_HIGHGPRS offset definition.
18571 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18572 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18573
93a45ff1
AK
18574 * Versions.def: Add GLIBC_2.19 for libpthread.
18575 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18576 siglongjmp for libpthread with GLIBC_2.19 symver.
18577 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18578 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18579 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18580 * sysdeps/s390/__longjmp.c: New file.
18581 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18582 * sysdeps/s390/longjmp.c: New file.
18583 * sysdeps/s390/setjmp.S: New file.
18584 * sysdeps/s390/sigjmp.S: New file.
18585 * sysdeps/s390/v1-longjmp.c: New file.
18586 * sysdeps/s390/v1-setjmp.h: New file.
18587 * sysdeps/s390/v1-sigjmp.c: New file.
18588 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18589 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18590 GLIBC_2.19 version.
18591 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18592 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18593 versioned symbols for ____longjmp_chk.
18594 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18595 Likewise.
18596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18597 Regenerate.
18598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18599 Regenerate.
18600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18601 Regenerate.
18602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18603 Regenerate.
18604 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18605 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18606 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18607 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18608 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18609 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18610 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18611 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18612 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18613 * sysdeps/s390/rtld-__longjmp.c: New file.
18614 * sysdeps/s390/rtld-setjmp.S: New file.
18615
eb3fc44b
JM
186162014-01-06 Joseph Myers <joseph@codesourcery.com>
18617
18618 [BZ #16400]
18619 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18620 Return -__logl (x) for small positive arguments without evaluating
18621 a polynomial.
18622
9341dde4
MF
186232014-01-06 Mike Frysinger <vapier@gentoo.org>
18624
18625 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18626 Rename to ...
18627 (__ptrace_peeksiginfo_args): ... this.
18628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18629 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18630 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18631
4cff0293
AM
186322014-01-06 Allan McRae <allan@archlinux.org>
18633
18634 * inet/netinet/in.h: Fix typo in comment.
18635
75595dcf
AJ
186362014-01-05 Andreas Jaeger <aj@suse.de>
18637
18638 * sysdeps/i386/fpu/libm-test-ulps: Update.
18639
79c1e109
AM
186402014-01-05 Allan McRae <allan@archlinux.org>
18641
dd804818
AM
18642 * po/libc.pot: Regenerated.
18643
79c1e109
AM
18644 * malloc/memusagestat.c: Fix gettext call formatting.
18645
0c813d1f
SK
186462014-01-04 Sami Kerola <kerolasa@iki.fi>
18647
18648 * nscd/nscd.c: Improve usage() output.
18649
20f4a8d9
MF
186502014-01-04 Mike Frysinger <vapier@gentoo.org>
18651
18652 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18653 * sysdeps/unix/sysv/linux/configure: Regenerated.
18654 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18655 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18656
22562bb2
JM
186572014-01-03 Joseph Myers <joseph@codesourcery.com>
18658
18659 [BZ #16390]
18660 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18661 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18662
d7ad2d9b
AZ
186632014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18664
18665 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18666 extra tokens at end of #undef directive.
18667 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18668 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18669 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18670
7dd009d8
JM
186712014-01-03 Joseph Myers <joseph@codesourcery.com>
18672
24db925a
JM
18673 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18674
7dd009d8
JM
18675 * math/auto-libm-test-in: Mark various tests with
18676 xfail-rounding:ldbl-128ibm.
18677 * math/auto-libm-test-out: Regenerated.
18678
396e3ecf
JM
186792014-01-02 Joseph Myers <joseph@codesourcery.com>
18680
819e5d50
JM
18681 [BZ #16386]
18682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18683 numbers with subnormal high part when calculating exponent.
18684
90b6a1e5
JM
18685 [BZ #16385]
18686 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18687 fabs.
18688
396e3ecf
JM
18689 [BZ #16384]
18690 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18691 M_LN2l.
18692 (__ieee754_acoshl): Use __log1pl not __log1p.
18693
6c8dbf00
OB
186942013-01-02 Ondřej Bílka <neleai@seznam.cz>
18695
57f41c40
AS
18696 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18697 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18698 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18699 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18700 (reused_arena, arena_get2): Convert to GNU style.
18701 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18702 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18703 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18704 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18705 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18706 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18707 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18708 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18709 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18710 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18711 * malloc/malloc.h: Likewise.
57f41c40
AS
18712 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18713 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18714 * malloc/mcheck.h: Likewise.
57f41c40
AS
18715 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18716 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18717 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18718 * malloc/morecore.c (__default_morecore): Likewise.
18719 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18720 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18721 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18722 (print_and_abort): Likewise.
6c8dbf00
OB
18723 * malloc/obstack.h: Likewise.
18724 * malloc/set-freeres.c (__libc_freeres): Likewise.
18725 * malloc/tst-mallocstate.c (main): Likewise.
18726 * malloc/tst-mtrace.c (main): Likewise.
18727 * malloc/tst-realloc.c (do_test): Likewise.
18728
d4124212
SP
187292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18730
9a3c6a6f
SP
18731 [BZ #16366]
18732 * nscd/netgroupcache.c (do_notfound): New function.
18733 (addgetnetgrentX): Use it.
18734
d4124212
SP
18735 [BZ # 16365]
18736 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18737 NSS_STATUS_NOTFOUND.
18738
97b9a009
JM
187392014-01-01 Joseph Myers <joseph@codesourcery.com>
18740
18741 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18743
d4697bc9
AM
187442014-01-01 Allan McRae <allan@archlinux.org>
18745
ddb3687f
AM
18746 * scripts/update-copyrights: Update configure input file suffix.
18747
88726d48
AM
18748 * NEWS: Update copyright year.
18749 * catgets/gencat.c: Likewise.
18750 * csu/version.c: Likewise.
18751 * debug/catchsegv.sh: Likewise.
18752 * debug/pcprofiledump.c: Likewise.
18753 * debug/xtrace.sh: Likewise.
18754 * elf/ldconfig.c: Likewise.
18755 * elf/ldd.bash.in: Likewise.
18756 * elf/pldd.c: Likewise.
18757 * elf/sotruss.ksh: Likewise.
18758 * elf/sprof.c: Likewise.
18759 * iconv/iconv_prog.c: Likewise.
18760 * iconv/iconvconfig.c: Likewise.
18761 * locale/programs/locale.c: Likewise.
18762 * locale/programs/localedef.c: Likewise.
18763 * login/programs/pt_chown.c: Likewise.
18764 * malloc/memusage.sh: Likewise.
18765 * malloc/memusagestat.c: Likewise.
18766 * malloc/mtrace.pl: Likewise.
18767 * manual/libc.texinfo: Likewise.
18768 * nscd/nscd.c: Likewise.
18769 * nss/getent.c: Likewise.
18770 * nss/makedb.c: Likewise.
18771 * posix/getconf.c: Likewise.
18772 * scripts/test-installation.pl: Likewise.
18773
d4697bc9
AM
18774 * All files with FSF copyright notices: Update copyright dates
18775 using scripts/update-copyrights.
18776 * intl/plural.c: Regenerated.
18777 * locale/programs/charmap-kw.h: Likewise.
18778 * locale/programs/locfile-kw.h: Likewise.
18779
c8590f9d
MF
187802013-12-31 Mike Frysinger <vapier@gentoo.org>
18781
18782 * sysdeps/unix/sysv/linux/configure: Regenerated.
18783 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18784 the linux/fanotify.h header.
18785 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18786 HAVE_LINUX_FANOTIFY_H is defined.
18787
b19221b9
SP
187882013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18789
dd1d85e5
SP
18790 * benchtests/cos-inputs: New inputs.
18791 * benchtests/sin-inputs: Likewise.
18792
1acbb90f
SP
18793 * benchtests/atan-inputs: New inputs. Fix name of multiple
18794 precision fallback inputs.
18795
4c012ed3
SP
18796 * benchtests/atanh-inputs: New inputs.
18797 * benchtests/tanh-inputs: Likewise.
18798
eff98324
SP
18799 * benchtests/acosh-inputs: New inputs.
18800 * benchtests/asinh-inputs: Likewise.
18801
ce641152
SP
18802 * benchtests/cosh-inputs: New inputs.
18803 * benchtests/sinh-inputs: Likewise.
18804
b19221b9
SP
18805 * benchtests/acos-inputs: Add more inputs.
18806 * benchtests/asin-inputs: Likewise.
18807
030a4976 188082013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18809
030a4976 18810 [BZ #16375]
9dcc8f11
VS
18811 * manual/arith.texi: Fix spelling.
18812 * manual/charset.texi: Likewise.
18813 * manual/errno.texi: Likewise.
18814 * manual/filesys.texi: Likewise.
18815 * manual/lang.texi: Likewise.
18816 * manual/llio.texi: Likewise.
18817 * manual/locale.texi: Likewise.
18818 * manual/message.texi: Likewise.
18819 * manual/resource.texi: Likewise.
18820 * manual/search.texi: Likewise.
18821 * manual/setjmp.texi: Likewise.
18822 * manual/stdio.texi: Likewise.
18823 * manual/string.texi: Likewise.
18824 * manual/sysinfo.texi: Likewise.
18825 * manual/time.texi: Likewise.
18826
11520a57
CD
188272013-12-27 Carlos O'Donell <carlos@redhat.com>
18828
18829 * po/sl.po: New file.
18830
471103ae
MF
188312013-12-27 Mike Frysinger <vapier@gentoo.org>
18832
18833 * .gitignore: Add core/.gdbinit/.gdb_history.
18834
6c9642ed
AM
188352013-12-27 Allan McRae <allan@archlinux.org>
18836
18837 [BZ #16369]
18838 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18839 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18840
3f637079
BM
188412013-12-24 Brooks Moses <bmoses@google.com>
18842
18843 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18844 all compilers that claim C++98 compliance, not just GCC.
18845 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18846 Likewise.
18847
abc26e99
MK
188482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18849
18850 * NEWS: Restore accidentally deleted bug-fix entries.
18851
362b47fe
MK
188522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18853 Ondřej Bílka <neleai@seznam.cz>
18854
18855 [BZ #15073]
18856 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18857 have_lock.
362b47fe 18858
b9bcbbcb
OB
188592013-12-23 Ondřej Bílka <neleai@seznam.cz>
18860
18861 [BZ #12986]
18862 * manual/stdio.texi (String Input Conversions): Clarify that character
18863 classes are not supported.
18864
fb55fcd2
AZ
188652013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18866
18867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18868
ef7344f0
JM
188692013-12-22 Joseph Myers <joseph@codesourcery.com>
18870
4f40e4b3
JM
18871 [BZ #16337]
18872 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18873 Calculate results for small negative arguments directly rather
18874 than using reflection formula with special underflow handling.
18875
ef7344f0
JM
18876 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18877 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18878 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18879 (fchflags): Likewise.
18880 (revoke): Likewise.
18881 (setlogin): Likewise.
18882 (sigaltstack): Likewise.
18883 (wait4): Likewise.
18884 (sigblock): Remove.
18885 (sigsetmask): Likewise.
18886 (wait3): Likewise.
18887 (waitpid): Likewise.
18888 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18889 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18890 file.
18891 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18892 * sysdeps/unix/bsd/Makefile: ... here.
18893 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18894 * sysdeps/unix/bsd/Versions: ... here.
18895 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18896 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18897 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18898 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18899 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18900 * sysdeps/unix/bsd/sigblock.c: ... here.
18901 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18902 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18903 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18904 * sysdeps/unix/bsd/sigvec.c: ... here.
18905 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18906 * sysdeps/unix/bsd/tcdrain.c: ... here.
18907 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18908 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18909 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18910 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18911 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18912 * sysdeps/unix/bsd/wait.c: ... here.
18913 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18914 * sysdeps/unix/bsd/wait3.c: ... here.
18915 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18916 * sysdeps/unix/bsd/waitpid.c: ... here.
18917
5b0626b9
JM
189182013-12-21 Joseph Myers <joseph@codesourcery.com>
18919
18920 [BZ #16356]
18921 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18922 round-to-nearest for [!USE_AS_EXPM1L].
18923 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18924 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18925 more tests of exp and exp10. Expect some exp10 tests to miss
18926 exceptions or fail in directed rounding modes.
18927 * math/auto-libm-test-out: Regenerated.
18928 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18929 (exp10_test_tonearest): New function.
18930 (exp10_towardzero_test_data): New array.
18931 (exp10_test_towardzero): New function.
18932 (exp10_downward_test_data): New array.
18933 (exp10_test_downward): New function.
18934 (exp10_upward_test_data): New array.
18935 (exp10_test_upward): New function.
18936 (main): Call the new functions.
18937 * sysdeps/i386/fpu/libm-test-ulps: Update.
18938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18939
7fda5682
JM
189402013-12-20 Joseph Myers <joseph@codesourcery.com>
18941
31e3a405
JM
18942 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18943 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18944 * math/auto-libm-test-out: Regenerated.
18945 * math/libm-test.inc (acosh_test_data): Add more tests.
18946 (atanh_test_data): Likewise.
18947 (ceil_test_data): Likewise.
18948 (copysign_test_data): Likewise.
18949 * sysdeps/i386/fpu/libm-test-ulps: Update.
18950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18951
85bff96a
JM
18952 * timezone/checktab.awk: Update from tzcode 2013i.
18953 * timezone/private.h: Likewise.
18954 * timezone/scheck.c: Likewise.
18955 * timezone/tzfile.h: Likewise.
18956 * timezone/tzselect.ksh: Likewise.
18957 * timezone/zdump.c: Likewise.
18958 * timezone/zic.c: Likewise.
18959
b7867a3b
JM
18960 * math/auto-libm-test-in: Add tests of cpow.
18961 * math/auto-libm-test-out: Regenerated.
18962 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18963 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18964 mpc_cc_c.
18965 (func_calc_desc): Add mpc_cc_c union field.
18966 (test_functions): Add cpow.
18967 (special_fill_2pi): New function.
18968 (special_real_inputs): Add 2pi.
18969 (calc_generic_results): Handle mpc_cc_c.
18970 * sysdeps/i386/fpu/libm-test-ulps: Update.
18971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18972
7fda5682
JM
18973 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18974 csqrt, ctan and ctanh.
18975 * math/auto-libm-test-out: Regenerated.
18976 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18977 (TEST_COND_x86): Likewise.
18978 (ccos_test_data): Use AUTO_TESTS_c_c.
18979 (ccosh_test_data): Likewise.
18980 (cexp_test_data): Likewise.
18981 (clog_test_data): Likewise.
18982 (csqrt_test_data): Likewise.
18983 (ctan_test_data): Likewise.
18984 (ctan_tonearest_test_data): Likewise.
18985 (ctan_towardzero_test_data): Likewise.
18986 (ctan_downward_test_data): Likewise.
18987 (ctan_upward_test_data): Likewise.
18988 (ctanh_test_data): Likewise.
18989 (ctanh_tonearest_test_data): Likewise.
18990 (ctanh_towardzero_test_data): Likewise.
18991 (ctanh_downward_test_data): Likewise.
18992 (ctanh_upward_test_data): Likewise.
18993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18994 mpc_c_c.
18995 (func_calc_desc): Add mpc_c_c union field.
18996 (FUNC_mpc_c_c): New macro.
18997 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18998 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18999 ctanh.
19000 (special_fill_min_subnorm_p120): New function.
19001 (special_real_inputs): Add min_subnorm_p120.
19002 (calc_generic_results): Handle mpc_c_c.
19003 * sysdeps/i386/fpu/libm-test-ulps: Update.
19004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19005
5ff8d60e
SP
190062013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19007
57f41c40
AS
19008 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19009 (do_sin_slow): New functions.
19010 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19011 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19012
84ba214c
SP
19013 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19014 Use M to change sign of result instead of X. Assume X is
19015 positive.
19016 (csloww1): Likewise.
19017 (__sin): Adjust.
19018 (__cos): Adjust.
19019
975195e4
SP
19020 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19021 arguments A and DA.
19022 (__sin): Adjust.
19023 (__cos): Likewise.
19024
5ff8d60e
SP
19025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19026 (__cos): Likewise.
19027 (sloww1): Don't adjust sign of DX.
19028 (csloww1): Likewise.
19029 (sloww2): Use X directly and don't adjust sign of DX.
19030 (csloww2): Likewise.
19031
eb983568
JM
190322013-12-19 Joseph Myers <joseph@codesourcery.com>
19033
64a17f1a
JM
19034 * math/auto-libm-test-in: Add tests of cabs and carg.
19035 * math/auto-libm-test-out: Regenerated.
19036 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19037 (carg_test_data): Likewise.
19038 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19039 mpc_c_f.
19040 (func_calc_desc): Add mpc_c_f union field.
19041 (test_functions): Add cabs and carg.
19042 (calc_generic_results): Handle mpc_c_f.
19043
eb983568
JM
19044 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19045 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19046 as a macro and a compat symbol.
19047 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19048 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19049 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19050 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19051 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19052 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19053 not use .hidden.
19054 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19055 Likewise.
19056 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19057 Likewise.
19058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19059 Likewise.
19060 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19061 Likewise.
19062 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19063 Likewise.
19064 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19065 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19066 from GLIBC_2.3.2.
19067
6eeb678a
AZ
190682013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19069
19070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19071
6f6fc482
JM
190722013-12-19 Joseph Myers <joseph@codesourcery.com>
19073
21fea2e2
JM
19074 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19075 trailing whitespace removed.
19076 * scripts/config.guess: Update to version 2013-11-29.
19077 * scripts/config.sub: Update to version 2013-10-01.
19078
6f6fc482
JM
19079 * math/auto-libm-test-in: Add tests of sincos.
19080 * math/auto-libm-test-out: Regenerated.
19081 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19083 mpfr_f_11.
19084 (func_calc_desc): Add mpfr_f_11 union field.
19085 (test_functions): Add sincos.
19086 (calc_generic_results): Handle mpfr_f_11.
19087 * sysdeps/i386/fpu/libm-test-ulps: Update.
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089
83f5c32d
AS
190902013-12-19 Andreas Schwab <schwab@suse.de>
19091
19092 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19093 CALL_MCOUNT.
19094 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19095 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19096 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19097
c688b419
JM
190982013-12-19 Joseph Myers <joseph@codesourcery.com>
19099
335ee092
JM
19100 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19101 * sysdeps/i386/fpu/libm-test-ulps: Update.
19102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19103
f88acd39
JM
19104 [BZ #16293]
19105 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19106 round-to-nearest mode when using frndint.
19107 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19108 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19109 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19110 Likewise.
19111 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19112 sinh test to fail.
19113 * math/auto-libm-test-out: Regenerated.
19114 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19115 (TEST_COND_x86): Likewise.
19116 (expm1_tonearest_test_data): New array.
19117 (expm1_test_tonearest): New function.
19118 (expm1_towardzero_test_data): New array.
19119 (expm1_test_towardzero): New function.
19120 (expm1_downward_test_data): New array.
19121 (expm1_test_downward): New function.
19122 (expm1_upward_test_data): New array.
19123 (expm1_test_upward): New function.
19124 (main): Run the new test functions.
19125 * sysdeps/i386/fpu/libm-test-ulps: Update.
19126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19127
c688b419
JM
19128 * include/features.h: Update comment documenting feature test
19129 macros. Mention _DEFAULT_SOURCE in comment.
19130 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19131 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19132 _BSD_SOURCE and _SVID_SOURCE.
19133 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19134 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19135 !_SVID_SOURCE]: Likewise.
19136 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19137 (__USE_POSIX_IMPLICITLY): Define.
19138 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19139 (_POSIX_SOURCE): Undefine and redefine.
19140 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19141 (_POSIX_C_SOURCE): Likewise.
19142 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19143 (Feature Test Macros): Update documentation of default features.
19144
9f6e964c
RS
191452013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19146
19147 * benchtests/Makefile: Add bench-strtok.
19148 * benchtests/bench-strtok.c: New file: strtok benchtest.
19149
ee0a148a
AM
191502013-12-19 Allan McRae <allan@archlinux.org>
19151
19152 * manual/install.texi: Suppress menu for plain text output.
19153 * INSTALL: Regenerated.
19154
b9ab448f
BM
191552013-12-18 Brooks Moses <bmoses@google.com>
19156
19157 [BZ #15846]
19158 * misc/getauxval.c: Include errno.h.
19159 (__getauxval): Set errno to ENOENT if the requested type is not
19160 found.
19161 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19162 don't declare with __attribute_const__.
19163 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19164 * manual/startup.texi: Document that getauxval sets errno.
19165
23776487
JM
191662013-12-18 Joseph Myers <joseph@codesourcery.com>
19167
f889953b
JM
19168 * math/auto-libm-test-in: Add tests of jn and yn.
19169 * math/auto-libm-test-out: Regenerated.
19170 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19171 (yn_test_data): Likewise.
19172 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19173 mpfr_if_f.
19174 (func_calc_desc): Add mpfr_if_f union field.
19175 (FUNC_mpfr_if_f): New macro.
19176 (test_functions): Add jn and yn.
19177 (calc_generic_results): Assert type of second input for
19178 mpfr_ff_f. Handle mpfr_if_f.
19179 (output_for_one_input_case): Disable all checking for arguments
19180 fitting floating-point types in case of an integer argument.
19181 * sysdeps/i386/fpu/libm-test-ulps: Update.
19182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19183
23776487
JM
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19185 Don't expect fegetround reference in libm.so.
19186
cb756c6d
MS
191872013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19188
19189 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19190 $(config-cflags-nofma).
19191
2dec468f
JM
191922013-12-18 Joseph Myers <joseph@codesourcery.com>
19193
5953eb3a
JM
19194 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19195 * math/auto-libm-test-out: Regenerated.
19196
2dec468f
JM
19197 [BZ #16338]
19198 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19199 to determine exponent and adjust argument to have exponent of -1.
19200 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19201 log2.
19202 * math/auto-libm-test-out: Regenerated.
19203 * sysdeps/i386/fpu/libm-test-ulps: Update.
19204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19205
4d84e6ad
OB
192062013-12-18 Ondřej Bílka <neleai@seznam.cz>
19207
19208 * manual/probes.texi: Remove cases when per-thread arenas are
19209 disabled.
19210
1818483b
AS
192112013-12-18 Andreas Schwab <schwab@suse.de>
19212
19213 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19214 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19215 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19216 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19217 * sysdeps/i386/i686/multiarch/Makefile: Update.
19218 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19219
25de95bf
JM
192202013-12-17 Joseph Myers <joseph@codesourcery.com>
19221
19222 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19223 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19224
674762d9
PE
192252013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19226
ed27ed83 19227 [BZ #15968]
0748546f
PE
19228 Support TZ transition times < 00:00:00.
19229 This is needed for version-3 tz-format files; it supports time
19230 stamps past 2037 for America/Godthab (the only entry in the tz
19231 database for which this change is relevant).
19232 * manual/time.texi (TZ Variable): Document transition times
19233 from -167:59:59 through -00:00:01.
19234 * time/tzset.c (tz_rule): Time of day is now signed.
19235 (__tzset_parse_tz): Parse negative time of day.
19236
4480e934
PE
19237 Document TZ transition times >= 25:00:00.
19238 * manual/time.texi (TZ Variable): Document transition times from
19239 25:00:00 through 167:59:59. These are already supported, and this
19240 support will help with version-3 tz-format files.
19241
69947401
PE
19242 * manual/time.texi (TZ Variable): Modernize North America example
19243 to reflect current (i.e., 2007-and-later) daylight saving rules.
19244
674762d9
PE
19245 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19246
7011c262
JM
192472013-12-17 Joseph Myers <joseph@codesourcery.com>
19248
2fc6557e
JM
19249 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19250 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19253 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19254 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19255 * sysdeps/unix/bsd/clock.c: Likewise.
19256 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19257 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19258 * sysdeps/unix/bsd/init-posix.c: Likewise.
19259 * sysdeps/unix/bsd/poll.c: Likewise.
19260 * sysdeps/unix/bsd/ptsname.c: Likewise.
19261 * sysdeps/unix/bsd/seekdir.c: Likewise.
19262 * sysdeps/unix/bsd/setegid.c: Likewise.
19263 * sysdeps/unix/bsd/seteuid.c: Likewise.
19264 * sysdeps/unix/bsd/setgid.c: Likewise.
19265 * sysdeps/unix/bsd/setrgid.c: Likewise.
19266 * sysdeps/unix/bsd/setruid.c: Likewise.
19267 * sysdeps/unix/bsd/setsid.c: Likewise.
19268 * sysdeps/unix/bsd/setuid.c: Likewise.
19269 * sysdeps/unix/bsd/sigaction.c: Likewise.
19270 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19271 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19272 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19273 * sysdeps/unix/bsd/telldir.c: Likewise.
19274 * sysdeps/unix/bsd/times.c: Likewise.
19275 * sysdeps/unix/bsd/usleep.c: Likewise.
19276
029c7b25
JM
19277 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19278 ($(objpfx)libbsd-compat.a): Remove rule.
19279
7011c262
JM
19280 * include/features.h (__FAVOR_BSD): Do not define.
19281 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19282 features conflicting with POSIX.
19283 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19284 (_BSD_SOURCE): Remove description of not being a subset of other
19285 feature test macros.
19286 * manual/job.texi (getpgrp): Do not document BSD version.
19287 (getpgid): Do not document by reference to BSD getpgrp.
19288 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19289 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19290 * signal/signal.h [__FAVOR_BSD]: Likewise.
19291 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19292 instead of making contents conditional on [__FAVOR_BSD].
19293 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19294
affb6f78
AZ
192952013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19296
19297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19298
c88769dd
JM
192992013-12-17 Joseph Myers <joseph@codesourcery.com>
19300
6432a540
JM
19301 [BZ #16314]
19302 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19303 values below 2**-450, not 2**-500.
19304 * math/auto-libm-test-in: Don't allow spurious underflow from
19305 hypot.
19306 * math/auto-libm-test-out: Regenerated.
19307
c88769dd
JM
19308 [BZ #16316]
19309 [BZ #16330]
19310 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19311 values of ha and hb and sort them after adjusting subnormal
19312 arguments.
19313 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19314 Likewise.
19315 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19316 values of ea and eb and sort them after adjusting subnormal
19317 arguments.
19318 * math/auto-libm-test-in: Do not expect some hypot tests of
19319 subnormals to fail. Add more hypot tests.
19320 * math/auto-libm-test-out: Regenerated.
19321
29618f6b
KK
193222013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19323
19324 [BZ #13304]
19325 * sysdeps/sh/s_fma.c: New file.
19326 * sysdeps/sh/s_fmaf.c: New file.
19327 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19328 version.
19329 * sysdeps/sh/Implies: Add sh/soft-fp.
19330
eacfdfbf
RM
193312013-12-16 Roland McGrath <roland@hack.frob.com>
19332
19333 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19334 level of indirection to members `objname', `errstring', `malloced'.
19335 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19336 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19337 it as the __longjmp argument (just pass 1 instead).
19338 (_dl_catch_error): Initialize C with argument pointers and address of
19339 volatile local ERRCODE rather than copying values out of C at return.
19340
ff362e5b
JM
193412013-12-16 Joseph Myers <joseph@codesourcery.com>
19342
19343 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19344 * math/auto-libm-test-out: Regenerated.
19345 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19346 (hypot_test_data): Likewise.
19347 (pow_test_data): Likewise.
19348 (pow_tonearest_test_data): Likewise.
19349 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19350 mpfr_ff_f.
19351 (func_calc_desc): Add mpfr_ff_f union field.
19352 (FUNC_mpfr_ff_f): New macro.
19353 (test_functions): Add atan2, hypot and pow.
19354 (special_fill_min): New function.
19355 (special_fill_minus_min): Likewise.
19356 (special_fill_min_subnorm): Likewise.
19357 (special_fill_minus_min_subnorm): Likewise.
19358 (special_real_inputs): Add min, -min, min_subnorm and
19359 -min_subnorm.
19360 (calc_generic_results): Handle mpfr_ff_f.
19361 * sysdeps/i386/fpu/libm-test-ulps: Update.
19362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19363
5764c27f
WN
193642013-12-16 Will Newton <will.newton@linaro.org>
19365
19366 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19367 (Aligned Memory Blocks): Add documentation for aligned_alloc
19368 and suggest it as an alternative to posix_memalign.
19369 (Hooks for Malloc): Document __memalign_hook is also called
19370 for aligned_alloc. (Summary of Malloc): Add summary for
19371 aligned alloc. Document __memalign_hook is also called
19372 for aligned_alloc.
19373
0a096e44
WN
193742013-12-16 Will Newton <will.newton@linaro.org>
19375
19376 * manual/memory.texi (Malloc Examples): Clarify default
19377 alignment documentation. Suggest posix_memalign rather
19378 than memalign or valloc.
19379 (Aligned Memory Blocks): Remove suggestion to use memalign
19380 or valloc. Remove obsolete comment about BSD.
19381 Document memalign errno values and mark the function obsolete.
19382 Document posix_memalign returned error codes. Mark valloc
19383 as obsolete. (Hooks for Malloc): __memalign_hook is also
19384 called for posix_memalign and valloc.
19385 (Summary of Malloc): Add posix_memalign to function summary.
19386 __memalign_hook is also called for posix_memalign and valloc.
19387
8d561986
SP
193882013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19389
19390 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19391 TAYLOR_SIN.
19392 (__sin): Adjust.
19393 (__cos): Likewise.
19394 (sloww): Use mynumber union. Expand ternary operator into
19395 if-else statements.
19396 (cslow): use mynumber union.
19397
73616a74
AM
193982013-12-16 Allan McRae <allan@archlinux.org>
19399
9e8ac24b
AM
19400 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19401 * configure: Regenerated.
19402
6f8e37eb
AM
19403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19404
8894bad3
AM
19405 [BZ #14120]
19406 * configure.ac: Added --enable-maintainer-mode. Check for
19407 autoconf when enabled.
19408 * configure: Regenerated.
19409
73616a74
AM
19410 * nscd/nscd.service: New file.
19411 * nscd/nscd.tmpfiles: New file.
19412
584b18eb
OB
194132013-12-14 Ondřej Bílka <neleai@seznam.cz>
19414
19415 [BZ #12100]
19416 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19417 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19418 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19419 (strstr): Add __strstr_sse2_unaligned ifunc.
19420 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19421 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19422 (strcasestr): Remove __strcasestr_sse42 ifunc.
19423 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19426
8a5c7897
KK
194272013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19428
19429 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19430 * sysdeps/sh/bits/fenv.h: ... here.
19431 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19432
fd712ef3
AZ
194332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19434
19435 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19436
42fcb46c
AZ
19437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19438 hypotf multiarch implementations.
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19441 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19442 multiarch hypot for PPC64.
19443 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19444 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19446 multiarch hypotf for PPC64.
19447
83efded4
AZ
19448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19449 modff multiarch implementations.
19450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19453 multiarch modf for PPC64.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19457 multiarch modff for PPC64.
19458
43e246d2
AZ
19459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19460 and logl multiarch implementations.
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19464 multiarch logb for PPC64.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19468 multiarch logb for PPC64.
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19472 multiarch logb for PPC64.
19473
8fdad123
AZ
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19475 isinff multiarch implementation.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19477 file.
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19480 multiarch isinf for PPC64.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19482 file.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19484 multiarch isinff for PPC64.
19485
1481d706
AZ
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19487 finitef multiarch implementation.
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19489 file.
19490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19492 multiarch finite for PPC64.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19494 file.
19495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19496 multiarch finitef for PPC64.
19497
5ccd5fc8
AZ
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19499 lrint multiarch implementation.
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19501 file.
19502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19504 multiarch llrint for PPC64.
19505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19506 multiarch lrint for PPC64.
19507
2568f3fa
AZ
19508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19509 copysignf multiarch implementation.
19510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19511 file.
19512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19513 file.
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19515 multiarch copysign for PPC64.
19516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19517 multiarch copysignf for PPC64.
19518
1cb341fd
AZ
19519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19520 multiarch implementation.
19521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19522 file.
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19524 file.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19526 file.
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19528 file.
19529 multiarch llround for PPC64.
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19531 multiarch trunc for PPC64.
19532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19533 multiarch truncf for PPC64.
19534
59a3e194
AZ
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19536 multiarch implementation.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19538 file.
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19540 file.
19541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19542 file.
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19544 file.
19545 multiarch llround for PPC64.
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19547 multiarch round for PPC64.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19549 multiarch roundf for PPC64.
19550
357fd3b4
AZ
19551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19552 multiarch implementation.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19554 file.
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19556 file.
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19558 file.
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19560 file.
19561 multiarch llround for PPC64.
19562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19563 multiarch floor for PPC64.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19565 multiarch floorf for PPC64.
19566
96770f12
AZ
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19568 multiarch implementation.
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19570 file.
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19572 file.
19573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19574 file.
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19576 file.
19577 multiarch llround for PPC64.
19578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19579 multiarch ceil for PPC64.
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19581 multiarch ceilf for PPC64.
19582
c3627f6e
AZ
19583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19584 multiarch implementation.
19585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19586 file.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19588 file.
19589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19590 file.
19591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19592 multiarch llround for PPC64.
19593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19594 multiarch lround for PPC64.
19595
b2284ad7
AZ
19596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19597 multiarch implementation.
19598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19601 file.
19602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19605 multiarch isnan for PPC64.
19606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19607 multiarch isnanf for PPC64.
19608
69bbc63d
AZ
19609 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19610 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19611 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19612 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19613 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19615
c24517c9
AZ
19616 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19617 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19618 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19619 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19620
a52374e8
AZ
19621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19622 multiarch implementations.
19623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19624 (__libc_ifunc_impl_list): Likewise.
19625 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19626 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19627 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19628 multiarch stpcpy for PPC64.
19629
7f5ec113
AZ
19630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19631 multiarch implementations.
19632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19633 (__libc_ifunc_impl_list): Likewise.
19634 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19635 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19636 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19637 multiarch strcpy for PPC64.
19638
e28bcd42
AZ
19639 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19640 redefine function name.
19641 (_wordcopy_fwd_dest_aligned): Likewise.
19642 (_wordcopy_bwd_aligned): Likewise.
19643 (_wordcopy_bwd_dest_aligned): Likewise.
19644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19645 multiarch implementations.
19646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19647 (__libc_ifunc_impl_list): Likewise.
19648 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19649 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19650 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19651 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19652 multiarch wcscpy for PPC64.
19653
92cacfce
AZ
19654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19655 multiarch implementations.
19656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19657 (__libc_ifunc_impl_list): Likewise.
19658 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19660 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19661 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19662 multiarch wcscpy for PPC64.
19663
7b714620
AZ
19664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19665 multiarch implementations.
19666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19667 (__libc_ifunc_impl_list): Likewise.
19668 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19669 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19670 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19671 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19672 multiarch wcsrchr for PPC64.
19673
16fd2ae3
AZ
19674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19675 multiarch implementations.
19676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19677 (__libc_ifunc_impl_list): Likewise.
19678 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19679 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19680 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19681 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19682 multiarch wcschr for PPC64.
19683
9ee2969b
AZ
19684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19685 multiarch implementations.
19686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19687 (__libc_ifunc_impl_list): Likewise.
19688 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19689 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19690 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19691 multiarch strchrnul for PPC64.
19692
372dc060
AZ
19693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19694 implementations.
19695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19696 (__libc_ifunc_impl_list): Likewise.
19697 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19698 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19699 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19700 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19701 strchr for PPC64.
19702
24c2c3b9
AZ
19703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19704 implementations.
19705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19706 (__libc_ifunc_impl_list): Likewise.
19707 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19708 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19709 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19710 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19711 strncmp for PPC64.
19712
1c92d9a0
AZ
19713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19714 multiarch implementations.
19715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19716 (__libc_ifunc_impl_list): Likewise.
19717 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19718 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19719 strncasecmp for PPC64.
19720 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19721 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19722 multiarch strncasecmp_l for PPC64.
19723
17de3ee3
AZ
19724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19725 multiarch implementations.
19726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19727 (__libc_ifunc_impl_list): Likewise.
19728 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19729 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19730 multiarch strcasecmp for PPC64.
19731 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19732 file.
19733 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19734 multiarch strcasecmp_l for PPC64.
19735
62982bf9
AZ
19736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19737 implementations.
19738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19739 (__libc_ifunc_impl_list): Likewise.
19740 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19741 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19742 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19743 strnlen for PPC64.
19744
a65f4904
AZ
19745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19746 implementations.
19747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19748 (__libc_ifunc_impl_list): Likewise.
19749 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19750 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19751 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19752 strlen for PPC64.
19753
1fd005ad
AZ
19754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19755 implementations.
19756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19757 (__libc_ifunc_impl_list): Likewise.
19758 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19759 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19760 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19761 rawmemrchr for PPC64.
19762
cd05ba91
AZ
19763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19764 implementation.
19765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19766 (__libc_ifunc_impl_list): Likewise.
19767 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19768 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19769 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19770 memrchr for PPC64.
19771
870f8676
AZ
19772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19773 implementation.
19774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19775 (__libc_ifunc_impl_list): Likewise.
19776 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19777 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19778 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19779 memchr for PPC64.
19780
f00be62b
AZ
19781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19782 implementation.
19783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19784 (__libc_ifunc_impl_list): Likewise.
19785 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19786 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19787 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19788 mempcpy for PPC64.
19789
8a29a3d0
AZ
19790 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19791 avoid cretion of __bzero symbol.
19792 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19793 Likewise.
19794 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19795 Likewise.
19796 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19797 Likewise.
19798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19799 multiarch implementations.
19800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19801 (__libc_ifunc_impl_list): Likewise.
19802 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19803 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19804 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19805 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19806 bzero for PPC32.
19807 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19808 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19809 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19810 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19811 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19812 memset for PPC64.
19813 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19814
07253fcf
AZ
19815 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19817 implementations.
19818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19819 (__libc_ifunc_impl_list): Likewise.
19820 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19821 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19822 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19823 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19824 memcmp for PPC64.
19825
b5beafbc
AZ
19826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19827 multiarch for POWER/PPC64.
19828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19829 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19831 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19832 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19836 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19837 memcpy for PPC64.
19838
5e6a4d4b
AZ
19839 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19840 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19841 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19842 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19843 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19844 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19845 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19846 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19847 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19848 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19849 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19850 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19851 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19852 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19853 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19861
ddfab6dc
KK
198622013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19863
19864 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19865
19b5525e
SP
198662013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19867
19868 * benchtests/Makefile (bench): Add exp2 and log2.
19869 (LDLIBS-bench-exp2): Add -lm.
19870 (LDLIBS-bench-log2): Likewise.
19871 * benchtests/exp2-inputs: New inputs file.
19872 * benchtests/log2-inputs: New inputs file.
19873 * benchtests/log-inputs: Add new inputs.
19874 * benchtests/tan-inputs: Likewise.
19875
196f7f5d
SP
198762013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19877
7a74607f
SP
19878 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19879 definition...
57f41c40
AS
19880 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19881 (csloww2): ... from here.
7a74607f 19882
196f7f5d
SP
19883 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19884 instead of structures.
19885 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19886 (POLYNOMIAL): Likewise.
19887 (TAYLOR_SLOW): Likewise.
19888 (__sin): Likewise.
19889 (__cos): Likewise.
19890 (slow1): Likewise.
19891 (slow2): Likewise.
19892 (sloww): Likewise.
19893 (sloww1); Likewise.
19894 (sloww2): Likewise.
19895 (bsloww1): Likewise.
19896 (bsloww2): Likewise.
19897 (cslow2): Likewise.
19898 (csloww): Likewise.
19899 (csloww1): Likewise.
19900 (csloww2): Likewise.
19901
0dfa665c
OB
199022013-12-10 Ondřej Bílka <neleai@seznam.cz>
19903
19904 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19905 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19906 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19907 * malloc/hooks.c (realloc_check): Likewise.
19908
5782a80f
OB
19909 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19910 * malloc/arena.c: Remove PER_THREAD conditional.
19911 [!PER_THREAD]: Remove code.
19912 (ptmalloc_unlock_all2): Likewise.
19913 (ptmalloc_init): Likewise.
19914 (_int_new_arena): Likewise.
19915 (arena_get2): Likewise.
19916 * malloc/hooks.c (__malloc_get_state): Likewise.
19917 (__malloc_set_state): Likewise.
19918 * malloc/malloc.c: Likewise.
19919 (struct malloc_state): Likewise.
19920 (struct malloc_par): Likewise.
19921 (__libc_realloc): Likewise.
19922 (__libc_mallopt): Likewise.
19923
aeb95445
AZ
199242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19925
19926 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19927
e8349efd
OB
199282013-12-09 Ondřej Bílka <neleai@seznam.cz>
19929
19930 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19931 macro to a function. Check for zero perturb_byte.
19932 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19933
f3eeb3fc 19934 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19935 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19936 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19937 force_reg by atomic_forced_read.
19938 * malloc/arena.c (ptmalloc_init): Likewise.
19939 * malloc/hooks.c (top_check): Likewise.
19940
be2f9009
AZ
199412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19942
19943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19944
e7b914bd
MT
199452013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19946
19947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19948
9f0be4f8
JM
199492013-12-08 Joseph Myers <joseph@codesourcery.com>
19950
19951 * math/auto-libm-test-in: Add tests of lgamma.
19952 * math/auto-libm-test-out: Regenerated.
19953 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19954 (M_LOG_2_SQRT_PIl): Likewise.
19955 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19956 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19957 mpfr_f_f1.
19958 (func_calc_desc): Add mpfr_f_f1 union field.
19959 (ARGS1): New macro.
19960 (ARGS2): Likewise.
19961 (ARGS3): Likewise.
19962 (ARGS4): Likewise.
19963 (RET1): Likewise.
19964 (RET2): Likewise.
19965 (CALC): Likewise.
19966 (FUNC): Likewise.
19967 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19968 (test_functions): Add lgamma.
19969 (calc_generic_results): Handle mpfr_f_f1.
19970 * sysdeps/i386/fpu/libm-test-ulps: Update.
19971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19972
24eeafdb
AZ
199732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19974
19975 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19976 __mpn_add_n for PowerPC64/POWER7.
19977 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19978 __mpn_sub_n for PowerPC64/POWER7.
19979
4a2c0fd4
AZ
19980 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19981 __mpn_addmul_1 for PowerPC64.
19982 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19983 __mpn_submul_1 for PowerPC64.
19984 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19985 for PowerPC64.
19986 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19987 for PowerPC64.
19988
4b5b548c
FS
199892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19990
19991 [BZ #15089]
19992 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19993
0a3ac0aa
AZ
199942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19995
19996 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19997
ccdc8438
AZ
19998 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19999 add multiarch folders.
20000 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20001 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20002 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20003 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20004 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20005 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20006 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20007 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20008 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20009 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20010 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20017
2e973d99
AZ
20018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20019 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20021 New file.
20022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20023 New file.
20024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20025 multiarch __ieee754_hypot for PowerPC32.
20026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20027 New file.
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20029 New file.
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20031 multiarch __ieee754_hypotf for PowerPC32.
20032
2d9470b2
AZ
20033 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20034 long_double_symbol only if __logbl is defined.
20035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20036 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20038 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20040 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20042 path for implementation.
20043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20046 logb, and logbl multiarch implementations for PowerPC32.
20047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20048 file.
20049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20050 file.
20051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20052 multiarch logb for PowerPC32.
20053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20054 file.
20055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20056 file.
20057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20058 multiarch logbf for PowerPC32.
20059 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20061 file.
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20063 multiarch logbl implementation for PowerPC32.
20064
5212ffce
AZ
20065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20066 and modff multiarch implementations.
20067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20068 New file.
20069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20070 New file.
20071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20072 multiarch modf for PowerPC32.
20073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20074 New file.
20075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20076 New file.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20078 multiarch modff for PowerPC32.
20079
79dccf31
AZ
20080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20081 and lrintf multiarch implementations.
20082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20083 New file.
20084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20085 New file.
20086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20087 multiarch lrint for PowerPC32.
20088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20089 file: multiarch lrintf for PowerPC32.
20090
deb66480
AZ
20091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20092 and lroundf multiarch implementations.
20093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20094 New file.
20095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20096 New file.
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20098 New file.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20100 multiarch lround for PowerPC32.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20102 file: multiarch lroundf for PowerPC32.
20103
264b036b
AZ
20104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20105 copysign and copysignf multiarch implementations.
20106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20107 New file.
20108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20109 New file.
20110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20111 file: multiarch copysign for PowerPC32.
20112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20113 file: multiarch copysignf for PowerPC32.
20114
d47db6c9
AZ
20115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20116 and truncf multiarch implementations.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20118 New file.
20119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20120 file.
20121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20122 multiarch trunc for PowerPC32.
20123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20124 New file.
20125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20126 New file.
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20128 multiarch truncf for PowerPC32.
20129
ddb60b5a
AZ
20130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20131 and roundf multiarch implementations.
20132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20133 New file.
20134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20135 file.
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20137 multiarch round for PowerPC32.
20138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20139 New file.
20140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20141 New file.
20142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20143 multiarch roundf for PowerPC32.
20144
bedcf49b
AZ
20145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20146 and floorf multiarch implementations.
20147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20148 New file.
20149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20150 file.
20151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20152 multiarch floor for PowerPC32.
20153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20154 New file.
20155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20156 New file.
20157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20158 multiarch floorf for PowerPC32.
20159
35ae5b40
AZ
20160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20161 and ceilf multiarch implementations.
20162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20163 New file.
20164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20165 file.
20166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20167 multiarch ceil for PowerPC32.
20168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20169 New file.
20170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20171 file.
20172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20173 multiarch ceilf for PowerPC32.
20174
ae1a4cd9
AZ
20175 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20176 is defined.
20177 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20178 FINITEF is defined.
20179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20180 and finitef multiarch implementations.
20181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20182 New file.
20183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20184 file.
20185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20186 multiarch finite for PowerPC32.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20188 New file.
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20190 file: multiarch finitef for PowerPC32.
20191
64fffd65
AZ
20192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20193 and isinff multiarch implementations.
20194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20195 file.
20196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20197 file.
20198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20199 multiarch isinf for PowerPC32.
20200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20201 New file.
20202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20203 multiarch isinff for PowerPC32.
20204
8e4e7ba2
AZ
20205 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20206 alias when __isnan is defined.
20207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20208 and isnanf multiarch implementations.
20209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20210 file.
20211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20212 file.
20213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20214 file.
20215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20216 file.
20217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20218 multiarch isnan for PowerPC32.
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20220 New file.
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20222 New file.
20223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20224 multiarch isnanf for PowerPC32.
20225
ddba588e
AZ
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20227 and sqrtf multiarch implementations.
20228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20229 file.
20230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20231 file.
20232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20233 multiarch sqrt for PowerPC32.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20235 file.
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20237 file.
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20239 multiarch sqrtf for PowerPC32.
20240
0f96a2f0
AZ
20241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20242 and llroundf multiarch implementations.
20243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20244 New file.
20245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20246 New file.
20247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20248 New file.
20249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20250 file: multiarch llround for PowerPC32.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20252 file: multiarch llroundf for PowerPC32.
20253
c9b5d79e
AZ
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20255 multiarch PowerPC32 fpu implementations.
20256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20257 New file.
20258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20259 New file.
20260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20261 multiarch llrint for PowerPC32.
20262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20263 New file.
20264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20265 New file.
20266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20267 file.
20268
9cbb3aab
AZ
20269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20270
ea5a72f8
AZ
20271 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20272 file.
20273 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20274 file.
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20276 file.
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20278 multiarch wordcopy for PPC32.
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20280 wordcopy objects.
20281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20282 (__libc_ifunc_impl_list): Likewise.
20283 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20284 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20285 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20286 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20287 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20288 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20289
93be09e7
AZ
20290 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20292 file.
20293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20294 file.
20295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20296 file.
20297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20298 multiarch wcscpy for PPC32.
20299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20300 multiarch objects.
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20302 (__libc_ifunc_impl_list): Likewise.
20303 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20304 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20305 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20306 sysdeps/powerpc/power6/wcscpy.c.
20307
bb04e529
AZ
20308 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20310 file.
20311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20312 file.
20313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20314 file.
20315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20316 multiarch wcsrchr for PPC32.
20317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20318 multiarch objects.
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20320 (__libc_ifunc_impl_list): Likewise.
20321 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20322 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20323 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20324 sysdeps/powerpc/power6/wcsrchr.c.
20325
05b5cd1c
AZ
20326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20327 file.
20328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20329 file.
20330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20332 multiarch wcschr for PPc32.
20333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20334 multiarch objects.
20335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20336 (__libc_ifunc_impl_list): Likewise.
20337 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20338 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20339 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20340 sysdeps/powerpc/power6/wcschr.c.
20341
ba964147
AZ
20342 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20344 file.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20346 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20347 file: multiarch strchr for PPC32.
20348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20349 multiarch objects.
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20351 (__libc_ifunc_impl_list): Likewise.
20352
31c81aaa
AZ
20353 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20354 name.
20355 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20356 file.
20357 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20358 file.
20359 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20360 multiarch strchrnul for PPC32.
20361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20362 multiarch objects.
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20364 (__libc_ifunc_impl_list): Likewise.
20365
0d0607d9
AZ
20366 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20367 file.
20368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20369 multiarch strncasecmp for PPC32.
20370 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20371 file.
20372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20373 multiarch strncasecmp_l for PPC32.
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20375 strncasecmp multiarch objects.
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20377 (__libc_ifunc_impl_list): Likewise.
20378
4dfd5c86
AZ
20379 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20380 file.
20381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20382 multiarch strncasecmp for PPC32.
20383 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20384 New file.
20385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20386 multiarch strcasecmp_l for PPC32.
20387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20388 multiarch objects.
20389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20390 (__libc_ifunc_impl_list): Likewise.
20391
a19e01a3
AZ
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20393 file.
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20395 file.
20396 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20397 multiarch strncmp for PPC32.
20398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20399 multiarch objects.
20400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20401 (__libc_ifunc_impl_list): Likewise.
20402
ae9cf7a2
AZ
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20404 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20405 file.
20406 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20409 multiarch objects.
20410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20411 (__libc_ifunc_impl_list): Likewise.
20412
3148bb7d
AZ
20413 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20414 file.
20415 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20416 file.
20417 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20419 multiarch objects.
20420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20421 (__libc_ifunc_impl_list): Likewise.
20422
7af8b946
AZ
20423 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20424 file.
20425 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20426 file.
20427 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20428 multiarch rawmemchr for PPC32.
20429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20430 multiarch objects.
20431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20432 (__libc_ifunc_impl_list): Likewise.
20433
03a6aa6a
AZ
20434 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20435 file.
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20437 file.
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20439 file: memrchr multiarch for PPC32.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20441 multiarch objects.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20443 (__libc_ifunc_impl_list): Likewise.
20444
1c62e6d9
AZ
20445 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20446 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20447 file.
20448 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20450 multiarch memchr for PPC32.
20451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20452 multiarch objects.
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20454 (__libc_ifunc_impl_list): Likewise.
20455
87da8bdb
AZ
20456 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20458 file.
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20460 file.
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20462 file: multiarch mempcpy for PPC32.
20463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20464 multiarch objects.
20465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20466 (__libc_ifunc_impl_list): Likewise.
20467
20ed4714
AZ
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20469 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20471 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20472 multiarch bzero for PPC32.
20473 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20474 file.
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20476 file.
20477 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20478 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20479 file: multiarch memset for PPC32.
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20482 memset multiarch objects.
20483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20484 (__libc_ifunc_impl_list): Likewise.
20485
ab3e3a46
AZ
20486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20487 file.
20488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20490 memcmp for PPC32.
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20493 multiarch objects.
20494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20495 (__libc_ifunc_impl_list): Likewise.
20496
930de6f0
AZ
20497 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20500 file.
20501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20502 file.
20503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20504 file.
20505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20506 multiarch memcpy for PPC32.
20507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20508 multiarch objects.
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20510 (__libc_ifunc_impl_list): Likewise.
20511
4c628e00
AZ
20512 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20513 support multiarch for POWER/PPC32.
20514 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20515 Likewise.
20516 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20518 Implies file to make multiarch folder appers before the fpu and
20519 default folder for power4 configuration.
20520
f4479220
SP
205212013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20522
20523 * scripts/bench.pl: Append volatile keyword to type.
20524
8517800f
KK
205252013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20526
20527 * sysdeps/sh/sotruss-lib.c: New file.
20528 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20529
180138f1
AZ
205302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20531
20532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20533
bbf37bdc
JM
205342013-12-05 Joseph Myers <joseph@codesourcery.com>
20535
e47cc4e0
JM
20536 [BZ #6810]
20537 * math/w_tgamma.c: Include <errno.h>.
20538 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20539 * math/w_tgammaf.c: Include <errno.h>.
20540 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20541 * math/w_tgammal.c: Include <errno.h>.
20542 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20543 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20544 underflow. Add more tgamma tests.
20545 * math/auto-libm-test-out: Regenerated.
20546 * sysdeps/i386/fpu/libm-test-ulps: Update.
20547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20548
bbf37bdc
JM
20549 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20550 sin, sinh, tan, tanh, tgamma, y0 and y1.
20551 * math/auto-libm-test-out: Regenerated.
20552 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20553 (TEST_COND_x86): Likewise.
20554 (M_E2l): Remove macro.
20555 (M_E3l): Likewise.
20556 (M_2_SQRT_PIl): Likewise.
20557 (M_SQRT_PIl): Likewise.
20558 (M_1_DIV_El): Likewise.
20559 (log_test_data): Use AUTO_TESTS_f_f.
20560 (log10_test_data): Likewise.
20561 (log1p_test_data): Likewise.
20562 (log2_test_data): Likewise.
20563 (sin_test_data): Likewise.
20564 (sin_tonearest_test_data): Likewise.
20565 (sin_towardzero_test_data): Likewise.
20566 (sin_downward_test_data): Likewise.
20567 (sin_upward_test_data): Likewise.
20568 (sinh_test_data): Likewise.
20569 (sinh_tonearest_test_data): Likewise.
20570 (sinh_towardzero_test_data): Likewise.
20571 (sinh_downward_test_data): Likewise.
20572 (sinh_upward_test_data): Likewise.
20573 (tan_test_data): Likewise.
20574 (tan_tonearest_test_data): Likewise.
20575 (tan_towardzero_test_data): Likewise.
20576 (tan_downward_test_data): Likewise.
20577 (tan_upward_test_data): Likewise.
20578 (tanh_test_data): Likewise.
20579 (tgamma_test_data): Likewise.
20580 (y0_test_data): Likewise.
20581 (y1_test_data): Likewise.
20582 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20583 (special_real_inputs): Add pi/4.
20584 * sysdeps/i386/fpu/libm-test-ulps: Update.
20585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20586
eb5ad6b9
AZ
205872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20588
20589 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20590 "longjmp_target" static probes.
20591 (__longjmp): Rename to __longjmp_symbol.
20592 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20593 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20594 on which longjmp to generate.
20595 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20596 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20597 probe.
20598 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20599 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20600 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20601 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20602 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20603 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20605 __longjmp_symbol based on which __longjmp to generate.
20606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20607 probe.
20608 (setjmp): Rename to setjmp_symbol.
20609 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20610 (_setjmp): Rename to _setjmp_symbol.
20611 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20612 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20613 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20614 which setjmp to generate.
20615 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20616 "longjmp_target" static probes.
20617
d136c6dc
SP
206182013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20619
9298ecba
SP
20620 * benchtests/README: Add note about output arguments.
20621 * benchtests/bench-sincos.c: Remove file.
20622 * benchtests/sincos-inputs: New file.
20623 * scripts/bench.pl: Identify output arguments and define
20624 static variables for them.
20625
232983e9
SP
20626 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20627
d136c6dc
SP
20628 [BZ #15941]
20629 * Makefile (INSTALL): Add install-plain.texi as the primary
20630 dependency.
20631 * manual/install-plain.texi: New file.
20632 * manual/install.texi: Include node directive only for
20633 non-plaintext output.
20634
699ff837
JM
206352013-12-04 Joseph Myers <joseph@codesourcery.com>
20636
ab07cea8
JM
20637 * stdlib/longlong.h: Update from GCC.
20638
699ff837
JM
20639 [BZ #6807]
20640 [BZ #15901]
20641 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20642 * math/w_j0f.c (y0f): Likewise.
20643 * math/w_j0l.c (__y0l): Likewise.
20644 * math/w_j1.c (y1): Likewise.
20645 * math/w_j1f.c (y1f): Likewise.
20646 * math/w_j1l.c (__y1l): Likewise
20647 * math/w_jn.c (yn): Likewise.
20648 * math/w_jnf.c (ynf): Likewise.
20649 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20650 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20651 value for Bessel function domain errors outside _SVID_ mode.
20652 Adjust sign of return value for yn (negative integer, 0).
20653 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20654 by zero in return for negative x and set sign appropriately for
20655 negative n.
20656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20658 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20659 expectations in error cases.
20660 (y1_test_data): Likewise.
20661 (yn_test_data): Likewise.
20662 * sysdeps/i386/fpu/libm-test-ulps: Update.
20663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20664
5b118558
UW
206652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20666
20667 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20668 "64" to "64-v1". Add "64-v2".
20669 (abi-64-options): Rename to ...
20670 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20671 (abi-64-condition): Rename to ...
20672 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20673 (abi-64-ld-soname): Rename to ...
20674 (abi-64-v1-ld-soname): ... this.
20675 (abi-64-v2-options): Define.
20676 (abi-64-v2-condition): Likewise.
20677 (abi-64-v2-ld-soname): Likewise.
20678 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20679 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20683
61cd8fe4
UW
206842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20685 Alan Modra <amodra@gmail.com>
20686
20687 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20688 New versions for use with the ELFv2 ABI.
20689 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20690 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20691 declaration.
20692 (struct La_ppc64v2_retval): Likewise.
20693 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20694 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20695 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20696 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20697 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20698 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20699 Do not save or restore CR.
20700 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20701 (_dl_profile_resolve): Do no save or restore CR. Support extended
20702 return values for ELFv2 ABI. Fix location of FPR return registers.
20703 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20704 updated values for _CALL_ELF == 2.
20705 (La_regs, La_retval, int_retval): Likewise.
20706
8b8a692c
UW
207072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20708
20709 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20710 (FRAME_MIN_SIZE_PARM): Likewise.
20711 (FRAME_BACKCHAIN): Likewise.
20712 (FRAME_CR_SAVE): Likewise.
20713 (FRAME_LR_SAVE): Likewise.
20714 (FRAME_TOC_SAVE): Likewise.
20715 (FRAME_PARM_SAVE): Likewise.
20716 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20717 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20718 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20719 (call_mcount_parm_offset): New macro.
20720 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20721 (PROF): Use symbolic stack frame offsets.
20722 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20723 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20724 Redefine in terms of FRAME_MIN_SIZE.
20725 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20726 (_dl_profile_resolve): Likewise. Update comment.
20727 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20728 symbols stack frame offsets.
20729 (__sigsetjmp): Likewise.
20730 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20731 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20733 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20734
20735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20736 (FRAME_BACKCHAIN): Remove.
20737 (FRAME_CR_SAVE): Likewise.
20738 (FRAME_LR_SAVE): Likewise.
20739 (FRAME_COMPILER_DW): Likewise.
20740 (FRAME_LINKER_DW): Likewise.
20741 (FRAME_TOC_SAVE): Likewise.
20742 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20743 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20744 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20745 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20747 (CHECK_SP): Use symbolic stack frame offsets.
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20749 zone" instead of caller's parameter save area for temp storage.
20750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20751 Likewise. Also, use symbolic stack frame offsets.
20752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20753 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20754 our own stack frame instead of the caller's.
20755 (__socket): Use symbolic stack frame offsets.
20756
122b66de
UW
207572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20758 Alan Modra <amodra@gmail.com>
20759
20760 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20761 Define.
57f41c40
AS
20762 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20763 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20764 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20765 New function.
20766 (elf_machine_fixup_plt): Call it.
20767 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20768 reloc arguments.
20769 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20771 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20772 r2 before calling target.
20773
696caf1d
UW
207742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20775 Alan Modra <amodra@gmail.com>
20776
20777 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20778 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20779 versions of macros to support ELFv2 ABI.
20780 (LOCALENTRY): New macro.
20781 (ENTRY, EALIGN): Use it.
20782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20783 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20784 fall through into ENTRY entry point.
20785 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20786 Only define if _CALL_ELF != 2.
20787
20788 (elf_machine_matches_host): Verify ABI version matches.
20789 (RTLD_START): Use LOCALENTRY.
20790 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20791 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20792 (PLT_ENTRY_WORDS): New macro.
20793 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20794 (elf_machine_runtime_setup): Support ELFv2 ABI.
20795 (elf_machine_fixup_plt): Likewise.
20796 (elf_machine_plt_conflict): Likewise.
20797 (resolve_ifunc): Likewise.
20798 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20799 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20800 Likewise.
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20802 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20804 (makecontext): Support ELFv2 ABI.
20805 * elf/elf.h (EF_PPC64_ABI): Define.
20806
d31beafa
UW
208072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20808
57f41c40
AS
20809 * sysdeps/powerpc/powerpc64/sysdep.h
20810 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20811 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20812 (ENTRY) [ASSEMBLER]: ... but instead here ...
20813 (EALIGN) [ASSEMBLER]: ... and here.
20814 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20815 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20816 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20817 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20818 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20819 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20820 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20821 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20823 Use PPC64_LOAD_FUNCPTR.
20824
b525166b
UW
20825 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20826
7ec07d9a
AM
208272013-12-04 Alan Modra <amodra@gmail.com>
20828
20829 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20830 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20831 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20832 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20833
20834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20835 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20836 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20837 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20838 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20839 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20840
5162e7dd
UW
208412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20842
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20844 (__makecontext): Fix incorrect CFI when backtracing out of
20845 context created via makecontext.
20846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20847 (__setcontext): Fix incorrect CFI during switch to new context.
20848 (__novec_setcontext): Likewise.
20849
19e3372b
OB
208502013-12-04 Ondřej Bílka <neleai@seznam.cz>
20851
20852 [BZ #4772]
20853 * time/strptime_l.c (__strptime_internal): Allow modifiers
20854 in strptime.
20855 * time/tst-strptime.c (day_tests): Add testcase.
20856
ecaf142d
SP
208572013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20858
20859 * scripts/bench.pl: Skip over blank lines.
20860
fbf964ae
PE
208612013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20862
20863 [BZ #926]
20864 * manual/time.texi (Calendar Time): Clarify what timezone functions
20865 use.
20866
fa60a674
AZ
208672013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20868
20869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20870
d674f0ef
OB
208712013-12-04 Ondřej Bílka <neleai@seznam.cz>
20872
20873 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20874 implementation.
20875 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20876 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20877 * debug/memset_chk.c (__memset_chk): Likewise.
20878 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20879 * debug/strncpy_chk.c: Likewise.
20880
17dea188
JM
208812013-12-03 Joseph Myers <joseph@codesourcery.com>
20882
749008ff
JM
20883 [BZ #15268]
20884 [BZ #15425]
20885 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20886 (__ieee754_exp): For possibly underflowing results, check size of
20887 result and force underflow exception if required.
20888 * math/auto-libm-test-in: Add more tests of exp.
20889 * math/auto-libm-test-out: Regenerated.
20890 * sysdeps/i386/fpu/libm-test-ulps: Update.
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892
17dea188
JM
20893 [BZ #16283]
20894 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20895 * math/w_exp2f.c (__exp2f): Likewise.
20896 * math/w_exp2l.c (__exp2l): Likewise.
20897 * math/auto-libm-test-in: Do not allow missing errno on exp2
20898 underflow.
20899 * math/auto-libm-test-out: Regenerated.
20900
b20de2c3
OB
209012013-12-03 Ondřej Bílka <neleai@seznam.cz>
20902
20903 [BZ #16274]
20904 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20905 handle filename validation.
20906 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20907 (do_open): Delete.
20908
d8e2dbe3
JM
209092013-12-03 Joseph Myers <joseph@codesourcery.com>
20910
34e16df5
JM
20911 [BZ #6786]
20912 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20913 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20914 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20915 <float.h>.
20916 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20917 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20918 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20920 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20922 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20923 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20924 Add more erfc tests.
20925 * math/auto-libm-test-out: Regenerated.
20926 * sysdeps/i386/fpu/libm-test-ulps: Update.
20927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20928
d8e2dbe3
JM
20929 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20930 exp2, expm1, j0 and j1.
20931 * math/auto-libm-test-out: Regenerated.
20932 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20933 (erfc_test_data): Likewise.
20934 (exp_test_data): Likewise.
20935 (exp_tonearest_test_data): Likewise.
20936 (exp_towardzero_test_data): Likewise.
20937 (exp_downward_test_data): Likewise.
20938 (exp_upward_test_data): Likewise.
20939 (exp10_test_data): Likewise.
20940 (exp2_test_data): Likewise.
20941 (expm1_test_data): Likewise.
20942 (j0_test_data): Likewise.
20943 (j1_test_data): Likewise.
20944 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20945 (input_flag_type): Add flag_xfail_rounding.
20946 (input_flags): Add xfail-rounding.
20947 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20948 (output_for_one_input_case): Handle flag_xfail_rounding.
20949 * sysdeps/i386/fpu/libm-test-ulps: Update.
20950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20951
18d14251
AJ
209522013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20953
3d2e6075 20954 [BZ #16289]
18d14251
AJ
20955 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20956 division by 0.
20957
520d437b
SP
209582013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20959
20960 [BZ #16195]
20961 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20962 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20963 (STAP_PROBE0): New macro.
20964 (STAP_PROBE1): Likewise.
20965 (STAP_PROBE2): Likewise.
20966 (STAP_PROBE3): Likewise.
20967 (STAP_PROBE4): Likewise.
20968
416e0145
OB
209692013-12-02 Ondřej Bílka <neleai@seznam.cz>
20970
20971 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20972
9d17796a
SE
209732013-12-02 Steve Ellcey <sellcey@mips.com>
20974
20975 * benchtests/Makefile (bench): Add sqrt.
20976 (LDLIBS-bench-sqrt): New.
20977 * benchtests/sqrt-input: New.
20978
f524d6a8
PS
209792013-12-02 Pavel Simerda <psimerda@redhat.com>
20980
639a0ef8
PS
20981 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20982 (GAIH_EAI): Likewise.
20983 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20984 (gaih_inet): Likewise.
20985 (getaddrinfo): Don't use GAIH_EAI.
20986
f524d6a8
PS
20987 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20988 (struct gaih): Remove definition.
20989
df3aedaf
SP
209902013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20991
20992 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20993 Use HERRNOP directly.
20994
1ab19dec
AZ
209952013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20996
b42ad38d 20997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20998
176b0c79
JM
209992013-11-30 Joseph Myers <joseph@codesourcery.com>
21000
21001 * math/gen-auto-libm-tests.c (test_functions): Add more
21002 single-argument functions.
21003 (special_fill_pi_2): New function.
21004 (special_fill_minus_pi_2): Likewise.
21005 (special_fill_pi_6): Likewise.
21006 (special_fill_minus_pi_6): Likewise.
21007 (special_fill_pi_3): Likewise.
21008 (special_fill_2pi_3): Likewise.
21009 (special_fill_e): Likewise.
21010 (special_fill_1_e): Likewise.
21011 (special_fill_e_minus_1): Likewise.
21012 (special_real_inputs): Add more special inputs.
21013 (output_for_one_input_case): Do not require ERANGE on underflow to
21014 zero if round-to-nearest result does not underflow to zero, unless
21015 exact results required.
21016 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21017 atan, atanh, cbrt, cos and cosh.
21018 * math/auto-libm-test-out: Regenerated.
21019 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21020 (acos_tonearest_test_data): Likewise.
21021 (acos_towardzero_test_data): Likewise.
21022 (acos_downward_test_data): Likewise.
21023 (acos_upward_test_data): Likewise.
21024 (acosh_test_data): Likewise.
21025 (asin_test_data): Likewise.
21026 (asin_tonearest_test_data): Likewise.
21027 (asin_towardzero_test_data): Likewise.
21028 (asin_upward_test_data): Likewise.
21029 (asinh_test_data): Likewise.
21030 (atan_test_data): Likewise.
21031 (atanh_test_data): Likewise.
21032 (cbrt_test_data): Likewise.
21033 (cos_test_data): Likewise.
21034 (cos_tonearest_test_data): Likewise.
21035 (cos_towardzero_test_data): Likewise.
21036 (cos_downward_test_data): Likewise.
21037 (cos_upward_test_data): Likewise.
21038 (cosh_test_data): Likewise.
21039 (cosh_tonearest_test_data): Likewise.
21040 (cosh_towardzero_test_data): Likewise.
21041 (cosh_downward_test_data): Likewise.
21042 (cosh_upward_test_data): Likewise.
21043 * sysdeps/i386/fpu/libm-test-ulps: Update.
21044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21045
ffb536d0
JM
210462013-11-29 Joseph Myers <joseph@codesourcery.com>
21047
2a77a467
JM
21048 [BZ #6787]
21049 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21050 * math/w_exp10f.c (__exp10f): Likewise.
21051 * math/w_exp10l.c (__exp10l): Likewise.
21052 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21053 errno settings in existing tests.
21054
ea3bc4e8
JM
21055 [BZ #14032]
21056 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21057 precision control set to double precision.
21058 * sysdeps/i386/fpu/w_sqrt.c: New file.
21059 * math/auto-libm-test-in: Add more tests.
21060 * math/auto-libm-test-out: Update.
21061
0712c9d8
JM
21062 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21063 (sqrt_test_tonearest): New function.
21064 (sqrt_towardzero_test_data): New variable.
21065 (sqrt_test_towardzero): New function.
21066 (sqrt_downward_test_data): New variable.
21067 (sqrt_test_downward): New function.
21068 (sqrt_upward_test_data): New variable.
21069 (sqrt_test_upward): New function.
21070 (main): Call the new functions.
21071
ffb536d0
JM
21072 * math/gen-auto-libm-tests.c: New file.
21073 * math/auto-libm-test-in: Likewise.
21074 * math/auto-libm-test-out: New generated file.
21075 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21076 variables.
21077 (%beautify): Add generated representations of zero.
21078 (top level): Set $auto_input and call parse_auto_input.
21079 (beautify): Remove trailing "f" from hex float constants.
21080 (parse_args): Handle XFAIL_TEST.
21081 (convert_condition): New function.
21082 (or_value): Likewise.
21083 (or_cond_value): Likewise.
21084 (generate_testfile): Handle AUTO_TESTS_* lines.
21085 (parse_auto_input): New function.
21086 * math/libm-test.inc (XFAIL_TEST): New macro.
21087 (ERRNO_UNCHANGED): Update value.
21088 (ERRNO_EDOM): Likewise.
21089 (ERRNO_ERANGE): Likewise.
21090 (IGNORE_RESULT): Likewise.
21091 (TEST_COND_flt_32): New macro.
21092 (TEST_COND_dbl_64): Likewise.
21093 (TEST_COND_ldbl_96_intel): Likewise.
21094 (TEST_COND_ldbl_96_m68k): Likewise.
21095 (TEST_COND_ldbl_128): Likewise.
21096 (TEST_COND_ldbl_128ibm): Likewise.
21097 (TEST_COND_long32): Likewise.
21098 (TEST_COND_long64): Likewise.
21099 (TEST_COND_before_rounding): Likewise.
21100 (TEST_COND_after_rounding): Likewise.
21101 (enable_test): Handle XFAIL_TEST flag.
21102 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21103 with finite results.
21104 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21105 auto-libm-test-out.
21106
acd98a8e
AK
211072013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21108 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21109
21110 [BZ #16214]
21111 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21112 __tls_get_addr_internal instead of __tls_get_offset in order to
21113 avoid GOT pointer dependency. Make rtld export
21114 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21115 __tls_get_addr since we are a __tls_get_offset platform.
21116 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21117 GOT pointer being set up before.
21118 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21119
3c1c46a6
JM
211202013-11-28 Joseph Myers <joseph@codesourcery.com>
21121
7475aef5
JM
21122 * manual/math.texi (Errors in Math Functions): Document accuracy
21123 goals.
21124
8bca7cd8
JM
21125 [BZ #15004]
21126 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21127 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21130 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21132 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21142
91a1f3fe
JM
21143 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21144 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21145 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21146 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21147 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21148 Likewise.
21149 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21150 Likewise.
21151 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21152 Likewise.
21153 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21154 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21155 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21156 atomic-feupdateenv and flt-rounds.
21157 * sysdeps/powerpc/nofpu/Versions (libc): Add
21158 __atomic_feholdexcept, __atomic_feclearexcept,
21159 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21160 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21161 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21162 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21163 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21164 here.
21165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21166 Update.
21167
c5df7609
JM
21168 * manual/arith.texi (FP Exceptions): Document that exceptions may
21169 not be raised when matherr is used.
21170 (Math Error Reporting): Document overflow in directed rounding
21171 modes. Document that errno may not be set when finite values are
21172 returned on overflow. Document intent to set errno on underflow
21173 only for underflow to zero.
21174
3c1c46a6
JM
21175 [BZ #16271]
21176 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21177 round-to-nearest then adjust result for other rounding modes.
21178 * include/fenv.h (fegetround): Use libm_hidden_proto.
21179 * math/fegetround.c (fegetround): Use libm_hidden_def.
21180 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21181 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21182 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21184 Likewise.
21185 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21186 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21187 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21188 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21189
5a4c6d53
SP
211902013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21191
21192 [BZ #16077]
21193 * nss/Versions (libnss_files): Add
21194 _nss_files_gethostbyname3_r.
21195 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21196 New function.
21197 (HOST_DB_LOOKUP): Remove macro.
21198 (_nss_files_gethostbyname_r): Implement function without the
21199 HOST_DB_LOOKUP macro.
21200 (_nss_files_gethostbyname2_r): Likewise.
21201
897b98ba
OB
212022013-11-28 Ondřej Bílka <neleai@seznam.cz>
21203
21204 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21205
6f476861
UB
212062013-11-26 Uros Bizjak <ubizjak@gmail.com>
21207
21208 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21209 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21210 warning.
21211
bd12ab55
AZ
212122013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21213
21214 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21215 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21216 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21217 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21218 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21219 __fe_nomask_env_priv and attribute_hidden.
21220 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21221 (libc_feupdateenv_test_ppc): Likewise.
21222 (libc_feresetround_ppc): Likewise.
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21224 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21225 compat_symbol macro.
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21227 (__fe_nomask_env): Likewise.
21228 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21229
52bb6543
OB
212302013-11-26 Ondřej Bílka <neleai@seznam.cz>
21231
21232 * string/Makefile: Remove ifunc tests.
21233 * string/test-string.h: Define TEST_IFUNC.
21234 * string/test-bcopy-ifunc.c: Remove.
21235 * string/test-bzero-ifunc.c: Likewise.
21236 * string/test-memccpy-ifunc.c: Likewise.
21237 * string/test-memchr-ifunc.c: Likewise.
21238 * string/test-memcmp-ifunc.c: Likewise.
21239 * string/test-memcpy-ifunc.c: Likewise.
21240 * string/test-memmem-ifunc.c: Likewise.
21241 * string/test-memmove-ifunc.c: Likewise.
21242 * string/test-mempcpy-ifunc.c: Likewise.
21243 * string/test-memrchr-ifunc.c: Likewise.
21244 * string/test-memset-ifunc.c: Likewise.
21245 * string/test-rawmemchr-ifunc.c: Likewise.
21246 * string/test-stpcpy-ifunc.c: Likewise.
21247 * string/test-stpncpy-ifunc.c: Likewise.
21248 * string/test-strcasecmp-ifunc.c: Likewise.
21249 * string/test-strcasestr-ifunc.c: Likewise.
21250 * string/test-strcat-ifunc.c: Likewise.
21251 * string/test-strchr-ifunc.c: Likewise.
21252 * string/test-strchrnul-ifunc.c: Likewise.
21253 * string/test-strcmp-ifunc.c: Likewise.
21254 * string/test-strcpy-ifunc.c: Likewise.
21255 * string/test-strcspn-ifunc.c: Likewise.
21256 * string/test-strlen-ifunc.c: Likewise.
21257 * string/test-strncasecmp-ifunc.c: Likewise.
21258 * string/test-strncat-ifunc.c: Likewise.
21259 * string/test-strncmp-ifunc.c: Likewise.
21260 * string/test-strncpy-ifunc.c: Likewise.
21261 * string/test-strnlen-ifunc.c: Likewise.
21262 * string/test-strpbrk-ifunc.c: Likewise.
21263 * string/test-strrchr-ifunc.c: Likewise.
21264 * string/test-strspn-ifunc.c: Likewise.
21265 * string/test-strstr-ifunc.c: Likewise.
21266
ab260039 212672013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21268
21269 * benchtests/Makefile: Remove ifunc tests.
21270 * benchtests/bench-string.h: Define TEST_IFUNC.
21271 * benchtests/bench-bcopy-ifunc.c: Remove.
21272 * benchtests/bench-bzero-ifunc.c: Likewise.
21273 * benchtests/bench-memccpy-ifunc.c: Likewise.
21274 * benchtests/bench-memchr-ifunc.c: Likewise.
21275 * benchtests/bench-memcmp-ifunc.c: Likewise.
21276 * benchtests/bench-memcpy-ifunc.c: Likewise.
21277 * benchtests/bench-memmem-ifunc.c: Likewise.
21278 * benchtests/bench-memmove-ifunc.c: Likewise.
21279 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21280 * benchtests/bench-memrchr-ifunc.c: Likewise.
21281 * benchtests/bench-memset-ifunc.c: Likewise.
21282 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21283 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21284 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21285 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21286 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21287 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21288 * benchtests/bench-strcat-ifunc.c: Likewise.
21289 * benchtests/bench-strchr-ifunc.c: Likewise.
21290 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21291 * benchtests/bench-strcmp-ifunc.c: Likewise.
21292 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21293 * benchtests/bench-strcpy-ifunc.c: Likewise.
21294 * benchtests/bench-strcspn-ifunc.c: Likewise.
21295 * benchtests/bench-strlen-ifunc.c: Likewise.
21296 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21297 * benchtests/bench-strncat-ifunc.c: Likewise.
21298 * benchtests/bench-strncmp-ifunc.c: Likewise.
21299 * benchtests/bench-strncpy-ifunc.c: Likewise.
21300 * benchtests/bench-strnlen-ifunc.c: Likewise.
21301 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21302 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21303 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21304 * benchtests/bench-strspn-ifunc.c: Likewise.
21305 * benchtests/bench-strstr-ifunc.c: Likewise.
21306
213072013-11-26 Ondřej Bílka <neleai@seznam.cz>
21308
ab260039
OB
21309 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21310
d1d9eaf4 213112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21312
d1d9eaf4
OB
21313 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21314 * rt/aio.h: Likewise.
21315 * sysdeps/gnu/bits/utmp.h: Likewise.
21316 * sysdeps/gnu/bits/utmpx.h: Likewise.
21317 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21318 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21319 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21320 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21321 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21322 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21323 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21324 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21325 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21326 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21327 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21328 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21329 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21331 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21332 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21333 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21334 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21335 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21336 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21337 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21338 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21339 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21340 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21341 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21343 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21344 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21345 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21346 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21348 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21349 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21351 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21352 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21353 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21354 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21355 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21356 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21357 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21358 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21359
a7624ed9
CD
213602013-11-25 Carlos O'Donell <carlos@redhat.com>
21361
21362 [BZ #16245]
21363 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21364 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21365
63cfe52b
JM
213662013-11-25 Joseph Myers <joseph@codesourcery.com>
21367
21368 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21369 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21370 Likewise.
21371
41e8926a
AZ
213722013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21373
21374 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21375 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21376 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21377 (__fesetround): Remove define.
21378 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21379 rounding and exceptions handling.
21380 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21381 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21382 (__fe_nomask_env): Likewise.
21383 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21384 __fegetround instead of fegetround.
21385 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21386 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21387
6851bd4d
RM
213882013-11-21 Roland McGrath <roland@hack.frob.com>
21389
070906ff
RM
21390 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21391 it's there.
21392
6851bd4d
RM
21393 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21394
84ae135d
MI
213952013-11-21 Meador Inge <meadori@codesourcery.com>
21396
21397 [BZ #11157]
21398 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21399 (encrypt_r): Likewise.
21400 * malloc/obstack.h (obstack_free): Likewise.
21401 * posix/unistd.h (encrypt): Likewise.
21402
daf75146
GM
214032013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21404
21405 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21406 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21407 DL_CALL_DT_FINI() that call the functions directly.
21408 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21409 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21410 * elf/dl-fini.c: Likewise.
21411
10ad46bc
OB
214122013-11-20 Ondřej Bílka <neleai@seznam.cz>
21413
21414 * malloc/hooks.c (memalign_check): Add alignment rounding.
21415 * malloc/malloc.c (_mid_memalign): New function.
21416 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21417 Implement by calling _mid_memalign.
21418 * manual/probes.texi (Memory Allocation Probes): Remove
21419 memory_valloc_retry and memory_pvalloc_retry.
21420
f3fd2628
SP
214212013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21422
4712799f
SP
21423 * locale/programs/locarchive.c (open_archive): Add const
21424 qualifier to ARCHIVEFNAME and copy default fname to
21425 DEFAULT_FNAME.
21426
0417b20f
SP
21427 [BZ #15601]
21428 * libio/tst-widetext.input: Rename Oriya to Odia.
21429 * locale/iso-639.def: Likewise.
21430
f3fd2628
SP
21431 * manual/probes.texi (Mathematical Function Probes): Add
21432 documentation for sin, cos, asin and acos probes.
21433 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21434 (__sin32): Add slowasin probe.
21435 (__cos32): Add slowacos probe.
21436 (__mpsin): Add slowsin probe.
21437 (__mpcos): Add slowcos probe.
21438
73c1ce4f
JM
214392013-11-19 Joseph Myers <joseph@codesourcery.com>
21440
21441 [BZ #15483]
21442 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21443 thread-local __sim_exceptions_thread and global
21444 __sim_exceptions_global.
21445 (__sim_disabled_exceptions): Change to thread-local
21446 __sim_disabled_exceptions_thread and global
21447 __sim_disabled_exceptions_global.
21448 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21449 and global __sim_round_mode_global.
21450 (__simulate_exceptions): Use thread-local floating-point state and
21451 set global state from it as needed.
21452 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21453 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21454 __sim_round_mode_thread.
21455 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21456 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21457 and global __sim_exceptions_global.
21458 (__sim_disabled_exceptions): Change to thread-local
21459 __sim_disabled_exceptions_thread and global
21460 __sim_disabled_exceptions_global.
21461 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21462 and global __sim_round_mode_global.
21463 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21464 (SIM_SET_GLOBAL): Likewise.
21465 * sysdeps/powerpc/soft-fp/sfp-machine.h
21466 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21467 __sim_round_mode_thread.
21468 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21469 __sim_disabled_exceptions_thread.
21470 (__sim_exceptions): Change to __sim_exceptions_thread.
21471 (__sim_disabled_exceptions): Change to
21472 __sim_disabled_exceptions_thread.
21473 (__sim_round_mode): Change to __sim_round_mode_thread.
21474 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21475 thread-local floating-point state and set global state from it as
21476 needed.
21477 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21478 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21479 (__sim_disabled_exceptions): Remove extern declaration.
21480 (feenableexcept): Use thread-local floating-point state and set
21481 global state from it as needed.
21482 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21483 extern declaration.
21484 (__sim_disabled_exceptions): Likewise.
21485 (__sim_round_mode): Likewise.
21486 (__fegetenv): Use thread-local floating-point state.
21487 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21488 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21489 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21490 floating-point state and set global state from it as needed.
21491 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21492 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21493 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21494 Likewise.
21495 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21496 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21497 Likewise.
21498 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21499 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21500 Use __sim_round_mode_thread.
21501 * math/test-fenv-tls.c: New file.
21502 * math/Makefile (tests): Add test-fenv-tls.
21503 ($(objpfx)test-fenv-tls): Depend on
21504 $(common-objpfx)nptl/libpthread.so.
21505
b5449b12
AS
215062013-11-19 Andreas Schwab <schwab@suse.de>
21507
21508 * locale/programs/locale.c (show_info): Decode wordarray elements.
21509 * locale/categories.def (LC_MONETARY): Add element for
21510 _NL_MONETARY_CRNCYSTR.
21511 * locale/C-monetary.c (conversion_rate): New variable.
21512 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21513 element.
21514
e186536b
CM
215152013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21516
21517 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21518 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21519
5c349950
PP
215202013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21521
21522 * elf/Makefile (tst-auxv): New test.
21523 * elf/tst-auxv.c: New
21524 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21525
699df45b
JM
215262013-11-18 Joseph Myers <joseph@codesourcery.com>
21527
21528 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21529 (hidden_proto): Caller changed.
21530 (hidden_tls_proto): New macro.
21531 (libc_hidden_tls_proto): Likewise.
21532 (rtld_hidden_tls_proto): Likewise.
21533 (libm_hidden_tls_proto): Likewise.
21534 (libresolv_hidden_tls_proto): Likewise.
21535 (librt_hidden_tls_proto): Likewise.
21536 (libdl_hidden_tls_proto): Likewise.
21537 (libnss_files_hidden_tls_proto): Likewise.
21538 (libnsl_hidden_tls_proto): Likewise.
21539 (libnss_nisplus_hidden_tls_proto): Likewise.
21540 (libutil_hidden_tls_proto): Likewise.
21541
b7589107
OB
215422013-11-18 Ondřej Bílka <neleai@seznam.cz>
21543
21544 [BZ #10253]
21545 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21546 (decompose_rpath): Defer expansion to fillin_rpath.
21547 (_dl_init_paths): Pass linkmap to fillin_rpath.
21548
250c23bd
RS
215492013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21550
21551 * benchtests/Makefile: Add strsep.
21552 * benchtests/bench-strsep.c: New file: strsep benchtest.
21553 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21554
a7931fcf
AS
215552013-11-18 Andreas Schwab <schwab@suse.de>
21556
21557 * locale/programs/locale.c (show_info) [case byte]: Check for
21558 '\377' instead of '\177'.
21559 * locale/C-monetary.c (not_available): Always use "\377".
21560 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21561 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21562 detect unavailable sign_posn locale elements.
21563 * locale/localeconv.c (__localeconv): For grouping and
21564 mon_grouping handle "\177" and "\377" like no grouping.
21565 (INT_ELEM): New macro. Use it to set all numeric members.
21566 * locale/programs/ld-monetary.c (monetary_read)
21567 <tok_mon_grouping>: Normalize single -1 to the empty string.
21568 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21569 Likewise.
21570
728dab0e
OB
215712013-11-07 Ondřej Bílka <neleai@seznam.cz>
21572
21573 [BZ #16055]
21574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21575 when we match (nil).
21576 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21577
66294491
JM
215782013-11-16 Joseph Myers <joseph@codesourcery.com>
21579
ce665817
JM
21580 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21581 (NO_TEST_INLINE): Update value.
21582 (ERRNO_UNCHANGED): Likewise.
21583 (ERRNO_EDOM): Likewise.
21584 (ERRNO_ERANGE): Likewise.
21585 (IGNORE_RESULT): Likewise.
21586 (check_float_internal): Check signs of NaN results if
21587 TEST_NAN_SIGN used.
21588 (check_complex): Pass TEST_NAN_SIGN flag through to second
21589 check_float_internal call.
21590 (copysign_test_data): Add tests with quiet NaNs as second
21591 argument. Use TEST_NAN_SIGN.
21592 (fabs_test_data): Add test of negative quiet NaN argument. Use
21593 TEST_NAN_SIGN.
21594 (signbit_test_data): Add tests of quiet NaN argument.
21595 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21596
ee1466a9
JM
21597 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21598 $ignore_result.
21599 (parse_args): Handle function results specified as IGNORE.
21600 * math/libm-test.inc (IGNORE_RESULT): New macro.
21601 (check_float_internal): Do not check numerical result if flag
21602 IGNORE_RESULT set.
21603 (check_complex): Pass through IGNORE_RESULT to second
21604 check_float_internal call.
21605 (check_int): Do not check numerical result if flag IGNORE_RESULT
21606 set.
21607 (check_long): Likewise.
21608 (check_bool): Likewise.
21609 (check_longlong): Likewise.
21610 (lrint_test_data): Add tests of infinite and NaN arguments.
21611 (lrint_tonearest_test_data): Likewise.
21612 (lrint_towardzero_test_data): Likewise.
21613 (lrint_downward_test_data): Likewise.
21614 (lrint_upward_test_data): Likewise.
21615 (llrint_test_data): Likewise.
21616 (llrint_tonearest_test_data): Likewise.
21617 (llrint_towardzero_test_data): Likewise.
21618 (llrint_downward_test_data): Likewise.
21619 (llrint_upward_test_data): Likewise.
21620 (lround_test_data): Likewise.
21621 (llround_test_data): Likewise.
21622
14407b7e
JM
21623 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21624 (ERRNO_UNCHANGED): Update value.
21625 (ERRNO_EDOM): Likewise.
21626 (ERRNO_ERANGE): Likewise.
21627 (NO_TEST_INLINE_FLOAT): New macro.
21628 (NO_TEST_INLINE_DOUBLE): Likewise.
21629 (enable_test): New function.
21630 (RUN_TEST_f_f): Check enable_test before running test.
21631 (RUN_TEST_2_f): Likewise.
21632 (RUN_TEST_fff_f): Likewise.
21633 (RUN_TEST_c_f): Likewise.
21634 (RUN_TEST_f_f1): Likewise.
21635 (RUN_TEST_fF_f1): Likewise.
21636 (RUN_TEST_fI_f1): Likewise.
21637 (RUN_TEST_ffI_f1): Likewise.
21638 (RUN_TEST_c_c): Likewise.
21639 (RUN_TEST_cc_c): Likewise.
21640 (RUN_TEST_f_i): Likewise.
21641 (RUN_TEST_f_i_tg): Likewise.
21642 (RUN_TEST_ff_i_tg): Likewise.
21643 (RUN_TEST_f_b): Likewise.
21644 (RUN_TEST_f_b_tg): Likewise.
21645 (RUN_TEST_f_l): Likewise.
21646 (RUN_TEST_f_L): Likewise.
21647 (RUN_TEST_fFF_11): Likewise.
21648 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21649 conditionals.
21650 (cosh_test_data): Likewise.
21651 (exp_test_data): Likewise.
21652 (expm1_test_data): Likewise.
21653 (hypot_test_data): Likewise.
21654 (pow_test_data): Likewise.
21655 (sinh_test_data): Likewise.
21656 (tanh_test_data): Likewise.
21657 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21658 flags argument.
21659
ca07f197
JM
21660 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21661 tests with quiet NaN input and output.
21662 (acosh_test_data): Likewise.
21663 (asin_test_data): Likewise.
21664 (asinh_test_data): Likewise.
21665 (atan_test_data): Likewise.
21666 (atanh_test_data): Likewise.
21667 (atan2_test_data): Likewise.
21668 (cbrt_test_data): Likewise.
21669 (cos_test_data): Likewise.
21670 (cosh_test_data): Likewise.
21671 (erf_test_data): Likewise.
21672 (erfc_test_data): Likewise.
21673 (exp_test_data): Likewise.
21674 (exp10_test_data): Likewise.
21675 (exp2_test_data): Likewise.
21676 (expm1_test_data): Likewise.
21677 (hypot_test_data): Likewise.
21678 (j0_test_data): Likewise.
21679 (j1_test_data): Likewise.
21680 (jn_test_data): Likewise.
21681 (lgamma_test_data): Likewise.
21682 (log_test_data): Likewise.
21683 (log10_test_data): Likewise.
21684 (log1p_test_data): Likewise.
21685 (log2_test_data): Likewise.
21686 (pow_test_data): Likewise.
21687 (scalb_test_data): Likewise.
21688 (sin_test_data): Likewise.
21689 (sincos_test_data): Likewise.
21690 (sinh_test_data): Likewise.
21691 (tan_test_data): Likewise.
21692 (tanh_test_data): Likewise.
21693 (tgamma_test_data): Likewise.
21694 (y0_test_data): Likewise.
21695 (y1_test_data): Likewise.
21696 (yn_test_data): Likewise.
21697
66294491
JM
21698 [BZ #16167]
21699 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21700 argument being NaN and avoid computations with second argument in
21701 that case.
21702 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21703 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21704 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21705
1820b143
CL
217062013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21707
21708 * locale/iso-639.def: Add Chitwani Tharu (the).
21709
714bd261
AS
217102013-11-14 Andreas Schwab <schwab@suse.de>
21711
21712 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21713 word instead of empty string.
21714
7ab44563
AZ
217152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21716
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21718 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21720 (__fe_nomask_env): Likewise.
21721
e8470ea2
SE
217222013-11-13 Steve Ellcey <sellcey@mips.com>
21723
21724 * benchtests/bench-timing.h: Include time.h.
21725
17c1d9f0
L
217262013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 [BZ #15997]
21729 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21730 to 3.4.0 for x32.
21731 * sysdeps/unix/sysv/linux/configure: Regenerated.
21732
9310c284
JM
217332013-11-13 Joseph Myers <joseph@codesourcery.com>
21734
21735 [BZ #16151]
21736 * stdlib/strtod_l.c (round_and_return): Do not consider
21737 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21738 exponent one less than half the least subnormal exponent.
21739 * stdlib/test-strtod-round-data: Add more tests.
21740 * stdlib/tst-strtod-round.c (tests): Regenerated.
21741
7a2ad8cf
AZ
217422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21743
21744 [BZ #14143]
21745 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21746 (__fe_mask_env): Likewise.
21747 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21748 libm_hidden_proto and add function prototype.
21749 (__fe_mask_env): Add function prototype.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21751 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21753 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21755 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21756
50727aa7
MS
217572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21758
b2f386c1 21759 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21760 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21761
a615be46
MS
217622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21763
21764 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21765 of htab_find_slot().
21766
7ddace62
DM
217672013-11-11 David S. Miller <davem@davemloft.net>
21768
21769 [BZ #16150]
21770 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21771 symbol in the non-vis3 case in static builds.
21772 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21773 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21774 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21775 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21776
9182aa67
JK
217772013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21778
21779 [BZ #387]
21780 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21781 it is empty.
21782
450a2e2d
AZ
217832013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21784
b2f386c1
SP
21785 * benchtests/Makefile: Add bench-strtod.
21786 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21787
8ec3f656
AS
217882013-11-11 Andreas Schwab <schwab@suse.de>
21789
21790 [BZ #16153]
21791 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21792 terminating NUL in key length.
21793
76a9b998
AZ
217942013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21795
21796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21797 Add artificial ODP entry for vDSO symbol for PPC64.
21798 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21799 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21800
e4368156
OB
218012013-11-07 Ondřej Bílka <neleai@seznam.cz>
21802
21803 [BZ #15374]
21804 * nss/getent.c (services_keys): Recognize services starting with digit.
21805
8d6bb57c
DM
218062013-11-06 David S. Miller <davem@davemloft.net>
21807
21808 [BZ #15985]
21809 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21810 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21811
e256c421
WN
218122013-11-06 Will Newton <will.newton@linaro.org>
21813
21814 * manual/memory.texi (Malloc Examples): Remove register
21815 keyword from examples.
21816
f6e12daa 218172013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21818
f6e12daa 21819 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21820
9d880655
AS
218212013-11-04 Joseph Myers <joseph@codesourcery.com>
21822
fd2f9486 21823 [BZ #6981]
9d880655
AS
21824 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21825 depending on [__GCC_IEC_559 > 0].
21826 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21827 depending on [__GCC_IEC_559_COMPLEX > 0].
21828
ae129d3c
CL
218292013-11-03 Chris Leonard <cjl@sugarlabs.org>
21830
21831 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21832 to iso-639.def.
21833
4a15c2a4 218342013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21835
21836 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21837
8b35e35d
OB
218382013-11-01 Ondřej Bílka <neleai@seznam.cz>
21839
21840 [BZ #16112]
21841 * malloc/malloc (malloc_info): Do not handle first bin as
21842 special case.
21843
1d70fd6c
CL
218442013-11-01 Chris Leonard <cjl@sugarlabs.org>
21845
21846 * locale/iso-639.def: Add Central Nahuatl (nhn).
21847
8c5c2600
BH
218482013-11-01 Bruno Haible <bruno@clisp.org>
21849
21850 [BZ #7003]
21851 * manual/math.texi (BSD Random): Specify range upper bound as
21852 in POSIX.
21853
da5579c2
CL
218542013-10-31 Chris Leonard <cjl@sugarlabs.org>
21855
21856 * locale/iso-639.def: Add Meadow Mari (mhr).
21857
5d30d853
OB
218582013-10-31 Ondřej Bílka <neleai@seznam.cz>
21859
21860 [BZ #14752], [BZ #15763]
21861 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21862 Validate name.
21863 * rt/tst_shm.c: Add test for escaping directory.
21864
a4966c61
AS
218652013-10-31 Andreas Schwab <schwab@suse.de>
21866
8a43e768 21867 [BZ #15917]
a4966c61
AS
21868 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21869 followed by 'x' as part of digit sequence.
21870 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21871
28d708c4
MAP
218722013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21873
21874 [BZ #16037]
21875 * configure.ac: allow GNU Make 4.0 and greater.
21876 * configure: Regenerated.
21877
a56ee40b
WN
218782013-10-30 Will Newton <will.newton@linaro.org>
21879
21880 [BZ #16038]
21881 * malloc/hooks.c (memalign_check): Limit alignment to the
21882 maximum representable power of two.
21883 * malloc/malloc.c (__libc_memalign): Likewise.
21884 * malloc/tst-memalign.c (do_test): Add test for very
21885 large alignment values.
21886 * malloc/tst-posix_memalign.c (do_test): Likewise.
21887
c6e4925d
OB
218882013-10-30 Ondřej Bílka <neleai@seznam.cz>
21889
21890 [BZ #11087]
21891 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21892 (munmap_chunk): Likewise.
21893 (mremap_chunk): Likewise.
21894
218952013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21896
8a43e768 21897 [BZ #15799]
bbea82f7
OB
21898 * stdlib/div.c (div): Remove obsolete code.
21899 * stdlib/ldiv.c (ldiv): Likewise.
21900 * stdlib/lldiv.c (lldiv): Likewise.
21901
977f4b31
SP
219022013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21903
21904 [BZ #16071]
21905 * nss/nss_files/files-XXX.c (get_contents_ret): New
21906 enumerator.
21907 (get_contents): New function.
21908 (internal_getent): Use it. Expand size of LINEBUFLEN.
21909
cb8a6dbd
MF
219102013-10-30 Mike Frysinger <vapier@gentoo.org>
21911
21912 * configure.in: Moved to ...
21913 * configure.ac: ... here. Change reference to configure.in
21914 to configure.ac.
21915 * sysdeps/arm/preconfigure.ac: ... here.
21916 configure.in to configure.ac.
21917 * sysdeps/gnu/configure.in: Moved to ...
21918 * sysdeps/gnu/configure.ac: ... here.
21919 * sysdeps/i386/configure.in: Moved to ...
21920 * sysdeps/i386/configure.ac: ... here.
21921 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21922 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21923 * sysdeps/mach/configure.in: Moved to ...
21924 * sysdeps/mach/configure.ac: ... here.
21925 * sysdeps/mach/hurd/configure.in: Moved to ...
21926 * sysdeps/mach/hurd/configure.ac: ... here.
21927 * sysdeps/powerpc/configure.in: Moved to ...
21928 * sysdeps/powerpc/configure.ac: ... here.
21929 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21930 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21931 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21932 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21933 * sysdeps/s390/s390-32/configure.in: Moved to ...
21934 * sysdeps/s390/s390-32/configure.ac: ... here.
21935 * sysdeps/s390/s390-64/configure.in: Moved to ...
21936 * sysdeps/s390/s390-64/configure.ac: ... here.
21937 * sysdeps/sh/configure.in: Moved to ...
21938 * sysdeps/sh/configure.ac: ... here.
21939 * sysdeps/sparc/configure.in: Moved to ...
21940 * sysdeps/sparc/configure.ac: ... here.
21941 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21942 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21943 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21944 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21945 * sysdeps/x86_64/configure.in: Moved to ...
21946 * sysdeps/x86_64/configure.ac: ... here.
21947 * sysdeps/x86_64/preconfigure.in: Moved to ...
21948 * sysdeps/x86_64/preconfigure.ac: ... here.
21949 * aclocal.m4: Change reference to configure.in to configure.ac.
21950 * config.h.in: Likewise.
21951 * manual/install.texi: Likewise.
21952 * manual/maint.texi: Likewise.
21953 * Makefile: Likewise.
21954 * malloc/Makefile: Likewise.
21955 * nscd/Makefile: Likewise.
21956 * Makeconfig: Change reference to configure.in and
21957 preconfigure.in to configure.ac and preconfigure.ac
21958 respectively.
21959 * INSTALL: Regenerated.
21960 * configure: Likewise.
21961 * sysdeps/gnu/configure: Likewise.
21962 * sysdeps/i386/configure: Likewise.
21963 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21964 * sysdeps/mach/configure: Likewise.
21965 * sysdeps/mach/hurd/configure: Likewise.
21966 * sysdeps/powerpc/configure: Likewise.
21967 * sysdeps/powerpc/powerpc32/configure: Likewise.
21968 * sysdeps/powerpc/powerpc64/configure: Likewise.
21969 * sysdeps/s390/s390-32/configure: Likewise.
21970 * sysdeps/s390/s390-64/configure: Likewise.
21971 * sysdeps/sh/configure: Likewise.
21972 * sysdeps/sparc/configure: Likewise.
21973 * sysdeps/unix/sysv/linux/configure: Likewise.
21974 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21975 * sysdeps/x86_64/configure: Likewise.
21976 * sysdeps/x86_64/preconfigure: Likewise.
21977
36a4953a
AS
219782013-10-29 Andreas Schwab <schwab@suse.de>
21979
21980 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21981
c79a1204
SP
219822013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21983
dfa1b402
SP
21984 * benchtests/pow-inputs: Add new inputs.
21985
54f73d9c
SP
21986 * benchtests/exp-inputs: Add new inputs.
21987
c79a1204
SP
21988 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21989 conditional check for return value.
21990 (__cos32): Likewise.
21991
67beb545 219922013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21993
21994 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21995 to provide a boost for large inputs with word alignment.
21996 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21997 implementation based on optimized PPC64 strcpy.
21998 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21999 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22000 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22001 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22002
151659f6
OB
220032013-10-25 Ondřej Bílka <neleai@seznam.cz>
22004
482a077e 22005 [BZ #2801]
151659f6
OB
22006 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22007
10b0f26b
OB
220082013-10-25 Ondřej Bílka <neleai@seznam.cz>
22009
22010 [BZ #14876]
22011 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22012 * time/tst-strptime.c (day_tests): Add testcase.
22013
ca42d35e
OB
220142013-10-25 Ondřej Bílka <neleai@seznam.cz>
22015
482a077e 22016 [BZ #14029]
ca42d35e
OB
22017 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22018
52e6d801
FB
220192013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22020
22021 [BZ #16074]
22022 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22023 MAP_FAILED on error.
22024
7cbcdb36
SP
220252013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22026
22027 [BZ #16072]
22028 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22029 heap for large requests.
22030
894f3f10
AM
220312013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22032
22033 [BZ #9954]
22034 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22035 result if the result has no associated interface.
22036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22037 interface for all 127.X.Y.Z addresses.
22038
b85545a6
CL
220392013-10-24 Chris Leonard <cjl@sugarlabs.org>
22040
22041 * locale/iso-639.def: Add Ligurian (lij)
22042
d1f23d46
OB
220432013-10-21 Ondřej Bílka <neleai@seznam.cz>
22044
22045 [BZ #15825]
22046 * sunrpc/rpc_main.c: Document rpcgen -5.
22047
4db5b08f
MS
220482013-10-19 Michael Stahl <mstahl@redhat.com>
22049
22050 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22051
a471e96a
OB
220522013-10-19 Ondřej Bílka <neleai@seznam.cz>
22053
d1f23d46 22054 [BZ #10278]
a471e96a
OB
22055 * posix/glob.c: Match only directories when trailing slash is present.
22056 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22057 (main): Add testcase.
22058
45c30c61
OB
220592013-10-19 Ondřej Bílka <neleai@seznam.cz>
22060
22061 [BZ #15670]
22062 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22063
484c12fb
CD
220642013-10-18 Carlos O'Donell <carlos@redhat.com>
22065
3d7dc513
CD
22066 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22067 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22068 AUTH_DES and cindex for FIPS 140-2.
22069 (DES Encryption): Add cindex FIPS 46-3.
22070
484c12fb
CD
22071 * locale/locarchive.h (struct locarhandle): Add fname.
22072 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22073 if an optional argument was specified to --list-archive,
22074 otherwise NULL.
22075 * locale/programs/locarchive.c (show_archive_content): Take new
22076 argument fname and pass it via ah.fname to open_archive.
22077 * locale/programs/localedef.h: Update decl.
22078 (open_archive): If AH->fname is non-null, open that file
22079 rather than the default file name, and don't ignore ENOENT.
22080 (create_archive): Set AH.fname to NULL.
22081 (delete_locales_from_archive): Likewise.
22082 (add_locales_to_archive): Likewise.
22083 * locale/programs/locfile.c (write_all_categories): Likewise.
22084
3c8325fb
JM
220852013-10-18 Joseph Myers <joseph@codesourcery.com>
22086 Aldy Hernandez <aldyh@redhat.com>
22087
22088 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22089 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22090 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22091 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22092 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22093 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22095 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22096 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22097 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22098 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22099 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22100 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22101 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22102 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22103 Likewise.
22104 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22105 Likewise.
22106 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22107 Likewise.
22108 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22109 Likewise.
22110 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22111 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22112 Likewise.
22113 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22114 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22115 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22116 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22117 Likewise.
22118 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22119 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22120 * sysdeps/powerpc/preconfigure: Likewise.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22122 Likewise.
22123 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22124 Replace contents of file by #include of <fenv_libc.h>.
22125 * sysdeps/powerpc/soft-fp/sfp-machine.h
22126 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22127 and <sys/prctl.h>.
22128 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22141 Allow copysignl PLT reference to be missing.
22142
5abe0682
RS
221432013-10-18 Richard Sandiford <richard@codesourcery.com>
22144 Joseph Myers <joseph@codesourcery.com
22145
22146 [BZ #15948]
22147 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22148 single character.
22149 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22150
c7738d08
SP
221512013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22152
22153 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22154 * elf/tst-tls1.c: Likewise.
22155 * elf/tst-tls10.h: Likewise.
22156 * elf/tst-tls14.c: Likewise.
22157 * elf/tst-tls2.c: Likewise.
22158 * elf/tst-tls3.c: Likewise.
22159 * elf/tst-tls4.c: Likewise.
22160 * elf/tst-tls5.c: Likewise.
22161 * elf/tst-tls6.c: Likewise.
22162 * elf/tst-tls7.c: Likewise.
22163 * elf/tst-tls8.c: Likewise.
22164 * elf/tst-tls9.c: Likewise.
22165 * elf/tst-tlsmod1.c: Likewise.
22166 * elf/tst-tlsmod13.c: Likewise.
22167 * elf/tst-tlsmod13a.c: Likewise.
22168 * elf/tst-tlsmod14a.c: Likewise.
22169 * elf/tst-tlsmod16a.c: Likewise.
22170 * elf/tst-tlsmod16b.c: Likewise.
22171 * elf/tst-tlsmod2.c: Likewise.
22172 * elf/tst-tlsmod3.c: Likewise.
22173 * elf/tst-tlsmod4.c: Likewise.
22174 * elf/tst-tlsmod5.c: Likewise.
22175 * elf/tst-tlsmod6.c: Likewise.
22176
0bfcf2c7
OB
221772013-10-18 Ondřej Bílka <neleai@seznam.cz>
22178
22179 [BZ #12486]
22180 * malloc/malloc.c: remove checks for statistics.
22181
264aad1e
OB
221822013-10-17 Ondřej Bílka <neleai@seznam.cz>
22183
22184 [BZ #15277]
22185 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22186 * inet/tst-network.c: Add testcase.
22187
b957ced8
AS
221882013-10-17 Andreas Schwab <schwab@suse.de>
22189
22190 [BZ #15218]
22191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22192 to determine canonical name.
22193
c5d5d574
OB
221942013-10-17 Ondřej Bílka <neleai@seznam.cz>
22195
22196 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22197 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22214 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22215 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22220 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22221 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22226 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22251 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22253 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22254
e5c2c2d0
JM
222552013-10-17 Joseph Myers <joseph@codesourcery.com>
22256
22257 [BZ #16041]
22258 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22259 make result into a quiet NaN.
22260
51ca9e29
JM
222612013-10-16 Joseph Myers <joseph@codesourcery.com>
22262
22263 * soft-fp/adddf3.c: Fix horizontal whitespace.
22264 * soft-fp/addsf3.c: Likewise.
22265 * soft-fp/addtf3.c: Likewise.
22266 * soft-fp/divdf3.c: Likewise.
22267 * soft-fp/divsf3.c: Likewise.
22268 * soft-fp/divtf3.c: Likewise.
22269 * soft-fp/double.h: Likewise.
22270 * soft-fp/eqdf2.c: Likewise.
22271 * soft-fp/eqsf2.c: Likewise.
22272 * soft-fp/eqtf2.c: Likewise.
22273 * soft-fp/extenddftf2.c: Likewise.
22274 * soft-fp/extended.h: Likewise.
22275 * soft-fp/extendsfdf2.c: Likewise.
22276 * soft-fp/extendsftf2.c: Likewise.
22277 * soft-fp/extendxftf2.c: Likewise.
22278 * soft-fp/fixdfdi.c: Likewise.
22279 * soft-fp/fixdfsi.c: Likewise.
22280 * soft-fp/fixdfti.c: Likewise.
22281 * soft-fp/fixsfdi.c: Likewise.
22282 * soft-fp/fixsfsi.c: Likewise.
22283 * soft-fp/fixsfti.c: Likewise.
22284 * soft-fp/fixtfdi.c: Likewise.
22285 * soft-fp/fixtfsi.c: Likewise.
22286 * soft-fp/fixtfti.c: Likewise.
22287 * soft-fp/fixunsdfdi.c: Likewise.
22288 * soft-fp/fixunsdfsi.c: Likewise.
22289 * soft-fp/fixunsdfti.c: Likewise.
22290 * soft-fp/fixunssfdi.c: Likewise.
22291 * soft-fp/fixunssfsi.c: Likewise.
22292 * soft-fp/fixunssfti.c: Likewise.
22293 * soft-fp/fixunstfdi.c: Likewise.
22294 * soft-fp/fixunstfsi.c: Likewise.
22295 * soft-fp/fixunstfti.c: Likewise.
22296 * soft-fp/floatdidf.c: Likewise.
22297 * soft-fp/floatdisf.c: Likewise.
22298 * soft-fp/floatditf.c: Likewise.
22299 * soft-fp/floatsidf.c: Likewise.
22300 * soft-fp/floatsisf.c: Likewise.
22301 * soft-fp/floatsitf.c: Likewise.
22302 * soft-fp/floattidf.c: Likewise.
22303 * soft-fp/floattisf.c: Likewise.
22304 * soft-fp/floattitf.c: Likewise.
22305 * soft-fp/floatundidf.c: Likewise.
22306 * soft-fp/floatundisf.c: Likewise.
22307 * soft-fp/floatunditf.c: Likewise.
22308 * soft-fp/floatunsidf.c: Likewise.
22309 * soft-fp/floatunsisf.c: Likewise.
22310 * soft-fp/floatunsitf.c: Likewise.
22311 * soft-fp/floatuntidf.c: Likewise.
22312 * soft-fp/floatuntisf.c: Likewise.
22313 * soft-fp/floatuntitf.c: Likewise.
22314 * soft-fp/fmadf4.c: Likewise.
22315 * soft-fp/fmasf4.c: Likewise.
22316 * soft-fp/fmatf4.c: Likewise.
22317 * soft-fp/gedf2.c: Likewise.
22318 * soft-fp/gesf2.c: Likewise.
22319 * soft-fp/getf2.c: Likewise.
22320 * soft-fp/ledf2.c: Likewise.
22321 * soft-fp/lesf2.c: Likewise.
22322 * soft-fp/letf2.c: Likewise.
22323 * soft-fp/muldf3.c: Likewise.
22324 * soft-fp/mulsf3.c: Likewise.
22325 * soft-fp/multf3.c: Likewise.
22326 * soft-fp/negdf2.c: Likewise.
22327 * soft-fp/negsf2.c: Likewise.
22328 * soft-fp/negtf2.c: Likewise.
22329 * soft-fp/op-1.h: Likewise.
22330 * soft-fp/op-2.h: Likewise.
22331 * soft-fp/op-4.h: Likewise.
22332 * soft-fp/op-8.h: Likewise.
22333 * soft-fp/op-common.h: Likewise.
22334 * soft-fp/quad.h: Likewise.
22335 * soft-fp/single.h: Likewise.
22336 * soft-fp/soft-fp.h: Likewise.
22337 * soft-fp/sqrtdf2.c: Likewise.
22338 * soft-fp/sqrtsf2.c: Likewise.
22339 * soft-fp/sqrttf2.c: Likewise.
22340 * soft-fp/subdf3.c: Likewise.
22341 * soft-fp/subsf3.c: Likewise.
22342 * soft-fp/subtf3.c: Likewise.
22343 * soft-fp/truncdfsf2.c: Likewise.
22344 * soft-fp/trunctfdf2.c: Likewise.
22345 * soft-fp/trunctfsf2.c: Likewise.
22346 * soft-fp/trunctfxf2.c: Likewise.
22347 * soft-fp/unorddf2.c: Likewise.
22348 * soft-fp/unordsf2.c: Likewise.
22349 * soft-fp/unordtf2.c: Likewise.
22350
9ebb0332
JM
223512013-10-15 Joseph Myers <joseph@codesourcery.com>
22352
22353 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22354 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22355
4b1a6d8b
OB
223562013-10-15 Ondřej Bílka <neleai@seznam.cz>
22357
22358 * elf/dl-libc.c: Clear initfini list after freeing.
22359
1e145589
JM
223602013-10-14 Joseph Myers <joseph@codesourcery.com>
22361
22362 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22363 * soft-fp/addsf3.c: Likewise.
22364 * soft-fp/addtf3.c: Likewise.
22365 * soft-fp/divdf3.c: Likewise.
22366 * soft-fp/divsf3.c: Likewise.
22367 * soft-fp/divtf3.c: Likewise.
22368 * soft-fp/double.h: Likewise.
22369 * soft-fp/eqdf2.c: Likewise.
22370 * soft-fp/eqsf2.c: Likewise.
22371 * soft-fp/eqtf2.c: Likewise.
22372 * soft-fp/extenddftf2.c: Likewise.
22373 * soft-fp/extended.h: Likewise.
22374 * soft-fp/extendsfdf2.c: Likewise.
22375 * soft-fp/extendsftf2.c: Likewise.
22376 * soft-fp/extendxftf2.c: Likewise.
22377 * soft-fp/fixdfdi.c: Likewise.
22378 * soft-fp/fixdfsi.c: Likewise.
22379 * soft-fp/fixdfti.c: Likewise.
22380 * soft-fp/fixsfdi.c: Likewise.
22381 * soft-fp/fixsfsi.c: Likewise.
22382 * soft-fp/fixsfti.c: Likewise.
22383 * soft-fp/fixtfdi.c: Likewise.
22384 * soft-fp/fixtfsi.c: Likewise.
22385 * soft-fp/fixtfti.c: Likewise.
22386 * soft-fp/fixunsdfdi.c: Likewise.
22387 * soft-fp/fixunsdfsi.c: Likewise.
22388 * soft-fp/fixunsdfti.c: Likewise.
22389 * soft-fp/fixunssfdi.c: Likewise.
22390 * soft-fp/fixunssfsi.c: Likewise.
22391 * soft-fp/fixunssfti.c: Likewise.
22392 * soft-fp/fixunstfdi.c: Likewise.
22393 * soft-fp/fixunstfsi.c: Likewise.
22394 * soft-fp/fixunstfti.c: Likewise.
22395 * soft-fp/floatdidf.c: Likewise.
22396 * soft-fp/floatdisf.c: Likewise.
22397 * soft-fp/floatditf.c: Likewise.
22398 * soft-fp/floatsidf.c: Likewise.
22399 * soft-fp/floatsisf.c: Likewise.
22400 * soft-fp/floatsitf.c: Likewise.
22401 * soft-fp/floattidf.c: Likewise.
22402 * soft-fp/floattisf.c: Likewise.
22403 * soft-fp/floattitf.c: Likewise.
22404 * soft-fp/floatundidf.c: Likewise.
22405 * soft-fp/floatundisf.c: Likewise.
22406 * soft-fp/floatunsidf.c: Likewise.
22407 * soft-fp/floatunsisf.c: Likewise.
22408 * soft-fp/floatuntidf.c: Likewise.
22409 * soft-fp/floatuntisf.c: Likewise.
22410 * soft-fp/floatuntitf.c: Likewise.
22411 * soft-fp/fmadf4.c: Likewise.
22412 * soft-fp/fmasf4.c: Likewise.
22413 * soft-fp/fmatf4.c: Likewise.
22414 * soft-fp/gedf2.c: Likewise.
22415 * soft-fp/gesf2.c: Likewise.
22416 * soft-fp/getf2.c: Likewise.
22417 * soft-fp/ledf2.c: Likewise.
22418 * soft-fp/lesf2.c: Likewise.
22419 * soft-fp/letf2.c: Likewise.
22420 * soft-fp/muldf3.c: Likewise.
22421 * soft-fp/mulsf3.c: Likewise.
22422 * soft-fp/multf3.c: Likewise.
22423 * soft-fp/negdf2.c: Likewise.
22424 * soft-fp/negsf2.c: Likewise.
22425 * soft-fp/negtf2.c: Likewise.
22426 * soft-fp/op-1.h: Likewise.
22427 * soft-fp/op-2.h: Likewise.
22428 * soft-fp/op-4.h: Likewise.
22429 * soft-fp/op-8.h: Likewise.
22430 * soft-fp/op-common.h: Likewise.
22431 * soft-fp/quad.h: Likewise.
22432 * soft-fp/single.h: Likewise.
22433 * soft-fp/soft-fp.h: Likewise.
22434 * soft-fp/sqrtdf2.c: Likewise.
22435 * soft-fp/sqrtsf2.c: Likewise.
22436 * soft-fp/sqrttf2.c: Likewise.
22437 * soft-fp/subdf3.c: Likewise.
22438 * soft-fp/subsf3.c: Likewise.
22439 * soft-fp/subtf3.c: Likewise.
22440 * soft-fp/truncdfsf2.c: Likewise.
22441 * soft-fp/trunctfdf2.c: Likewise.
22442 * soft-fp/trunctfsf2.c: Likewise.
22443 * soft-fp/trunctfxf2.c: Likewise.
22444 * soft-fp/unorddf2.c: Likewise.
22445 * soft-fp/unordsf2.c: Likewise.
22446 * soft-fp/unordtf2.c: Likewise.
22447
17c48a60
OB
224482013-10-14 Ondřej Bílka <neleai@seznam.cz>
22449
22450 [BZ #15672]
22451 * misc/error.c (error_tail): Fix possible buffer overflow.
22452
cabba934
OB
224532013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22454
22455 [BZ #13028]
22456 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22457 address.
22458
94bf958a
PM
224592013-10-14 P. J. McDermott <pj@pehjota.net>
22460
22461 [BZ #832]
22462 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22463 testing pipefail option.
22464
71b4dea7
JM
224652013-10-12 Joseph Myers <joseph@codesourcery.com>
22466
22467 * soft-fp/double.h: Indent preprocessor directives inside #if.
22468 * soft-fp/extended.h: Likewise.
22469 * soft-fp/op-2.h: Likewise.
22470 * soft-fp/op-4.h: Likewise.
22471 * soft-fp/op-common.h: Likewise.
22472 * soft-fp/quad.h: Likewise.
22473 * soft-fp/single.h: Likewise.
22474 * soft-fp/soft-fp.h: Likewise.
22475
55602758
YC
224762013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22477
22478 * iconv/iconv_prog.c: Fix typos.
22479 * stdio-common/psiginfo-data.h: Likewise.
22480
9cd83302
RT
224812013-10-12 Reuben Thomas <rrt@sc3d.org>
22482
22483 [BZ #15764]
22484 * locale/setlocale.c: Fix typo.
22485
99fd9f47
JM
224862013-10-12 Joseph Myers <joseph@codesourcery.com>
22487
b7ea74f0
JM
22488 [BZ #16036]
22489 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22490 signaling NaN arguments.
22491 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22492 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22493
8a509447
JM
22494 [BZ #14910]
22495 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22496 unordered operands.
22497 * soft-fp/gesf2.c (__gesf2): Likewise.
22498 * soft-fp/getf2.c (__getf2): Likewise.
22499 * soft-fp/ledf2.c (__ledf2): Likewise.
22500 * soft-fp/lesf2.c (__lesf2): Likewise.
22501 * soft-fp/letf2.c (__letf2): Likewise.
22502
98998e9f
JM
22503 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22504 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22505 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22506 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22507 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22508 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22509 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22510 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22511 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22512 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22513 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22514 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22515 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22516 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22517 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22518 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22519 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22520 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22521 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22522 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22523 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22524 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22525 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22526 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22527 * soft-fp/floattidf.c (__floattidf): Likewise.
22528 * soft-fp/floattisf.c (__floattisf): Likewise.
22529 * soft-fp/floattitf.c (__floattitf): Likewise.
22530 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22531 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22532 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22533 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22534 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22535 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22536 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22537 * soft-fp/gesf2.c (__gesf2): Likewise.
22538 * soft-fp/getf2.c (__getf2): Likewise.
22539 * soft-fp/ledf2.c (__ledf2): Likewise.
22540 * soft-fp/lesf2.c (__lesf2): Likewise.
22541 * soft-fp/letf2.c (__letf2): Likewise.
22542
8edc4a11
JM
22543 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22544 Undefine and redefine.
22545 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22546 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22547 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22548 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22549 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22550 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22551 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22552 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22553 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22554 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22555 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22556 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22557 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22558 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22559 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22560
8399acaf
JM
22561 [BZ #16032]
22562 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22563 without decrementing exponent if mantissa >= that for the
22564 denominator, not >.
22565 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22566 denominator, not >. Decrement exponent in < case instead of
22567 incrementing in >= case.
22568 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22569 without decrementing exponent if mantissa >= that for the
22570 denominator, not >.
22571
99fd9f47
JM
22572 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22573 computing saturated result for unsigned overflow.
22574
10e1cf6b
SP
225752013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22576 Jeff Law <law@redhat.com>
22577
22578 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22579 (atan2Mp): Add systemtap probe marker.
22580 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22581 (__ieee754_log): Add systemtap probe marker.
22582 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22583 (atanMp): Add systemtap probe marker.
22584 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22585 (tanMp): Add systemtap probe marker.
22586 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22587 (__slowexp): Add systemtap probe marker.
22588 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22589 (__slowpow): Add systemtap probe marker.
22590 * manual/probes.texi: Document probes.
22591
3d110c7c
EB
225922013-10-11 Eric Biggers <ebiggers3@gmail.com>
22593
22594 [BZ #15362]
22595 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22596 written.
22597 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22598 written.
22599 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22600 written to buffer but not flushed.
22601 * libio/iofwrite_u.c: Likewise.
22602 * libio/iopadn.c: Return bytes returned even if EOF was
22603 encountered.
22604 * libio/iowpadn.c: Likewise.
22605 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22606 if _IO_padn does not write the whole buffer.
22607 [!COMPILE_WPRINTF] (PAD): Likewise.
22608
75b4202a
DM
226092013-10-10 David S. Miller <davem@davemloft.net>
22610
22611 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22612 directory block.
22613
6c6352e6
JM
226142013-10-10 Joseph Myers <joseph@codesourcery.com>
22615
33b853c3
JM
22616 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22617 instead of FSF address.
22618 * soft-fp/fixdfti.c: Likewise.
22619 * soft-fp/fixsfti.c: Likewise.
22620 * soft-fp/fixtfti.c: Likewise.
22621 * soft-fp/fixunsdfti.c: Likewise.
22622 * soft-fp/fixunssfti.c: Likewise.
22623 * soft-fp/fixunstfti.c: Likewise.
22624 * soft-fp/floattidf.c: Likewise.
22625 * soft-fp/floattisf.c: Likewise.
22626 * soft-fp/floattitf.c: Likewise.
22627 * soft-fp/floatuntidf.c: Likewise.
22628 * soft-fp/floatuntisf.c: Likewise.
22629 * soft-fp/floatuntitf.c: Likewise.
22630 * soft-fp/trunctfxf2.c: Likewise.
22631
6c6352e6
JM
22632 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22633 * soft-fp/fixdfti.c: Likewise.
22634 * soft-fp/fixsfti.c: Likewise.
22635 * soft-fp/fixtfti.c: Likewise.
22636 * soft-fp/fixunsdfti.c: Likewise.
22637 * soft-fp/fixunssfti.c: Likewise.
22638 * soft-fp/fixunstfti.c: Likewise.
22639 * soft-fp/floattidf.c: Likewise.
22640 * soft-fp/floattisf.c: Likewise.
22641 * soft-fp/floattitf.c: Likewise.
22642 * soft-fp/floatuntidf.c: Likewise.
22643 * soft-fp/floatuntisf.c: Likewise.
22644 * soft-fp/floatuntitf.c: Likewise.
22645 * soft-fp/trunctfxf2.c: Likewise.
22646
3bf78b71
DM
226472013-10-10 David S. Miller <davem@davemloft.net>
22648
22649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22650
6f10289e
JM
226512013-10-10 Joseph Myers <joseph@codsourcery.com>
22652
bd878fc0
JM
22653 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22654 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22655 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22656 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22657 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22658 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22659 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22660
6f10289e
JM
22661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22662 for NaNs before doing comparisons on argument.
22663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22664 Likewise.
22665
321e2684
WN
226662013-10-10 Will Newton <will.newton@linaro.org>
22667
22668 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22669 passed to _int_memalign does not overflow.
22670
40fefba1
TR
226712013-10-10 Torvald Riegel <triegel@redhat.com>
22672
22673 * scripts/bench.pl: Add include-sources directive.
22674 * benchtests/README: Update documentation.
22675
2ae21ed2
JM
226762013-10-10 Joseph Myers <joseph@codesourcery.com>
22677
dcc2dd3f
JM
22678 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22679 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22680 instead of FP_INIT_ROUNDMODE.
22681 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22682 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22683
2ae21ed2
JM
22684 [BZ #16034]
22685 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22686 copy class of input value.
22687 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22688 not handle exceptions.
22689 * soft-fp/negsf2.c (__negsf2): Likewise.
22690 * soft-fp/negtf2.c (__negtf2): Likewise.
22691 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22692
cb8f9562
JM
226932013-10-09 Joseph Myers <joseph@codesourcery.com>
22694
22695 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22696 semicolon. From Linux kernel.
22697
5b60c59d
AB
226982013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22699
22700 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22701
b86835ca
YC
227022013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22703
22704 [BZ #156]
22705 * manual/socket.texi: Added statement about buffer
22706 for gethostbyname2_r.
22707
e7044ea7
OB
227082013-10-08 Ondřej Bílka <neleai@seznam.cz>
22709
22710 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22711 Use .p2align directive instead, throughout.
22712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22713 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22714 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22716 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22717 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22718 * sysdeps/x86_64/strchr.S: Likewise.
22719 * sysdeps/x86_64/strrchr.S: Likewise.
22720
09544cbc
SP
227212013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22722
88576635
SP
22723 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22724
e7b2d1dd
SP
22725 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22726
09544cbc
SP
22727 * sysdeps/generic/math_private.h (__mpsin1): Remove
22728 declaration.
22729 (__mpcos1): Likewise.
22730 (__mpsin): New argument __range_reduce.
22731 (__mpcos): Likewise.
22732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22733 (slow): Use __mpsin and __mpcos.
22734 (slow1): Likewise.
22735 (slow2): Likewise.
22736 (sloww): Likewise.
22737 (sloww1): Likewise.
22738 (sloww2): Likewise.
22739 (bsloww): Likewise.
22740 (bsloww1): Likewise.
22741 (bsloww2): Likewise.
22742 (cslow2): Likewise.
22743 (csloww): Likewise.
22744 (csloww1): Likewise.
22745 (csloww2): Likewise.
22746 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22747 range_reduce. Merge in __mpsin1.
22748 (__mpcos): Likewise.
22749 (__mpsin1): Remove.
22750 (__mpcos1): Likewise.
22751
7602d070
JM
227522013-10-07 Joseph Myers <joseph@codesourcery.com>
22753
22754 * locale/loadlocale.c (_nl_intern_locale_data): Use
22755 LOCFILE_ALIGNED_P.
22756 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22757 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22758 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22759 obstack data is appropriately aligned.
22760 (obstack_int32_grow_fast): Likewise.
22761 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22762 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22763 (add_locale_uint32_array): Likewise.
22764
a357259b
SP
227652013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22766
22767 * benchtests/Makefile: Remove ARGLIST and RET variables.
22768 ($(objpfx)bench-%.c): Pass only function name to the script.
22769 * benchtests/README: Update documentation.
22770 * benchtests/acos-inputs: Add new directives.
22771 * benchtests/acosh-inputs: Likewise.
22772 * benchtests/asin-inputs: Likewise.
22773 * benchtests/asinh-inputs: Likewise.
22774 * benchtests/atan-inputs: Likewise.
22775 * benchtests/atanh-inputs: Likewise.
22776 * benchtests/cos-inputs: Likewise.
22777 * benchtests/cosh-inputs: Likewise.
22778 * benchtests/exp-inputs: Likewise.
22779 * benchtests/log-inputs: Likewise.
22780 * benchtests/pow-inputs: Likewise.
22781 * benchtests/rint-inputs: Likewise.
22782 * benchtests/sin-inputs: Likewise.
22783 * benchtests/sinh-inputs: Likewise.
22784 * benchtests/tan-inputs: Likewise.
22785 * benchtests/tanh-inputs: Likewise.
22786 * scripts/bench.pl: Add support for new directives.
22787
9ec1b13d
AM
227882013-10-07 Alan Modra <amodra@gmail.com>
22789
22790 * README: Fix careless merge.
22791
8b7d57cd
AM
227922013-10-05 Alan Modra <amodra@gmail.com>
22793
22794 * NEWS: Mention powerpc64le support and bugs fixed.
22795 * README: Both big-endian and little-endian powerpc64 supported.
22796
7b7bab13
ST
227972013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22798
57f41c40
AS
22799 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22800 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22801 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22802 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22803
d39baad1
RA
228042013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22805
22806 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22807 match prototype.
22808
cd78f7e7
JM
228092013-10-04 Joseph Myers <joseph@codesourcery.com>
22810
29d73d86
JM
22811 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22812 Move -mhard-float appending from
22813 ports/sysdeps/powerpc/powerpc32/Makefile.
22814 [$(with-fp) = yes] (ASFLAGS): Likewise.
22815 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22816 * sysdeps/powerpc/nofpu: Move directory from
22817 ports/sysdeps/powerpc/nofpu.
22818 * sysdeps/powerpc/soft-fp: Move directory from
22819 ports/sysdeps/powerpc/soft-fp.
22820 * sysdeps/powerpc/powerpc32/405: Move directory from
22821 ports/sysdeps/powerpc/powerpc32/405.
22822 * sysdeps/powerpc/powerpc32/440: Move directory from
22823 ports/sysdeps/powerpc/powerpc32/440.
22824 * sysdeps/powerpc/powerpc32/464: Move directory from
22825 ports/sysdeps/powerpc/powerpc32/464.
22826 * sysdeps/powerpc/powerpc32/476: Move directory from
22827 ports/sysdeps/powerpc/powerpc32/476.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22829 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22831 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22833 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22835 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22837 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22838 * README: Update for powerpc-*-linux-gnu software floating point
22839 support in libc.
22840
e246b347
JM
22841 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22842 case to powerpc/powerpc32*.
22843 * sysdeps/unix/sysv/linux/configure: Regenerated.
22844
89c2003e
JM
22845 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22846 (_FPU_MASK_OM): Define as 0x04.
22847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22849 0x00c10080.
22850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22851 0x0000003c.
22852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22853
cd78f7e7
JM
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22855 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22856 getcontext_e500.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22858 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22859 setcontext_e500.
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22861 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22862 and setcontext_e500.
22863
c755294d
CL
228642013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22865
22866 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22867
e16d221c
SP
228682013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22869
22870 * manual/threads.texi (Default Thread Attributes): Fix typo.
22871
215c7d43
WN
228722013-10-04 Will Newton <will.newton@linaro.org>
22873
22874 * malloc/Makefile: Add tst-memalign.
22875 * malloc/tst-memalign.c: New file.
22876
27d0461b
WN
22877 * malloc/tst-posix_memalign.c: Add comments.
22878 (do_test): Add comments and call free on all potentially
22879 allocated pointers. Add space after cast.
22880
1bc92709
WN
22881 * malloc/tst-pvalloc.c: Add comments.
22882 (do_test): Add comments and call free on all potentially
22883 allocated pointers. Remove duplicate check for NULL pointer.
22884 Add space after cast.
22885
66a9be9d
WN
22886 * malloc/tst-valloc.c: Add comments.
22887 (do_test): Add comments and call free on all potentially
22888 allocated pointers. Remove duplicate check for NULL pointer.
22889 Add space after cast.
22890
4cb81307
AM
228912013-10-04 Alan Modra <amodra@gmail.com>
22892
22893 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22894 Use stdint types in rather than __attribute__((mode())).
22895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22896
f8e3e9f3
AM
228972013-10-04 Alan Modra <amodra@gmail.com>
22898
22899 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22900 Correct handling of unaligned relocs for little-endian.
22901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22902
8f9ebb08
AM
229032013-10-04 Alan Modra <amodra@gmail.com>
22904
22905 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22906 * configure: Regenerate.
22907 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22908 * shlib-versions: Likewise.
22909
0edf96c2
AM
229102013-10-04 Alan Modra <amodra@gmail.com>
22911
22912 * string/tester.c (test_memrchr): Increment reported test cycle.
22913
e0f7a380
AM
229142013-10-04 Alan Modra <amodra@gmail.com>
22915
22916 * string/test-memcpy.c (do_one_test): When reporting errors, print
22917 string address and don't overrun end of string.
22918
466b0393
AM
229192013-10-04 Alan Modra <amodra@gmail.com>
22920
22921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22922 insrdi. Make better use of reg selection to speed exit slightly.
22923 Schedule entry path a little better. Remove useless "are we done"
22924 checks on entry to main loop. Handle wrapping around zero address.
22925 Correct main loop count. Handle single left-over word from main
22926 loop inline rather than by using loop_small. Remove extra word
22927 case in loop_small caused by wrong loop count. Add little-endian
22928 support.
22929 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22930 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22931 cache hint.
22932 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22933 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22934 support. Avoid rlwimi.
22935 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22936
3be87c77
AM
229372013-10-04 Alan Modra <amodra@gmail.com>
22938
22939 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22940 insrdi. Formatting.
3be87c77
AM
22941 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22943 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22944 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22945 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22946 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22947
759cfef3
AM
229482013-10-04 Alan Modra <amodra@gmail.com>
22949
22950 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22951 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22953 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22954 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22956 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22957 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22958 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22959 use of regs. Use power7 mtocrf. Tidy function tails.
22960
fe6e95d7
AM
229612013-10-04 Alan Modra <amodra@gmail.com>
22962
22963 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22964 Formatting. Consistently use rXXX register defines or rN defines.
22965 Use early exit labels that avoid restoring unused non-volatile regs.
22966 Make cr field use more consistent with rWORDn compares. Rename
22967 regs used as shift registers for unaligned loop, using rN defines
22968 for short lifetime/multiple use regs.
22969 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22970 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22971 addi 1,1,64 to pop stack frame. Simplify return value code.
22972 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22973
664318c3
AM
229742013-10-04 Alan Modra <amodra@gmail.com>
22975
22976 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22977 support. Correct typos, formatting. Optimize tail. Use insrdi
22978 rather than rlwimi.
22979 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22980 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22981 little-endian support. Correct typos.
22982 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22983 rather than rlwimi.
22984 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22985 in loop and entry code to keep "and." results.
22986 (strchr): Add little-endian support. Comment. Move cntlzd
22987 earlier in tail.
22988 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22989
43b84013
AM
229902013-10-04 Alan Modra <amodra@gmail.com>
22991
22992 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22993 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22994 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22995 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22996
8a7413f9
AM
229972013-10-04 Alan Modra <amodra@gmail.com>
22998
22999 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23000 (rTMP): Define as r11.
23001 (strcmp): Add little-endian support. Optimise tail.
23002 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23003 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23004 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23005 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23006 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23009
33ee81de
AM
230102013-10-04 Alan Modra <amodra@gmail.com>
23011
23012 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23013 little-endian support. Remove unnecessary "are we done" tests.
23014 Handle "s" wrapping around zero and extremely large "size".
23015 Correct main loop count. Handle single left-over word from main
23016 loop inline rather than by using small_loop. Correct comments.
23017 Delete "zero" tail, use "end_max" instead.
23018 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23019
db9b4570
AM
230202013-10-04 Alan Modra <amodra@gmail.com>
23021
23022 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23023 support. Don't branch over align.
23024 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23025 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23026 support. Rearrange tmp reg use to suit. Comment.
23027 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23028
f7c399cf
AM
230292013-10-04 Alan Modra <amodra@gmail.com>
23030
23031 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23032
0b2c2ace
AM
230332013-10-04 Alan Modra <amodra@gmail.com>
23034
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23036 conditional form of branch and link when obtaining pc.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23038
02f04a6c
AM
230392013-10-04 Alan Modra <amodra@gmail.com>
23040
23041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23042 HIWORD/LOWORD.
23043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23045
9b874b2f
AM
230462013-10-04 Alan Modra <amodra@gmail.com>
23047
23048 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23049 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23050 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23051 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23052 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23053 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23054 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23055 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23057 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23058
be1e5d31
AB
230592013-10-04 Anton Blanchard <anton@au1.ibm.com>
23060 Alistair Popple <alistair@ozlabs.au.ibm.com>
23061 Alan Modra <amodra@gmail.com>
23062
23063 [BZ #15723]
23064 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23066 _dl_hwcap access for little-endian.
23067 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23068 destroy vmx regs when saving unaligned.
23069 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23070 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23071 destroy vmx regs when saving unaligned.
23072
fef13a78
AM
230732013-10-04 Alan Modra <amodra@gmail.com>
23074
23075 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23076 Don't use a union to pack hi/low value.
23077
76a66d51
AB
230782013-10-04 Anton Blanchard <anton@au1.ibm.com>
23079
23080 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23081 for little-endian.
23082 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23083 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23084 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23085 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23086 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23087
6a31fe7f
AM
230882013-10-04 Alan Modra <amodra@gmail.com>
23089
23090 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23091 constants to usual value for .cst8 section, and remove redundant
23092 high address load.
23093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23094 constant for 0x1p52. Load little-endian words of double from
23095 correct stack offsets.
23096
7b88401f
AM
230972013-10-04 Alan Modra <amodra@gmail.com>
23098
23099 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23100 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23101 words of double from correct stack offsets.
23102 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23103 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23104 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23105 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23106 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23107 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23109 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23110 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23112 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23114 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23115 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23116 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23117 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23118 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23119
9c008155
AM
231202013-10-04 Alan Modra <amodra@gmail.com>
23121
23122 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23123 64-bit int/double union.
23124 (_FPU_SETCW): Likewise.
23125 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23126 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23127
da13146d
AM
231282013-10-04 Alan Modra <amodra@gmail.com>
23129
23130 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23131 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23132
603e8410
AM
231332013-10-04 Alan Modra <amodra@gmail.com>
23134
23135 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23136 use vector int constants.
23137 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23138
4a28b3ca
AB
231392013-10-04 Anton Blanchard <anton@au1.ibm.com>
23140
23141 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23142 array with long long.
23143 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23144 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23145 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23146 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23147 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23148 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23149 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23150 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23151 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23152 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23153 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23154 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23155 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23156
2ca85d2b
AB
231572013-10-04 Anton Blanchard <anton@au1.ibm.com>
23158
23159 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23160 (__signbit): Likewise. Correct for little-endian.
23161 (__signbitl): Call __signbit.
23162 (lrint): Correct for little-endian.
23163 (lrintf): Call lrint.
23164
62a728ae
AM
231652013-10-04 Alan Modra <amodra@gmail.com>
23166
23167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23168 union 32-bit int array member with 64-bit int array.
23169 (t515, tm256): Double rather than long double.
23170 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23171
32c301df
AM
231722013-10-04 Alan Modra <amodra@gmail.com>
23173
23174 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23175 Delete.
23176 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23178 version of math_ldbl.h.
23179
650ef4bd
AM
231802013-10-04 Alan Modra <amodra@gmail.com>
23181
23182 [BZ #15734], [BZ #15735]
23183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23184 all uses of ieee875 long double macros and unions. Simplify test
23185 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23186 ldbl_extract_mantissa value for ix,iy exponents. Properly
23187 normalize after ldbl_extract_mantissa, and don't add hidden bit
23188 already handled. Don't treat low word of ieee854 mantissa like
23189 low word of IBM long double and mask off bit when testing for
23190 zero.
23191 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23192 all uses of ieee875 long double macros and unions. Simplify tests
23193 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23194 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23195 two1022, instead use their values. Recognise that tests for large
23196 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23198 Rewrite all uses of ieee875 long double macros and unions. Simplify
23199 test for 0.0L and nan. Correct negation.
23200 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23201 ieee875 long double macros and unions. Correct output for large
23202 magnitude x. Correct absolute value calculation.
23203 (__erfcl): Likewise.
23204 * math/libm-test.inc: Add tests for errors discovered in IBM long
23205 double versions of fmodl, remainderl, erfl and erfcl.
23206
765714ca
AM
232072013-10-04 Alan Modra <amodra@gmail.com>
23208
23209 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23210 all uses of ieee854 long double macros and unions. Simplify tests
23211 for long doubles that are fully specified by the high double.
23212 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23213 Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23215 Remove dead code too.
23216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23217 (__ieee754_ynl): Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23219 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23221 Remove dead code too.
23222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23224 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23226 Simplify.
23227 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23228 Simplify.
23229 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23230 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23231 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23232 Comment on variable precision.
23233 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23234 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23235 Likewise.
23236 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23237 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23238 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23240 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23241
4ebd120c
AM
232422013-10-04 Alan Modra <amodra@gmail.com>
23243
23244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23245 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23246 all uses of ieee854 long double macros and unions.
23247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23249 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23251 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23252 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23253 Likewise.
23254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23255 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23256 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23260 Simplify sign and nan test too.
23261 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23262 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23264 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23265 Likewise.
23266 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23267 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23268 Likewise.
23269 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23270 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23271 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23272 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23275
1b6adf88
AM
232762013-10-04 Alan Modra <amodra@gmail.com>
23277
23278 * stdio-common/printf_size.c (__printf_size): Don't use
23279 union ieee854_long_double in fpnum union.
23280 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23281 signbit macro to retrieve sign from long double.
23282 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23283 retrieve sign from long double.
23284 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23285 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23286 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23287 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23288 * math/test-misc.c (main): Don't use union ieee854_long_double.
23289
4cf69995
AM
232902013-10-04 Alan Modra <amodra@gmail.com>
23291
23292 [BZ #15680]
23293 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23294 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23295 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23296 calculation. Remove unnecessary test for denormal exponent.
23297 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23298 Correct handling of denormals. Avoid undefined shift behaviour.
23299 Correct normalisation of low mantissa when low double is denormal.
23300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23301 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23302 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23303 Correct normalisation of low mantissa. Test for overflow of high
23304 mantissa and normalise.
23305 (ldbl_nearbyint): Use more readable constant for two52.
23306 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23307 (__mpn_construct_long_double): Fix test for overflow of high
23308 mantissa and correct normalisation. Avoid undefined shift.
23309
9605ca6c
AM
233102013-10-04 Alan Modra <amodra@gmail.com>
23311
23312 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23313 (union ibm_extended_long_double): Define as an array of ieee754_double.
23314 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23315 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23316 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23317 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23325
975569d0
JM
233262013-10-03 Joseph Myers <joseph@codesourcery.com>
23327
d3d23756
JM
23328 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23329 page size instead of calling getpagesize.
23330
975569d0
JM
23331 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23332 (LOCFILE_ALIGN_MASK): Likewise.
23333 (LOCFILE_ALIGN_UP): Likewise.
23334 (LOCFILE_ALIGNED_P): Likewise.
23335 * locale/programs/ld-collate.c (collate_output): Use the new
23336 macros instead of __alignof__ (int32_t).
23337 * locale/weight.h (findidx): Likewise.
23338
b1fe1f2b
OB
233392013-10-03 Ondřej Bílka <neleai@seznam.cz>
23340
23341 [BZ #431]
23342 * manual/string.texi: Fix strncat and wcsncat.
23343
5f855e35
BM
233442013-10-03 Brooks Moses <bmoses@google.com>
23345
23346 [BZ #15915]
23347 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23348 * Makerules: ...here, and adjust associated comments.
23349
3cef6009
WN
233502013-10-02 Will Newton <will.newton@linaro.org>
23351
23352 * malloc/Makefile: Add tst-pvalloc.
23353 * malloc/tst-pvalloc.c: New file.
23354
7815420b
WN
233552013-10-02 Will Newton <will.newton@linaro.org>
23356
23357 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23358 improve test coverage.
23359
4868b204
WN
233602013-10-02 Will Newton <will.newton@linaro.org>
23361
23362 * malloc/Makefile: Add tst-posix_memalign.
23363 * malloc/tst-posix_memalign.c: New file.
23364
29c793b3
EB
233652013-10-01 Eric Blake <eblake@redhat.com>
23366
23367 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23368 Use __THROWNL rather than __THROW on static functions.
23369
fd967522
PM
233702013-09-30 Petr Machata <pmachata@redhat.com>
23371
23372 * elf/elf.h (R_AARCH64_ABS16): New macro.
23373 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23374 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23375 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23376 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23377 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23378 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23379 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23380 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23381 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23382 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23383 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23384 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23385 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23386 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23387 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23388 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23389 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23390 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23391 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23392 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23393 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23394 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23395 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23396 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23397 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23398 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23399 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23400 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23401 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23402 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23403 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23404 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23405 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23406 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23407 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23408 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23409 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23410 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23411 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23412 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23413 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23414 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23415 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23416 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23417 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23418 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23419 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23420 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23421 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23422 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23423 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23424 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23425 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23426 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23427 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23428 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23429 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23430 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23431 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23432 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23433 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23434 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23435 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23436 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23437 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23438 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23439 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23440 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23441 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23442 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23443 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23444 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23445 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23446 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23447 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23448 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23449 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23450 (R_AARCH64_TLSDESC_LDR): Likewise.
23451 (R_AARCH64_TLSDESC_ADD): Likewise.
23452 (R_AARCH64_TLSDESC_CALL): Likewise.
23453
b2179107
AS
234542013-09-30 Andreas Schwab <schwab@suse.de>
23455
23456 [BZ #15048]
23457 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23458 the nss database lookup.
23459 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23461
47f28d0a
MF
234622013-09-28 Mike Frysinger <vapier@gentoo.org>
23463
23464 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23465
234662013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23467
23468 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23469 ${Bash-specific parameter/pattern/string} parameter expansion.
23470 * sysdeps/unix/make-syscalls.sh: Likewise.
23471
f4518a17
KK
234722013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23473
23474 * sysdeps/sh/stackguard-macros.h: New file.
23475
dc1a95c7
OB
234762013-09-26 Ondřej Bílka <neleai@seznam.cz>
23477
23478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23480 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23481 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23482 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23483 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23484
5ebbff8f
AZ
234852013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23486
23487 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23488 Fix thread ID register.
23489
4fd2cf9f
JM
234902013-09-25 Joseph Myers <joseph@codesourcery.com>
23491
23492 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23493 [POSIX || UNIX98]: Require rather than permitting all symbols from
23494 <time.h>.
23495 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23496 element of struct sched_param.
23497 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23498 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23499 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23500 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23501 constant.
23502
12c22bc4
OL
235032013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23504
23505 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23506 argument calculation.
23507
a03d8ea7
JM
235082013-09-24 Joseph Myers <joseph@codesourcery.com>
23509
23510 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23511 Expect macro.
23512 [POSIX] (pthread_attr_t): Do not require type.
23513 [POSIX] (pthread_cond_t): Likewise.
23514 [POSIX] (pthread_condattr_t): Likewise.
23515 [POSIX] (pthread_key_t): Likewise.
23516 [POSIX] (pthread_mutex_t): Likewise.
23517 [POSIX] (pthread_mutexattr_t): Likewise.
23518 [POSIX] (pthread_once_t): Likewise.
23519 [POSIX] (pthread_t): Likewise.
23520 [POSIX-based standards] (pthread_atfork): Expect function.
23521
6055173a
JM
235222013-09-24 Joseph Myers <joseph@codesourcery.com>
23523 Richard Sandiford <richard@codesourcery.com>
23524
23525 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23526 (swap_endianness_p): New extern variable.
23527 (set_big_endian): New inline function.
23528 (maybe_swap_uint32): Likewise.
23529 (maybe_swap_uint32_array): Likewise.
23530 (maybe_swap_uint32_obstack): Likewise.
23531 * locale/programs/locfile.c: Include <stdbool.h>.
23532 (swap_endianness_p): New variable.
23533 (add_locale_uint32): Call maybe_swap_uint32.
23534 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23535 (write_locale_data): Call maybe_swap_uint32_array.
23536 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23537 maybe_swap_uint32.
23538 (obstack_int32_grow_fast): Likewise.
23539 (output_weightwc): Call maybe_swap_uint32_obstack.
23540 (collate_output): Likewise.
23541 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23542 (OPT_LITTLE_ENDIAN): Likewise.
23543 (options): Add --little-endian and --big-endian options.
23544 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23545 * locale/programs/locarchive.c: Include "locfile.h".
23546 (GET): New macro.
23547 (SET): Likewise.
23548 (INC): Likewise.
23549 (create_archive): Use the new macros to access fields of
23550 structures directly mapped from or written to locale archives.
23551 (oldlocrecentcmp): Likewise.
23552 (enlarge_archive): Likewise.
23553 (insert_name): Likewise.
23554 (add_alias): Likewise.
23555 (add_locale): Likewise.
23556 (delete_locales_from_archive): Likewise.
23557 (show_archive_content): Likewise.
23558 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23559 locale data.
23560
39bf0bb4
RM
235612013-09-24 Roland McGrath <roland@hack.frob.com>
23562
23563 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23564 http://www.gnu.org/doc/freemanuals.texi.
23565 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23566
f02eed10
WN
235672013-09-24 Will Newton <will.newton@linaro.org>
23568
23569 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23570 macro.
23571
a3a6c312
JM
235722013-09-23 Joseph Myers <joseph@codesourcery.com>
23573
23574 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23575 unsigned char.
23576
107375ac
MR
235772013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23578
23579 * manual/threads.texi (POSIX Threads): Fix a typo.
23580
141f3a77
SP
235812013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23582
303e567a
SP
23583 [BZ #14547]
23584 * string/tst-strcoll-overflow.c: New test case.
23585 * string/Makefile (xtests): Add tst-strcoll-overflow.
23586 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23587 cache if string sizes may cause integer overflow.
23588
141f3a77
SP
23589 [BZ #14547]
23590 * string/strcoll_l.c (coll_seq): New members rule, idx,
23591 save_idx and back_us.
23592 (get_next_seq_nocache): New function.
23593 (do_compare_nocache): New function.
23594 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23595 when malloc fails.
23596
c61b4d41
CD
235972013-09-23 Carlos O'Donell <carlos@redhat.com>
23598
0b1f8e35
CD
23599 [BZ #15754]
23600 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23601 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23602 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23603
c61b4d41
CD
23604 [BZ #15754]
23605 * elf/Makefile (tests): Add tst-ptrguard1.
23606 (tests-static): Add tst-ptrguard1-static.
23607 (tst-ptrguard1-ARGS): Define.
23608 (tst-ptrguard1-static-ARGS): Define.
23609 * elf/tst-ptrguard1.c: New file.
23610 * elf/tst-ptrguard1-static.c: New file.
23611 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23612 * sysdeps/i386/stackguard-macros.h: Likewise.
23613 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23614 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23615 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23616 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23617 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23618 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23619
236202013-09-23 Hector Marco <hecmargi@upv.es>
23621 Ismael Ripoll <iripoll@disca.upv.es>
23622 Carlos O'Donell <carlos@redhat.com>
23623
23624 [BZ #15754]
23625 * sysdeps/generic/stackguard-macros.h: Define
23626 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23627 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23628 Define __pointer_chk_guard_local.
23629 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23630 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23631
f5f4e7b4
VV
236322013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23633
23634 [BZ #15859]
23635 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23636
5bb43a43
AS
236372013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23638
23639 * include/string.h (__ffs): Declare as hidden.
23640 * string/ffs.c (__ffs): Define as hidden.
23641 * sysdeps/i386/ffs.c (__ffs): Likewise.
23642 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23643 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23644 * sysdeps/s390/ffs.c (__ffs): Likewise.
23645 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23646
3ea5be54
AO
236472013-09-20 Alexandre Oliva <aoliva@redhat.com>
23648
ffb89e53
AO
23649 * NEWS: Mention malloc probes.
23650
322dea08
AO
23651 * malloc/arena.c (new_heap): New memory_heap_new probe.
23652 (grow_heap): New memory_heap_more probe.
23653 (shrink_heap): New memory_heap_less probe.
23654 (heap_trim): New memory_heap_free probe.
23655 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23656 (systrim): New memory_sbrk_less probe.
23657 * manual/probes.texi: Document them.
23658
655673f3
AO
23659 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23660 * manual/probes.texi: Document it.
23661
35fed6f1
AO
23662 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23663 (__libc_realloc): Add memory_realloc_retry probe.
23664 (__libc_memalign): Add memory_memalign_retry probe.
23665 (__libc_valloc): Add memory_valloc_retry probe.
23666 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23667 (__libc_calloc): Add memory_calloc_retry probe.
23668 * manual/probes.texi: Document them.
23669
6999d38c
AO
23670 * malloc/arena.c (get_free_list): Add probe
23671 memory_arena_reuse_free_list.
23672 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23673 and memory_arena_reuse.
23674 (arena_get2) [!PER_THREAD]: Likewise.
23675 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23676 memory_arena_reuse_realloc.
23677 * manual/probes.texi: Document them.
23678
0653427f
AO
23679 * malloc/malloc.c (__libc_free): Add
23680 memory_mallopt_free_dyn_thresholds probe.
23681 (__libc_mallopt): Add multiple memory_mallopt probes.
23682 * manual/probes.texi: Document them.
23683
3ea5be54
AO
23684 * malloc/malloc.c: Include stap-probe.h.
23685 (__libc_mallopt): Add memory_mallopt probe.
23686 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23687 * manual/probes.texi: New.
23688 * manual/Makefile (chapters): Add probes.
23689 * manual/threads.texi: Set next node.
23690
e35696c3 236912013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23692
e35696c3
CL
23693 [BZ #15963, #13985]
23694 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23695 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23696 Add `Chinese' to `nan' entry name.
23697
4aafb73c
SP
236982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23699
23700 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23701 (POLYNOMIAL): Likewise.
23702 (TAYLOR_SINCOS): Likewise.
23703 (TAYLOR_SLOW): Likewise.
23704 (__sin): Use TAYLOR_SINCOS.
23705 (__cos): Likewise.
23706 (slow): Use TAYLOR_SLOW.
23707 (sloww): Likewise.
23708 (bsloww): Likewise.
23709 (csloww): Likewise.
23710
d84f25c7
LD
237112013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23712
23713 * stdlib/strtod_l.c: Fix buffer overrun.
23714
5eea0404
SP
237152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23716
7849ff93
SP
23717 * benchtests/Makefile (bench): Add sincos.
23718 * benchtests/bench-sincos.c: New file.
23719
cfa3c886
SP
23720 * math/libm-test.inc (cos_test_data): New test inputs.
23721 (sin_test_data): Likewise.
23722
b348e1e3
SP
23723 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23724 macro.
23725 (__sin): Use it.
23726 (__cos): Likewise.
23727 (slow1): Likewise.
23728 (slow2): Likewise.
23729 (sloww1): Likewise.
23730 (sloww2): Likewise.
23731 (bsloww1): Likewise.
23732 (bsloww2): Likewise.
23733 (cslow2): Likewise.
23734 (csloww1): Likewise.
23735 (csloww2): Likewise.
23736
6cce25f8
SP
23737 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23738 function.
23739 (__sin): Use it.
23740 (__cos): Likewise.
23741
5eea0404
SP
23742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23743 gotos.
23744 (__cos): Likewise.
23745
9c21573c
MR
237462013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23747
23748 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23749 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23750 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23751 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23752 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23753 * elf/cache.c (print_entry): Handle the new cache flags.
23754
24d22e65
JM
237552013-09-18 Joseph Myers <joseph@codesourcery.com>
23756 Aldy Hernandez <aldyh@redhat.com>
23757
23758 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23759 Change condition to [_SOFT_FLOAT].
23760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23772 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23775 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23776 declaration.
23777
d13ef066
JM
237782013-09-18 Joseph Myers <joseph@codesourcery.com>
23779
2e071de0
JM
23780 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23781 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23782 (__longjmp): Use LOAD_GP to load saved GPRs.
23783 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23784 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23785 (__sigsetjmp): Use SAVE_GP to save GPRs.
23786
d13ef066
JM
23787 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23788 Do not append -msoft-float.
23789 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23790
97a0650b
SP
237912013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23792
23793 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23794
11ca09e9
JM
237952013-09-17 Joseph Myers <joseph@codesourcery.com>
23796
23797 [BZ #15966]
23798 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23799 (_FPU_GETCW): Use initial "__" on variable and field names but not
23800 on macro parameter name.
23801 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23802 parentheses around reference to macro parameter.
23803
08ffcf34
RS
238042013-09-13 Richard Sandiford <richard@codesourcery.com>
23805
23806 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23807 prototype.
23808 (ctype_startup): Use uint32_t in cast and sizeof for
23809 ctype->charnames.
23810
ae7080d3
JL
238112013-09-11 Jia Liu <proljc@gmail.com>
23812
23813 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23814 __daddr_t_defined.
23815 [__FreeBSD__]: Likewise.
23816
5905e7b3
OB
238172013-09-11 Ondřej Bílka <neleai@seznam.cz>
23818
23819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23820 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23821 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23822 (strchr): Remove __strchr_sse42 ifunc selection.
23823 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23824 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23825
b987c776
WN
238262013-09-11 Will Newton <will.newton@linaro.org>
23827
23828 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23829 parameter to RES. Remove hardcoded 1000 value.
23830 * benchtests/bench-skeleton.c (main): Pass RES parameter
23831 to TIMING_INIT and multiply result by 1000.
23832
ddf985af
AZ
238332013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23834
23835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23836
ffdd3181
AS
238372013-09-11 Andreas Schwab <schwab@suse.de>
23838
23839 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23840 if not defined.
23841 (O_TMPFILE) [__USE_GNU]: Define.
23842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23843 Define.
23844
b73ed247
WN
238452013-09-11 Will Newton <will.newton@linaro.org>
23846
23847 [BZ #15857]
23848 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23849 does not overflow.
23850
55e17aad
WN
238512013-09-11 Will Newton <will.newton@linaro.org>
23852
23853 [BZ #15856]
23854 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23855 does not overflow.
23856
1159a193
WN
238572013-09-11 Will Newton <will.newton@linaro.org>
23858
23859 [BZ #15855]
23860 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23861 does not overflow.
23862
5905e7b3 238632013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23864
23865 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23866 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23867 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23870
cdfc721b
AM
238712013-09-10 Allan McRae <allan@archlinux.org>
23872
aa04af00
AM
23873 [BZ #15748]
23874 * manual/arith.texi (Parsing of Floats): Clarify
23875 cross-reference.
23876
cdfc721b
AM
23877 [BZ #15849]
23878 * manual/install.texi (Running make install): Mention
23879 --enable-pt-chown.
23880 * INSTALL: Regenerated.
23881
95e7cf29
MR
238822013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23883
23884 * csu/init-first.c (_init): Remove the !SHARED condition around
23885 FPU control word initialization.
23886 * elf/dl-support.c (_dl_fpu_control): New variable.
23887 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23888 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23889 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23890 * math/test-fpucw-static.c: New file.
23891 * math/test-fpucw-ieee.c: New file.
23892 * math/test-fpucw-ieee-static.c: New file.
23893 * math/Makefile (tests): Add `test-fpucw-ieee' and
23894 `$(tests-static)'.
23895 (tests-static): New variable.
23896 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23897 dependency to...
23898 [($(build-shared),yes)]
23899 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23900 ... this.
23901 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23902 New dependency.
23903
83e43bf0
AM
239042013-09-09 Allan McRae <allan@archlinux.org>
23905
a9f5ce09
AM
23906 [BZ #15939]
23907 * manual/string.texi (Collation Functions): Fix typo in
23908 strcoll example.
23909 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23910
34829bc2
AM
23911 [BZ #15893]
23912 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23913
3932737d
AM
23914 [BZ #15892]
23915 * libio/memstream.c (open_memstream): Fix memory leak.
23916 * libio/wmemstream.c (open_wmemstream): Likewise.
23917
83e43bf0
AM
23918 [BZ #15895]
23919 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23920
0c66b8e9
WN
239212013-09-09 Will Newton <will.newton@linaro.org>
23922
23923 * malloc/Makefile: Add tst-realloc to tests.
23924 * malloc/tst-realloc.c: New file.
23925
f6b00fd1
AM
239262013-09-09 Allan McRae <allan@archlinux.org>
23927
23928 [BZ #15844]
23929 * COPYING: Update from GNU website to fix FSF address.
23930 * COPYING.LIB: Likewise.
23931
eec55e16
DM
239322013-09-06 David S. Miller <davem@davemloft.net>
23933
23934 * po/zh_TW.po: Update Chinese (traditional) translation from
23935 translation project.
23936
1ecbb381
RS
239372013-09-06 Richard Sandiford <richard@codesourcery.com>
23938 Joseph Myers <joseph@codesourcery.com>
23939
23940 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23941 "localeinfo.h".
23942 (obstack_chunk_alloc): New macro.
23943 (obstack_chunk_free): Likewise.
23944 (record_offset): New function.
23945 (init_locale_data): Likewise.
23946 (align_locale_data): Likewise.
23947 (add_locale_empty): Likewise.
23948 (add_locale_raw_data): Likewise.
23949 (add_locale_raw_obstack): Likewise.
23950 (add_locale_string): Likewise.
23951 (add_locale_wstring): Likewise.
23952 (add_locale_uint32): Likewise.
23953 (add_locale_uint32_array): Likewise.
23954 (add_locale_char): Likewise.
23955 (start_locale_structure): Likewise.
23956 (end_locale_structure): Likewise.
23957 (start_locale_prelude): Likewise.
23958 (end_locale_prelude): Likewise.
23959 (write_locale_data): Take locale_file structure rather than an
23960 iovec.
23961 * locale/programs/locfile.h: Include "obstack.h".
23962 (struct locale_file): Change to store locale file contents instead
23963 of header.
23964 (init_locale_data): New prototype.
23965 (align_locale_data): Likewise.
23966 (add_locale_empty): Likewise.
23967 (add_locale_raw_data): Likewise.
23968 (add_locale_raw_obstack): Likewise.
23969 (add_locale_string): Likewise.
23970 (add_locale_wstring): Likewise.
23971 (add_locale_uint32): Likewise.
23972 (add_locale_uint32_array): Likewise.
23973 (add_locale_char): Likewise.
23974 (start_locale_structure): Likewise.
23975 (end_locale_structure): Likewise.
23976 (start_locale_prelude): Likewise.
23977 (end_locale_prelude): Likewise.
23978 (write_locale_data): Update prototype.
23979 * locale/programs/3level.h (struct TABLE): Remove result field.
23980 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23981 Use new locale_file interface.
23982 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23983 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23984 * locale/programs/ld-address.c (address_output): Use new
23985 locale_file interface.
23986 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23987 NO_ADD_LOCALE.
23988 (collate_finish): Don't call collseq_table_finalize.
23989 (collate_output): Use new locale_file interface.
23990 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23991 in file.
23992 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23993 (TABLE): Move defines earlier in file.
23994 (ELEMENT): Likewise.
23995 (DEFAULT): Likewise.
23996 (wctrans_table_add): Move macro and inline function earlier in
23997 file.
23998 (struct wctype_table): Move type earlier in file.
23999 (add_locale_wctype_table): New static prototype.
24000 (struct locale_ctype_t): Use logical types instead of struct iovec
24001 pointers for members.
24002 (ctype_output): Use new locale_file interface.
24003 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24004 new locale_file interface.
24005 (allocate_arrays): Update for use of new locale_file interface.
24006 * locale/programs/ld-identification.c (identification_output): Use
24007 new locale_file interface.
24008 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24009 * locale/programs/ld-messages.c (messages_output): Likewise.
24010 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24011 * locale/programs/ld-name.c (name_output): Likewise.
24012 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24013 * locale/programs/ld-paper.c (paper_output): Likewise.
24014 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24015 * locale/programs/ld-time.c (time_output): Likewise.
24016
e029e2e5
AZ
240172013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24018
24019 * benchtests/Makefile: Add memrchr benchmark.
24020 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24021 benchmark as memrchr.
24022 * benchtests/bench-memrchr-ifunc.c: New file.
24023 * benchtests/bench-memrchr.c: New file.
24024
bbf6e8e4
WN
240252013-09-06 Will Newton <will.newton@linaro.org>
24026
24027 * benchtests/Makefile (string-bench): Add memcpy.
24028
6c82a2f8
CD
240292013-09-05 Carlos O'Donell <carlos@redhat.com>
24030 Cong Wang <amwang@redhat.com>
24031
e732c5f0 24032 [BZ #15850]
6c82a2f8
CD
24033 * sysdeps/unix/sysv/linux/bits/in.h
24034 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24035 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24036 before __USE_KERNEL_IPV6_DEFS uses.
24037 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24038 IPPROTO_BEETPH.
24039 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24040 sockaddr_in6, or ipv6_mreq.
24041
5430fc65
AZ
240422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24043
24044 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24045 memory access for final bytes in some large inputs.
24046 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24047
4660856c
AZ
240482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24049
24050 * string/test-memrchr.c: New file.
24051 * string/test-memrchr-ifunc.c: New file.
24052 * string/Makefile: Add new memrchr testcase.
24053
bb8ea713
MF
240542013-09-05 Mike Frysinger <vapier@gentoo.org>
24055
24056 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24057 fanotify_init returns EPERM.
24058
b92a20b5
JM
240592013-09-04 Joseph Myers <joseph@codesourcery.com>
24060
24061 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24062 errors.
24063 (top level): Treat second token from macro or constant entries for
24064 allowed headers as allowed.
24065 * include/complex.h: Condition internal declarations on
24066 [!_ISOMAC].
24067 * include/fenv.h: Condition include of <stdbool.h> and internal
24068 declarations on [!_ISOMAC].
7447ccd9
CL
24069
240702013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24071
3e181dda 24072 [BZ #15923]
7447ccd9
CL
24073 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24074
3f2e46a4
JM
240752013-09-04 Joseph Myers <joseph@codesourcery.com>
24076
24077 * configure.in (--enable-versioning): Remove configure option.
24078 (libc_cv_asm_symver_directive): Remove configure test.
24079 (libc_cv_ld_version_script_option): Likewise.
24080 (VERSIONING): Remove variable and AC_SUBST.
24081 (DO_VERSIONING): Remove AC_DEFINE.
24082 * configure: Regenerated.
24083 * config.h.in (DO_VERSIONING): Remove macro.
24084 * Makerules [$(versioning) = yes]: Change conditionals to
24085 [$(build-shared) = yes].
24086 * config.make.in (versioning): Remove variable.
24087 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24088 [$(build-shared) = yes].
24089 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24090 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24091 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24092 [$(build-shared) = yes].
24093 * extra-lib.mk [$(versioning) = yes]: Likewise.
24094 * hurd/Makefile [$(versioning) = yes]: Likewise.
24095 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24096 [SHARED].
24097 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24098 [SHARED].
24099 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24100 [SHARED && !NO_HIDDEN].
24101 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24102 [SHARED].
24103 [SHARED && DO_VERSIONING]: Likewise..
24104 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24105 [$(build-shared) = yes].
24106 * manual/install.texi (--disable-versioning): Remove
24107 documentation.
24108 * INSTALL: Regenerated.
24109 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24110 to [SHARED].
24111 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24112 [$(build-shared) = yes].
24113 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24114 * sysdeps/i386/i686/multiarch/strstr-c.c
24115 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24116 [SHARED && !NO_HIDDEN].
24117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24118 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24119 * sysdeps/powerpc/powerpc32/dl-machine.c
24120 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24121 * sysdeps/powerpc/powerpc32/sysdep.h
24122 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24123 to [SHARED && PIC && !NO_HIDDEN].
24124 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24125 conditional to [SHARED].
24126
44558701
WN
241272013-09-04 Will Newton <will.newton@linaro.org>
24128
24129 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24130 * benchtests/bench-string.h: Include bench-timing.h instead
24131 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24132 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24133 call to HP_TIMING_DIFF_INIT.
24134 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24135 instead of hp-timing.h macros.
24136 * benchtests/bench-memchr.c: Likewise.
24137 * benchtests/bench-memcmp.c: Likewise.
24138 * benchtests/bench-memcpy.c: Likewise.
24139 * benchtests/bench-memmem.c: Likewise.
24140 * benchtests/bench-memmove.c: Likewise.
24141 * benchtests/bench-memset.c: Likewise.
24142 * benchtests/bench-rawmemchr.c: Likewise.
24143 * benchtests/bench-strcasecmp.c: Likewise.
24144 * benchtests/bench-strcasestr.c: Likewise.
24145 * benchtests/bench-strcat.c: Likewise.
24146 * benchtests/bench-strchr.c: Likewise.
24147 * benchtests/bench-strcmp.c: Likewise.
24148 * benchtests/bench-strcpy.c: Likewise.
24149 * benchtests/bench-strcpy_chk.c: Likewise.
24150 * benchtests/bench-strlen.c: Likewise.
24151 * benchtests/bench-strncasecmp.c: Likewise.
24152 * benchtests/bench-strncat.c: Likewise.
24153 * benchtests/bench-strncmp.c: Likewise.
24154 * benchtests/bench-strncpy.c: Likewise.
24155 * benchtests/bench-strnlen.c: Likewise.
24156 * benchtests/bench-strpbrk.c: Likewise.
24157 * benchtests/bench-strrchr.c: Likewise.
24158 * benchtests/bench-strspn.c: Likewise.
24159 * benchtests/bench-strstr.c: Likewise.
24160
cae16d66
WN
241612013-09-04 Will Newton <will.newton@linaro.org>
24162
24163 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24164
ffa3cd7f
JM
241652013-09-03 Joseph Myers <joseph@codesourcery.com>
24166
24167 [BZ #15427]
24168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24169 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24170 * math/libm-test.inc (lgamma_test_data): Add more tests.
24171 * sysdeps/i386/fpu/libm-test-ulps: Update.
24172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24173
8f02859f
OB
241742013-09-03 Ondřej Bílka <neleai@seznam.cz>
24175
24176 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24177 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24178 Add ifunc.
24179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24180 Add strcmp-sse2-unaligned
24181 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24182
18d43716
MF
241832013-09-02 Mike Frysinger <vapier@gentoo.org>
24184
24185 * Versions.def (libc): Add GLIBC_2.19.
24186
ac444012
MF
241872013-09-02 Mike Frysinger <vapier@gentoo.org>
24188
24189 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24190 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24191
b7835e32
JM
241922013-09-02 Joseph Myers <joseph@codesourcery.com>
24193
24194 [BZ #14155]
24195 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24196 intermediate calculations in recurrence.
24197 (__ieee754_ynf): Likewise.
24198 * math/libm-test.inc (jn_test_data): Do not allow spurious
24199 underflow exception. Add more tests.
24200 (yn_test_data): Add more tests.
24201 * sysdeps/i386/fpu/libm-test-ulps: Update.
24202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24203
8220f4f0
OB
242042013-09-02 Ondřej Bílka <neleai@seznam.cz>
24205
24206 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24207
f24a6d08
OB
242082013-08-30 Ondřej Bílka <neleai@seznam.cz>
24209
24210 * csu/init-first.c: Fix then/than typos.
24211 * locale/programs/ld-collate.c: Likewise.
24212 * locale/programs/linereader.h: Likewise.
24213 * manual/charset.texi: Likewise.
24214 * manual/filesys.texi: Likewise.
24215 * manual/stdio.texi: Likewise.
24216 * manual/string.texi: Likewise.
24217 * stdlib/fmtmsg.c: Likewise.
24218 * sysdeps/i386/stpncpy.S: Likewise.
24219 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24220 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24221 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24222 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24223
382466e0
OB
242242013-08-30 Ondřej Bílka <neleai@seznam.cz>
24225
24226 * elf/dl-open.c: Fix typos.
24227 * iconvdata/gbbig5.c: Likewise.
24228 * iconvdata/iso-2022-jp.c: Likewise.
24229 * iconv/gconv_int.h: Likewise.
24230 * iconv/loop.c: Likewise.
24231 * nis/rpcsvc/nis.h: Likewise.
24232 * resolv/ns_name.c: Likewise.
24233 * stdio-common/vfscanf.c: Likewise.
24234 * streams/stropts.h: Likewise.
24235 * sunrpc/rpc_thread.c: Likewise.
24236 * sysdeps/i386/strpbrk.S: Likewise.
24237 * sysdeps/ieee754/k_standard.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24240 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24241 * sysdeps/mach/hurd/profil.c: Likewise.
24242 * sysdeps/s390/dl-procinfo.h: Likewise.
24243 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24246 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24248
0186c6e9
OB
242492013-08-30 Ondřej Bílka <neleai@seznam.cz>
24250
24251 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24253
d4e16af1
OB
242542013-08-29 Ondřej Bílka <neleai@seznam.cz>
24255
24256 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24257 aix specific files.
24258 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24259 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24260 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24261 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24262 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24263 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24264 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24265 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24266
88335980
TS
242672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24268 Roland McGrath <roland@hack.frob.com>
24269
24270 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24271 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24272
ed479b02
ST
242732013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24274
24275 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24276 __executable_start symbol instead of _start.
24277
f1cc4c86
TS
242782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24279
d821f07c
TS
24280 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24281 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24282 Move macros to...
24283 * sysdeps/gnu/ldsodefs.h: ... this new file.
24284
c54290cf
TS
24285 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24286 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24287 instead of ELFOSABI_LINUX.
24288
0007fc9b 24289 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24290 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24291 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24292 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24293 Likewise.
24294 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24295 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24297 Likewise.
24298 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24299 (ibm_extended_long_double): Add ieee_nan member.
24300 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24301 (do_test): New function.
24302
f1cc4c86
TS
24303 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24304 TEST_TRUNC.
24305 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24306 functions, renamed from truncdfsf_test, trunctfsf_test,
24307 trunctfdf_test.
24308 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24309 functions.
24310 (do_test): Run all these.
24311
6f65e668
OB
243122013-08-29 Ondřej Bílka <neleai@seznam.cz>
24313
24314 * argp/argp-help.c: Fix typos.
24315 * argp/argp-parse.c: Likewise.
24316 * debug/backtracesyms.c: Likewise.
24317 * elf/elf.h: Likewise.
24318 * malloc/malloc.c: Likewise.
24319 * nis/nis_print.c: Likewise.
24320 * resolv/res_comp.c: Likewise.
24321 * stdlib/stdlib.h: Likewise.
24322 * sunrpc/clnt_tcp.c: Likewise.
24323 * sunrpc/clnt_udp.c: Likewise.
24324 * sunrpc/clnt_unix.c: Likewise.
24325 * sysdeps/unix/bsd/ptsname.c: Likewise.
24326 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24327 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24329 Likewise.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24331 Likewise.
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24333 Likewise.
6f65e668
OB
24334 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24335
3a309239
SP
243362013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24337
24338 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24340
3b813b29
MF
243412013-08-27 Mike Frysinger <vapier@gentoo.org>
24342
24343 [BZ #15897]
24344 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24345 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24346 ($(objpfx)bug-dl-leaf): New rule.
24347 ($(objpfx)bug-dl-leaf.so): Likewise.
24348 ($(objpfx)bug-dl-leaf.out): Likewise.
24349 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24350 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24351 * dlfcn/bug-dl-leaf.c: New test.
24352 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24353 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24354 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24355 (dlclose): Likewise.
24356 (dlmopen): Likewise.
24357
8cc3269f
RM
243582013-08-27 Roland McGrath <roland@hack.frob.com>
24359
7f9d0034
RM
24360 * include/netdb.h [!_ISOMAC]:
24361 Don't include <tls.h>.
24362 (h_errno, __libc_h_errno): Move declaration and macros out of
24363 [_LIBC_REENTRANT].
24364
fb431262
RM
24365 * include/resolv.h [_RESOLV_H_]:
24366 Don't include <tls.h>.
24367 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24368 * resolv/res_libc.c: Don't include <tls.h>.
24369 (_res): Use __attribute__ ((nocommon)) in place of
24370 __attribute__ ((section (".bss"))).
24371
bd81123a
RM
24372 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24373 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24374
c4e42566
RM
24375 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24376
f890a59b
RM
24377 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24378 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24379
24380 * resolv/res_mkquery.c: Include <sys/time.h>.
24381
5d1f0a09
RM
24382 * inet/ifreq.c: Moved to ...
24383 * sysdeps/unix/ifreq.c: ... here.
24384 * inet/ifreq.c: New file, true stub version.
24385
6fcf28b3
RM
24386 * socket/sa_len.c: New file.
24387 * socket/Makefile (aux): Add it.
24388 * sysdeps/unix/sysv/linux/Makefile
24389 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24390 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24391 and #include <socket/sa_len.c>.
24392 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24393 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24394
e041fb8b
RM
24395 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24396 * bits/socket.h: ... here.
24397
8cc3269f
RM
24398 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24399 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24400 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24401
5d228a43
AS
244022013-08-27 Andreas Schwab <schwab@suse.de>
24403
45b8accc
AS
24404 [BZ #15736]
24405 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24406 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24407 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24408 * string/test-strcasecmp.c (test_main): Run tests in several
24409 locales.
24410 * string/test-strncasecmp.c (test_main): Likewise.
24411
5d228a43
AS
24412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24413 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24414 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24416 (__strncasecmp_ssse3) [PIC]: Likewise.
24417
59d112a4
RM
244182013-08-26 Roland McGrath <roland@hack.frob.com>
24419
53234cc3
RM
24420 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24421
59d112a4
RM
24422 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24423 instead of explicitly declaring xdecrypt.
24424 * nis/nss_nis/nis-publickey.c: Likewise.
24425
595aba70
SP
244262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24427
24428 [BZ #15890]
24429 * nscd/aicache.c: Include res_hconf.h.
24430 (addhstaiX): Initialize res_hconf.
24431
ffabd393
AS
244322013-08-26 Andreas Schwab <schwab@suse.de>
24433
24434 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24435 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24436
e0a69f5c
SP
244372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24438
24439 * nscd/aicache.c (addhstaiX): Fix indentation.
24440
8c12f01d
MF
244412013-08-25 Mike Frysinger <vapier@gentoo.org>
24442
24443 * configure.ac: Quote $build_pt_chown test.
24444 * configure: Regenerated.
24445
8fe89494
JM
244462013-08-23 Joseph Myers <joseph@codesourcery.com>
24447
24448 [BZ #15532]
24449 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24450 * math/s_cexpf.c (__cexpf): Likewise.
24451 * math/s_cexpl.c (__cexpl): Likewise.
24452 * math/libm-test.inc (cexp_test_data): Correct expected return
24453 value for NaN + i0. Add another test.
24454
75b181d6
DM
244552013-08-22 David S. Miller <davem@davemloft.net>
24456
24457 * po/ca.po: Update Catalan translation from translation project.
936241e4 24458 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24459
acd06bb1
JM
244602013-08-21 Joseph Myers <joseph@codesourcery.com>
24461
24462 [BZ #15797]
24463 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24464 is infinite, not alongside NaN test.
24465 * math/s_fdimf.c (__fdimf): Likewise.
24466 * math/s_fdiml.c (__fdiml): Likewise.
24467 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24468 errno is unchanged.
24469
c0c3f78a
OB
244702013-08-21 Ondřej Bílka <neleai@seznam.cz>
24471
24472 * argp/argp-help.c: Fix typos.
24473 * crypt/speeds.c: Likewise.
24474 * csu/check_fds.c: Likewise.
24475 * elf/dl-load.c: Likewise.
24476 * elf/dl-open.c: Likewise.
24477 * elf/reldep3.c: Likewise.
24478 * elf/reldep.c: Likewise.
24479 * elf/sprof.c: Likewise.
24480 * iconv/iconv_charmap.c: Likewise.
24481 * iconv/skeleton.c: Likewise.
24482 * iconv/strtab.c: Likewise.
24483 * io/lockf64.c: Likewise.
24484 * libio/libioP.h: Likewise.
24485 * resolv/gai_notify.c: Likewise.
24486 * resolv/ns_name.c: Likewise.
24487 * resolv/ns_samedomain.c: Likewise.
24488 * resolv/res_send.c: Likewise.
24489 * stdlib/random.c: Likewise.
24490 * sunrpc/rpc/xdr.h: Likewise.
24491 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24499 * sysdeps/mach/hurd/check_fds.c: Likewise.
24500 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24501 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24503 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24504 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24505 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24506 * sysdeps/pthread/aio_notify.c: Likewise.
24507 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24508 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24510 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24511 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24512
46ed1038
LD
245132013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24514
24515 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24516 version if bit_Slow_SSE4_2 is set.
24517 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24518 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24519
d400dcac
AZ
245202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24521
24522 [BZ #15867]
24523 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24524 trampoline stack frame information.
24525 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24527 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24528 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24529 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24530 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24531 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24532 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24533 sa_flags value.
24534 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24535 interrupting a syscall and set with option SA_SIGINFO.
24536
42c8fdd8
JM
245372013-08-20 Joseph Myers <joseph@codesourcery.com>
24538
c980f2f4
JM
24539 [BZ #15531]
24540 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24541 argument is infinite.
24542 * math/s_cprojf.c (__cprojf): Likewise.
24543 * math/s_cprojl.c (__cprojl): Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24545 * math/libm-test.inc (cproj_test_data): Add more tests.
24546
0716c4fc
JM
24547 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24548
42c8fdd8
JM
24549 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24550 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24551 size. Use __ffs to determine corresponding shift.
24552
b31469d0
JM
245532013-08-20 Joseph Myers <joseph@codesourcery.com>
24554 Roland McGrath <roland@hack.frob.com>
24555
24556 * Makefile (INSTALL): Remove trailing blank lines from output of
24557 makeinfo.
24558
4e39af6e
AK
245592013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24560
24561 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24562 Align 32 bit compat elf_greg to 8 bytes.
24563
f315524e
AA
245642013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24565
24566 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24567
1326ba1a
SP
245682013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24569
24570 * string/strcoll_l.c (coll_seq): New structure.
24571 (get_next_seq_cached): New function.
24572 (get_next_seq): New function.
24573 (do_compare): New function.
24574 (STRCOLL): Use GNU style definition. Simplify implementation
24575 by using get_next_seq, get_next_seq_cached and do_compare.
24576
91ce4085
FW
245772013-08-16 Florian Weimer <fweimer@redhat.com>
24578
24579 [BZ #14699]
24580 CVE-2013-4237
24581 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24582 member.
24583 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24584 member.
24585 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24586 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24587 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24588 conditional.
24589 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24590 GETDENTS_64BIT_ALIGNED.
24591 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24592 * manual/filesys.texi (Reading/Closing Directory): Document
24593 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24594 strongly.
24595 * manual/conf.texi (Limits for Files): Add portability note to
24596 NAME_MAX, PATH_MAX.
24597 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24598
ca0a6bc4
AS
245992013-08-13 Andreas Schwab <schwab@suse.de>
24600
24601 [BZ #15749]
24602 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24603 of fabs.
24604 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24605 LDBL_MAX_EXP >= 16384]: Add tests for it.
24606
6c1fd795
DM
246072013-08-12 David S. Miller <davem@davemloft.net>
24608
24609 * version.h (RELEASE): Set to "development".
24610 (VERSION): Set to "2.18.90".
24611 * NEWS: Add 2.19 section.
24612
31ad488d
DM
246132013-08-03 David S. Miller <davem@davemloft.net>
24614
24615 * po/ko.po: Update Korean translation from translation project.
24616
db24e684
DM
246172013-08-01 David S. Miller <davem@davemloft.net>
24618
24619 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24620 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24621 Bilka.
24622
f723285b
DM
246232013-07-30 David S. Miller <davem@davemloft.net>
24624
24625 * po/fr.po: Update French translation from translation project.
24626
3cbc52db
DM
246272013-07-28 David S. Miller <davem@davemloft.net>
24628
30bbc0cc
DM
24629 * po/cs.po: Update Czech translation from translation project.
24630
3cbc52db
DM
24631 * po/sv.po: Update Swedish translation from translation project.
24632
d492e6d0
DM
246332013-07-27 David S. Miller <davem@davemloft.net>
24634
f1a7f492
DM
24635 * po/eo.po: Update Esperanto translation from translation project.
24636
90e62a4a
DM
24637 * po/vi.po: Update Vietnamese translation from translation project.
24638
d492e6d0
DM
24639 * po/de.po: Update German translation from translation project.
24640
d4baa62d
DM
246412013-07-26 David S. Miller <davem@davemloft.net>
24642
641aa7b4
DM
24643 * po/bg.po: Update Bulgarian translation from translation project.
24644
d4baa62d
DM
24645 * po/nl.po: Update Dutch translation from translation project.
24646 * po/pl.po: Update Polish translation from translation project.
24647 * po/ru.po: Update Russian translation from translation project.
24648
61a9dcb9
DM
246492013-07-24 David S. Miller <davem@davemloft.net>
24650
24651 * po/libc.pot: Update.
24652
7b1f8b58
AZ
246532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24654
24655 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24656 variable page size.
24657 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24658 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24659 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24660
a8fc7a03
AK
246612013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24662
24663 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24664
e4608715
CD
246652013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24666 Andreas Schwab <schwab@suse.de>
24667 Roland McGrath <roland@hack.frob.com>
24668 Joseph Myers <joseph@codesourcery.com>
24669 Carlos O'Donell <carlos@redhat.com>
24670
24671 [BZ #15755]
24672 * config.h.in: Define HAVE_PT_CHOWN.
24673 * config.make.in (build-pt-chown): New variable.
24674 * configure.in (--enable-pt_chown): New configure option.
24675 * configure: Regenerate.
24676 * login/Makefile: Include Makeconfig. Build pt_chown only if
24677 build-pt-chown is enabled.
24678 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24679 pt_chown to fix pty ownership.
24680 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24681 CLOSE_ALL_FDS.
24682 * manual/install.texi (Configuring and compiling): Mention
24683 --enable-pt_chown. Add @findex for grantpt.
24684 * INSTALL: Regenerate.
24685
da2d62df
DM
246862013-07-20 David S. Miller <davem@davemloft.net>
24687
24688 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24689 difference between 32-bit and 64-bit.
24690
d7e06450
CD
246912013-07-15 Carlos O'Donell <carlos@redhat.com>
24692
24693 [BZ #15711]
24694 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24695 Avoid system header dependency with -ffreestanding.
24696 ($(objpfx)bits/syscall%d): Likewise.
24697
f959cfd7
DM
246982013-07-13 David S. Miller <davem@davemloft.net>
24699
24700 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24701 underflows from atanl/atan2l due to bug 15319.
24702 (casinh_test_data): Likewise.
24703
c61f8513
DM
247042013-07-07 David S. Miller <davem@davemloft.net>
24705
24706 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24707
72c90ed0
JA
247082013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24709
24710 * sysdeps/i386/fpu/libm-test-ulps: Update.
24711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24712
52dfbe13
SP
247132013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24714
24715 * configure.in (--enable-lock-elision): Fix message text.
24716 * INSTALL: Regenerate.
24717 * configure: Regenerate.
24718
3f169543
AZ
247192013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24720
24721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24722
521c6785
AJ
247232013-07-03 Andreas Jaeger <aj@suse.de>
24724
24725 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24726 define.
24727 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24728 (ptrace_peeksiginfo_args): Add.
24729 (__ptrace_peeksiginfo_flags): Add.
24730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24731 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24732 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24733
d2cc15cb
AM
247342013-07-03 Allan McRae <allan@archlinux.org>
24735
24736 * sysdeps/i386/fpu/libm-test-ulps: Update.
24737
3aaeeca7
DM
247382013-07-02 David S. Miller <davem@davemloft.net>
24739
24740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24741
5314ed1a
MT
247422013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24743
24744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24745
67338156
JM
247462013-07-02 Joseph Myers <joseph@codesourcery.com>
24747
24748 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24750
1717da59
AK
247512013-07-02 Andi Kleen <ak@linux.intel.com>
24752
24753 * config.h.in (ENABLE_LOCK_ELISION): Add.
24754 * configure.in (--enable-lock-elision): Add option.
24755 * manual/install.texi: Document --enable lock elision.
24756 * configure: Regenerate
24757 * INSTALL: Regenerate.
24758
1c81621c
L
247592013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24760
24761 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24762 SSE4.2 strcasecmp for libc.a.
24763 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24764
77f01ab5
JM
247652013-07-02 Joseph Myers <joseph@codesourcery.com>
24766
24767 [BZ #13304]
24768 * soft-fp/op-common.h (_FP_FMA): New macro.
24769 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24770 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24771 (_FP_MUL_MEAT_1_imm): ... here.
24772 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24773 (_FP_MUL_MEAT_1_wide): ... here.
24774 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24775 (_FP_MUL_MEAT_1_hard): ... here.
24776 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24777 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24778 (_FP_MUL_MEAT_2_wide): ... here.
24779 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24780 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24781 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24782 (_FP_MUL_MEAT_2_gmp): ... here.
24783 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24784 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24785 (_FP_MUL_MEAT_4_wide): ... here.
24786 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24787 (_FP_MUL_MEAT_4_gmp): ... here.
24788 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24789 (_FP_WFRACBITS_DW_S): Likewise.
24790 (_FP_WFRACXBITS_DW_S): Likewise.
24791 (_FP_HIGHBIT_DW_S): Likewise.
24792 (FP_FMA_S): Likewise.
24793 (_FP_FRAC_HIGH_DW_S): Likewise.
24794 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24795 (_FP_WFRACBITS_DW_D): Likewise.
24796 (_FP_WFRACXBITS_DW_D): Likewise.
24797 (_FP_HIGHBIT_DW_D): Likewise.
24798 (FP_FMA_D): Likewise.
24799 (_FP_FRAC_HIGH_DW_D): Likewise.
24800 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24801 (_FP_WFRACBITS_DW_E): Likewise.
24802 (_FP_WFRACXBITS_DW_E): Likewise.
24803 (_FP_HIGHBIT_DW_E): Likewise.
24804 (FP_FMA_E): Likewise.
24805 (_FP_FRAC_HIGH_DW_E): Likewise.
24806 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24807 (_FP_WFRACBITS_DW_Q): Likewise.
24808 (_FP_WFRACXBITS_DW_Q): Likewise.
24809 (_FP_HIGHBIT_DW_Q): Likewise.
24810 (FP_FMA_Q): Likewise.
24811 (_FP_FRAC_HIGH_DW_Q): Likewise.
24812 * soft-fp/fmasf4.c: New file.
24813 * soft-fp/fmadf4.c: Likewise.
24814 * soft-fp/fmatf4.c: Likewise.
24815
6308fd9a
LD
248162013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24817
24818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24819 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24820 Silvermont.
24821 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24822 macro.
24823 (index_Slow_SSE4_2): Likewise.
24824 (index_Prefer_PMINUB_for_stringop): Likewise.
24825 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24826 bit_Slow_SSE4_2 is set.
24827 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24828 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24829
89cd9569
RA
248302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24831
24832 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24833 rtld_global._dl_hwcap2.
24834 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24835 POWER8.
24836 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24837 POWER8 feature descriptions defined in _dl_hwcap2.
24838 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24839 string handling for POWER8 feature bits.
24840 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24841 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24842 _dl_powerpc_cap_flags.
24843 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24844 * sysdeps/powerpc/rtld-global-offsets.sym
24845 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24846 _dl_hwcap2 in the rtld_global_ro structure.
24847
1ae8bfe0
RA
248482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24849
24850 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24851 hardware capabilities in support of AT_HWCAP2.
24852 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24853 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24854 GLRO(dl_hwcap2).
24855 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24856 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24857 explicitly the unknown a_type display mechanism is used.
24858 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24859 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24860 struct member.
24861 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24862 to macro prototype for AT_HWCAP2 support.
24863 * sysdeps/i386/dl-procinfo.h: Likewise.
24864 * sysdeps/s390/dl-procinfo.h: Likewise.
24865 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24866 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24867 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24868 return -1 for unknown a_type display fallback.
24869 * sysdeps/sparc/dl-procinfo.h: Likewise.
24870 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24871 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24872
8fbec010
JM
248732013-06-28 Joseph Myers <joseph@codesourcery.com>
24874
24875 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24876 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24877
0432680e
PY
248782013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24879
24880 [BZ #12492]
24881 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24882 mprotect making __stack_prot writable.
24883
ce61a2ad
NF
248842013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24885 Joseph Myers <joseph@codesourcery.com>
24886
24887 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24888 as being properly aligned.
24889
f91f1c0f
MR
248902013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24891
3d0f5d0c
MR
24892 * dlfcn/modstatic5.c: New file.
24893 * dlfcn/tststatic5.c: New file.
24894 * dlfcn/Makefile (tests): Add tststatic5.
24895 (tests-static): Likewise.
24896 (modules-names): Add modstatic5.
24897 (tststatic5-ENV): New variable.
24898 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24899
f91f1c0f
MR
24900 [BZ #15022]
24901 * elf/dl-support.c (_dl_main_map): New variable.
24902 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24903 (_dl_nns, _dl_load_adds): Set to 1.
24904 (_dl_initial_searchlist): Refer to _dl_main_map.
24905 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24906 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24907 call to _dl_get_origin.
24908 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24909 around call_map.
24910 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24911 * dlfcn/modstatic3.c: New file.
24912 * dlfcn/tststatic3.c: New file.
24913 * dlfcn/tststatic4.c: New file.
24914 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24915 (tests-static): Likewise.
24916 (modules-names): Add modstatic3.
24917 (tststatic3-ENV, tststatic4-ENV): New variables.
24918 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24919 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24920
cbe7d24b
JM
249212013-06-26 Joseph Myers <joseph@codesourcery.com>
24922
24923 * configure.in (CC): Require GCC version 4.4 or later.
24924 * configure: Regenerated.
24925 * manual/install.texi (Tools for Compilation): Update GCC version
24926 requirement.
24927 * INSTALL: Regenerated.
24928
11b8a0e1
LD
249292013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24930
24931 [BZ #15674]
bb5bb87c
L
24932 * string/test-memcmp.c (check2): New.
24933 (main): Call check2.
24934
11b8a0e1
LD
24935 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24936
b0037103
MR
249372013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24938
24939 [BZ #15022]
24940 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24941 over to...
24942 (dl_open_worker) [!SHARED]: ... here.
24943
c18c701d
RA
249442013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24945
24946 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24947
1d17fa5f
RH
249482013-06-25 Richard Henderson <rth@redhat.com>
24949
24950 * locale/programs/locarchive.c: Include <libc-internal.h>
24951
8fcb833a
JM
249522013-06-25 Joseph Myers <joseph@codesourcery.com>
24953
24954 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24955 trailing whitespace removed.
24956
17db6e8d
MF
249572013-06-24 Mike Frysinger <vapier@gentoo.org>
24958
24959 [BZ #10283]
17db6e8d
MF
24960 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24961 * locale/programs/locarchive.c: Include libc-mmap.h.
24962 (prepare_address_space): Take two new outputs (the mmap base and len).
24963 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24964 values.
24965 (create_archive): Declare new mmap base and len values for
24966 prepare_address_space, and store the result in ah.
24967 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24968 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24969 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24970 Declare new mmap base and len values for
24971 prepare_address_space, and store the result in new_ah.
24972 (open_archive): Declare new mmap base and len values for
24973 prepare_address_space, and store the result in ah.
24974 (close_archive): If ah->mmap_base is not NULL, use that and
24975 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24976 * sysdeps/generic/libc-mmap.h: New file.
24977
d605071e
MF
249782013-06-24 Mike Frysinger <vapier@gentoo.org>
24979
24980 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24981 (ALIGN_UP): Likewise.
24982 (PTR_ALIGN_DOWN): Likewise.
24983 (PTR_ALIGN_UP): Likewise.
24984
2f063a6e
RA
249852013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24986
24987 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24988 entry mapped to PPC_PLATFORM_POWER8.
24989 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24990 POWER8.
24991 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24992 (_dl_string_platform): Add case for exporting platform position for
24993 POWER8.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24995 search path to sysdeps/powerpc/powerpc32/power8 directory.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24997 search path to sysdeps/powerpc/powerpc64/power8 directory.
24998 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24999 power7 directories.
25000 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25001 power7 directories.
25002
a31ee4b3
SP
250032013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25004
a74ca98f
SP
25005 * INSTALL: Regenerate.
25006
a31ee4b3
SP
25007 * nscd/connections.c (nscd_init): Fix comment.
25008
695c378f
JM
250092013-06-22 Joseph Myers <joseph@codesourcery.com>
25010
d8412221
JM
25011 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25012
695c378f
JM
25013 [BZ #15667]
25014 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25015 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25016
d1d54715
MR
250172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25018
25019 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25020 DL_DST_REQ_STATIC.
25021 (DL_DST_REQ_STATIC): Remove macro.
25022
8fdda7af
JM
250232013-06-21 Joseph Myers <joseph@codesourcery.com>
25024
25025 [BZ #7006]
25026 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25027 with a shift of 0 bits.
25028
f3bc5e5a
MR
250292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25030
25031 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25032 $(tststatic-ENV).
25033
be09e8c9
KK
250342013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25035
25036 [BZ #15655]
25037 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25038
85c2e611
AZ
250392013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25040
25041 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25042 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25043 accepts -fno-tree-loop-distribute-patterns.
25044 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25045 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25046 recursive call.
25047 * string/memset.c (memset): Likewise.
25048 * string/test-memmove.c (simple_memmove): Disable loop transformation
25049 to library calls.
25050 * string/test-memset.c (simple_memset): Likewise.
25051 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25052 * benchtests/bench-memset.c (simple_memset): Likewise.
25053 * configure: Regenerated.
25054
c91e0825
JM
250552013-06-20 Joseph Myers <joseph@codesourcery.com>
25056
b8c792af
JM
25057 * math/test-misc.c (main): Ignore fesetround failure when failures
25058 of subsequent rounding tests would be ignored.
25059
c91e0825
JM
25060 [BZ #15654]
25061 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25062 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25063 * math/fegetenv.c (__fegetenv): Return 0.
25064 * math/fegetexcept.c (fegetexcept): Return 0.
25065 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25066 FE_TONEAREST.
25067 * math/feholdexcpt.c (feholdexcept): Return 0.
25068 * math/fesetenv.c (__fesetenv): Return 0.
25069 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25070 argument FE_TONEAREST.
25071 * math/feupdateenv.c (__feupdateenv): Return 0.
25072 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25073
bfcacbde
RM
250742013-06-18 Roland McGrath <roland@hack.frob.com>
25075
25076 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25077 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25078 ($(objpfx)rtld-%.os rules): Use them.
25079
e55a9b25
AZ
250802013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25081
25082 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25083 fields.
25084
346d65b3
RM
250852013-06-17 Roland McGrath <roland@hack.frob.com>
25086
12086fb4
RM
25087 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25088 length of target pattern, then descending length of dependency pattern.
25089 * configure.in (AWK): Require gawk 3.1.2 or newer.
25090 * manual/install.texi (Tools for Compilation): Say that we do.
25091 * configure: Regenerated.
25092
346d65b3
RM
25093 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25094 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25095 * scripts/sysd-rules.awk: ... this new script.
25096 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25097 than a glob-style pattern.
25098
1a846317
JM
250992013-06-17 Joseph Myers <joseph@codesourcery.com>
25100
25101 * math/test-misc.c (main): Do not treat incorrectly rounded
25102 conversions as failure unless ROUNDING_TESTS passes.
25103
8fc75e6f
JM
251042013-06-15 Joseph Myers <joseph@codesourcery.com>
25105
3711a167
JM
25106 [BZ #15631]
25107 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25108 restore exception state around main square root computation, then
25109 check for inexactness explicitly.
25110
8fc75e6f
JM
25111 * math/libm-test.inc (fma_test_data): Add another test.
25112
61dd6208
SP
251132013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25114
adf23d2c
SP
25115 * manual/threads.texi (Non-POSIX Extensions): New document
25116 node. Document pthread_getattr_default_np and
25117 pthread_setattr_default_np.
25118
61dd6208
SP
25119 * Versions.def (libpthread): Add GLIBC_2.18.
25120 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25122 Likewise.
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25124 Likewise.
25125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25126 Likewise.
25127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25128 Likewise.
25129 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25130 Likewise.
25131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25132 Likewise.
25133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25134 Likewise.
25135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25136 Likewise.
25137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25138 Likewise.
25139
d086fc7b
LD
251402013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25141
25142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25143 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25144
747ef469
SP
251452013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25146 H.J. Lu <hjl.tools@gmail.com>
25147
25148 [BZ #15627]
25149 * sysdeps/x86_64/rtld-memset.c: Remove file.
25150 * sysdeps/x86_64/rtld-memset.S: New file.
25151
1b2feed2
JM
251522013-06-14 Joseph Myers <joseph@codesourcery.com>
25153
25154 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25155 (test_in_one_mode): Take arguments for whether the rounding mode
25156 is supported for each floating-point type.
25157 (do_test): Pass new arguments to test_in_one_mode using
25158 ROUNDING_TESTS.
25159
a58ad3f8
RM
251602013-06-13 Roland McGrath <roland@hack.frob.com>
25161
25162 * posix/tst-waitid.c (do_test): Distinguish different instances of
25163 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25164 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25165 before entering the kernel for waitpid.
25166
c204ab28
SP
251672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25168
25169 * NEWS: Fix note on clock function precision. Text by Roland
25170 McGrath.
25171
f4a29fba
RM
251722013-06-13 Roland McGrath <roland@hack.frob.com>
25173
25174 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25175 it into place only when and if the sanity check passes.
25176
1f24b9ad
JM
251772013-06-13 Joseph Myers <joseph@codesourcery.com>
25178
25179 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25180 output for whether conversion result is exact. Take argument
25181 indicating whether type is IBM long double.
25182 (round_for_all): Change need_exact field to ibm_ld.
25183 * stdlib/tst-strtod-round.c (struct exactness): New type.
25184 (struct test): Change bool ld_ok field to struct exactness exact.
25185 (TEST): Update all definitions for change to field.
25186 (tests): Regenerate array contents.
25187 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25188 field value. Check for IBM long double here.
25189 (do_test): Update calls to test_in_one_mode.
25190
58206c68
SP
251912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25192
25193 [BZ #12515]
25194 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25195 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25196
2d6f4c5b 251972013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25198
25199 [BZ #15605]
25200 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25201 generated by the compiler on loop optimizations.
25202 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25203 general definitions.
25204
94f2c076
JM
252052013-06-12 Joseph Myers <joseph@codesourcery.com>
25206
25207 * math/bug-nextafter.c: Include <math-tests.h>.
25208 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25209 the relevant type.
25210 * math/bug-nexttoward.c: Include <math-tests.h>.
25211 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25212 the relevant type.
25213 * math/test-misc.c: Include <math-tests.h>.
25214 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25215 the relevant type.
25216
e0e50a0a
AJ
252172013-06-12 Andreas Jaeger <aj@suse.de>
25218
25219 * po/ia.po: Update Interlingua translation from translation
25220 project.
25221
25061094
SP
252222013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25223
25224 * include/fenv.h: Include stdbool.h.
25225 (struct rm_ctx): New structure.
25226 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25227 Define macro.
25228 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25229 (SET_RESTORE_ROUNDF): Likewise.
25230 (SET_RESTORE_ROUNDL): Likewise.
25231 (SET_RESTORE_ROUND_NOEX): Likewise.
25232 (SET_RESTORE_ROUND_NOEXF): Likewise.
25233 (SET_RESTORE_ROUND_NOEXL): Likewise.
25234 (SET_RESTORE_ROUND_53BIT): Likewise.
25235 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25236 (libc_feresetround_noexf_ctx): Likewise.
25237 (libc_feresetround_noexl_ctx): Likewise.
25238 (libc_feholdsetround_53bit_ctx): Likewise.
25239 (libc_feresetround_53bit_ctx): Likewise.
25240 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25241 (libc_feholdexcept_setround_sse_ctx): New function.
25242 (libc_fesetenv_sse_ctx): Likewise.
25243 (libc_feupdateenv_sse_ctx): Likewise.
25244 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25245 (libc_feholdexcept_setround_387_ctx): Likewise.
25246 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25247 (libc_feholdsetround_387_prec_ctx): Likewise.
25248 (libc_feholdsetround_387_ctx): Likewise.
25249 (libc_feholdsetround_387_53bit_ctx): Likewise.
25250 (libc_feholdsetround_sse_ctx): Likewise.
25251 (libc_feresetround_sse_ctx): Likewise.
25252 (libc_feresetround_387_ctx): Likewise.
25253 (libc_feupdateenv_387_ctx): Likewise.
25254 (libc_feholdexcept_setroundf_ctx): Define macro.
25255 (libc_fesetenvf_ctx): Likewise.
25256 (libc_feupdateenvf_ctx): Likewise.
25257 (libc_feholdsetroundf_ctx): Likewise.
25258 (libc_feresetroundf_ctx): Likewise.
25259 (libc_feholdexcept_setround_ctx): Likewise.
25260 (libc_fesetenv_ctx): Likewise.
25261 (libc_feupdateenv_ctx): Likewise.
25262 (libc_feholdsetround_ctx): Likewise.
25263 (libc_feresetround_ctx): Likewise.
25264 (libc_feholdexcept_setroundl_ctx): Likewise.
25265 (libc_feupdateenvl_ctx): Likewise.
25266 (libc_feholdsetroundl_ctx): Likewise.
25267 (libc_feresetroundl_ctx): Likewise.
25268 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25269 (libc_feresetround_53bit_ctx): Likewise.
25270
59b30555
SP
252712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25272
25273 * locale/iso-639.def: Convert to UTF-8.
25274
f1d73d30
JM
252752013-06-11 Joseph Myers <joseph@codesourcery.com>
25276
25277 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25278 (EXCEPTION_TESTS_double): Likewise.
25279 (EXCEPTION_TESTS_long_double): Likewise.
25280 (EXCEPTION_TESTS): Likewise.
25281 * math/libm-test.inc (test_exceptions): Only test exceptions if
25282 EXCEPTION_TESTS (FLOAT).
25283
94aca5e7
SP
252842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25285
25286 * benchtests/Makefile (string-bench): Add strcpy_chk and
25287 stpcpy_chk.
25288 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25289 * benchtests/bench-stpcpy_chk.c: New file.
25290 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25291 * benchtests/bench-strcpy_chk.c: New file.
25292 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25293 code.
25294 (do_test): Likewise.
25295
fac0c5f2
RA
252962013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25297
25298 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25299 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25300 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25301 with tabs where appropriate.
25302 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25303 dl-procinfo.h.
25304 [PPC_PLATFORM_PPC440]: Likewise.
25305 [PPC_PLATFORM_PPC464]: Likewise.
25306 [PPC_PLATFORM_PPC476]: Likewise.
25307 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25308 ppc464, and ppc476 platform strings merging from ports/
25309 dl-procinfo.h.
25310
f22bc486
AS
253112013-06-11 Andreas Schwab <schwab@suse.de>
25312
25313 [BZ #14991]
25314 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25315 (from_ucs4_idx): Regenerate.
25316 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25317 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25318 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25319 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25320 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25321 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25322 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25323 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25324 from FROM_LOOP and TO_LOOP specific macros.
25325 (BODY): Handle combining characters.
25326 * iconvdata/BIG5HKSCS.irreversible: Update.
25327 * iconvdata/BIG5HKSCS.precomposed: New file.
25328 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25329 characters.
25330 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25331
c1f75dc3
SP
253322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25333
4eacded2
SP
25334 * include/sys/time.h: Fix indentation and add copyright header.
25335
fec799f8
SP
25336 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25337 (do_test): Likewise.
25338 * string/test-memchr.c (do_one_test): Likewise.
25339 (do_test): Likewise.
25340 * string/test-memcmp.c (do_one_test): Likewise.
25341 (do_test): Likewise.
25342 * string/test-memcpy.c (do_one_test): Likewise.
25343 (do_test): Likewise.
25344 * string/test-memmem.c (do_one_test): Likewise.
25345 (do_test): Likewise.
25346 (do_random_tests): Likewise.
25347 * string/test-memmove.c (do_one_test): Likewise.
25348 (do_test): Likewise.
25349 * string/test-memset.c (do_one_test): Likewise.
25350 (do_test): Likewise.
25351 * string/test-rawmemchr.c (do_one_test): Likewise.
25352 (do_test): Likewise.
25353 * string/test-strcasecmp.c (do_one_test): Likewise.
25354 (do_test): Likewise.
25355 * string/test-strcasestr.c (do_one_test): Likewise.
25356 (do_test): Likewise.
25357 * string/test-strcat.c (do_one_test): Likewise.
25358 (do_test): Likewise.
25359 * string/test-strchr.c (do_one_test): Likewise.
25360 (do_test): Likewise.
25361 * string/test-strcmp.c (do_one_test): Likewise.
25362 (do_test): Likewise.
25363 * string/test-strcpy.c (do_one_test): Likewise.
25364 (do_test): Likewise.
25365 * string/test-string.h: Likewise.
25366 (test_init): Likewise.
25367 * string/test-strlen.c (do_one_test): Likewise.
25368 (do_test): Likewise.
25369 * string/test-strncasecmp.c (do_one_test): Likewise.
25370 (do_test): Likewise.
25371 * string/test-strncat.c (do_one_test): Likewise.
25372 (do_test): Likewise.
25373 * string/test-strncmp.c (do_one_test): Likewise.
25374 (do_test_limit): Likewise.
25375 (do_test): Likewise.
25376 * string/test-strncpy.c (do_one_test): Likewise.
25377 (do_test): Likewise.
25378 * string/test-strnlen.c (do_one_test): Likewise.
25379 (do_test): Likewise.
25380 * string/test-strpbrk.c (do_one_test): Likewise.
25381 (do_test): Likewise.
25382 * string/test-strrchr.c (do_one_test): Likewise.
25383 (do_test): Likewise.
25384 * string/test-strspn.c (do_one_test): Likewise.
25385 (do_test): Likewise.
25386 * string/test-strstr.c (do_one_test): Likewise.
25387 (do_test): Likewise.
25388
97020474
SP
25389 * benchtests/Makefile (string-bench): Add string benchmarks.
25390 * benchtests/bench-bcopy-ifunc.c: New file.
25391 * benchtests/bench-bcopy.c: New file.
25392 * benchtests/bench-bzero-ifunc.c: New file.
25393 * benchtests/bench-bzero.c: New file.
25394 * benchtests/bench-memccpy-ifunc.c: New file.
25395 * benchtests/bench-memccpy.c: New file.
25396 * benchtests/bench-memchr-ifunc.c: New file.
25397 * benchtests/bench-memchr.c: New file.
25398 * benchtests/bench-memcmp-ifunc.c: New file.
25399 * benchtests/bench-memcmp.c: New file.
25400 * benchtests/bench-memmem-ifunc.c: New file.
25401 * benchtests/bench-memmem.c: New file.
25402 * benchtests/bench-memmove-ifunc.c: New file.
25403 * benchtests/bench-memmove.c: New file.
25404 * benchtests/bench-mempcpy-ifunc.c: New file.
25405 * benchtests/bench-mempcpy.c: New file.
25406 * benchtests/bench-memset-ifunc.c: New file.
25407 * benchtests/bench-memset.c: New file.
25408 * benchtests/bench-rawmemchr-ifunc.c: New file.
25409 * benchtests/bench-rawmemchr.c: New file.
25410 * benchtests/bench-stpcpy-ifunc.c: New file.
25411 * benchtests/bench-stpcpy.c: New file.
25412 * benchtests/bench-stpncpy-ifunc.c: New file.
25413 * benchtests/bench-stpncpy.c: New file.
25414 * benchtests/bench-strcasecmp-ifunc.c: New file.
25415 * benchtests/bench-strcasecmp.c: New file.
25416 * benchtests/bench-strcasestr-ifunc.c: New file.
25417 * benchtests/bench-strcasestr.c: New file.
25418 * benchtests/bench-strcat-ifunc.c: New file.
25419 * benchtests/bench-strcat.c: New file.
25420 * benchtests/bench-strchr-ifunc.c: New file.
25421 * benchtests/bench-strchr.c: New file.
25422 * benchtests/bench-strchrnul-ifunc.c: New file.
25423 * benchtests/bench-strchrnul.c: New file.
25424 * benchtests/bench-strcmp-ifunc.c: New file.
25425 * benchtests/bench-strcmp.c: New file.
25426 * benchtests/bench-strcpy-ifunc.c: New file.
25427 * benchtests/bench-strcpy.c: New file.
25428 * benchtests/bench-strcspn-ifunc.c: New file.
25429 * benchtests/bench-strcspn.c: New file.
25430 * benchtests/bench-strlen-ifunc.c: New file.
25431 * benchtests/bench-strlen.c: New file.
25432 * benchtests/bench-strncasecmp-ifunc.c: New file.
25433 * benchtests/bench-strncasecmp.c: New file.
25434 * benchtests/bench-strncat-ifunc.c: New file.
25435 * benchtests/bench-strncat.c: New file.
25436 * benchtests/bench-strncmp-ifunc.c: New file.
25437 * benchtests/bench-strncmp.c: New file.
25438 * benchtests/bench-strncpy-ifunc.c: New file.
25439 * benchtests/bench-strncpy.c: New file.
25440 * benchtests/bench-strnlen-ifunc.c: New file.
25441 * benchtests/bench-strnlen.c: New file.
25442 * benchtests/bench-strpbrk-ifunc.c: New file.
25443 * benchtests/bench-strpbrk.c: New file.
25444 * benchtests/bench-strrchr-ifunc.c: New file.
25445 * benchtests/bench-strrchr.c: New file.
25446 * benchtests/bench-strspn-ifunc.c: New file.
25447 * benchtests/bench-strspn.c: New file.
25448 * benchtests/bench-strstr-ifunc.c: New file.
25449 * benchtests/bench-strstr.c: New file.
25450
c1f75dc3
SP
25451 * benchtests/Makefile: Disable parallel execution of targets.
25452 (string-bench): Add memcpy.
25453 (benchset): New variable to store a list of benchmark sets.
25454 (bench-func): Renamed from bench.
25455 (bench-set): New target.
25456 (bench): Depend on bench-func and bench-set.
25457 * benchtests/README: Add section on benchmark sets.
25458 * benchtests/bench-memcpy-ifunc.c: New file.
25459 * benchtests/bench-memcpy.c: New file.
25460 * benchtests/bench-string.h: New file.
25461
50fd745b
AS
254622013-06-11 Andreas Schwab <schwab@suse.de>
25463
25464 [BZ #15577]
25465 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25466 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25467 values in the triple.
25468 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25469 terminator in the group key.
25470
3ee7e9fe
AJ
254712013-06-11 Andreas Jaeger <aj@suse.de>
25472
25473 * po/zh_TW.po: Update Chinese (traditional) translation from
25474 translation project.
25475
89fb6835
SP
254762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25477
25478 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25479 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25480 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25482 (clock_getcpuclockid): Likewise.
25483 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25484 Add weak_alias and libc_hidden_def.
25485 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25486 * rt/clock_gettime.c (clock_gettime): Rename to
25487 __clock_gettime. Add weak_alias and libc_hidden_def.
25488 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25489 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25490 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25491 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25492 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25493 Likewise.
25494 * rt/clock_settime.c (clock_settime): Rename to
25495 __clock_settime. Add weak_alias and libc_hidden_def.
25496 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25497
0efa6f8b
JM
254982013-06-10 Joseph Myers <joseph@codesourcery.com>
25499
b8c61b4b
JM
25500 * mach/err_boot.sub: Remove trailing whitespace.
25501 * mach/err_ipc.sub: Likewise.
25502 * mach/err_mach.sub: Likewise.
25503
0efa6f8b
JM
25504 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25505 (ROUNDING_TESTS_double): Likewise.
25506 (ROUNDING_TESTS_long_double): Likewise.
25507 (ROUNDING_TESTS): Likewise.
25508 * math/libm-test.inc: Include <math-tests.h>.
25509 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25510 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25511 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25512 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25513
50b818bf
SP
255142013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25515
25516 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25517 of assigning.
25518
60d2f8f3
JM
255192013-06-08 Joseph Myers <joseph@codesourcery.com>
25520
4902d2c3
JM
25521 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25522 otherwise empty TRANS lines.
25523 * sysdeps/gnu/errlist.c: Regenerated.
25524
60d2f8f3
JM
25525 * catgets/gencat.c (error_print): Use (void) in function
25526 definition.
25527 * crypt/crypt_util.c (__init_des): Likewise.
25528 * crypt/speeds.c (Stop): Likewise.
25529 (main): Likewise.
25530 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25531 * inet/ruserpass.c (token): Likewise.
25532 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25533 * intl/localealias.c (extend_alias_table): Likewise.
25534 * intl/plural-exp.c (init_germanic_plural): Likewise.
25535 * libio/fcloseall.c (__fcloseall): Likewise.
25536 * libio/genops.c (_IO_flush_all): Likewise.
25537 (_IO_flush_all_linebuffered): Likewise.
25538 (_IO_cleanup): Likewise.
25539 (_IO_iter_begin): Likewise.
25540 (_IO_iter_end): Likewise.
25541 (_IO_list_lock): Likewise.
25542 (_IO_list_unlock): Likewise.
25543 (_IO_list_resetlock): Likewise.
25544 * libio/getchar.c (getchar): Likewise.
25545 * libio/getchar_u.c (getchar_unlocked): Likewise.
25546 * libio/getwchar.c (getwchar): Likewise.
25547 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25548 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25549 * login/getpt.c (__getpt): Likewise.
25550 * login/tst-utmp.c (main): Likewise.
25551 * malloc/hooks.c (__malloc_check_init): Likewise.
25552 * malloc/malloc.c (__malloc_stats): Likewise.
25553 * malloc/mtrace.c (tr_break): Likewise.
25554 (mtrace): Likewise.
25555 (muntrace): Likewise.
25556 * misc/fstab.c (endfsent): Likewise.
25557 * misc/getclktck.c (__getclktck): Likewise.
25558 * misc/getdtsz.c (__getdtablesize): Likewise.
25559 * misc/gethostid.c (gethostid): Likewise.
25560 * misc/getpagesize.c (__getpagesize): Likewise.
25561 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25562 (__get_nprocs): Likewise.
25563 (__get_phys_pages): Likewise.
25564 (__get_avphys_pages): Likewise.
25565 * misc/getttyent.c (getttyent): Likewise.
25566 (setttyent): Likewise.
25567 (endttyent): Likewise.
25568 * misc/getusershell.c (getusershell): Likewise.
25569 (endusershell): Likewise.
25570 (setusershell): Likewise.
25571 (initshells): Likewise.
25572 * misc/hsearch.c (__hdestroy): Likewise.
25573 * misc/sync.c (sync): Likewise.
25574 * misc/syslog.c (closelog_internal): Likewise.
25575 (closelog): Likewise.
25576 * misc/ttyslot.c (ttyslot): Likewise.
25577 * misc/vhangup.c (vhangup): Likewise.
25578 * posix/fork.c (__fork): Likewise.
25579 * posix/getegid.c (__getegid): Likewise.
25580 * posix/geteuid.c (__geteuid): Likewise.
25581 * posix/getgid.c (__getgid): Likewise.
25582 * posix/getpid.c (__getpid): Likewise.
25583 * posix/getppid.c (__getppid): Likewise.
25584 * posix/getuid.c (__getuid): Likewise.
25585 * posix/pause.c (pause): Likewise.
25586 * posix/setpgrp.c (setpgrp): Likewise.
25587 * posix/setsid.c (__setsid): Likewise.
25588 * posix/test-vfork.c (noop): Likewise.
25589 * resolv/gethnamaddr.c (_endhtent): Likewise.
25590 (_gethtent): Likewise.
25591 (ht_endhostent): Likewise.
25592 (gethostent): Likewise.
25593 (dns_service): Likewise.
25594 * stdlib/drand48.c (drand48): Likewise.
25595 * stdlib/lrand48.c (lrand48): Likewise.
25596 * stdlib/mrand48.c (mrand48): Likewise.
25597 * stdlib/rand.c (rand): Likewise.
25598 * stdlib/random.c (__random): Likewise.
25599 * stdlib/setenv.c (clearenv): Likewise.
25600 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25601 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25602 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25603 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25604 (__get_nprocs): Likewise.
25605 (__get_phys_pages): Likewise.
25606 (__get_avphys_pages): Likewise.
25607 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25608 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25609 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25610 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25611 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25612 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25613 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25614 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25615 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25616 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25617 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25618 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25619 * sysdeps/posix/clock.c (clock): Likewise.
25620 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25621 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25622 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25623 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25624 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25626 (__get_nprocs_conf): Likewise.
25627 (__get_phys_pages): Likewise.
25628 (__get_avphys_pages): Likewise.
25629 * time/clock.c (clock): Likewise.
25630 * time/tzset.c (__tzname_max): Likewise.
25631
2e09a79a
JM
256322013-06-07 Joseph Myers <joseph@codesourcery.com>
25633
25634 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25635 (__bswap_32): Do not use "register".
25636 * crypt/crypt.c (_ufc_doit_r): Likewise.
25637 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25638 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25639 * gmon/gmon.c (__monstartup): Likewise.
25640 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25641 * hurd/hurdmalloc.c (more_memory): Likewise.
25642 (malloc): Likewise.
25643 (free): Likewise.
25644 (realloc): Likewise.
25645 (malloc_fork_prepare): Likewise.
25646 (malloc_fork_parent): Likewise.
25647 (malloc_fork_child): Likewise.
25648 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25649 (_svcauth_des): Likewise.
25650 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25651 * inet/inet_net.c (inet_network): Likewise.
25652 * inet/inet_netof.c (inet_netof): Likewise.
25653 * inet/rcmd.c (__validuser2_sa): Likewise.
25654 * io/fts.c (fts_open): Likewise.
25655 (fts_load): Likewise.
25656 (fts_close): Likewise.
25657 (fts_read): Likewise.
25658 (fts_children): Likewise.
25659 (fts_build): Likewise.
25660 (fts_stat): Likewise.
25661 (fts_sort): Likewise.
25662 (fts_alloc): Likewise.
25663 (fts_lfree): Likewise.
25664 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25665 (_IO_file_xsgetn): Likewise.
25666 (_IO_file_xsgetn_mmap): Likewise.
25667 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25668 (_IO_cookie_write): Likewise.
25669 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25670 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25671 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25672 * malloc/obstack.c (_obstack_begin): Likewise.
25673 (_obstack_begin_1): Likewise.
25674 (_obstack_newchunk): Likewise.
25675 (_obstack_allocated_p): Likewise.
25676 (obstack_free): Likewise.
25677 (_obstack_memory_used): Likewise.
25678 * misc/getttyent.c (getttynam): Likewise.
25679 (getttyent): Likewise.
25680 (skip): Likewise.
25681 (value): Likewise.
25682 * misc/getusershell.c (initshells): Likewise.
25683 * misc/syslog.c (__vsyslog_chk): Likewise.
25684 * misc/ttyslot.c (ttyslot): Likewise.
25685 * nis/nis_hash.c (__nis_hash): Likewise.
25686 * posix/fnmatch_loop.c (FCT): Likewise.
25687 * posix/getconf.c (print_all): Likewise.
25688 (main): Likewise.
25689 * posix/getopt.c (exchange): Likewise.
25690 * posix/glob.c (globfree): Likewise.
25691 (prefix_array): Likewise.
25692 (__glob_pattern_type): Likewise.
25693 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25694 (NS_GET32): Likewise.
25695 (NS_PUT16): Likewise.
25696 (NS_PUT32): Likewise.
25697 * resolv/gethnamaddr.c (getanswer): Likewise.
25698 (gethostbyname2): Likewise.
25699 (gethostbyaddr): Likewise.
25700 (_gethtent): Likewise.
25701 (_gethtbyname2): Likewise.
25702 (_gethtbyaddr): Likewise.
25703 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25704 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25705 * resolv/res_init.c (__res_vinit): Likewise.
25706 (net_mask): Likewise.
25707 * resolv/res_mkquery.c (outchar): Likewise.
25708 (PRINT): Likewise.
25709 * stdio-common/printf_fp.c (outchar): Likewise.
25710 (PRINT): Likewise.
25711 * stdio-common/printf_fphex.c (outchar): Likewise.
25712 (PRINT): Likewise.
25713 * stdio-common/printf_size.c (outchar): Likewise.
25714 (PRINT): Likewise.
25715 * stdio-common/test_rdwr.c (main): Likewise.
25716 * stdio-common/tfformat.c (matches): Likewise.
25717 * stdio-common/vfprintf.c (outchar): Likewise.
25718 (printf_unknown): Likewise.
25719 (buffered_vfprintf): Likewise.
25720 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25721 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25722 (ReadFile): Likewise.
25723 * stdlib/qsort.c (SWAP): Likewise.
25724 (_quicksort): Likewise.
25725 * stdlib/setenv.c (__add_to_environ): Likewise.
25726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25727 * stdlib/strtol_l.c (__strtol_l): Likewise.
25728 * stdlib/tst-strtod.c (main): Likewise.
25729 * stdlib/tst-strtol.c (main): Likewise.
25730 * stdlib/tst-strtoll.c (main): Likewise.
25731 * string/bits/string2.h (__strcmp_cc): Likewise.
25732 (__strcmp_cg): Likewise.
25733 (__strcspn_c1): Likewise.
25734 (__strcspn_c2): Likewise.
25735 (__strcspn_c3): Likewise.
25736 (__strspn_c1): Likewise.
25737 (__strspn_c2): Likewise.
25738 (__strspn_c3): Likewise.
25739 (__strsep_1c): Likewise.
25740 (__strsep_2c): Likewise.
25741 (__strsep_3c): Likewise.
25742 * string/memccpy.c (__memccpy): Likewise.
25743 * string/stpcpy.c (__stpcpy): Likewise.
25744 * string/strcmp.c (strcmp): Likewise.
25745 * string/strrchr.c (strrchr): Likewise.
25746 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25747 Likewise.
25748 * sysdeps/mach/hurd/getcwd.c
25749 (_hurd_canonicalize_directory_name_internal): Likewise.
25750 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25751 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25752 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25753 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25754 Likewise, in both definitions.
25755 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25756 definitions.
25757 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25758 64] (__bswap_64): Likewise.
25759 * time/test_time.c (main): Likewise.
25760 * time/tzfile.c (__tzfile_read): Likewise.
25761 (__tzfile_compute): Likewise.
25762 * time/tzset.c (__tzset_parse_tz): Likewise.
25763 (tzset_internal): Likewise.
25764 (compute_change): Likewise.
25765 * wcsmbs/wcscat.c (__wcscat): Likewise.
25766 * wcsmbs/wcschr.c (wcschr): Likewise.
25767 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25768 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25769 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25770 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25771 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25772 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25773 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25774 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25775 * wcsmbs/wmemset.c (wmemset): Likewise.
25776
9e54314b
JM
257772013-06-06 Joseph Myers <joseph@codesourcery.com>
25778
25779 * scripts/config.guess: Update to version 2013-05-16.
25780 * scripts/config.sub: Update to version 2013-04-24.
25781 * scripts/install-sh: Update to version 2011-11-20.07.
25782 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25783 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25784
350635a5
OB
257852013-06-06 Ondřej Bílka <neleai@seznam.cz>
25786
25787 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25788 * elf/sln.c: Likewise.
25789 * hurd/hurd/ioctl.h: Likewise.
25790 * hurd/hurdmalloc.c: Likewise.
25791 * hurd/xattr.c: Likewise.
25792 * include/shlib-compat.h: Likewise.
25793 * inet/ruserpass.c: Likewise.
25794 * libio/iofgets_u.c: Likewise.
25795 * libio/iofgetws_u.c: Likewise.
25796 * locale/programs/ld-identification.c: Likewise.
25797 * locale/programs/ld-time.c: Likewise.
25798 * mach/msg-destroy.c: Likewise.
25799 * nss/nss_files/files-netgrp.c: Likewise.
25800 * resolv/res_data.c: Likewise.
25801 * soft-fp/op-1.h: Likewise.
25802 * soft-fp/op-2.h: Likewise.
25803 * soft-fp/op-4.h: Likewise.
25804 * soft-fp/op-common.h: Likewise.
25805 * stdio-common/printf_fphex.c: Likewise.
25806 * stdlib/strtod_l.c: Likewise.
25807 * sunrpc/rpc/clnt.h: Likewise.
25808 * sysdeps/generic/framestate.c: Likewise.
25809 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25810 * sysdeps/i386/bsd-setjmp.S: Likewise.
25811 * sysdeps/i386/__longjmp.S: Likewise.
25812 * sysdeps/i386/setjmp.S: Likewise.
25813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25815 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25825 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25831 * sysdeps/ieee754/support.c: Likewise.
25832 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25833 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25834 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25835 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25836 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25837 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25838 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25839 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25840 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25841 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25842 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25843 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25844 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25845 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25846 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25847 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25848 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25850
44a988af
OB
258512013-06-05 Ondřej Bílka <neleai@seznam.cz>
25852
25506f09 25853 * posix/transbug.c: Remove executable mode.
44a988af 25854
9c84384c
JM
258552013-06-05 Joseph Myers <joseph@codesourcery.com>
25856
25857 * crypt/speeds.c: Remove trailing whitespace.
25858 * dlfcn/default.c: Likewise.
25859 * elf/ifuncdep2.c: Likewise.
25860 * elf/ifuncmain1.c: Likewise.
25861 * elf/ifuncmain1vis.c: Likewise.
25862 * elf/testobj.h: Likewise.
25863 * elf/tst-stackguard1.c: Likewise.
25864 * gmon/sys/gmon.h: Likewise.
25865 * hurd/hurdmsg.c: Likewise.
25866 * hurd/new-fd.c: Likewise.
25867 * hurd/ports-get.c: Likewise.
25868 * iconvdata/ibm1008_420.c: Likewise.
25869 * inet/tst-getni1.c: Likewise.
25870 * inet/tst-getni2.c: Likewise.
25871 * libio/ioungetc.c: Likewise.
25872 * libio/wfiledoalloc.c: Likewise.
25873 * manual/libm-err-tab.pl: Likewise.
25874 * math/w_dremf.c: Likewise.
25875 * misc/ftruncate.c: Likewise.
25876 * posix/bug-glob2.c: Likewise.
25877 * posix/tst-pcre.c: Likewise.
25878 * posix/wait4.c: Likewise.
25879 * resolv/README: Likewise.
25880 * resolv/res_debug.h: Likewise.
25881 * resolv/tst-inet_ntop.c: Likewise.
25882 * setjmp/bug269-setjmp.c: Likewise.
25883 * soft-fp/extended.h: Likewise.
25884 * soft-fp/op-1.h: Likewise.
25885 * soft-fp/op-2.h: Likewise.
25886 * soft-fp/op-4.h: Likewise.
25887 * soft-fp/op-8.h: Likewise.
25888 * soft-fp/testit.c: Likewise.
25889 * stdio-common/bug16.c: Likewise.
25890 * stdlib/random.c: Likewise.
25891 * sunrpc/rpcsvc/rquota.x: Likewise.
25892 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25893 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25895 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25896 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25898 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25899 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25900 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25902 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25921 * sysdeps/ieee754/s_lib_version.c: Likewise.
25922 * sysdeps/mach/hurd/check_fds.c: Likewise.
25923 * sysdeps/mach/hurd/getsockname.c: Likewise.
25924 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25925 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25926 * sysdeps/powerpc/bits/link.h: Likewise.
25927 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25928 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25929 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25930 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25931 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25932 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25933 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25934 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25935 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25936 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25937 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25938 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25939 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25940 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25941 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25942 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25943 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25944 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25945 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25946 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25947 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25948 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25949 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25950 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25951 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25954 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25955 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25959 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25960 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25961 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25962 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25963 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25967 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25974 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25975 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25979 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25982 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25983 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25984 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25985 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25986 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25987 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25988 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25989 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25990 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25991 * sysdeps/powerpc/sysdep.h: Likewise.
25992 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25993 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25994 * sysdeps/sh/dl-trampoline.S: Likewise.
25995 * sysdeps/sh/memset.S: Likewise.
25996 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25997 * sysdeps/sh/strlen.S: Likewise.
25998 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25999 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26000 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26001 * sysdeps/sparc/sparc32/rem.S: Likewise.
26002 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26003 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26004 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26005 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26006 * sysdeps/sparc/sparc32/urem.S: Likewise.
26007 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26008 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26009 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26010 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26011 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26012 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26013 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26014 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26015 * sysdeps/unix/bsd/times.c: Likewise.
26016 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26017 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26021 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26022 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26023 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26024 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26025 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26027 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26028 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26029 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26030 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26031 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26032 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26033 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26034 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26035 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26036 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26037 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26038 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26039 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26040 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26041 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26042 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26043 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26044 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26045 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26046 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26047 * sysdeps/x86_64/strcspn.S: Likewise.
26048
869378a5
RA
260492013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26050
26051 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26052 generated file. Regenerate properly from gen-translit.pl.
26053 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26054 locale/C-translit.h.
26055
840e2943
AS
260562013-06-05 Andreas Schwab <schwab@suse.de>
26057
26058 [BZ #15100]
26059 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26060 week as 6 instead of -1.
26061 * time/tst-strptime.c (day_tests): Add test case.
26062
4c60cb0c
SP
260632013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26064
26065 * sysdeps/generic/math_private.h
26066 (libc_feholdexcept_setround_53bit): Replace with
26067 libc_feholdsetround_53bit.
26068 (libc_feupdateenv_53bit): Replace with
26069 libc_feresetround_53bit.
26070 (SET_RESTORE_ROUND_53BIT): Adjust.
26071
d180203e
SP
260722013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26073
96df079a
SP
26074 * string/test-strchrnul.c: Add copyright header.
26075
d180203e
SP
26076 * posix/tst-getaddrinfo4.c: Increase test timeout.
26077
8b0ccb2d
CD
260782013-06-03 Carlos O'Donell <carlos@redhat.com>
26079
26080 [BZ #15536]
26081 * math/libm-test.inc (MAX_EXP): Remove
26082 (MIN_EXP): Define.
26083 (ulp): Use MIN_EXP - MANT_DIG.
26084 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26085
3b3c4d40
CD
260862013-05-31 Carlos O'Donell <carlos@redhat.com>
26087
26088 * po/be.po: Revert last change.
26089 * po/zh_CN.po: Likewise.
26090 * po/header.pot: Likewise.
26091
fab7ce3f
JM
260922013-05-31 Joseph Myers <joseph@codesourcery.com>
26093
26094 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26095 link-libc-deps to empty as target-specific variable.
26096 * Makerules (link-libc-args): New variable.
26097 (libc-for-link): Likewise.
26098 (link-libc-deps): Likewise.
26099 (lib%.so): Depend on $(link-libc-deps). Link with
26100 $(link-libc-args).
26101 (build-module): Link with $(link-libc-args).
26102 (build-module-asneeded): Likewise.
26103 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26104 list of objects.
26105 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26106 target-specific variable.
26107 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26108 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26109 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26110 libc.
26111 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26112 libc and ld.so.
26113 ($(objpfx)libpcprofile.so): Likewise.
26114 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26115 libc_nonshared.a.
26116 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26117 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26118 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26119 $(link-libc-deps).
26120 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26121 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26122 * login/Makefile ($(objpfx)libutil.so): Likewise.
26123 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26124 * math/Makefile ($(objpfx)libm.so): Likewise.
26125 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26126 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26127 variable instead of depending directly on libc.
26128 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26129 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26130 $(link-libc-deps).
26131 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26132 libc.
26133 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26134 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26135 ($(objpfx)libanl.so): Likewise.
26136 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26137 ld.so.
26138 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26139 $(link-libc-deps).
26140 * sysdeps/i386/fpu/Makefile: Remove file.
26141 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26142 ($(objpfx)libm.so): Remove dependency on ld.so.
26143
eca5920c
PF
261442013-05-30 Patsy Franklin <pfrankli@redhat.com>
26145
26146 [BZ # 15553]
26147 * nis/yp_xdr.c (XDRMAXNAME): Define.
26148 (XDRMAXRECORD): Define.
26149 (xdr_domainname): Use XDRMAXNAME.
26150 (xdr_mapname): Likewise.
26151 (xdr_peername): Likewise.
26152 (xdr_keydat): Use XDRMAXRECORD.
26153 (xdr_valdat): Likewise.
26154
261552013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26156
26157 [BZ #14256]
26158 * manual/errno.texi (ESTALE): Update to account for more than
26159 just NFS file systems.
26160 * sysdeps/gnu/errlist.c: Regenerated.
26161
b9375348
SP
261622013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26163
26164 [BZ #15465]
26165 * elf/Makefile (tests): Add tst-null-argv.
26166 (modules-names): Add tst-null-argv-lib.
26167 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26168 (tst-null-argv-ENV): Set environment for tst-null-argv.
26169 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26170 (RTLD_PROGNAME): New macro.
26171 * elf/tst-null-argv.c: New test case.
26172 * elf/tst-null-argv-lib.c: Library for test case.
26173 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26174 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26175 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26176 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26177 * elf/dl-init.c (call_init): Likewise.
26178 (_dl_init): Likewise.
26179 * elf/dl-load.c (print_search_path): Likewise.
26180 (_dl_map_object): Likewise.
26181 * elf/dl-lookup.c (do_lookup_x): Likewise.
26182 (add_dependency): Likewise.
26183 (_dl_lookup_symbol_x): Likewise.
26184 (_dl_debug_bindings): Likewise.
26185 * elf/dl-open.c (_dl_show_scope): Likewise.
26186 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26187 * elf/dl-version.c (match_symbol): Likewise.
26188 (_dl_check_map_versions): Likewise.
26189 * elf/rtld.c (dl_main): Likewise.
26190 (print_unresolved): Use RTLD_PROGNAME.
26191 (print_missing_version): Likewise.
26192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26193 (elf_machine_rela): Likewise.
26194 * sysdeps/powerpc/powerpc32/dl-machine.c
26195 (__process_machine_rela): Likewise.
26196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26197 Likewise.
26198 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26199 Likewise.
26200 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26201 Likewise.
26202 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26204 Likewise.
26205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26206 Likewise.
26207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26208
8a9f20c8
CD
262092013-05-28 Carlos O'Donell <carlos@redhat.com>
26210
26211 * po/be.po: Add descriptive title.
26212 * po/zh_CN.po: Likewise.
26213 * po/header.pot: Likewise.
26214
0e60d68e
MF
262152013-05-28 Mike Frysinger <vapier@gentoo.org>
26216
26217 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26218 error message.
26219 (enlarge_archive): Likewise.
26220
56b672e9
BN
262212013-05-28 Ben North <ben@redfrontdoor.org>
26222
26223 * manual/arith.texi (frexp): It is the magnitude of the return
26224 value which lies in [0.5, 1), not the return value itself.
26225
5e056687
AZ
262262013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26227
26228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26229
2b66ef5d
TS
262302013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26231
528c2405
TS
26232 * stdio-common/bug26.c (main): Correct fscanf template.
26233
07b4c13d
TS
26234 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26235 declare _dl_skip_args.
26236
ec9dd97c
TS
26237 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26238 Don't declare.
26239
2b66ef5d
TS
26240 * manual/platform.texi: Add missing @end deftypefun.
26241
4f8dfe27
JM
262422013-05-24 Joseph Myers <joseph@codesourcery.com>
26243
0323d086
JM
26244 [BZ #15529]
26245 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26246 bit of mantissa of 2^16382.
26247 * math/libm-test.inc (hypot_test_data): Add more tests.
26248
dd4259b9
JM
26249 * math/libm-test.inc: Add drem and pow10 to list of tested
26250 functions.
26251 (pow10_test): New function.
26252 (drem_test): Likewise.
26253 (drem_test_tonearest): Likewise.
26254 (drem_test_towardzero): Likewise.
26255 (drem_test_downward): Likewise.
26256 (drem_test_upward): Likewise.
26257 (main): Call the new functions.
26258
4f8dfe27
JM
26259 * math/libm-test.inc (finite_test_data): Remove.
26260 (finite_test): Run tests from isfinite_test_data.
26261 (gamma_test_data): Remove.
26262 (gamma_test): Run tests from lgamma_test_data.
26263 * sysdeps/i386/fpu/libm-test-ulps: Update.
26264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26265
d116b7c4
AZ
262662013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26267
26268 * manual/platform.texi: Add PowerPC PPR function set documentation.
26269 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26270 implementation.
26271
e96e3767
CD
262722013-05-24 Carlos O'Donell <carlos@redhat.com>
26273
26274 * math/libm-test.inc (MAX_EXP): Define.
26275 (ULPDIFF): Define.
26276 (ulp): New function.
26277 (check_float_internal): Use ULPDIFF.
26278 (cpow_test): Disable failing test.
26279 (check_ulp): Test ulp() implemetnation.
26280 (main): Call check_ulp before starting tests.
26281
b679a606
JM
262822013-05-24 Joseph Myers <joseph@codesourcery.com>
26283
e8bdba36
JM
26284 * math/gen-libm-test.pl (generate_testfile): Do not handle
26285 START_DATA and END_DATA.
26286 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26287 END_DATA.
26288 (acos_tonearest_test_data): Likewise.
26289 (acos_towardzero_test_data): Likewise.
26290 (acos_downward_test_data): Likewise.
26291 (acos_upward_test_data): Likewise.
26292 (acosh_test_data): Likewise.
26293 (asin_test_data): Likewise.
26294 (asin_tonearest_test_data): Likewise.
26295 (asin_towardzero_test_data): Likewise.
26296 (asin_downward_test_data): Likewise.
26297 (asin_upward_test_data): Likewise.
26298 (asinh_test_data): Likewise.
26299 (atan_test_data): Likewise.
26300 (atanh_test_data): Likewise.
26301 (atan2_test_data): Likewise.
26302 (cabs_test_data): Likewise.
26303 (cacos_test_data): Likewise.
26304 (cacosh_test_data): Likewise.
26305 (carg_test_data): Likewise.
26306 (casin_test_data): Likewise.
26307 (casinh_test_data): Likewise.
26308 (catan_test_data): Likewise.
26309 (catanh_test_data): Likewise.
26310 (cbrt_test_data): Likewise.
26311 (ccos_test_data): Likewise.
26312 (ccosh_test_data): Likewise.
26313 (ceil_test_data): Likewise.
26314 (cexp_test_data): Likewise.
26315 (cimag_test_data): Likewise.
26316 (clog_test_data): Likewise.
26317 (clog10_test_data): Likewise.
26318 (conj_test_data): Likewise.
26319 (copysign_test_data): Likewise.
26320 (cos_test_data): Likewise.
26321 (cos_tonearest_test_data): Likewise.
26322 (cos_towardzero_test_data): Likewise.
26323 (cos_downward_test_data): Likewise.
26324 (cos_upward_test_data): Likewise.
26325 (cosh_test_data): Likewise.
26326 (cosh_tonearest_test_data): Likewise.
26327 (cosh_towardzero_test_data): Likewise.
26328 (cosh_downward_test_data): Likewise.
26329 (cosh_upward_test_data): Likewise.
26330 (cpow_test_data): Likewise.
26331 (cproj_test_data): Likewise.
26332 (creal_test_data): Likewise.
26333 (csin_test_data): Likewise.
26334 (csinh_test_data): Likewise.
26335 (csqrt_test_data): Likewise.
26336 (ctan_test_data): Likewise.
26337 (ctan_tonearest_test_data): Likewise.
26338 (ctan_towardzero_test_data): Likewise.
26339 (ctan_downward_test_data): Likewise.
26340 (ctan_upward_test_data): Likewise.
26341 (ctanh_test_data): Likewise.
26342 (ctanh_tonearest_test_data): Likewise.
26343 (ctanh_towardzero_test_data): Likewise.
26344 (ctanh_downward_test_data): Likewise.
26345 (ctanh_upward_test_data): Likewise.
26346 (erf_test_data): Likewise.
26347 (erfc_test_data): Likewise.
26348 (exp_test_data): Likewise.
26349 (exp_tonearest_test_data): Likewise.
26350 (exp_towardzero_test_data): Likewise.
26351 (exp_downward_test_data): Likewise.
26352 (exp_upward_test_data): Likewise.
26353 (exp10_test_data): Likewise.
26354 (exp2_test_data): Likewise.
26355 (expm1_test_data): Likewise.
26356 (fabs_test_data): Likewise.
26357 (fdim_test_data): Likewise.
26358 (finite_test_data): Likewise.
26359 (floor_test_data): Likewise.
26360 (fma_test_data): Likewise.
26361 (fma_towardzero_test_data): Likewise.
26362 (fma_downward_test_data): Likewise.
26363 (fma_upward_test_data): Likewise.
26364 (fmax_test_data): Likewise.
26365 (fmin_test_data): Likewise.
26366 (fmod_test_data): Likewise.
26367 (fpclassify_test_data): Likewise.
26368 (frexp_test_data): Likewise.
26369 (gamma_test_data): Likewise.
26370 (hypot_test_data): Likewise.
26371 (ilogb_test_data): Likewise.
26372 (isfinite_test_data): Likewise.
26373 (isgreater_test_data): Likewise.
26374 (isgreaterequal_test_data): Likewise.
26375 (isinf_test_data): Likewise.
26376 (isless_test_data): Likewise.
26377 (islessequal_test_data): Likewise.
26378 (islessgreater_test_data): Likewise.
26379 (isnan_test_data): Likewise.
26380 (isnormal_test_data): Likewise.
26381 (issignaling_test_data): Likewise.
26382 (isunordered_test_data): Likewise.
26383 (j0_test_data): Likewise.
26384 (j1_test_data): Likewise.
26385 (jn_test_data): Likewise.
26386 (ldexp_test_data): Likewise.
26387 (lgamma_test_data): Likewise.
26388 (lrint_test_data): Likewise.
26389 (lrint_tonearest_test_data): Likewise.
26390 (lrint_towardzero_test_data): Likewise.
26391 (lrint_downward_test_data): Likewise.
26392 (lrint_upward_test_data): Likewise.
26393 (llrint_test_data): Likewise.
26394 (llrint_tonearest_test_data): Likewise.
26395 (llrint_towardzero_test_data): Likewise.
26396 (llrint_downward_test_data): Likewise.
26397 (llrint_upward_test_data): Likewise.
26398 (log_test_data): Likewise.
26399 (log10_test_data): Likewise.
26400 (log1p_test_data): Likewise.
26401 (log2_test_data): Likewise.
26402 (logb_test_data): Likewise.
26403 (logb_downward_test_data): Likewise.
26404 (lround_test_data): Likewise.
26405 (llround_test_data): Likewise.
26406 (modf_test_data): Likewise.
26407 (nearbyint_test_data): Likewise.
26408 (nextafter_test_data): Likewise.
26409 (nexttoward_test_data): Likewise.
26410 (pow_test_data): Likewise.
26411 (pow_tonearest_test_data): Likewise.
26412 (pow_towardzero_test_data): Likewise.
26413 (pow_downward_test_data): Likewise.
26414 (pow_upward_test_data): Likewise.
26415 (remainder_test_data): Likewise.
26416 (remainder_tonearest_test_data): Likewise.
26417 (remainder_towardzero_test_data): Likewise.
26418 (remainder_downward_test_data): Likewise.
26419 (remainder_upward_test_data): Likewise.
26420 (remquo_test_data): Likewise.
26421 (rint_test_data): Likewise.
26422 (rint_tonearest_test_data): Likewise.
26423 (rint_towardzero_test_data): Likewise.
26424 (rint_downward_test_data): Likewise.
26425 (rint_upward_test_data): Likewise.
26426 (round_test_data): Likewise.
26427 (scalb_test_data): Likewise.
26428 (scalbn_test_data): Likewise.
26429 (scalbln_test_data): Likewise.
26430 (signbit_test_data): Likewise.
26431 (sin_test_data): Likewise.
26432 (sin_tonearest_test_data): Likewise.
26433 (sin_towardzero_test_data): Likewise.
26434 (sin_downward_test_data): Likewise.
26435 (sin_upward_test_data): Likewise.
26436 (sincos_test_data): Likewise.
26437 (sinh_test_data): Likewise.
26438 (sinh_tonearest_test_data): Likewise.
26439 (sinh_towardzero_test_data): Likewise.
26440 (sinh_downward_test_data): Likewise.
26441 (sinh_upward_test_data): Likewise.
26442 (sqrt_test_data): Likewise.
26443 (tan_test_data): Likewise.
26444 (tan_tonearest_test_data): Likewise.
26445 (tan_towardzero_test_data): Likewise.
26446 (tan_downward_test_data): Likewise.
26447 (tan_upward_test_data): Likewise.
26448 (tanh_test_data): Likewise.
26449 (tgamma_test_data): Likewise.
26450 (trunc_test_data): Likewise.
26451 (y0_test_data): Likewise.
26452 (y1_test_data): Likewise.
26453 (yn_test_data): Likewise.
26454 (significand_test_data): Likewise.
26455
b679a606
JM
26456 * math/gen-libm-test.pl (@functions): Remove variable.
26457 (generate_testfile): Don't handle START and END lines.
26458 * math/libm-test.inc (START): New macro.
26459 (END): Likewise.
26460 (END_COMPLEX): Likewise.
26461 (acos_test): Use END macro without arguments.
26462 (acos_test_tonearest): Likewise.
26463 (acos_test_towardzero): Likewise.
26464 (acos_test_downward): Likewise.
26465 (acos_test_upward): Likewise.
26466 (acosh_test): Likewise.
26467 (asin_test): Likewise.
26468 (asin_test_tonearest): Likewise.
26469 (asin_test_towardzero): Likewise.
26470 (asin_test_downward): Likewise.
26471 (asin_test_upward): Likewise.
26472 (asinh_test): Likewise.
26473 (atan_test): Likewise.
26474 (atanh_test): Likewise.
26475 (atan2_test): Likewise.
26476 (cabs_test): Likewise.
26477 (cacos_test): Use END_COMPLEX macro without arguments.
26478 (cacosh_test): Likewise.
26479 (carg_test): Use END macro without arguments.
26480 (casin_test): Use END_COMPLEX macro without arguments.
26481 (casinh_test): Likewise.
26482 (catan_test): Likewise.
26483 (catanh_test): Likewise.
26484 (cbrt_test): Use END macro without arguments.
26485 (ccos_test): Use END_COMPLEX macro without arguments.
26486 (ccosh_test): Likewise.
26487 (ceil_test): Use END macro without arguments.
26488 (cexp_test): Use END_COMPLEX macro without arguments.
26489 (cimag_test): Use END macro without arguments.
26490 (clog_test): Use END_COMPLEX macro without arguments.
26491 (clog10_test): Likewise.
26492 (conj_test): Likewise.
26493 (copysign_test): Use END macro without arguments.
26494 (cos_test): Likewise.
26495 (cos_test_tonearest): Likewise.
26496 (cos_test_towardzero): Likewise.
26497 (cos_test_downward): Likewise.
26498 (cos_test_upward): Likewise.
26499 (cosh_test): Likewise.
26500 (cosh_test_tonearest): Likewise.
26501 (cosh_test_towardzero): Likewise.
26502 (cosh_test_downward): Likewise.
26503 (cosh_test_upward): Likewise.
26504 (cpow_test): Use END_COMPLEX macro without arguments.
26505 (cproj_test): Likewise.
26506 (creal_test): Use END macro without arguments.
26507 (csin_test): Use END_COMPLEX macro without arguments.
26508 (csinh_test): Likewise.
26509 (csqrt_test): Likewise.
26510 (ctan_test): Likewise.
26511 (ctan_test_tonearest): Likewise.
26512 (ctan_test_towardzero): Likewise.
26513 (ctan_test_downward): Likewise.
26514 (ctan_test_upward): Likewise.
26515 (ctanh_test): Likewise.
26516 (ctanh_test_tonearest): Likewise.
26517 (ctanh_test_towardzero): Likewise.
26518 (ctanh_test_downward): Likewise.
26519 (ctanh_test_upward): Likewise.
26520 (erf_test): Use END macro without arguments.
26521 (erfc_test): Likewise.
26522 (exp_test): Likewise.
26523 (exp_test_tonearest): Likewise.
26524 (exp_test_towardzero): Likewise.
26525 (exp_test_downward): Likewise.
26526 (exp_test_upward): Likewise.
26527 (exp10_test): Likewise.
26528 (exp2_test): Likewise.
26529 (expm1_test): Likewise.
26530 (fabs_test): Likewise.
26531 (fdim_test): Likewise.
26532 (finite_test): Likewise.
26533 (floor_test): Likewise.
26534 (fma_test): Likewise.
26535 (fma_test_towardzero): Likewise.
26536 (fma_test_downward): Likewise.
26537 (fma_test_upward): Likewise.
26538 (fmax_test): Likewise.
26539 (fmin_test): Likewise.
26540 (fmod_test): Likewise.
26541 (fpclassify_test): Likewise.
26542 (frexp_test): Likewise.
26543 (gamma_test): Likewise.
26544 (hypot_test): Likewise.
26545 (ilogb_test): Likewise.
26546 (isfinite_test): Likewise.
26547 (isgreater_test): Likewise.
26548 (isgreaterequal_test): Likewise.
26549 (isinf_test): Likewise.
26550 (isless_test): Likewise.
26551 (islessequal_test): Likewise.
26552 (islessgreater_test): Likewise.
26553 (isnan_test): Likewise.
26554 (isnormal_test): Likewise.
26555 (issignaling_test): Likewise.
26556 (isunordered_test): Likewise.
26557 (j0_test): Likewise.
26558 (j1_test): Likewise.
26559 (jn_test): Likewise.
26560 (ldexp_test): Likewise.
26561 (lgamma_test): Likewise.
26562 (lrint_test): Likewise.
26563 (lrint_test_tonearest): Likewise.
26564 (lrint_test_towardzero): Likewise.
26565 (lrint_test_downward): Likewise.
26566 (lrint_test_upward): Likewise.
26567 (llrint_test): Likewise.
26568 (llrint_test_tonearest): Likewise.
26569 (llrint_test_towardzero): Likewise.
26570 (llrint_test_downward): Likewise.
26571 (llrint_test_upward): Likewise.
26572 (log_test): Likewise.
26573 (log10_test): Likewise.
26574 (log1p_test): Likewise.
26575 (log2_test): Likewise.
26576 (logb_test): Likewise.
26577 (logb_test_downward): Likewise.
26578 (lround_test): Likewise.
26579 (llround_test): Likewise.
26580 (modf_test): Likewise.
26581 (nearbyint_test): Likewise.
26582 (nextafter_test): Likewise.
26583 (nexttoward_test): Likewise.
26584 (pow_test): Likewise.
26585 (pow_test_tonearest): Likewise.
26586 (pow_test_towardzero): Likewise.
26587 (pow_test_downward): Likewise.
26588 (pow_test_upward): Likewise.
26589 (remainder_test): Likewise.
26590 (remainder_test_tonearest): Likewise.
26591 (remainder_test_towardzero): Likewise.
26592 (remainder_test_downward): Likewise.
26593 (remainder_test_upward): Likewise.
26594 (remquo_test): Likewise.
26595 (rint_test): Likewise.
26596 (rint_test_tonearest): Likewise.
26597 (rint_test_towardzero): Likewise.
26598 (rint_test_downward): Likewise.
26599 (rint_test_upward): Likewise.
26600 (round_test): Likewise.
26601 (scalb_test): Likewise.
26602 (scalbn_test): Likewise.
26603 (scalbln_test): Likewise.
26604 (signbit_test): Likewise.
26605 (sin_test): Likewise.
26606 (sin_test_tonearest): Likewise.
26607 (sin_test_towardzero): Likewise.
26608 (sin_test_downward): Likewise.
26609 (sin_test_upward): Likewise.
26610 (sincos_test): Likewise.
26611 (sinh_test): Likewise.
26612 (sinh_test_tonearest): Likewise.
26613 (sinh_test_towardzero): Likewise.
26614 (sinh_test_downward): Likewise.
26615 (sinh_test_upward): Likewise.
26616 (sqrt_test): Likewise.
26617 (tan_test): Likewise.
26618 (tan_test_tonearest): Likewise.
26619 (tan_test_towardzero): Likewise.
26620 (tan_test_downward): Likewise.
26621 (tan_test_upward): Likewise.
26622 (tanh_test): Likewise.
26623 (tgamma_test): Likewise.
26624 (trunc_test): Likewise.
26625 (y0_test): Likewise.
26626 (y1_test): Likewise.
26627 (yn_test): Likewise.
26628 (significand_test): Likewise.
26629
bae143d2
OB
266302013-05-24 Ondřej Bílka <neleai@seznam.cz>
26631
26632 [BZ #15381]
26633 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26634
9323d39b
EM
266352013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26636
d4ea44a0 26637 [BZ #14894]
9323d39b
EM
26638 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26639 __ppc_mdoio and __ppc_mdoom.
26640 * manual/platform.texi: Document new functions __ppc_yield,
26641 __ppc_mdoio and __ppc_mdoom.
26642
13e23af7
CD
266432013-05-22 Carlos O'Donell <carlos@redhat.com>
26644
26645 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26646 (main): Mention "tls" pseudo-hwcap is legacy.
26647 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26648
351fe550
JM
266492013-05-22 Joseph Myers <joseph@codesourcery.com>
26650
26651 * math/gen-libm-test.pl (parse_args): Output only string of
26652 arguments as text for test name, not full call or descriptions of
26653 tests for extra outputs.
26654 (generate_testfile): Do not pass function name to parse_args.
26655 Generate this_func variable from START.
26656 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26657 field to arg_str.
26658 (struct test_ff_f_data): Likewise.
26659 (test_ff_f_data_nexttoward): Likewise.
26660 (struct test_fi_f_data): Likewise.
26661 (struct test_fl_f_data): Likewise.
26662 (struct test_if_f_data): Likewise.
26663 (struct test_fff_f_data): Likewise.
26664 (struct test_c_f_data): Likewise.
26665 (struct test_f_f1_data): Likewise. Remove field extra_name.
26666 (struct test_fF_f1_data): Likewise.
26667 (struct test_ffI_f1_data): Likewise.
26668 (struct test_c_c_data): Rename test_name field to arg_str.
26669 (struct test_cc_c_data): Likewise.
26670 (struct test_f_i_data): Likewise.
26671 (struct test_ff_i_data): Likewise.
26672 (struct test_f_l_data): Likewise.
26673 (struct test_f_L_data): Likewise.
26674 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26675 and extra2_name.
26676 (COMMON_TEST_SETUP): New macro.
26677 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26678 (COMMON_TEST_CLEANUP): Likewise.
26679 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26680 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26681 macros.
26682 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26683 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26684 macros.
26685 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26686 (RUN_TEST_fff_f): Take argument string. Call new setup and
26687 cleanup macros.
26688 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26689 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26690 macros.
26691 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26692 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26693 macros.
26694 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26695 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26696 cleanup macros.
26697 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26698 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26699 cleanup macros.
26700 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26701 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26702 cleanup macros.
26703 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26704 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26705 macros.
26706 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26707 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26708 macros.
26709 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26710 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26711 macros.
26712 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26713 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26714 cleanup macros.
26715 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26716 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26717 cleanup macros.
26718 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26719 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26720 macros.
26721 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26722 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26723 cleanup macros.
26724 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26725 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26726 macros.
26727 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26728 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26729 macros.
26730 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26731 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26732 cleanup macros.
26733 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26734
85118d4d
EBM
267352013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26736
26737 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26738 to _sifields.sigfault.
26739 (si_addr_lsb): Define new macro.
26740 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26742 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26743
7a44c18f
CD
267442013-05-03 Carlos O'Donell <carlos at redhat.com>
26745
26746 [BZ #15441]
26747 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26748 returns -1.
26749 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26750 null return -1.
26751 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26752 loading the domain.
26753
b50a7181
JM
267542013-05-22 Joseph Myers <joseph@codesourcery.com>
26755
26756 * math/gen-libm-test.pl (parse_args): Do not include expected
26757 result in test name.
26758 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26759 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26760 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26761 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26762 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26764
051063c8
SP
267652013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26766
3ce9e010
SP
26767 * benchtests/Makefile: Sort function entries.
26768
051063c8
SP
26769 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26770 tanh, asinh, acosh, atanh.
26771 * benchtests/acos-inputs: New file.
26772 * benchtests/acosh-inputs: New file.
26773 * benchtests/asin-inputs: New file.
26774 * benchtests/asinh-inputs: New file.
26775 * benchtests/atanh-inputs: New file.
26776 * benchtests/cosh-inputs: New file.
26777 * benchtests/log-inputs: New file.
26778 * benchtests/sinh-inputs: New file.
26779 * benchtests/tanh-inputs: New file.
26780
47c22455
DL
267812013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26782
26783 [BZ #15339]
26784 * posix/tst-getaddrinfo4.c: New test.
26785 * posix/Makefile (tests): Add it.
26786
3d04f5db
SP
267872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26788
26789 [BZ #15339]
26790 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26791 when no services were used.
26792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26793 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26794
d5dd6189
AS
267952013-05-21 Andreas Schwab <schwab@suse.de>
26796
26797 [BZ #15014]
26798 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26799 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26800 successful.
26801 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26802 redundant variable declarations and reallocation of buffer when
26803 parsing as IPv6 address. Always set NSS status when called from
26804 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26805 buffer too small. Correct computation of needed size.
26806 * nss/Makefile (tests): Add test-digits-dots.
26807 * nss/test-digits-dots.c: New test.
26808
fef94eab
SP
268092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26810
26811 * benchtests/Makefile: Remove instructions for adding
26812 benchmark tests.
26813 * benchtests/README: New file to explain how to execute and
26814 enhance the benchmark tests.
26815
e39adf43
AS
268162013-05-21 Andreas Schwab <schwab@suse.de>
26817
26818 [BZ #15493]
26819 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26820 * setjmp/tst-sigsetjmp.c: New test.
26821
b2b671b6
OB
268222013-05-20 Ondřej Bílka <neleai@seznam.cz>
26823
26824 * sysdeps/x86_64/memset.S (memset): New implementation.
26825 (__bzero): Likewise.
26826 (__memset_tail): New function.
26827
2d48b41c
OB
268282013-05-20 Ondřej Bílka <neleai@seznam.cz>
26829
26830 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26831 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26832 __memcpy_sse2_unaligned ifunc selection.
26833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26834 Add memcpy-sse2-unaligned.S.
26835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26836 Add: __memcpy_sse2_unaligned.
26837
f16cc3eb
JM
268382013-05-19 Joseph Myers <joseph@codesourcery.com>
26839
3e694268
JM
26840 [BZ #15490]
26841 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26842 math_force_eval before restoring floating-point envrionment.
26843 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26845 Likewise.
26846 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26847 <math_private.h>.
26848 (__nearbyintl): Use math_force_eval before restoring
26849 floating-point environment.
26850 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26851
db62a907
JM
26852 * math/gen-libm-test.pl (special_functions): Remove.
26853 (parse_args): Don't handle TEST_extra. Handle functions with no
26854 return value.
26855 * math/libm-test.inc (struct test_sincos_data): Replace with
26856 struct test_fFF_11_data.
26857 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26858 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26859 (sincos_test_data): Change element type to struct
26860 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26861 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26862 RUN_TEST_LOOP_sincos.
26863 * math/README.libm-test: Don't mention special handling of
26864 individual functions.
26865 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26867 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26868 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26869 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26871
f16cc3eb
JM
26872 * math/gen-libm-test.pl (get_variable): Remove function.
26873 (parse_args): Don't show pointer parameters to call in test
26874 names. Use "extra output N" in test names for extra outputs
26875 rather than naming variables.
26876
3779b5b6
JM
268772013-05-18 Joseph Myers <joseph@codesourcery.com>
26878
2ee094ff
JM
26879 [BZ #15488]
26880 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26881 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26882 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26883 double tests.
26884 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26885 disable.
26886 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26887 check_long_double.
26888
3779b5b6
JM
26889 * math/gen-libm-test.pl (@tests): Remove variable.
26890 ($count): Likewise.
26891 (new_test): Remove function.
26892 (show_exceptions): New function.
26893 (special_functions): Use show_exceptions instead of new_test.
26894 (parse_args): Likewise.
26895 (generate_testfile): Pass only function name in generated call to
26896 print_max_error or print_complex_max_error.
26897 (get_ulps): Do not handle complex tests specially.
26898 (output_test): Rename to ...
26899 (get_all_ulps_for_test): ... this. Return a string rather than
26900 printing to a file. Require ulps to be present.
26901 (output_ulps): Generate arrays rather than #defines.
26902 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26903 (struct ulp_data): New type.
26904 (BUILD_COMPLEX_ULP): Remove macro.
26905 (compare_ulp_data): New function.
26906 (find_ulps): Likewise.
26907 (find_test_ulps): Likewise.
26908 (find_function_ulps): Likewise.
26909 (find_complex_function_ulps): Likewise.
26910 (print_max_error): Determine allowed ulps using
26911 find_function_ulps.
26912 (print_complex_max_error): Determine allowed ulps using
26913 find_complex_function_ulps.
26914 (check_float_internal): Determine max ulps using find_test_ulps.
26915 (check_float): Do not take max_ulp parameter. Update call to
26916 check_float_internal.
26917 (check_complex): Likewise.
26918 (check_int): Do not take max_ulp parameter.
26919 (check_long): Likewise.
26920 (check_bool): Likewise.
26921 (check_longlong): Likewise.
26922 (struct test_f_f_data): Remove max_ulp field.
26923 (struct test_ff_f_data): Likewise.
26924 (struct test_ff_f_data_nexttoward): Likewise.
26925 (struct test_fi_f_data): Likewise.
26926 (struct test_fl_f_data): Likewise.
26927 (struct test_if_f_data): Likewise.
26928 (struct test_fff_f_data): Likewise.
26929 (struct test_c_f_data): Likewise.
26930 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26931 (struct test_fF_f1_data): Likewise.
26932 (struct test_ffI_f1_data): Likewise.
26933 (struct test_c_c_data): Remove max_ulp field.
26934 (struct test_cc_c_data): Likewise.
26935 (struct test_f_i_data): Likewise.
26936 (struct test_ff_i_data): Likewise.
26937 (struct test_f_l_data): Likewise.
26938 (struct test_f_L_data): Likewise.
26939 (struct test_sincos_data): Likewise.
26940 (RUN_TEST_f_f): Do not handle ulps.
26941 (RUN_TEST_LOOP_f_f): Likewise.
26942 (RUN_TEST_2_f): Likewise.
26943 (RUN_TEST_LOOP_2_f): Likewise.
26944 (RUN_TEST_fff_f): Likewise.
26945 (RUN_TEST_LOOP_fff_f): Likewise.
26946 (RUN_TEST_c_f): Likewise.
26947 (RUN_TEST_LOOP_c_f): Likewise.
26948 (RUN_TEST_f_f1): Likewise.
26949 (RUN_TEST_LOOP_f_f1): Likewise.
26950 (RUN_TEST_fF_f1): Likewise.
26951 (RUN_TEST_LOOP_fF_f1): Likewise.
26952 (RUN_TEST_fI_f1): Likewise.
26953 (RUN_TEST_LOOP_fI_f1): Likewise.
26954 (RUN_TEST_ffI_f1): Likewise.
26955 (RUN_TEST_LOOP_ffI_f1): Likewise.
26956 (RUN_TEST_c_c): Likewise.
26957 (RUN_TEST_LOOP_c_c): Likewise.
26958 (RUN_TEST_cc_c): Likewise.
26959 (RUN_TEST_LOOP_cc_c): Likewise.
26960 (RUN_TEST_f_i): Likewise.
26961 (RUN_TEST_LOOP_f_i): Likewise.
26962 (RUN_TEST_f_i_tg): Likewise.
26963 (RUN_TEST_LOOP_f_i_tg): Likewise.
26964 (RUN_TEST_ff_i_tg): Likewise.
26965 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26966 (RUN_TEST_f_b): Likewise.
26967 (RUN_TEST_LOOP_f_b): Likewise.
26968 (RUN_TEST_f_b_tg): Likewise.
26969 (RUN_TEST_LOOP_f_b_tg): Likewise.
26970 (RUN_TEST_f_l): Likewise.
26971 (RUN_TEST_LOOP_f_l): Likewise.
26972 (RUN_TEST_f_L): Likewise.
26973 (RUN_TEST_LOOP_f_L): Likewise.
26974 (RUN_TEST_sincos): Likewise.
26975 (RUN_TEST_LOOP_sincos): Likewise.
26976
8269107f
JM
269772013-05-17 Joseph Myers <joseph@codesourcery.com>
26978
bb38759d
JM
26979 [BZ #15480]
26980 [BZ #15485]
26981 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26982 main case of finite arguments, set rounding mode to FE_TONEAREST
26983 and discard exceptions.
26984 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26985 exceptions.
26986 (remainder_tonearest_test_data): New variable.
26987 (remainder_test_tonearest): New function.
26988 (remainder_towardzero_test_data): New variable.
26989 (remainder_test_towardzero): New function.
26990 (remainder_downward_test_data): New variable.
26991 (remainder_test_downward): New function.
26992 (remainder_upward_test_data): New variable.
26993 (remainder_test_upward): New function.
26994 (main): Call the new test functions.
26995
a00bdcf0
JM
26996 * math/libm-test.inc (struct test_f_f1_data): Remove field
26997 extra_init.
26998 (struct test_fF_f1_data): Likewise.
26999 (struct test_ffI_f1_data): Likewise.
27000 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27001 based on value of EXTRA_EXPECTED.
27002 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27003 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27004 EXTRA_VAR based on value of EXTRA_EXPECTED.
27005 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27006 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27007 EXTRA_VAR based on value of EXTRA_EXPECTED.
27008 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27009 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27010 EXTRA_VAR based on value of EXTRA_EXPECTED.
27011 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27012 * math/gen-libm-test.pl (parse_args): Don't output initializers
27013 for extra output values.
27014
de407f79
JM
27015 * math/libm-test.inc (check_int): Expect result to be exactly
27016 equal to expected value and do not handle ulps.
27017 (check_long): Likewise.
27018 (check_longlong): Likewise.
27019
8269107f
JM
27020 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27021 exceptions.
27022 (cimag_test_data): Likewise.
27023 (conj_test_data): Likewise.
27024 (copysign_test_data): Likewise.
27025 (cproj_test_data): Likewise.
27026 (creal_test_data): Likewise.
27027 (fabs_test_data): Likewise.
27028 (fdim_test_data): Likewise.
27029 (finite_test_data): Likewise.
27030 (floor_test_data): Likewise.
27031 (fmax_test_data): Likewise.
27032 (fmin_test_data): Likewise.
27033 (fmod_test_data): Likewise.
27034 (fpclassify_test_data): Likewise.
27035 (frexp_test_data): Likewise.
27036 (ilogb_test_data): Likewise.
27037 (isfinite_test_data): Likewise.
27038 (isgreater_test_data): Likewise.
27039 (isgreaterequal_test_data): Likewise.
27040 (isinf_test_data): Likewise.
27041 (isless_test_data): Likewise.
27042 (islessequal_test_data): Likewise.
27043 (islessgreater_test_data): Likewise.
27044 (isnan_test_data): Likewise.
27045 (isnormal_test_data): Likewise.
27046 (issignaling_test_data): Likewise.
27047 (isunordered_test_data): Likewise.
27048 (ldexp_test_data): Likewise.
27049 (lrint_test_data): Likewise.
27050 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27051 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27052 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27053 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27054 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27055 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27056 test input.
27057 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27058 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27059 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27060 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27061 that test input.
27062 (lrint_downward_test_data): Test for "inexact" exceptions.
27063 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27064 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27065 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27066 test input.
27067 (lrint_upward_test_data): Test for "inexact" exceptions.
27068 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27069 test input.
27070 (llrint_test_data): Test for "inexact" exceptions.
27071 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27072 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27073 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27074 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27075 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27076 (llrint_downward_test_data): Test for "inexact" exceptions.
27077 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27078 (llrint_upward_test_data): Test for "inexact" exceptions.
27079 (logb_test_data): Likewise.
27080 (logb_downward_test_data): Likewise.
27081 (nextafter_test_data): Likewise.
27082 (nexttoward_test_data): Likewise.
27083 (remainder_test_data): Likewise.
27084 (remquo_test_data): Likewise.
27085 (scalbn_test_data): Likewise.
27086 (scalbln_test_data): Likewise.
27087 (signbit_test_data): Likewise.
27088 (sqrt_test_data): Likewise.
27089 (significand_test_data): Likewise.
27090
48a18de1
SP
270912013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27092
27093 [BZ #15424]
27094 * benchtests/bench-modf.c (struct args): Mark arg0 as
27095 volatile.
27096 * scripts/bench.pl: Mark members of struct args as volatile.
27097
13d3b41a
AZ
270982013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27099
68191c1d 27100 [BZ # 15497]
13d3b41a
AZ
27101 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27102 negative infinity on POWER6 or lower.
27103 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27104
2848b105
MR
271052013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27106
27107 [BZ #15442]
27108 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27109 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27110 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27111 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27112 (_FP_SETQNAN): New macro.
27113 (_FP_SETQNAN_SEMIRAW): Likewise.
27114 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27115 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27116 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27117 (FP_EXTEND): Use _FP_FRAC_SNANP.
27118 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27119 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27120 into account.
27121 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27122 New macro.
27123 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27124 Likewise.
27125
323e5cb7
JM
271262013-05-16 Joseph Myers <joseph@codesourcery.com>
27127
c58b274f
JM
27128 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27129 with DIVIDE_BY_ZERO_EXCEPTION.
27130 (gamma_test_data): Likewise.
27131 (lgamma_test_data): Likewise.
27132 (log_test_data): Likewise.
27133 (log10_test_data): Likewise.
27134 (log2_test_data): Likewise.
27135 (tgamma_test_data): Likewise.
27136
0ab34904
JM
27137 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27138 (acos_test_tonearest): Likewise.
27139 (acos_test_towardzero): Likewise.
27140 (acos_test_downward): Likewise.
27141 (acos_test_upward): Likewise.
27142 (acosh_test): Likewise.
27143 (asin_test): Likewise.
27144 (asin_test_tonearest): Likewise.
27145 (asin_test_towardzero): Likewise.
27146 (asin_test_downward): Likewise.
27147 (asin_test_upward): Likewise.
27148 (asinh_test): Likewise.
27149 (atan_test): Likewise.
27150 (atanh_test): Likewise.
27151 (atan2_test): Likewise.
27152 (cabs_test): Likewise.
27153 (cacos_test): Likewise.
27154 (cacosh_test): Likewise.
27155 (casin_test): Likewise.
27156 (casinh_test): Likewise.
27157 (catan_test): Likewise.
27158 (catanh_test): Likewise.
27159 (cbrt_test): Likewise.
27160 (ccos_test): Likewise.
27161 (ccosh_test): Likewise.
27162 (cexp_test): Likewise.
27163 (clog_test): Likewise.
27164 (clog10_test): Likewise.
27165 (cos_test): Likewise.
27166 (cos_test_tonearest): Likewise.
27167 (cos_test_towardzero): Likewise.
27168 (cos_test_downward): Likewise.
27169 (cos_test_upward): Likewise.
27170 (cosh_test): Likewise.
27171 (cosh_test_tonearest): Likewise.
27172 (cosh_test_towardzero): Likewise.
27173 (cosh_test_downward): Likewise.
27174 (cosh_test_upward): Likewise.
27175 (cpow_test): Likewise.
27176 (csin_test): Likewise.
27177 (csinh_test): Likewise.
27178 (csqrt_test): Likewise.
27179 (ctan_test): Likewise.
27180 (ctan_test_tonearest): Likewise.
27181 (ctan_test_towardzero): Likewise.
27182 (ctan_test_downward): Likewise.
27183 (ctan_test_upward): Likewise.
27184 (ctanh_test): Likewise.
27185 (ctanh_test_tonearest): Likewise.
27186 (ctanh_test_towardzero): Likewise.
27187 (ctanh_test_downward): Likewise.
27188 (ctanh_test_upward): Likewise.
27189 (erf_test): Likewise.
27190 (erfc_test): Likewise.
27191 (exp_test): Likewise.
27192 (exp_test_tonearest): Likewise.
27193 (exp_test_towardzero): Likewise.
27194 (exp_test_downward): Likewise.
27195 (exp_test_upward): Likewise.
27196 (exp10_test): Likewise.
27197 (exp2_test): Likewise.
27198 (expm1_test): Likewise.
27199 (fmod_test): Likewise.
27200 (gamma_test): Likewise.
27201 (hypot_test): Likewise.
27202 (j0_test): Likewise.
27203 (j1_test): Likewise.
27204 (jn_test): Likewise.
27205 (lgamma_test): Likewise.
27206 (log_test): Likewise.
27207 (log10_test): Likewise.
27208 (log1p_test): Likewise.
27209 (log2_test): Likewise.
27210 (logb_test_downward): Likewise.
27211 (pow_test): Likewise.
27212 (pow_test_tonearest): Likewise.
27213 (pow_test_towardzero): Likewise.
27214 (pow_test_downward): Likewise.
27215 (pow_test_upward): Likewise.
27216 (remainder_test): Likewise.
27217 (remquo_test): Likewise.
27218 (sin_test): Likewise.
27219 (sin_test_tonearest): Likewise.
27220 (sin_test_towardzero): Likewise.
27221 (sin_test_downward): Likewise.
27222 (sin_test_upward): Likewise.
27223 (sincos_test): Likewise.
27224 (sinh_test): Likewise.
27225 (sinh_test_tonearest): Likewise.
27226 (sinh_test_towardzero): Likewise.
27227 (sinh_test_downward): Likewise.
27228 (sinh_test_upward): Likewise.
27229 (sqrt_test): Likewise.
27230 (tan_test): Likewise.
27231 (tan_test_tonearest): Likewise.
27232 (tan_test_towardzero): Likewise.
27233 (tan_test_downward): Likewise.
27234 (tan_test_upward): Likewise.
27235 (tanh_test): Likewise.
27236 (tgamma_test): Likewise.
27237 (y0_test): Likewise.
27238 (y1_test): Likewise.
27239 (yn_test): Likewise.
27240
323e5cb7
JM
27241 * math/gen-libm-test.pl (adjust_arg): Remove function.
27242 (special_function): Remove argument $in_func. Only handle
27243 generating output for tables of tests, not inside functions.
27244 (parse_args): Likewise.
27245 (generate_testfile): Remove variable $in_func. Update call to
27246 parse_args.
27247 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27248 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27249 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27250 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27251 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27252 (MAX_VALUE_INIT): Rename macro to max_value.
27253 (MIN_VALUE_INIT): Rename macro to min_value.
27254 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27255 (plus_zero): Remove variable.
27256 (minus_zero): Likewise.
27257 (plus_infty): Likewise.
27258 (minus_infty): Likewise.
27259 (qnan_value): Likewise.
27260 (max_value): Likewise.
27261 (min_value): Likewise.
27262 (min_subnorm_value): Likewise.
27263
e054f494
RA
272642013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27265
27266 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27267 uint64_t or uint32_t usage.
27268 * crypt/sha256-block.c: Likewise.
27269 * crypt/sha256-crypt.c: Likewise.
27270 * crypt/sha256.c: Likewise.
27271 * crypt/sha512-block.c: Likewise.
27272 * crypt/sha512-crypt.c: Likewise.
27273 * crypt/sha512.c: Likewise.
27274 * debug/backtrace-tst.c: Likewise.
27275 * debug/pcprofiledump.c: Likewise.
27276 * elf/cache.c: Likewise.
27277 * elf/dl-cache.c: Likewise.
27278 * elf/dl-misc.c: Likewise.
27279 * elf/dl-profile.c: Likewise.
27280 * elf/dl-support.c: Likewise.
27281 * elf/ldconfig.c: Likewise.
27282 * elf/sprof.c: Likewise.
27283 * iconv/dummy-repertoire.c: Likewise.
27284 * iconv/iconv_charmap.c: Likewise.
27285 * iconv/skeleton.c: Likewise.
27286 * iconvdata/8bit-generic.c: Likewise.
27287 * iconvdata/cp737.h: Likewise.
27288 * iconvdata/cp775.h: Likewise.
27289 * iconvdata/ibm1008.h: Likewise.
27290 * iconvdata/ibm1025.h: Likewise.
27291 * iconvdata/ibm1046.h: Likewise.
27292 * iconvdata/ibm1097.h: Likewise.
27293 * iconvdata/ibm1112.h: Likewise.
27294 * iconvdata/ibm1122.h: Likewise.
27295 * iconvdata/ibm1123.h: Likewise.
27296 * iconvdata/ibm1124.h: Likewise.
27297 * iconvdata/ibm1129.h: Likewise.
27298 * iconvdata/ibm1130.h: Likewise.
27299 * iconvdata/ibm1132.h: Likewise.
27300 * iconvdata/ibm1133.h: Likewise.
27301 * iconvdata/ibm1137.h: Likewise.
27302 * iconvdata/ibm1140.h: Likewise.
27303 * iconvdata/ibm1141.h: Likewise.
27304 * iconvdata/ibm1142.h: Likewise.
27305 * iconvdata/ibm1143.h: Likewise.
27306 * iconvdata/ibm1144.h: Likewise.
27307 * iconvdata/ibm1145.h: Likewise.
27308 * iconvdata/ibm1146.h: Likewise.
27309 * iconvdata/ibm1147.h: Likewise.
27310 * iconvdata/ibm1148.h: Likewise.
27311 * iconvdata/ibm1149.h: Likewise.
27312 * iconvdata/ibm1153.h: Likewise.
27313 * iconvdata/ibm1154.h: Likewise.
27314 * iconvdata/ibm1155.h: Likewise.
27315 * iconvdata/ibm1156.h: Likewise.
27316 * iconvdata/ibm1157.h: Likewise.
27317 * iconvdata/ibm1158.h: Likewise.
27318 * iconvdata/ibm1160.h: Likewise.
27319 * iconvdata/ibm1161.h: Likewise.
27320 * iconvdata/ibm1162.h: Likewise.
27321 * iconvdata/ibm1163.h: Likewise.
27322 * iconvdata/ibm1164.h: Likewise.
27323 * iconvdata/ibm1166.h: Likewise.
27324 * iconvdata/ibm1167.h: Likewise.
27325 * iconvdata/ibm12712.h: Likewise.
27326 * iconvdata/ibm1390.h: Likewise.
27327 * iconvdata/ibm1399.h: Likewise.
27328 * iconvdata/ibm16804.h: Likewise.
27329 * iconvdata/ibm4517.h: Likewise.
27330 * iconvdata/ibm4899.h: Likewise.
27331 * iconvdata/ibm4909.h: Likewise.
27332 * iconvdata/ibm4971.h: Likewise.
27333 * iconvdata/ibm5347.h: Likewise.
27334 * iconvdata/ibm803.h: Likewise.
27335 * iconvdata/ibm856.h: Likewise.
27336 * iconvdata/ibm901.h: Likewise.
27337 * iconvdata/ibm902.h: Likewise.
27338 * iconvdata/ibm9030.h: Likewise.
27339 * iconvdata/ibm9066.h: Likewise.
27340 * iconvdata/ibm921.h: Likewise.
27341 * iconvdata/ibm922.h: Likewise.
27342 * iconvdata/ibm9448.h: Likewise.
27343 * iconvdata/isiri-3342.h: Likewise.
27344 * iconvdata/jis0201.h: Likewise.
27345 * include/link.h: Likewise.
27346 * include/netdb.h: Likewise.
27347 * inet/check_native.c: Likewise.
27348 * inet/check_pf.c: Likewise.
27349 * inet/getipv4sourcefilter.c: Likewise.
27350 * inet/getnameinfo.c: Likewise.
27351 * inet/getsourcefilter.c: Likewise.
27352 * inet/htonl.c: Likewise.
27353 * inet/setipv4sourcefilter.c: Likewise.
27354 * inet/setsourcefilter.c: Likewise.
27355 * inet/test-inet6_opt.c: Likewise.
27356 * inet/tst-network.c: Likewise.
27357 * locale/C-collate.c: Likewise.
27358 * locale/C-ctype.c: Likewise.
27359 * locale/C-time.c: Likewise.
27360 * locale/C-translit.h: Likewise.
27361 * locale/loadarchive.c: Likewise.
27362 * locale/programs/3level.h: Likewise.
27363 * locale/programs/charmap.c: Likewise.
27364 * locale/programs/charmap.h: Likewise.
27365 * locale/programs/ld-address.c: Likewise.
27366 * locale/programs/ld-collate.c: Likewise.
27367 * locale/programs/ld-ctype.c: Likewise.
27368 * locale/programs/ld-identification.c: Likewise.
27369 * locale/programs/ld-measurement.c: Likewise.
27370 * locale/programs/ld-messages.c: Likewise.
27371 * locale/programs/ld-monetary.c: Likewise.
27372 * locale/programs/ld-name.c: Likewise.
27373 * locale/programs/ld-numeric.c: Likewise.
27374 * locale/programs/ld-paper.c: Likewise.
27375 * locale/programs/ld-telephone.c: Likewise.
27376 * locale/programs/ld-time.c: Likewise.
27377 * locale/programs/linereader.c: Likewise.
27378 * locale/programs/locale.c: Likewise.
27379 * locale/programs/locarchive.c: Likewise.
27380 * locale/programs/locfile.h: Likewise.
27381 * locale/programs/repertoire.c: Likewise.
27382 * locale/programs/simple-hash.c: Likewise.
27383 * locale/programs/simple-hash.h: Likewise.
27384 * malloc/memusage.c: Likewise.
27385 * malloc/memusagestat.c: Likewise.
27386 * nis/nis_defaults.c: Likewise.
27387 * nis/nis_hash.c: Likewise.
27388 * nis/nis_print.c: Likewise.
27389 * nis/nis_xdr.c: Likewise.
27390 * nscd/connections.c: Likewise.
27391 * nscd/hstcache.c: Likewise.
27392 * nscd/nscd_gethst_r.c: Likewise.
27393 * nscd/nscd_getserv_r.c: Likewise.
27394 * nscd/nscd_helper.c: Likewise.
27395 * nscd/servicescache.c: Likewise.
27396 * nss/makedb.c: Likewise.
27397 * nss/nss_db/db-XXX.c: Likewise.
27398 * nss/nss_db/db-initgroups.c: Likewise.
27399 * nss/nss_db/db-netgrp.c: Likewise.
27400 * nss/nss_files/files-network.c: Likewise.
27401 * nss/nss_files/files-parse.c: Likewise.
27402 * posix/bug-regex5.c: Likewise.
27403 * posix/fnmatch_loop.c: Likewise.
27404 * posix/regcomp.c: Likewise.
27405 * posix/regexec.c: Likewise.
27406 * posix/tst-rfc3484-2.c: Likewise.
27407 * posix/tst-rfc3484-3.c: Likewise.
27408 * posix/tst-rfc3484.c: Likewise.
27409 * resolv/nss_dns/dns-canon.c: Likewise.
27410 * resolv/nss_dns/dns-network.c: Likewise.
27411 * resolv/res_init.c: Likewise.
27412 * resolv/res_mkquery.c: Likewise.
27413 * resolv/tst-aton.c: Likewise.
27414 * stdlib/cxa_atexit.c: Likewise.
27415 * stdlib/cxa_finalize.c: Likewise.
27416 * stdlib/gen-fpioconst.c: Likewise.
27417 * stdlib/strtol_l.c: Likewise.
27418 * string/tst-endian.c: Likewise.
27419 * sunrpc/auth_des.c: Likewise.
27420 * sunrpc/clnt_udp.c: Likewise.
27421 * sunrpc/rtime.c: Likewise.
27422 * sunrpc/svcauth_des.c: Likewise.
27423 * sunrpc/xdr.c: Likewise.
27424 * sunrpc/xdr_intXX_t.c: Likewise.
27425 * sunrpc/xdr_rec.c: Likewise.
27426 * sysdeps/generic/ldconfig.h: Likewise.
27427 * sysdeps/generic/ldsodefs.h: Likewise.
27428 * sysdeps/generic/memusage.h: Likewise.
27429 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27430 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27431 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27432 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27433 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27435 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27437 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27439 * sysdeps/posix/getaddrinfo.c: Likewise.
27440 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27441 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27442 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27443 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27444 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27445 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27446 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27447 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27448 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27449 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27450 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27451 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27452 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27453 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27454 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27455 * sysdeps/x86_64/dl-tls.h: Likewise.
27456 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27457 * time/alt_digit.c: Likewise.
27458 * time/era.c: Likewise.
27459 * wcsmbs/tst-c16c32-1.c: Likewise.
27460
8c75f674
JM
274612013-05-16 Joseph Myers <joseph@codesourcery.com>
27462
27463 * math/libm-test.inc (struct test_sincos_data): New type.
27464 (RUN_TEST_LOOP_sincos): New macro.
27465 (sincos_test_data): New variable.
27466 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27467
e6e49e59
RH
274682013-05-16 Richard Henderson <rth@redhat.com>
27469
27470 * math/atest-exp2.c (LIMB64): New macro.
27471 (CONSTSZ): New macro.
27472 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27473 (hexdig): Move ...
27474 (print_mpn_fp): ... to function scope.
27475 (read_mpn_hex): Remove.
27476 (get_log2): Remove.
27477 (exp2_mpn): Use mp_log2.
27478 (main): Use mp_exp1.
27479
15c7c18d
JM
274802013-05-16 Joseph Myers <joseph@codesourcery.com>
27481
105a07df
JM
27482 * math/libm-test.inc: Remove comment about not testing "inexact"
27483 exceptions.
27484 (INEXACT_EXCEPTION): New macro.
27485 (NO_INEXACT_EXCEPTION): Likewise.
27486 (INVALID_EXCEPTION_OK): Update value.
27487 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27488 (OVERFLOW_EXCEPTION_OK): Likewise.
27489 (UNDERFLOW_EXCEPTION_OK): Likewise.
27490 (IGNORE_ZERO_INF_SIGN): Likewise.
27491 (ERRNO_UNCHANGED): Likewise.
27492 (ERRNO_EDOM): Likewise.
27493 (ERRNO_ERANGE): Likewise.
27494 (test_exceptions): Handle testing "inexact" exceptions.
27495 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27496 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27497 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27498 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27499 INEXACT_EXCEPTION.
27500 (rint_towardzero_test_data): Likewise.
27501 (rint_downward_test_data): Likewise.
27502 (rint_upward_test_data): Likewise.
27503
e9eee333
JM
27504 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27505 with OVERFLOW_EXCEPTION.
27506 (exp10_test_data): Likewise.
27507 (exp2_test_data): Likewise.
27508 (expm1_test_data): Likewise.
27509 (lgamma_test_data): Likewise.
27510 (pow_test_data): Likewise.
27511 (tgamma_test_data): Likewise.
27512 (yn_test_data): Remove duplicate test of overflow.
27513
1c38ff73
JM
27514 * math/libm-test.inc (struct test_cc_c_data): New type.
27515 (RUN_TEST_LOOP_cc_c): New macro.
27516 (cpow_test_data): New variable.
27517 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27518
15c7c18d
JM
27519 * math/libm-test.inc (struct test_f_L_data): New type.
27520 (RUN_TEST_LOOP_f_L): New macro.
27521 (llrint_test_data): New variable.
27522 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27523 (llrint_tonearest_test_data): New variable.
27524 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27525 (llrint_towardzero_test_data): New variable.
27526 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27527 (llrint_downward_test_data): New variable.
27528 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27529 (llrint_upward_test_data): New variable.
27530 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27531 (llround_test_data): New variable.
27532 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27533
f137ff13
PC
275342013-05-13 Peter Collingbourne <pcc@google.com>
27535
27536 * math/atest-exp2.c (get_log2): Remove const attribute.
27537
3608cb24
JM
275382013-05-15 Joseph Myers <joseph@codesourcery.com>
27539
27540 * math/libm-test.inc (struct test_f_l_data): New type.
27541 (RUN_TEST_LOOP_f_l): New macro.
27542 (lrint_test_data): New variable.
27543 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27544 (lrint_tonearest_test_data): New variable.
27545 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27546 (lrint_towardzero_test_data): New variable.
27547 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27548 (lrint_downward_test_data): New variable.
27549 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27550 (lrint_upward_test_data): New variable.
27551 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27552 (lround_test_data): New variable.
27553 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27554
39b1f617
PC
275552013-05-15 Peter Collingbourne <pcc@google.com>
27556
1deff3dc
PC
27557 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27558 (EXTRACT_WORDS64) Use where appropriate.
27559 (INSERT_WORDS64) Likewise.
27560
791f3ba0
PC
27561 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27562 constraints with x constraints.
27563 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27564
39b1f617
PC
27565 * malloc/obstack.c (_obstack_compat): Add initializer.
27566
12fba011
EM
275672013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27568
27569 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27570 si_trapno and add si_addr_lsb to _sifields.sigfault.
27571 (si_trapno): Remove macro.
27572 (si_addr_lsb): Define new macro.
27573 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27574
d369f531
JM
275752013-05-15 Joseph Myers <joseph@codesourcery.com>
27576
b861c6c4
JM
27577 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27578 instead of TEST_f_l.
27579 (llrint_test_tonearest): Likewise.
27580 (llrint_test_towardzero): Likewise.
27581 (llrint_test_downward): Likewise.
27582 (llrint_test_upward): Likewise.
27583 (llround_test): Likewise.
27584
7abeee12
JM
27585 * math/libm-test.inc (struct test_f_i_data): Add comment.
27586 (RUN_TEST_LOOP_f_b): New macro.
27587 (RUN_TEST_LOOP_f_b_tg): Likewise.
27588 (finite_test_data): New variable.
27589 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27590 (isfinite_test_data): New variable.
27591 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27592 (isinf_test_data): New variable.
27593 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27594 (isnan_test_data): New variable.
27595 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27596 (isnormal_test_data): New variable.
27597 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27598 (issignaling_test_data): New variable.
27599 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27600 (signbit_test_data): New variable.
27601 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27602
cbe8c4d3
JM
27603 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27604 with INVALID_EXCEPTION.
27605 (acosh_test_data): Likewise.
27606 (asin_test_data): Likewise.
27607 (atanh_test_data): Likewise.
27608 (fmod_test_data): Likewise.
27609 (log_test_data): Likewise.
27610 (log10_test_data): Likewise.
27611 (log2_test_data): Likewise.
27612 (pow_test_data): Likewise.
27613 (sqrt_test_data): Likewise.
27614 (y0_test_data): Likewise.
27615 (y1_test_data): Likewise.
27616 (yn_test_data): Likewise.
27617
5575c0e5
JM
27618 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27619 function contents.
27620
d369f531
JM
27621 * math/libm-test.inc (struct test_ff_i_data): New type.
27622 (RUN_TEST_LOOP_ff_i_tg): New macro.
27623 (isgreater_test_data): New variable.
27624 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27625 (isgreaterequal_test_data): New variable.
27626 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27627 (isless_test_data): New variable.
27628 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27629 (islessequal_test_data): New variable.
27630 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27631 (islessgreater_test_data): New variable.
27632 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27633 (isunordered_test_data): New variable.
27634 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27635
781fd748
DM
276362013-05-14 David S. Miller <davem@davemloft.net>
27637
27638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27639
87aa21df
JM
276402013-05-14 Joseph Myers <joseph@codesourcery.com>
27641
5e908270
JM
27642 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27643
f71172e5
JM
27644 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27645 extra_test to int.
27646 (struct test_f_i_data): Change type of max_ulp to int.
27647
8cfa635a
JM
27648 * math/libm-test.inc (test_ffI_f1_data): New type.
27649 (RUN_TEST_LOOP_ffI_f1): New macro.
27650 (remquo_test_data): New variable.
27651 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27652
2bcb36b2
JM
27653 * setjmp/tst-setjmp-fp.c: New file.
27654 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27655 (link-libm): New variable.
27656 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27657
acbd839a
JM
27658 * math/libm-test.inc (struct test_f_i_data): New type.
27659 (RUN_TEST_LOOP_f_i): New macro.
27660 (RUN_TEST_LOOP_f_i_tg): Likewise.
27661 (fpclassify_test_data): New variable.
27662 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27663 (ilogb_test_data): New variable.
27664 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27665
e414d745
JM
27666 * math/libm-test.inc (scalbln_test): Correct function name in END
27667 call.
27668
d9c2a0fd
JM
27669 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27670 (RUN_TEST_LOOP_fI_f1): New macro.
27671 (frexp_test_data): New variable.
27672 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27673
9dc9095d
JM
27674 * math/libm-test.inc (struct test_fF_f1_data): New type.
27675 (RUN_TEST_LOOP_fF_f1): New macro.
27676 (modf_test_data): New variable.
27677 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27678
87aa21df
JM
27679 * math/libm-test.inc (struct test_f_f1_data): New type.
27680 (RUN_TEST_LOOP_f_f1): New macro.
27681 (gamma_test_data): New variable.
27682 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27683 (lgamma_test_data): New variable.
27684 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27685
141af660
CD
276862013-05-13 Carlos O'Donell <carlos@redhat.com>
27687
27688 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27689 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27690 (main): Comment "tls" pseudo-hwcap.
27691
6d33265c
JM
276922013-05-13 Joseph Myers <joseph@codesourcery.com>
27693
68fc074c
JM
27694 * math/libm-test.inc (struct test_fl_f_data): New type.
27695 (RUN_TEST_LOOP_fl_f): New variable.
27696 (scalbln_test_data): New variable.
27697 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27698
243216e1
JM
27699 * math/libm-test.inc (struct test_fi_f_data): New type.
27700 (RUN_TEST_LOOP_fi_f): New macro.
27701 (ldexp_test_data): New variable.
27702 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27703 (scalbn_test_data): New variable.
27704 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27705
6a1992e2
JM
27706 * math/libm-test.inc (struct test_c_f_data): New type.
27707 (RUN_TEST_LOOP_c_f): New macro.
27708 (cabs_test_data): New variable.
27709 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27710 (carg_test_data): New variable.
27711 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27712 (cimag_test_data): New variable.
27713 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27714 (creal_test_data): New variable.
27715 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27716
0e400df5
JM
27717 * math/libm-test.inc (struct test_if_f_data): New type.
27718 (RUN_TEST_LOOP_if_f): New macro.
27719 (jn_test_data): New variable.
27720 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27721 (yn_test_data): New variable.
27722 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27723
6d33265c
JM
27724 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27725
f98ece5f
AZ
277262013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27727
27728 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27729 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27730
0f7d347b
SP
277312013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27732
43fe811b
SP
27733 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27734 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27735 (bench-deps): Add bench-timing.h.
27736 * benchtests-bench-skeleton.c: Include bench-timing.h.
27737 (main): Use TIMING_* macros instead of clock_gettime.
27738 * benchtests/bench-timing.h: New file.
27739
0f7d347b
SP
27740 [BZ #14582]
27741 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27742 Renamed from _LIB_VERSION.
27743 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27744
601a3a5f
JM
277452013-05-12 Joseph Myers <joseph@codesourcery.com>
27746
4f184d30
JM
27747 * math/libm-test.inc (struct test_fff_f_data): New type.
27748 (RUN_TEST_LOOP_fff_f): New macro.
27749 (fma_test_data): New variable.
27750 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27751 (fma_towardzero_test_data): New variable.
27752 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27753 (fma_downward_test_data): New variable.
27754 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27755 (fma_upward_test_data): New variable.
27756 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27757
08198877
JM
27758 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27759 (struct test_c_c_data): New type.
27760 (RUN_TEST_LOOP_c_c): New macro.
27761 (cacos_test_data): New variable.
27762 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27763 (cacosh_test_data): New variable.
27764 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27765 (casin_test_data): New variable.
27766 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27767 (casinh_test_data): New variable.
27768 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27769 (catan_test_data): New variable.
27770 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27771 (catanh_test_data): New variable.
27772 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27773 (ccos_test_data): New variable.
27774 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27775 (ccosh_test_data): New variable.
27776 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27777 (cexp_test_data): New variable.
27778 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27779 (clog_test_data): New variable.
27780 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27781 (clog10_test_data): New variable.
27782 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27783 (conj_test_data): New variable.
27784 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27785 (cproj_test_data): New variable.
27786 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27787 (csin_test_data): New variable.
27788 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27789 (csinh_test_data): New variable.
27790 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27791 (csqrt_test_data): New variable.
27792 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27793 (ctan_test_data): New variable.
27794 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27795 (ctan_tonearest_test_data): New variable.
27796 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27797 (ctan_towardzero_test_data): New variable.
27798 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27799 (ctan_downward_test_data): New variable.
27800 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27801 (ctan_upward_test_data): New variable.
27802 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27803 (ctanh_test_data): New variable.
27804 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27805 (ctanh_tonearest_test_data): New variable.
27806 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27807 (ctanh_towardzero_test_data): New variable.
27808 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27809 (ctanh_downward_test_data): New variable.
27810 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27811 (ctanh_upward_test_data): New variable.
27812 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27813 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27814 of BUILD_COMPLEX.
27815
601a3a5f
JM
27816 * math/libm-test.inc (struct test_ff_f_data): New type.
27817 (struct test_ff_f_data_nexttoward): Likewise.
27818 (RUN_TEST_LOOP_2_f): New macro.
27819 (RUN_TEST_LOOP_ff_f): Likewise.
27820 (atan2_test_data): New variable.
27821 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27822 (copysign_test_data): New variable.
27823 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27824 (fdim_test_data): New variable.
27825 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27826 (fmax_test_data): New variable.
27827 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27828 (fmin_test_data): New variable.
27829 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27830 (fmod_test_data): New variable.
27831 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27832 (hypot_test_data): New variable.
27833 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27834 (nextafter_test_data): New variable.
27835 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27836 (nexttoward_test_data): New variable.
27837 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27838 (pow_test_data): New variable.
27839 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27840 (pow_tonearest_test_data): New variable.
27841 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27842 (pow_towardzero_test_data): New variable.
27843 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27844 (pow_downward_test_data): New variable.
27845 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27846 (pow_upward_test_data): New variable.
27847 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27848 (remainder_test_data): New variable.
27849 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27850 (scalb_test_data): New variable.
27851 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27852 * sysdeps/i386/fpu/libm-test-ulps: Update.
27853
74c57478
JM
278542013-05-11 Joseph Myers <joseph@codesourcery.com>
27855
8329e4da
JM
27856 * math/libm-test.inc (fma_test): Use max_value instead of local
27857 variable fltmax.
27858 (nextafter_test): Likewise.
27859
74c57478
JM
27860 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27861 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27862 (acos_downward_test_data): New variable.
27863 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27864 (acos_upward_test_data): New variable.
27865 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27866 (acosh_test_data): New variable.
27867 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27868 (asin_test_data): New variable.
27869 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27870 (asin_tonearest_test_data): New variable.
27871 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27872 (asin_towardzero_test_data): New variable.
27873 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27874 (asin_downward_test_data): New variable.
27875 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27876 (asin_upward_test_data): New variable.
27877 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27878 (asinh_test_data): New variable.
27879 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27880 (atan_test_data): New variable.
27881 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27882 (atanh_test_data): New variable.
27883 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27884 (cbrt_test_data): New variable.
27885 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27886 (ceil_test_data): New variable.
27887 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27888 (cos_test_data): New variable.
27889 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27890 (cos_tonearest_test_data): New variable.
27891 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27892 (cos_towardzero_test_data): New variable.
27893 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27894 (cos_downward_test_data): New variable.
27895 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27896 (cos_upward_test_data): New variable.
27897 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27898 (cosh_test_data): New variable.
27899 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27900 (cosh_tonearest_test_data): New variable.
27901 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27902 (cosh_towardzero_test_data): New variable.
27903 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27904 (cosh_downward_test_data): New variable.
27905 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27906 (cosh_upward_test_data): New variable.
27907 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27908 (erf_test_data): New variable.
27909 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27910 (erfc_test_data): New variable.
27911 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27912 (exp_test_data): New variable.
27913 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27914 (exp_tonearest_test_data): New variable.
27915 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27916 (exp_towardzero_test_data): New variable.
27917 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27918 (exp_downward_test_data): New variable.
27919 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27920 (exp_upward_test_data): New variable.
27921 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27922 (exp10_test_data): New variable.
27923 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27924 (exp2_test_data): New variable.
27925 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27926 (expm1_test_data): New variable.
27927 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27928 (fabs_test_data): New variable.
27929 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27930 (floor_test_data): New variable.
27931 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27932 (j0_test_data): New variable.
27933 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27934 (j1_test_data): New variable.
27935 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27936 (log_test_data): New variable.
27937 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27938 (log10_test_data): New variable.
27939 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27940 (log1p_test_data): New variable.
27941 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27942 (log2_test_data): New variable.
27943 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27944 (logb_test_data): New variable.
27945 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27946 (logb_downward_test_data): New variable.
27947 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27948 (nearbyint_test_data): New variable.
27949 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27950 (rint_test_data): New variable.
27951 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27952 (rint_tonearest_test_data): New variable.
27953 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27954 (rint_towardzero_test_data): New variable.
27955 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27956 (rint_downward_test_data): New variable.
27957 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27958 (rint_upward_test_data): New variable.
27959 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27960 (round_test_data): New variable.
27961 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27962 (sin_test_data): New variable.
27963 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27964 (sin_tonearest_test_data): New variable.
27965 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27966 (sin_towardzero_test_data): New variable.
27967 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27968 (sin_downward_test_data): New variable.
27969 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27970 (sin_upward_test_data): New variable.
27971 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27972 (sinh_test_data): New variable.
27973 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27974 (sinh_tonearest_test_data): New variable.
27975 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27976 (sinh_towardzero_test_data): New variable.
27977 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27978 (sinh_downward_test_data): New variable.
27979 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27980 (sinh_upward_test_data): New variable.
27981 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27982 (sqrt_test_data): New variable.
27983 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (tan_test_data): New variable.
27985 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27986 (tan_tonearest_test_data): New variable.
27987 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27988 (tan_towardzero_test_data): New variable.
27989 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27990 (tan_downward_test_data): New variable.
27991 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27992 (tan_upward_test_data): New variable.
27993 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27994 (tanh_test_data): New variable.
27995 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27996 (tgamma_test_data): New variable.
27997 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27998 (trunc_test_data): New variable.
27999 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28000 (y0_test_data): New variable.
28001 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28002 (y1_test_data): New variable.
28003 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28004 (significand_test_data): New variable.
28005 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28006
7187d844
CG
280072013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28008
28009 [BZ #12387]
28010 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28011
f63fae73
PT
280122013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28013
28014 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28015
8a67a4b3
AJ
280162013-05-10 Andreas Jaeger <aj@suse.de>
28017
28018 [BZ #15448]
28019 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28020 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28021
51df539d
JM
280222013-05-10 Joseph Myers <joseph@codesourcery.com>
28023
28024 * math/gen-libm-test.pl (adjust_arg): New function.
28025 (special_functions): Handle generating output in both functions
28026 and arrays.
28027 (parse_args): Likewise.
28028 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28029 $in_func argument to parse_args.
28030 * math/libm-test.inc (struct test_f_f_data): New type.
28031 (IF_ROUND_INIT_): New macro.
28032 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28033 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28034 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28035 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28036 (ROUND_RESTORE_): Likewise.
28037 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28038 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28039 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28040 (ROUND_RESTORE_FE_UPWARD): Likewise.
28041 (RUN_TEST_LOOP_f_f): New macro.
28042 (acos_test_data): New variable.
28043 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28044 (acos_tonearest_test_data): New variable.
28045 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28046
5c637fe5
SP
280472013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28048
28049 * benchtests/bench-skeleton.c (startup): Fix coding style.
28050
ab2b9461
JM
280512013-05-10 Joseph Myers <joseph@codesourcery.com>
28052
28053 [BZ #6809]
28054 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28055 negative infinity argument.
28056 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28057 negative infinity argument.
28058 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28059 negative infinity argument.
28060 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28061 domain errors.
28062
4c0fe6fe
FW
280632013-05-10 Florian Weimer <fweimer@redhat.com>
28064
28065 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28066 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28067 * iconv/iconv_prog.c (main): Likewise.
28068 * locale/programs/charmap-dir.c (charmap_readdir)
28069 (fopen_uncompressed): Likewise.
28070 * locale/programs/locfile.c (siblings_uncached)
28071 (write_locale_data): Use lstat64 instead of lstat.
28072 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28073 stat.
28074
a3375d29
AJ
280752013-05-10 Andreas Jaeger <aj@suse.de>
28076
28077 [BZ #15395]
28078 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28079 localization.
28080 Include <locale.h>.
28081
36129722
CD
280822013-05-09 Carlos O'Donell <carlos@redhat.com>
28083
28084 * elf/dl-close.c (_dl_close_worker): Add comments.
28085
faa7f811
JM
280862013-05-09 Joseph Myers <joseph@codesourcery.com>
28087
ed41ffef
JM
28088 [BZ #15359]
28089 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28090 high part of pi/2.
28091 (__ieee754_rem_pio2l): Update comments.
28092
d0213cd0
JM
28093 [BZ #15429]
28094 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28095 high part of pi/2.
28096 (__ieee754_rem_pio2l): Update comments.
28097
0d3e777a
JM
28098 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28099 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28100
24f56066
JM
28101 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28102 M_PI_4l.
28103
faa7f811
JM
28104 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28105 (M_PI_34_LOG10El): Likewise.
28106 (M_PI2_LOG10El): Likewise.
28107 (M_PI4_LOG10El): Likewise.
28108 (M_PI_LOG10El): Likewise.
28109
e9a5e0fd
AZ
281102013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28111
28112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28113
d8cd06db
JM
281142013-05-08 Joseph Myers <joseph@codesourcery.com>
28115
a0d9f9d7
JM
28116 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28117 (MINUS_ZERO_INIT): Likewise.
28118 (PLUS_INFTY_INIT): Likewise.
28119 (MINUS_INFTY_INIT): Likewise.
28120 (QNAN_VALUE_INIT): Likewise.
28121 (MAX_VALUE_INIT): Likewise.
28122 (MIN_VALUE_INIT): Likewise.
28123 (MIN_SUBNORM_VALUE_INIT): Likewise.
28124 (plus_zero): Initialize with PLUS_ZERO_INIT.
28125 (minus_zero): Initialize with MINUS_ZERO_INIT.
28126 (plus_infty): Initialize with PLUS_INFTY_INIT.
28127 (minus_infty): Initialize with MINUS_INFTY_INIT.
28128 (qnan_value): Initialize with QNAN_VALUE_INIT.
28129 (max_value): Initialize with MAX_VALUE_INIT.
28130 (min_value): Initialize with MIN_VALUE_INIT.
28131 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28132
ae08db3b
JM
28133 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28134 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28135 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28136 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28137
f44bf14a
JM
28138 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28139 (RUN_TEST_2_f): Likewise.
28140 (RUN_TEST_ff_f): Likewise.
28141 (RUN_TEST_fi_f): Likewise.
28142 (RUN_TEST_fl_f): Likewise.
28143 (RUN_TEST_fff_f): Likewise.
28144 (RUN_TEST_c_f): Likewise.
28145 (RUN_TEST_f_f1): Likewise.
28146 (RUN_TEST_fF_f1): Likewise.
28147 (RUN_TEST_fI_f1): Likewise.
28148 (RUN_TEST_ffI_f1): Likewise.
28149 (RUN_TEST_c_c): Likewise.
28150 (RUN_TEST_cc_c): Likewise.
28151 (RUN_TEST_f_i): Likewise.
28152 (RUN_TEST_f_i_tg): Likewise.
28153 (RUN_TEST_ff_i_tg): Likewise.
28154 (RUN_TEST_f_b): Likewise.
28155 (RUN_TEST_f_b_tg): Likewise.
28156 (RUN_TEST_f_l): Likewise.
28157 (RUN_TEST_f_L): Likewise.
28158 (RUN_TEST_sincos): Likewise.
28159 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28160 whether to show exceptions. Do not include ");\n" in return
28161 value.
28162 (special_functions): Output call to RUN_TEST_sincos instead of
28163 check_float calls. Update calls to new_test.
28164 (parse_args): Output call to single RUN_TEST_* macro instead of
28165 check_* calls and other assignments. Update calls to new_test.
28166
d8cd06db
JM
28167 [BZ #2546]
28168 [BZ #2560]
28169 [BZ #5159]
28170 [BZ #15426]
28171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28172 input to result for tgamma overflow.
28173 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28174 (gamma_coeff): New variable.
28175 (NCOEFF): New macro.
28176 (gamma_positive): New function.
28177 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28178 underflow here. Use gamma_positive instead of exp (lgamma) for
28179 other arguments.
28180 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28181 (gamma_coeff): New variable.
28182 (NCOEFF): New macro.
28183 (gammaf_positive): New function.
28184 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28185 underflow here. Use gamma_positive instead of exp (lgamma) for
28186 other arguments.
28187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28188 (gamma_coeff): New variable.
28189 (NCOEFF): New macro.
28190 (gammal_positive): New function.
28191 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28192 underflow here. Use gamma_positive instead of exp (lgamma) for
28193 other arguments.
28194 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28195 (gamma_coeff): New variable.
28196 (NCOEFF): New macro.
28197 (gammal_positive): New function.
28198 (__ieee754_gammal_r): Handle positive infinity, overflow and
28199 underflow here. Handle NaN the same as positive infinity. Remove
28200 check x < 0xffffffff for negative integers. Use gamma_positive
28201 instead of exp (lgamma) for other arguments.
28202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28203 (gamma_coeff): New variable.
28204 (NCOEFF): New macro.
28205 (gammal_positive): New function.
28206 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28207 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28208 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28209 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28210 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28211 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28212 * sysdeps/generic/math_private.h (__gamma_productf): New
28213 prototype.
28214 (__gamma_product): Likewise.
28215 (__gamma_productl): Likewise.
28216 * math/Makefile (libm-calls): Add gamma_product.
28217 * math/libm-test.inc (tgamma_test): Add more tests.
28218 * sysdeps/i386/fpu/libm-test-ulps: Update.
28219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28220
bb7cf681
OB
282212013-05-08 Ondřej Bílka <neleai@seznam.cz>
28222
28223 * benchtests/bench-skeleton.c (main): Preheat CPU.
28224
ba853947
AJ
282252013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28226
28227 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28228
8347c74c
RM
282292013-05-07 Roland McGrath <roland@hack.frob.com>
28230
28231 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28232 and _dl_skip_args_internal.
28233
e8dd4791
CD
282342013-05-07 Carlos O'Donell <carlos@redhat.com>
28235
28236 * manual/message.texi (Message Translation): Talk about users.
28237 Message to key mapping impacts design.
28238
c7405830
RM
282392013-05-06 Roland McGrath <roland@hack.frob.com>
28240
a9173057
RM
28241 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28242
976e2f03
RM
28243 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28244
9723ffc5
RM
28245 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28246 * sysdeps/wordsize-64/glob64.c: ... here.
28247
962e6658
RM
28248 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28249 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28250 New macros.
28251
ee586a6d
RM
28252 * debug/getlogin_r_chk.c: Moved to ...
28253 * login/getlogin_r_chk.c: ... here.
28254 * debug/Makefile (routines): Move getlogin_r_chk to ...
28255 * login/Makefile (routines): ... here.
28256 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28257 * login/Versions (libc: GLIBC_2.4): ... here.
28258
355f9165
RM
28259 * io/poll.c (__poll): Renamed from poll.
28260 Add libc_hidden_def.
28261 (poll): Define as weak alias.
28262
bd9ffde6
RM
28263 * debug/ptsname_r_chk.c: Moved to ...
28264 * login/ptsname_r_chk.c: ... here.
28265 * debug/Makefile (routines): Move ptsname_r_chk to ...
28266 * login/Makefile (routines): ... here.
28267 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28268 * login/Versions (libc: GLIBC_2.4): ... here.
28269
8fb16a04
RM
28270 * posix/getlogin.c: Moved to ...
28271 * login/getlogin.c: ... here.
28272 * posix/getlogin_r.c: Moved to ...
28273 * login/getlogin_r.c: ... here.
28274 * posix/getlogin_r.c: Moved to ...
28275 * login/getlogin_r.c: ... here.
28276 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28277 * login/Makefile (routines): ... here.
28278 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28279 * login/Versions (libc: GLIBC_2.0): ... here.
28280
b99b892f
RM
28281 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28282 (setrlimit): Define as weak alias.
28283
c7405830
RM
28284 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28285 Call __ names for open, ftruncate, and close.
28286 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28287 (truncate): Define as weak alias.
28288
5bf96de5
JM
282892013-05-06 Joseph Myers <joseph@codesourcery.com>
28290
9ea3513c
JM
28291 * math/gen-libm-test.pl (parse_args): Initialize x before each
28292 test of frexp, modf and remquo.
28293
5bf96de5
JM
28294 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28295 test signgam value.
28296
16e616a7
AZ
282972013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28298
28299 [BZ #15418]
28300 [BZ #15419]
28301 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28302 internal tests.
28303 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28304
d5e82754
RM
283052013-05-06 Roland McGrath <roland@hack.frob.com>
28306
28307 * elf/dl-writev.h: New file.
28308 * elf/dl-misc.c: Include it.
28309 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28310 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28311
a7548d41
JM
283122013-05-04 Joseph Myers <joseph@codesourcery.com>
28313
b7dab1e4
JM
28314 * math/libm-test.inc (noXFails): Remove variable.
28315 (noXPasses): Likewise.
28316 (BUILD_COMPLEX_INT): Remove macro.
28317 (print_screen): Remove xfail argument.
28318 (print_screen_max_error): Likewise.
28319 (update_stats): Likewise.
28320 (print_max_error): Likewise. Update calls to other affected
28321 functions.
28322 (print_complex_max_error): Likewise.
28323 (test_single_exception): Update calls to print_screen.
28324 (test_single_errno): Likewise.
28325 (check_float_internal): Remove xfail argument. Update calls to
28326 other affected functions.
28327 (check_float): Likewise.
28328 (check_complex): Likewise.
28329 (check_int): Likewise.
28330 (check_long): Likewise.
28331 (check_bool): Likewise.
28332 (check_longlong): Likewise.
28333 (main): Don't print noXFails and noXPasses.
28334 * math/gen-libm-test.pl (top level): Don't mention expected
28335 failure handling in comment.
28336 (new_test): Don't handle expected failures.
28337 (parse_args): Don't mention expected failure handling in comment.
28338 (generate_testfile): Don't handle expected failures.
28339 (parse_ulps): Likewise.
28340 (print_ulps_file): Likewise.
28341 (get_failure): Remove function.
28342 (output_test): Don't handle expected failures.
28343 * make/README.libm-test: Don't mention expected failure handling.
28344
a7548d41
JM
28345 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28346 (minus_zero): Likewise.
28347 (plus_infty): Likewise.
28348 (minus_infty): Likewise.
28349 (qnan_value): Likewise.
28350 (max_value): Likewise.
28351 (min_value): Likewise.
28352 (min_subnorm_value): Likewise.
28353 (initialize): Do not initialize those variables dynamically.
28354
60bfd54c
RM
283552013-05-03 Roland McGrath <roland@hack.frob.com>
28356
cc0e6ed8
RM
28357 * io/open.c (__open_2): Moved to ...
28358 * io/open_2.c: ... this new file.
28359 * io/open64.c (__open64_2): Moved to ...
28360 * io/open64_2.c: ... this new file.
28361 * io/openat.c (__openat_2): Moved to ...
28362 * io/openat_2.c: ... this new file.
28363 * io/openat64.c (__openat64_2): Moved to ...
28364 * io/openat64_2.c: ... this new file.
28365 * io/Makefile (routines): Add them.
28366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28367 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28368 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28369 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28370 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28371 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28372 (__openat64): Add hidden_ver.
28373 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28374 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28375
60bfd54c
RM
28376 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28377 Separately conditionalize setting of GLRO(dl_sysinfo) so
28378 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28379 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28380
83e7640f
AZ
283812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28382
28383 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28384 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28385 definition.
28386 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28387 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28388 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28389 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28390 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28391
d5dc2af3
JM
283922013-05-03 Joseph Myers <joseph@codesourcery.com>
28393
c31a5b1e
JM
28394 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28395 test signgam value.
28396
d5dc2af3
JM
28397 * math/libm-test.inc (hypot_test): Do not use
28398 IGNORE_ZERO_INF_SIGN.
28399
164fd39d
AJ
284002013-05-03 Andreas Jaeger <aj@suse.de>
28401
28402 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28403 Linux 3.9.
28404 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28405 (PF_MAX): Adjust for VSOCK change.
28406
8237f48c
AZ
284072013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28408
28409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28410
9df02941
CD
284112013-05-02 Carlos O'Donell <carlos@redhat.com>
28412
28413 [BZ #15264]
28414 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28415 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28416 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28417
d422395e
DM
284182013-05-02 David S. Miller <davem@davemloft.net>
28419
28420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28421
a07c5731
OB
284222013-05-01 Ondřej Bílka <neleai@seznam.cz>
28423
28424 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28425
1324e37f
RM
284262013-05-01 Roland McGrath <roland@hack.frob.com>
28427
28428 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28429
0695940b
RS
284302013-05-01 Richard Smith <richard@metafoo.co.uk>
28431
bb5f27ad 28432 [BZ #14952]
0695940b
RS
28433 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28434 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28435 Use __attribute__ ((__gnu_inline__)).
28436 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28437 Don't use __attribute__ ((__gnu_inline__)).
28438
10de07f5
JM
284392013-05-01 Joseph Myers <joseph@codesourcery.com>
28440
28441 [BZ #15423]
28442 * math/s_catan.c (__catan): Handle small real or imaginary part of
28443 input specially to avoid spurious underflow.
28444 * math/s_catanf.c (__catanf): Likewise.
28445 * math/s_catanh.c (__catanh): Likewise.
28446 * math/s_catanhf.c (__catanhf): Likewise.
28447 * math/s_catanhl.c (__catanhl): Likewise.
28448 * math/s_catanl.c (__catanl): Likewise.
28449 * math/libm-test.inc (catan_test): Add more tests.
28450 (catanh_test): Likewise.
28451 * sysdeps/i386/fpu/libm-test-ulps: Update.
28452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28453
cb4d5414
AZ
284542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28455
28456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28457
caf84319
JM
284582013-04-30 Joseph Myers <joseph@codesourcery.com>
28459
28460 [BZ #15416]
28461 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28462 accurately for denominator in atan2.
28463 * math/s_catanf.c (__catanf): Likewise.
28464 * math/s_catanh.c (__catanh): Likewise.
28465 * math/s_catanhf.c (__catanhf): Likewise.
28466 * math/s_catanhl.c (__catanhl): Likewise.
28467 * math/s_catanl.c (__catanl): Likewise.
28468 * math/libm-test.inc (catan_test): Add more tests.
28469 (catanh_test): Likewise.
28470 * sysdeps/i386/fpu/libm-test-ulps: Update.
28471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28472
d569c6ee
SP
284732013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28474
6dbe713d
SP
28475 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28476
f0ee064b
SP
28477 * benchtests/Makefile (bench): Remove slow benchmarks.
28478 * benchtests/atan-inputs: Add slow benchmark inputs.
28479 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28480 (BENCH_FUNC): Accept variant offset.
28481 (VARIANT): Define.
28482 * benchtests/bench-skeleton.c (main): Run benchmark for each
28483 variant.
28484 * benchtests/cos-inputs: Add slow benchmark inputs.
28485 * benchtests/exp-inputs: Likewise.
28486 * benchtests/pow-inputs: Likewise.
28487 * benchtests/sin-inputs: Likewise.
28488 * benchtests/slowatan-inputs: Remove.
28489 * benchtests/slowatan.c: Remove.
28490 * benchtests/slowcos-inputs: Remove.
28491 * benchtests/slowcos.c: Remove.
28492 * benchtests/slowexp-inputs: Remove.
28493 * benchtests/slowexp.c: Remove.
28494 * benchtests/slowpow-inputs: Remove.
28495 * benchtests/slowpow.c: Remove.
28496 * benchtests/slowsin-inputs: Remove.
28497 * benchtests/slowsin.c: Remove.
28498 * benchtests/slowtan-inputs: Remove.
28499 * benchtests/slowtan.c: Remove.
28500 * benchtests/tan-inputs: Add slow benchmark inputs.
28501 * scripts/bench.pl: Parse comments and directives.
28502
d569c6ee
SP
28503 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28504 in CPPFLAGS.
28505 ($(objpfx)bench-%.c): Remove *-ITER.
28506 * benchtests/bench-modf.c: Remove definition of ITER.
28507 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28508 (main): Loop for DURATION seconds instead of fixed number of
28509 iterations.
28510 * scripts/bench.pl: Don't expect iterations in parameters.
28511
a6a242fe
RM
285122013-04-29 Roland McGrath <roland@hack.frob.com>
28513
28514 * io/fchdir.c (__fchdir): Renamed from fchdir.
28515 (fchdir): Define as weak alias.
28516
f2da7793
JM
285172013-04-29 Joseph Myers <joseph@codesourcery.com>
28518
28519 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28520 (ERRNO_EDOM): Likewise.
28521 (ERRNO_ERANGE): Likewise.
28522 (noErrnoTests): New variable.
28523 (init_max_error): Set errno to 0.
28524 (test_single_errno): New function.
28525 (test_errno): Likewise.
28526 (check_float_internal): Call test_errno. Set errno to 0.
28527 (check_complex): Refer to errno tests in comment.
28528 (check_int): Call test_errno. Set errno to 0.
28529 (check_long): Likewise.
28530 (check_bool): Likewise.
28531 (check_longlong): Likewise.
28532 (cos_test): Use ERRNO_* flags for errno tests instead of
28533 check_int.
28534 (expm1_test): Likewise.
28535 (fmod_test): Likewise.
28536 (ilogb_test): Likewise.
28537 (lgamma_test): Likewise.
28538 (pow_test): Likewise.
28539 (remainder_test): Likewise.
28540 (sin_test): Likewise.
28541 (tan_test): Likewise.
28542 (yn_test): Likewise.
28543 (initialize): Set errno to 0.
28544 (main): Print number of errno tests.
28545 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28546
b1a36ceb
AJ
285472013-04-29 Andreas Jaeger <aj@suse.de>
28548
c3ed8088
AJ
28549 [BZ #15084]
28550 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28551 and RES_USEVC.
28552
f1a24198
AJ
28553 [BZ #15085]
28554 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28555 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28556 unimplemented.
28557
9ce3b2cb
AJ
28558 [BZ #15380]
28559 * stdlib/random.c (__initstate): Return NULL if
28560 __initstate fails.
28561
f1a24198 28562 [BZ #15086]
b1a36ceb
AJ
28563 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28564 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28565 RES_SNGLKUPREOP.
28566
7e7b6f36
AZ
285672013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28568
28569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28570
4d14f449
JM
285712013-04-29 Joseph Myers <joseph@codesourcery.com>
28572
28573 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28574 of individual tests.
28575 (casin_test): Likewise.
28576 (casinh_test): Likewise.
28577
5b4217d7
JM
285782013-04-27 Joseph Myers <joseph@codesourcery.com>
28579
28580 [BZ #15409]
28581 * math/s_catan.c (__catan): Handle arguments with large real or
28582 imaginary part separately without squaring.
28583 * math/s_catanf.c (__catanf): Likewise.
28584 * math/s_catanh.c (__catanh): Likewise.
28585 * math/s_catanhf.c (__catanhf): Likewise.
28586 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28587 and redefine.
28588 (__catanhl): Handle arguments with large real or imaginary part
28589 separately without squaring.
28590 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28591 and redefine.
28592 (__catanl): Handle arguments with large real or imaginary part
28593 separately without squaring.
28594 * math/libm-test.inc (catan_test): Add more tests.
28595 (catanh_test): Likewise.
28596 * sysdeps/i386/fpu/libm-test-ulps: Update.
28597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28598
4220c3ef
AJ
285992013-04-27 Andreas Jaeger <aj@suse.de>
28600
28601 [BZ #15007]
28602 * stdlib/stdlib.h: Update guards for qecvt.
28603 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28604 <stdlib.h>.
28605
4721b2d1
AM
286062013-04-27 Allan McRae <allan@archlinux.org>
28607
28608 * sysdeps/i386/fpu/libm-test-ulps: Update.
28609
f0302940
JM
286102013-04-26 Joseph Myers <joseph@codesourcery.com>
28611
9457fd95
JM
28612 [BZ #15406]
28613 * math/s_catan.c: Include <float.h>.
28614 (__catan): Ensure underflow exception occurs for underflowed
28615 result.
28616 * math/s_catanf.c: Include <float.h>.
28617 (__catanf): Ensure underflow exception occurs for underflowed
28618 result.
28619 * math/s_catanh.c: Include <float.h>.
28620 (__catanh): Ensure underflow exception occurs for underflowed
28621 result.
28622 * math/s_catanhf.c: Include <float.h>.
28623 (__catanhf): Ensure underflow exception occurs for underflowed
28624 result.
28625 * math/s_catanhl.c: Include <float.h>.
28626 (__catanhl): Ensure underflow exception occurs for underflowed
28627 result.
28628 * math/s_catanl.c: Include <float.h>.
28629 (__catanl): Ensure underflow exception occurs for underflowed
28630 result.
28631 * math/libm-test.inc (catan_test): Add more tests.
28632 (catanh_test): Likewise.
28633
f0302940
JM
28634 [BZ #15405]
28635 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28636 underflowed result.
28637 * math/s_ccoshf.c (__ccoshf): Likewise.
28638 * math/s_ccoshl.c (__ccoshl): Likewise.
28639 * math/s_csin.c (__csin): Likewise.
28640 * math/s_csinf.c (__csinf): Likewise.
28641 * math/s_csinh.c (__csinh): Likewise.
28642 * math/s_csinhf.c (__csinhf): Likewise.
28643 * math/s_csinhl.c (__csinhl): Likewise.
28644 * math/s_csinl.c (__csinl): Likewise.
28645 * math/libm-test.inc (ccos_test): Add more tests.
28646 (ccosh_test): Likewise.
28647 (csin_test): Likewise.
28648 (csinh_test): Likewise.
28649
aa630f59
AZ
286502013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28651
28652 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28653 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28654 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28655 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28656 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28657 powerpc/power5+/fpu folders.
28658 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28659
28660
1b835983
MT
286612013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28662
28663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28664
73709b26
JM
286652013-04-25 Joseph Myers <joseph@codesourcery.com>
28666
28667 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28668 additions to variable.
28669 [$(config-machine) = x86_64] (modules-names): Likewise.
28670 ($(objpfx)tst-audit3): Remove dependency.
28671 ($(objpfx)tst-audit3.out): Likewise.
28672 ($(objpfx)tst-audit4): Likewise.
28673 ($(objpfx)tst-audit4.out): Likewise.
28674 ($(objpfx)tst-audit5): Likewise.
28675 ($(objpfx)tst-audit5.out): Likewise.
28676 ($(objpfx)tst-audit6): Likewise.
28677 ($(objpfx)tst-audit6.out): Likewise.
28678 ($(objpfx)tst-audit7): Likewise.
28679 ($(objpfx)tst-audit7.out): Likewise.
28680 (tst-audit3-ENV): Remove variable.
28681 (tst-audit4-ENV): Likewise.
28682 (tst-audit5-ENV): Likewise.
28683 (tst-audit6-ENV): Likewise.
28684 (tst-audit7-ENV): Likewise.
28685 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28686 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28687 addition to variable.
28688 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28689 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28690 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28691 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28692 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28693 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28694 tst-audit3, tst-audit4 and tst-audit5.
28695 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28696 tst-audit6 and tst-audit7.
28697 [$(subdir) = elf] (modules-names): Add audit modules for those
28698 tests.
28699 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28700 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28701 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28702 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28703 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28704 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28705 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28706 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28707 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28708 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28709 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28710 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28711 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28712 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28713 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28714 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28715 Likewise.
28716 [$(subdir) = elf && $(config-cflags-avx) = yes]
28717 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28718 [$(subdir) = elf && $(config-cflags-avx) = yes]
28719 (CFLAGS-tst-auditmod4a.c): Likewise.
28720 [$(subdir) = elf && $(config-cflags-avx) = yes]
28721 (CFLAGS-tst-auditmod4b.c): Likewise.
28722 [$(subdir) = elf && $(config-cflags-avx) = yes]
28723 (CFLAGS-tst-auditmod6b.c): Likewise.
28724 [$(subdir) = elf && $(config-cflags-avx) = yes]
28725 (CFLAGS-tst-auditmod6c.c): Likewise.
28726 [$(subdir) = elf && $(config-cflags-avx) = yes]
28727 (CFLAGS-tst-auditmod7b.c): Likewise.
28728 * elf/tst-audit3.c: Move to ...
28729 * sysdeps/x86_64/tst-audit3.c: ... here.
28730 * elf/tst-audit4.c: Move to ...
28731 * sysdeps/x86_64/tst-audit4.c: ... here.
28732 * elf/tst-audit5.c: Move to ...
28733 * sysdeps/x86_64/tst-audit5.c: ... here.
28734 * elf/tst-audit6.c: Move to ...
28735 * sysdeps/x86_64/tst-audit6.c: ... here.
28736 * elf/tst-audit7.c: Move to ...
28737 * sysdeps/x86_64/tst-audit7.c: ... here.
28738 * elf/tst-auditmod3a.c: Move to ...
28739 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28740 * elf/tst-auditmod3b.c: Move to ...
28741 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28742 * elf/tst-auditmod4a.c: Move to ...
28743 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28744 * elf/tst-auditmod4b.c: Move to ...
28745 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28746 * elf/tst-auditmod5a.c: Move to ...
28747 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28748 * elf/tst-auditmod5b.c: Move to ...
28749 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28750 * elf/tst-auditmod6a.c: Move to ...
28751 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28752 * elf/tst-auditmod6b.c: Move to ...
28753 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28754 * elf/tst-auditmod6c.c: Move to ...
28755 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28756 * elf/tst-auditmod7a.c: Move to ...
28757 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28758 * elf/tst-auditmod7b.c: Move to ...
28759 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28760
1ef74943
PP
287612013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28762
28763 [BZ #15366]
28764 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28765 define unconditionally.
28766 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28767 define unconditionally.
28768 (INT8_C, INT16_C, etc.): Likewise.
28769
93fd48c5
MR
287702013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28771
ae9552cf
MR
28772 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28773 __ehdr_start with hidden visibility.
28774
93fd48c5
MR
28775 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28776
418601aa
CD
287772013-04-24 Carlos O'Donell <carlos@redhat.com>
28778
28779 * math/libm-test.inc (cos_test): Use accurate hex constants.
28780 (sincost_test): Likewise.
28781
2f38fbfe
JM
287822013-04-24 Joseph Myers <joseph@codesourcery.com>
28783
5e221800
JM
28784 * math/libm-test.inc (catan_test): Add more tests.
28785 (catanh_test): Likewise.
28786
77f143fd
JM
28787 * math/s_catanf.c (__catanf): Use suffixed floating-point
28788 constants.
28789 * math/s_catanhf.c (__catanhf): Likewise.
28790 * math/s_catanhl.c (__catanhl): Likewise.
28791 * math/s_catanl.c (__catanl): Likewise.
28792
2f38fbfe
JM
28793 [BZ #15394]
28794 * math/s_catan.c (__catan): Calculate imaginary part of result
28795 with log1p not log unless computing log of number close to 0.
28796 * math/s_catanf.c (__catanf): Likewise.
28797 * math/s_catanl.c (__catanl): Likewise.
28798 * math/s_catanh.c (__catanh): Calculate real part of result with
28799 log1p not log unless computing log of number close to 0.
28800 * math/s_catanhf.c (__catanhf): Likewise.
28801 * math/s_catanhl.c (__catanhl): Likewise.
28802 * math/libm-test.inc (catan_test): Add more tests.
28803 (catanh_test): Likewise.
28804 * sysdeps/i386/fpu/libm-test-ulps: Update.
28805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28806
45d69176
SP
288072013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28808
28809 * benchtests/Makefile: Mention files in which fast and slow
28810 paths of math functions are implemented.
28811
87f51853
RM
288122013-04-23 Roland McGrath <roland@hack.frob.com>
28813
28814 * sysdeps/posix/timespec_get.c: New file.
28815
3c026539
AZ
288162013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28817
28818 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28819 POWER.
28820 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28821 for POWER.
28822 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28823 powerpc/power5/fpu folders.
28824 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28825 * benchtests/Makefile: Add modf testcase.
28826 * benchtests/bench-modf.c: New file: Benchmark test for mo
28827
ff491d14
SP
288282013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28829
28830 [BZ #14888]
28831 * time/Makefile (tests): Add tst-strptime-whitespace.
28832 * time/strptime_l.c (get_number): Use ISSPACE.
28833 (__strptime_internal): Likewise.
28834 * time/tst-strptime-whitespace.c: New test case.
28835
7ed3f4e8
AS
288362013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28837
28838 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28839 member.
28840 (_nss_files_init): Set it here.
28841
5c95f7b6
HC
288422013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28843
28844 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28845 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28846 unsigned.
28847
d34c9158
JBG
288482013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28849
28850 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28851
2169712d
SP
288522013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28853
28854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28855 size just once.
28856
29c5de99
DM
288572013-04-21 David S. Miller <davem@davemloft.net>
28858
28859 * po/ru.po: Update Russion translation from translation project.
28860
ccdad15d
AC
288612013-04-17 Adam Conrad <adconrad@0c3.net>
28862
28863 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28864 and setfsgid.
28865
0f122b8d
CD
288662013-04-17 Carlos O'Donell <carlos@redhat.com>
28867
5c5b07da 28868 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28869 * configure: Regenerate.
5c5b07da 28870 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28871 Add example to error message.
28872 * sysdeps/i386/configure: Regenerate.
28873
037714dd
SP
288742013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28875
28876 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28877 slowtan.
28878 * benchtests/cos-inputs: New file.
28879 * benchtests/slowcos-inputs: New file.
28880 * benchtests/slowcos.c: New file.
28881 * benchtests/slowtan-inputs: New file.
28882 * benchtests/slowtan.c: New file.
28883 * benchtests/tan-inputs: New file.
28884
e913141d
RM
288852013-04-16 Roland McGrath <roland@hack.frob.com>
28886
28887 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28888 considered kosher.
28889
a2964074
SP
288902013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28891
4856bcd2
SP
28892 * benchtests/Makefile: Include cppflags-iterator.mk to add
28893 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28894
a2964074
SP
28895 * Makefile.in (bench-clean): New target.
28896 * benchtests/Makefile (bench-clean): Likewise.
28897
9fbf9aca
DH
288982013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28899
28900 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28901
207d1e2a
TS
289022013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28903
28904 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28905
306dfba9
AS
289062013-04-15 Andreas Schwab <schwab@suse.de>
28907
28908 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28910 * nscd/pwdcache.c (cache_addpw): Likewise.
28911 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28912 more than recsize.
28913
206a6699
SP
289142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28915
28916 * benchtests/Makefile (bench): Write all output to
28917 bench-out.tmp together.
28918
0582f6b3
AS
289192013-04-15 Andreas Schwab <schwab@suse.de>
28920
28921 * nscd/nscd.c (main): Don't fork again after closing files.
28922
acb4325f
SP
289232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28924
5cb26d0a
SP
28925 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28926
acb4325f
SP
28927 * benchtests/Rules (bench-deps): Collect dependencies into a
28928 single variable. Add Makefile to dependencies.
28929 ($(objpfx)bench-%.c): Depend on bench-deps.
28930
47792506
RM
289312013-04-12 Roland McGrath <roland@hack.frob.com>
28932 Xavier Roche <roche+kml2@exalead.com>
28933
28934 [BZ #15361]
28935 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28936 just that it's a file descriptor.
28937 * manual/llio.texi (Synchronizing AIO Operations): Update description
28938 for EBADF error from aio_fsync.
28939
8fc1bee5
SP
289402013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28941
28942 * Rules (bench): Move target definition...
28943 * benchtests/Makefile: ... here.
28944
aba5e333
CD
289452013-04-11 Carlos O'Donell <carlos@redhat.com>
28946
28947 * math/libm-test.inc (cos_test): Fix PI/2 test.
28948 (sincos_test): Likewise.
28949 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28950 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28951
273cdee8
AS
289522013-04-11 Andreas Schwab <schwab@suse.de>
28953
6ecec3b6
AS
28954 [BZ #13988]
28955 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28956 accept exponent character only when digits were seen.
28957 * stdio-common/Makefile (tests): Add bug26.
28958 * stdio-common/bug26.c: New file.
28959
273cdee8
AS
28960 [BZ #14293]
28961 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28962 non-freeable.
28963
8da491f5
SP
289642013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28965
01dc6df9
SP
28966 * Makeconfig (rtld-prefix): Define built linker prefix.
28967 * Rules (run-bench): Use it.
28968 * math/Makefile (run-regen-ulps): Likewise.
28969
8da491f5
SP
28970 * Rules (bench): Remove eval.
28971
abe7f530
SP
289722013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28973 Roland McGrath <roland@hack.frob.com>
28974 Ondrej Bilka <neleai@seznam.cz>
28975
28976 [BZ #15346]
28977 * time/getdate.c: Include ctype.h and alloca.h.
28978 (__getdate_r): Trim leading and trailing spaces of input.
28979 * time/tst-getdate.c (tests): Add tests with leading and
28980 trailing spaces.
28981
61c23e62
RM
289822013-04-08 Roland McGrath <roland@hack.frob.com>
28983
28984 [BZ #14280]
28985 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28986 when computing value.
28987
7208a313
CD
289882013-04-06 Carlos O'Donell <carlos@redhat.com>
28989
085b2d41
CD
28990 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28991 Use testrun.sh to run libm tests.
28992
7208a313
CD
28993 [BZ #15309]
28994 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28995
872c0acd
MM
289962013-04-06 Marko Myllynen <myllynen@redhat.com>
28997
28998 [BZ #15264]
28999 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29000
26510bdd
CD
290012013-04-06 Carlos O'Donell <carlos@redhat.com>
29002
29003 * Makefile.in (regen-ulps): New target.
29004 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29005 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29006 [ifneq (no,$(PERL)] (regen-ulps): New target.
29007 [ifeq (no,$(PERL)] (regen-ulps): New target.
29008 * math/libm-test.inc (ulps_file_name): Define.
29009 (output_dir): New variable.
29010 (options): Add "output-dir" option.
29011 (parse_opt): Handle 'o' case.
29012 (main): If output_dir is non-NULL use it as a prefix
29013 otherwise use "".
29014 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29015
a01f19c8
CD
290162013-04-06 Carlos O'Donell <carlos@redhat.com>
29017
29018 [BZ #10060, #10062]
29019 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29020 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29021 fail configure if __sync_val_compare_and_swap is not inlined.
29022 * sysdeps/i386/configure: Regenerate.
29023 * configure.in: Build for i686 when configured for i386.
29024 * configure: Regenerate.
29025 * README: Remove i386 reference.
29026
b7a329a5
CD
290272013-04-06 Carlos O'Donell <carlos@redhat.com>
29028
29029 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29031
bf0f50df
TS
290322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29033
ee091edf
TS
29034 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29035 (lmsnanval): New variables.
29036 (F): Add conversion tests.
29037 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29038 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29039
a8b792d6
TS
29040 * stdio-common/tstdiomisc.c (F): Properly collect individual
29041 tests' results.
29042
a1cbf437
TS
29043 [BZ #14686, #15336]
29044 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29045 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29046 Instead, use input NaN values or generate a qNaN by arithmetic
29047 operation. Also fix bugs to comply with the standard.
29048 * math/libm-test.inc (remainder_test): Add more tests.
29049
8b43a0c9
TS
29050 [BZ #15335, #15342]
29051 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29052 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29053 input NaN values or generate a qNaN by arithmetic operation.
29054
d91da4ce
TS
29055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29056 unreachable code.
29057
bf0f50df
TS
29058 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29059 definitions.
29060
05e166c8
JM
290612013-04-03 Joseph Myers <joseph@codesourcery.com>
29062
29063 [BZ #14478]
29064 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29065 underflowed result.
29066 * math/s_cexpf.c (__cexpf): Likewise.
29067 * math/s_cexpl.c (__cexpl): Likewise.
29068 * math/libm-test.inc (cexp_test): Add more tests.
29069
1cef1b19
AS
290702013-04-03 Andreas Schwab <schwab@suse.de>
29071
29072 [BZ #15330]
29073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29074 order arrays from heap if bigger than alloca cutoff.
29075
74d87055
TS
290762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29077
29078 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29079 (SNAN_TESTS_double): Refer to GCC PR56831.
29080 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29081 GCC PR56828.
29082
d755bba4
SP
290832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29084
90d5d5bb
SP
29085 * Rules (bench): Move bench.out after the run is complete.
29086
73e0cd5d
SP
29087 * Rules (bench): Echo currently running benchmark.
29088
64aabd4b
SP
29089 * benchtests/Makefile (bench): Add atan and slowatan.
29090 * benchtests/atan-inputs: New file.
29091 * benchtests/slowatan-inputs: New file.
29092 * benchtests/slowatan.c: New file.
29093
c871eccd
SP
29094 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29096 its value.
29097
d755bba4
SP
29098 [BZ #15305]
29099 * sysdeps/unix/sysv/linux/kernel-features.h
29100 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29101 __ASSUME_XFS_RESTRICTED_CHOWN.
29102 * sysdeps/unix/sysv/linux/pathconf.c
29103 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29104 Save and restore errno.
29105
52ce4860
JM
291062013-04-02 Joseph Myers <joseph@codesourcery.com>
29107
29108 [BZ #15327]
29109 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29110 arguments using __kernel_casinh.
29111 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29112 arguments using __kernel_casinhf.
29113 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29114 arguments using __kernel_casinhl.
29115 * math/libm-test.inc (cacosh_test): Add more tests.
29116 * sysdeps/i386/fpu/libm-test-ulps: Update.
29117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29118
81f311c2
SP
291192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29120
e7906a47
SP
29121 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29123
92e3664b
SP
29124 * bench/Makefile (bench): Add sin and slowsin.
29125 * benchtests/sin-inputs: New file.
29126 * benchtests/slowsin-inputs: New file.
29127 * benchtests/slowsin.c: New file.
29128
81f311c2
SP
29129 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29130 (bench): Add slowexp and slowpow.
29131 (exp-ITER): Increase iterations.
29132 (pow-ITER): Likewise.
29133 * benchtests/exp-inputs: Change input.
29134 * benchtests/pow-inputs: Likewise.
29135 * benchtests/slowexp-inputs: New file.
29136 * benchtests/slowexp.c: New file.
29137 * benchtests/slowpow-inputs: New file.
29138 * benchtests/slowpow.c: New file.
29139
ab0f1aa9
AZ
291402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29141
29142 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29143 instructions.
29144 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29145 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29146 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29147 * benchtests/Makefile: Add rint benchtest.
29148 * benchtests/rint-inputs: Input for rint benchtest.
29149
57267616
TS
291502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29151
29152 * Versions.def (libm): Add GLIBC_2.18.
29153 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29154 hidden libm prototypes.
29155 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29156 * math/Makefile (libm-calls): Add s_issignaling.
29157 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29158 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29159 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29160 declaration.
29161 * math/math.h [__USE_GNU] (issignaling): New macro.
29162 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29163 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29165 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29168 * manual/arith.texi (issignaling): New section.
29169 * manual/libm-err-tab.pl (@all_functions): Update comment.
29170 * math/gen-libm-test.pl (parse_args): Apply special handling for
29171 issignaling.
29172 * math/libm-test.inc (print_float, issignaling_test): New
29173 functions.
29174 (check_float_internal): Add issignaling checks.
29175 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29176 default definition.
29177 * sysdeps/powerpc/math-tests.h: New file.
29178 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29179 tests.
29180 * math/test-snan.c (TEST_FUNC): Likewise.
29181
6142896d
DM
291822013-03-30 David S. Miller <davem@davemloft.net>
29183
29184 * po/de.po: Update from translation team.
29185
ccc8cadf
JM
291862013-03-30 Joseph Myers <joseph@codesourcery.com>
29187
29188 [BZ #10357]
29189 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29190 imaginary part less than 1.0 and real part less than 0.5
29191 specially.
29192 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29193 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29194 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29195 (cacos_test): Add more tests.
29196 (casin_test): Likewise.
29197 (casinh_test): Likewise.
29198 * sysdeps/i386/fpu/libm-test-ulps: Update.
29199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29200
0f6a8d4b
SP
292012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29202
0d1029de
SP
29203 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29204 ONE with its value.
29205
c2d94018
SP
29206 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29207 (__pow_mp): Replace ONE and MONE with their values.
29208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29209 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29211 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29212 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29213 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29214
27ec37f1
SP
29215 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29216
a64d7e0e
SP
29217 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29218 (__pow_mp): Replace ZERO and MZERO with their values.
29219 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29220 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29221 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29223 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29224 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29225 (__sqr): Likewise.
29226
d26dd3eb
SP
29227 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29228
0f6a8d4b
SP
29229 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29230
e57b0c61
RM
292312013-03-28 Roland McGrath <roland@hack.frob.com>
29232
29233 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29234 Declare with __attribute__ ((weak)).
29235 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29236 Call __call_tls_dtors only if it's not NULL.
29237
356b3480
RM
292382013-03-28 Roland McGrath <roland@hack.frob.com>
29239
288f7d79
RM
29240 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29241 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29242 magic __ehdr_start linker symbol if it's defined.
29243 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29244 them up here if it was already done.
29245
dc0a0263
RM
29246 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29247 (_dl_aux_init): Use const in cast when setting it.
29248 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29249 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29250 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29251
3d3436ae
RM
29252 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29253 Declare them here.
29254 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29255 * csu/libc-tls.c: Nor here.
29256 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29257
356b3480
RM
29258 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29259 (__libc_message): Never call vsyslog.
29260
b0f1246a
AM
292612013-03-28 Alan Modra <amodra@gmail.com>
29262
29263 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29264 Define as empty.
29265 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29266 Likewise.
29267
fbbe2b9a
AZ
292682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29269
29270 [BZ #15214]
29271 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29272 underflow.
29273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29274
1728ab37
SP
292752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29276
7a86be6e
SP
29277 [BZ #15304]
29278 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29279 Don't add gid passed as argument.
29280
1728ab37
SP
29281 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29282
3a7182a1
JM
292832013-03-27 Joseph Myers <joseph@codesourcery.com>
29284
29285 [BZ #15307]
29286 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29287 imaginary part between 1.0 and 1.5 and real part less than 0.5
29288 specially.
29289 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29290 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29291 * math/libm-test.inc (cacos_test): Add more tests.
29292 (casin_test): Likewise.
29293 (casinh_test): Likewise.
29294 * sysdeps/i386/fpu/libm-test-ulps: Update.
29295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29296
6f2e90e7
SP
292972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29298
5739f705
SP
29299 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29300 constants.
29301 (norm): Likewise.
29302 (denorm): Likewise.
29303 (__dbl_mp): Likewise.
29304 (add_magnitudes): Likewise.
29305 (sub_magnitudes): Likewise.
29306 (__add): Likewise.
29307 (__sub): Likewise.
29308 (__mul): Likewise.
29309 (__sqr): Likewise.
29310 (__inv): Likewise.
29311 (__dvd): Likewise.
29312
e375e83d
SP
29313 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29314 commented code.
29315 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29316 (__dubcos): Likewise.
29317 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29318 (__ieee754_acos): Likewise.
29319 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29320 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29321 (__exp1): Likewise.
29322 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29324 (log1): Likewise.
29325 (my_log2): Likewise.
29326 (checkint): Likewise.
29327 * sysdeps/ieee754/dbl-64/e_remainder.c
29328 (__ieee754_remainder): Likewise.
29329 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29331 (bsloww): Likewise.
29332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29333
6f2e90e7
SP
29334 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29335 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29336 MANTISSA_STORE_T to store computations on mantissa. Use
29337 macros for rounding and division.
29338 (denorm): Likewise.
29339 (__dbl_mp): Likewise.
29340 (add_magnitudes): Likewise.
29341 (sub_magnitudes): Likewise.
29342 (__mul): Likewise.
29343 (__sqr): Likewise.
29344 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29345 powers of two in terms of TWOPOW macro.
29346 (mp_no): Make type of mantissa as MANTISSA_T.
29347 [!RADIXI]: Define RADIXI.
29348 [!TWO52]: Define TWO52.
29349 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29350
fce14d4e
AZ
293512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29352
29353 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29354 llroundl symbol when building for PPC32.
29355
9ad027fb
MW
293562013-03-24 Mark H Weaver <mhw@netris.org>
29357
29358 * manual/arith.texi (Normalization Functions): Fix prototypes for
29359 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29360
e42a38dd
AZ
293612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29362
29363 [BZ #13889]
29364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29365 high value to check if expl overflow.
29366 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29367 to check for underflow and overflow.
29368 * math/libm-test.inc: Add exp test.
29369
2e0fb521
DL
293702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29371
29372 [BZ #11120]
29373 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29374 with NOT_IN_libc.
29375
b5784d95
AZ
293762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29377
29378 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29379 symbol.
29380
5aa4a1a1
TS
293812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29382
bdef0be7
TS
29383 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29384 wrap blocks consisting of several statements.
29385
5aa4a1a1
TS
29386 * sysdeps/generic/math-tests.h: New file.
29387 * sysdeps/i386/fpu/math-tests.h: Likewise.
29388 * math/test-snan.c: Include it.
29389 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29390
98c48fe5
JM
293912013-03-21 Joseph Myers <joseph@codesourcery.com>
29392
29393 [BZ #15285]
29394 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29395 (__ieee754_j0l): Do not improve calculations using cos of twice
29396 input for inputs above LDBL_MAX / 2.0L.
29397 (__ieee754_y0l): Likewise.
29398 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29399 (__ieee754_j1l): Do not improve calculations using cos of twice
29400 input for inputs above LDBL_MAX / 2.0L.
29401 (__ieee754_y1l): Likewise.
29402 * math/libm-test.inc (j0_test): Add another test.
29403 (j1_test): Likewise.
29404 (y0_test): Likewise.
29405 (y1_test): Likewise.
29406 * sysdeps/i386/fpu/libm-test-ulps: Update.
29407
3775a8bc
SP
294082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29409
29410 * Rules ($(objpfx)bench-%.c): Include code from a C source
29411 file.
29412
0a1b2ae6
JM
294132013-03-21 Joseph Myers <joseph@codesourcery.com>
29414
29415 [BZ #15287]
29416 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29417 imaginary part 1.0 and real part less than 0.5 specially.
29418 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29419 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29420 * math/libm-test.inc (cacos_test): Add more tests.
29421 (casin_test): Likewise.
29422 (casinh_test): Likewise.
29423 * sysdeps/i386/fpu/libm-test-ulps: Update.
29424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29425
b33d4ce4
SP
294262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29427
29428 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29429 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29430
bef0b507
JM
294312013-03-20 Joseph Myers <joseph@codesourcery.com>
29432
29433 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29434 * config.make.in (config-cflags-sse4): Remove variable.
29435 (config-cflags-avx): Likewise.
29436 (config-cflags-sse2avx): Likewise.
29437 (config-cflags-novzeroupper): Likewise.
29438 (config-asflags-i686): Likewise.
29439 (have-mfma4): Likewise.
29440 (have-as-vis3): Likewise.
29441 (MIG): Likewise.
29442 * configure.in (MIG): Do not AC_SUBST.
29443 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29444 (libc_cv_cc_sse4): Do not AC_SUBST.
29445 (libc_cv_cc_avx): Likewise.
29446 (libc_cv_cc_sse2avx): Likewise.
29447 (libc_cv_cc_novzeroupper): Likewise.
29448 (libc_cv_cc_fma4): Likewise.
29449 (libc_cv_as_i686): Likewise.
29450 (libc_cv_sparc_as_vis3): Likewise.
29451 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29452 LIBC_CONFIG_VAR.
29453 (config-asflags-i686): Likewise.
29454 (config-cflags-avx): Likewise.
29455 (config-cflags-sse2avx): Likewise.
29456 (have-mfma4): Likewise.
29457 (config-cflags-novzeroupper): Likewise.
29458 * sysdeps/mach/configure.in (MIG): Likewise.
29459 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29460 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29461 LIBC_CONFIG_VAR.
29462 (config-cflags-avx): Likewise.
29463 (config-cflags-sse2avx): Likewise.
29464 (have-mfma4): Likewise.
29465 (config-cflags-novzeroupper): Likewise.
29466 * configure: Regenerated.
29467 * sysdeps/i386/configure: Likewise.
29468 * sysdeps/mach/configure: Likewise.
29469 * sysdeps/sparc/configure: Likewise.
29470 * sysdeps/x86_64/configure: Likewise.
29471
912cc4b3
RM
294722013-03-20 Roland McGrath <roland@hack.frob.com>
29473
29474 [BZ #14812]
29475 * locale/programs/localedef.c (options): Put N_ translation marker
29476 on argument names, not just descriptions.
29477
04eed2b0
MS
294782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29479
29480 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29481
a065ceff
OB
294822013-03-20 Ondřej Bílka <neleai@seznam.cz>
29483
9bb2a810 29484 [BZ #14176]
a065ceff
OB
29485 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29486
a600e5ce
RM
294872013-03-19 Roland McGrath <roland@hack.frob.com>
29488
29489 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29490 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29491 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29492 [!BEFORE_ABORT] (before_abort): New function.
29493 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29494 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29495 (writev_for_fatal): New function.
29496 (WRITEV_FOR_FATAL): New macro; call that.
29497 (backtrace_and_maps): New function.
29498 (BEFORE_ABORT): New macro; call that.
29499 (struct str_list): Type removed.
29500 (__libc_message, __libc_fatal): Functions removed.
29501 Include <sysdeps/posix/libc_fatal.c> instead.
29502
6b18bea6
JM
295032013-03-19 Joseph Myers <joseph@codesourcery.com>
29504
29505 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29506 constants.
29507 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29508 double constants.
29509
aaa8cb4b
AS
295102013-03-19 Andreas Schwab <schwab@suse.de>
29511
44673770
AS
29512 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29513 * sysdeps/gnu/configure: Regenerate.
29514
aaa8cb4b
AS
29515 * configure.in: Substitute libc_cv_rtlddir.
29516 * configure: Regenerate.
29517 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29518 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29519 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29520 * elf/Makefile (install-others, CFLAGS-interp.c)
29521 (ldso_install, common-ldd-rewrite): Likewise.
29522 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29523 $(inst_slibdir)/$(rtld-installed-name).
29524 * scripts/rellns-sh: Add -p option.
29525 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29526 for source.
29527
d3cfc668
SP
295282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29529
29530 * manual/nptl.texi: Renamed to ...
29531 * manual/threads.texi: ... this.
29532 * manual/Makefile (chapters): Update.
29533
0e2b9cdd
RM
295342013-03-18 Roland McGrath <roland@hack.frob.com>
29535
29536 [BZ #14812]
29537 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29538 on argument names, not just descriptions.
0e2b9cdd
RM
29539 * malloc/memusagestat.c (options): Likewise.
29540 * nss/getent.c (options): Likewise.
63270c24
RM
29541
295422013-03-18 Benno Schulenberg <bensberg@justemail.net>
29543
29544 [BZ #14812]
29545 * iconv/iconv_prog.c (options): Put N_ translation marker
29546 on argument names, not just descriptions.
29547 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29548
b2e1393c
OB
295492013-03-18 Ondrej Bilka <neleai@seznam.cz>
29550
29551 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29552 implementation which is faster on all x86_64 architectures.
29553 Tested on AMD, Intel Nehalem, SNB, IVB.
29554 * sysdeps/x86_64/strnlen.S: Likewise.
29555
29556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29557 Remove all multiarch strlen and strnlen versions.
29558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29559 Remove strlen and strnlen related parts.
29560
29561 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29562 Inline strlen part.
29563 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29564
29565 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29566 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29567 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29568 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29569 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29570 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29571
ec4ff04d
CD
295722013-03-17 Carlos O'Donell <carlos@redhat.com>
29573
29574 * manual/memory.texi (Malloc Tunable Parameters):
29575 Sort parameters alphabetically. Add comments for missing entries.
29576
cd18e90a
DM
295772013-03-17 David S. Miller <davem@davemloft.net>
29578
29579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29580
2a185d32
JM
295812013-03-16 Joseph Myers <joseph@codesourcery.com>
29582
d2f9799e
JM
29583 [BZ #15283]
29584 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29585 for arguments at most half maximum finite value.
29586 * math/libm-test.inc (j0_test): Add more tests.
29587 (j1_test): Likewise.
29588 (y0_test): Likewise.
29589 (y1_test): Likewise.
29590 * sysdeps/i386/fpu/libm-test-ulps: Update.
29591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29592
2a185d32
JM
29593 [BZ #14155]
29594 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29595 1 / x and functions P and Q for arguments above 0x1p256L.
29596 (__ieee754_y0l): Likewise.
29597 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29598 (__ieee754_y1l): Likewise.
29599 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29600 (j1_test): Likewise.
29601 (y0_test): Likewise.
29602 (y1_test): Likewise.
29603
6cbec759
TS
296042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29605
29606 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29607 variable.
29608
bc16e260
RM
296092013-03-15 Roland McGrath <roland@hack.frob.com>
29610
aefc9b8c
RM
29611 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29612 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29613 zero since it's initialized to EXEC_PAGESIZE.
29614
bc16e260
RM
29615 * sysdeps/unix/sysv/linux/ldsodefs.h
29616 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29617 * sysdeps/generic/ldsodefs.h: ... here.
29618
a57da955
TS
296192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29620
af00a34d
TS
29621 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29622
495ded2c
TS
29623 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29624 math/test-snan.c.
29625 * math/test-snan.c: Renamed from
29626 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29627 * math/Makefile (tests): Add test-snan.
29628 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29629 test-powerpc-snan.
29630
777b0332
TS
29631 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29632 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29633 functions.
29634 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29635 __builtin_nan family of functions.
29636 * math/libm-test.inc (initialize): Initialize qnan_value with
29637 __builtin_nan family of functions.
29638 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29639 Remove variables.
29640 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29641 Remove functions.
29642 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29643 storage class. Initialize qNaN_var and sNaN_var with
29644 __builtin_nan and __builtin_nans families of functions,
29645 respectively.
29646
64d063b8
TS
29647 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29648 (sqrt_test): Remove duplicate test with qNaN input.
29649 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29650 (round_test, signbit_test, significand_test): Note missing +/-Inf
29651 as well as qNaN tests.
29652
67e971f1
TS
29653 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29654 qNaN_var. Fix a few strings, too.
29655 * math/libm-test.inc (nan_value): Rename to qnan_value.
29656 * math/gen-libm-test.pl (%beautify): Adjust to that.
29657 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29658 * math/test-misc.c (main): Likewise.
29659 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29660 to __qnan_bytes, and __qnan_union, respectively.
29661 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29662 Likewise.
29663 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29664 and lqnanval, respectively.
29665 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29666 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29667 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29668 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29669
64487e12
TS
29670 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29671 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29672 doubles.
29673
e015e27b
TS
29674 * math/test-misc.c (main): Fix copy'n'pastos.
29675 * misc/tst-efgcvt.c (special): Likewise.
29676
a57da955
TS
29677 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29678 Remove declarations.
29679
1e380345
SP
296802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29681
29682 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29683 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29684 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29685 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29686
ef26eece
AZ
296872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29688
29689 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29690 macro to return vdso values correctly in IFUNC implementations.
29691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29692 Optimization by using IFUNC.
29693
8cfdb7e0
SP
296942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29695 Richard Henderson <rth@redhat.com>
29696 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29697
29698 * Makefile.in (bench): New target.
29699 * NEWS: Mention the benchmark framework.
29700 * Rules (bench): Likewise.
29701 (binaries-bench): Generate binaries for functions to
29702 benchmark.
29703 * benchtests/Makefile: New makefile for benchmark tests.
29704 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29705 programs.
29706 * benchtests/exp-inputs: New input file for EXP function.
29707 * benchtests/pow-inputs: New input file for POW function.
29708 * scripts/bench.pl: New script to generate source files for
29709 benchmark programs.
29710
bcda9880
SP
297112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29712
d22ca8cd
SP
29713 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29715 computations on mantissa. Use macros for rounding and
29716 division.
29717 (denorm): Likewise.
29718 (__dbl_mp): Likewise.
29719 (add_magnitudes): Likewise.
29720 (sub_magnitudes): Likewise.
29721 (__mul): Likewise.
29722 (__sqr): Likewise.
29723 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29724 powers of two in terms of TWOPOW macro.
29725 (mp_no): Make type of mantissa as MANTISSA_T.
29726 [!RADIXI]: Define RADIXI.
29727 [!TWO52]: Define TWO52.
29728 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29729
bcda9880
SP
29730 * manual/nptl.texi (cindex): Modify threads to pthreads.
29731
06d5adfb
JM
297322013-03-15 Joseph Myers <joseph@codesourcery.com>
29733
29734 * sysdeps/x86_64/preconfigure: Regenerated.
29735
41c7328e
JM
297362013-03-14 Joseph Myers <joseph@codesourcery.com>
29737
29738 [BZ #14155]
29739 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29740 0x1p28 and above.
29741 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29742 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29743 0x1p28 and above.
29744 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29745 * math/libm-test.inc (j0_test): Do not allow one spurious
29746 underflow exception.
29747 (y1_test): Likewise.
29748
e25cfa60
SP
297492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29750
0409959c
SP
29751 * manual/Makefile (chapters): Add nptl.
29752 * manual/debug.texi (Debugging Support): Add link to Threads
29753 chapter.
29754 * manual/nptl.texi: New file.
29755
e25cfa60
SP
29756 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29757
58a1335e
PB
297582013-03-14 Petr Baudis <pasky@ucw.cz>
29759
29760 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29761 for non-NULL pointer before the memory validity test. Pointed
29762 out by Holger Brunck <holger.brunck@keymile.com>.
29763
9dc7c64f
AS
297642013-03-13 Andreas Schwab <schwab@suse.de>
29765
29766 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29767 instead of .os.
29768
54206aa6
JM
297692013-03-13 Joseph Myers <joseph@codesourcery.com>
29770
29771 * timezone/zic.c: Update from tzcode 2013b.
29772
e98cdb38
CD
297732013-03-12 Carlos O'Donell <carlos@redhat.com>
29774
29775 * manual/install.texi (Configuring and compiling):
29776 Mention i686 and i586.
29777 * INSTALL: Regenerate.
29778
9967e003
RM
297792013-03-12 Roland McGrath <roland@hack.frob.com>
29780
29781 * sysdeps/init_array/elf-init.c: New file.
29782 * csu/elf-init.c
29783 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29784 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29785
29786 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29787 __gmon_start__ as global, but as static with a .preinit_array pointer.
29788 * sysdeps/init_array/gmon-start.c: New file. Use that.
29789 * sysdeps/init_array/crti.S: New file, empty except for comments.
29790 * sysdeps/init_array/crtn.S: Likewise.
29791
e6b5a293 297922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29793
29794 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29795 definining bcopy.
80f844c9
OB
29796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29797 Remove Prefer_SSE_for_memop.
29798 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29799 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29800 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29802 memset-x86-64.
80f844c9 29803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29804 Remove bzero, memset ifunc support.
80f844c9
OB
29805 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29806 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29807 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29808 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29809
fb6b0fcb
AS
298102013-03-11 Andreas Schwab <schwab@suse.de>
29811
29812 [BZ #15234]
29813 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29814 by SHLIB_COMPAT.
29815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29816 (GLIBC_2.16): Remove pthread_atfork.
29817
3e6bd4b1
PP
298182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29819
29820 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29821 (ptestcases.h): Likewise.
29822
222d7f00
RM
298232013-03-08 Roland McGrath <roland@hack.frob.com>
29824
29825 * Makeconfig ($(common-objpfx)config.status): Depend on
29826 sysdeps/*/preconfigure{,.in} too.
29827
1ba4f030
JM
298282013-03-08 Joseph Myers <joseph@codesourcery.com>
29829
a222d91a
JM
29830 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29831 (__free_hook): Use void * instead of __malloc_ptr_t.
29832 (__malloc_hook): Likewise.
29833 (__realloc_hook): Likewise.
29834 (__memalign_hook): Likewise.
29835 (__after_morecore_hook): Likewise.
29836 * malloc/arena.c (save_malloc_hook): Likewise.
29837 (save_free_hook): Likewise.
29838 * malloc/hooks.c (malloc_hook_ini): Likewise.
29839 (realloc_hook_ini): Likewise.
29840 (memalign_hook_ini): Likewise.
29841 * malloc/malloc.c (malloc_hook_ini): Likewise.
29842 (realloc_hook_ini): Likewise.
29843 (memalign_hook_ini): Likewise.
29844 (__free_hook): Likewise.
29845 (__malloc_hook): Likewise.
29846 (__realloc_hook): Likewise.
29847 (__memalign_hook): Likewise.
29848 (__libc_malloc): Likewise.
29849 (__libc_free): Likewise.
29850 (__libc_realloc): Likewise.
29851 (__libc_memalign): Likewise.
29852 (__libc_valloc): Likewise.
29853 (__libc_pvalloc): Likewise.
29854 (__libc_calloc): Likewise.
29855 (__posix_memalign): Likewise.
29856 * malloc/morecore.c (__sbrk): Likewise.
29857 (__default_morecore): Likewise.
29858
5cc45e10
JM
29859 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29860
dd54b864
JM
29861 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29862 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29863 __malloc_ptrdiff_t.
29864
1ba4f030
JM
29865 * malloc/malloc.h (__malloc_size_t): Remove macro.
29866 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29867 __malloc_size_t.
29868 (old_memalign_hook): Likewise.
29869 (old_realloc_hook): Likewise.
29870 (struct hdr): Likewise.
29871 (flood): Likewise.
29872 (mallochook): Likewise.
29873 (memalignhook): Likewise.
29874 (reallochook): Likewise.
29875 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29876 (tr_old_realloc_hook): Likewise.
29877 (tr_old_memalign_hook): Likewise.
29878 (tr_mallochook): Likewise.
29879 (tr_reallochook): Likewise.
29880 (tr_memalignhook): Likewise.
29881
edf66e57
AZ
298822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29883
29884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29885 default_ldbl_pack and using as default implementation.
29886 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29887 implementation.
29888 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29889 redundant definition.
29890 (ldbl_insert_mantissa): Likewise.
29891 (ldbl_canonicalize): Likewise.
29892 (ldbl_nearbyint): Likewise.
29893 (ldbl_pack): Rename to ldbl_pack_ppc.
29894 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29895 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29896 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29897
6d9145d8
SP
298982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29899
29900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29901 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29902 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29903 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29905 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29906 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29907 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29908
4dd4e157
AJ
299092013-03-07 Andreas Jaeger <aj@suse.de>
29910
29911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29912 bits/mman-linux.h.
29913
adbb8027
SP
299142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29915
ce544b5b
SP
29916 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29917 Include mpa.h and declare __MPEXP.
29918 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29920 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29921 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29922 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29923 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29924 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29925
4cc149fd
SP
29926 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29927 (__slowpow): Use long double EXPL and LOGL functions to
29928 compute POW.
29929 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29930 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29931 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29932 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29933 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29935
e6ebd4a7
SP
29936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29937 intermediate variable to calculate exponent.
29938 (__sqr): Likewise.
29939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29940 Likewise.
29941 (__sqr): Likewise.
29942
82a9811d
SP
29943 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29944 [!NO__SQR]: Define __sqr.
29945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29946 and NO__SQR. Remove all code except __mul and __sqr. Include
29947 sysdeps/ieee754/dbl-64/mpa.c.
29948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29949
adbb8027
SP
29950 [BZ #12723]
29951 * posix/Makefile (tests): Add tst-pathconf.
29952 * posix/tst-pathconf.c: New test case.
29953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29954 _PC_PIPE_BUF.
29955 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29956
39120df9
PF
299572013-03-06 Patsy Franklin <pfrankli@redhat.com>
29958
29959 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29960
67525cb8
AJ
299612013-03-06 Andreas Jaeger <aj@suse.de>
29962
664a9ce4
AJ
29963 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29964 definition via __MAP_ANONYMOUS.
29965
8e39047d
AJ
29966 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29967 it's not part of Linux headers.
29968
67525cb8
AJ
29969 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29970 (MAP_HUGE_MASK): Define.
29971
29972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29973 Define.
29974 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29976 Define.
29977 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29978 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29979 Define.
29980 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29982 Define.
29983 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29984
29985 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29986 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29987 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29988 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29989 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29990 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29991
29992 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29993 Handle f2fs.
29994
29995 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29996 Handle f2fs and efivarfs.
29997
29998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29999 f2fs.
30000
30001 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30002 (EFIVARFS_MAGIC): Add.
30003 (F2FS_LINK_MAX): Add.
30004
e1b42695
PP
300052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30006
30007 * stdio-common/vfprintf.c: Replace __builtin_expect with
30008 __glibc_unlikely.
30009
2d67d91a
JM
300102013-03-06 Joseph Myers <joseph@codesourcery.com>
30011
30012 [BZ #13550]
30013 * sysdeps/generic/bp-sym.h: Remove file.
30014 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30015 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30016 <bp-sym.h> and <bp-asm.h>.
30017 (__longjmp): Don't use BP_SYM.
30018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30019 and <bp-asm.h>.
30020 (memcpy): Don't use BP_SYM.
30021 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30022 <bp-sym.h> and <bp-asm.h>.
30023 (memcpy): Don't use BP_SYM.
30024 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30025 <bp-asm.h>.
30026 (memcpy): Don't use BP_SYM.
30027 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30028 <bp-asm.h>.
30029 (memset): Don't use BP_SYM.
30030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30032 (__bzero): Don't use BP_SYM.
30033 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30034 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30036 <bp-sym.h> and <bp-asm.h>.
30037 (memcmp): Don't use BP_SYM. Remove comment about bounded
30038 pointers.
30039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30040 <bp-sym.h> and <bp-asm.h>.
30041 (memcpy): Don't use BP_SYM.
30042 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30043 <bp-sym.h> and <bp-asm.h>.
30044 (memset): Don't use BP_SYM.
30045 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30046 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30047 (__bzero): Don't use BP_SYM.
30048 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30049 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30050 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30051 <bp-sym.h> and <bp-asm.h>.
30052 (strncmp): Don't use BP_SYM. Remove comment about bounded
30053 pointers.
30054 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30055 <bp-sym.h> and <bp-asm.h>.
30056 (memcpy): Don't use BP_SYM.
30057 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30058 <bp-sym.h> and <bp-asm.h>.
30059 (memset): Don't use BP_SYM.
30060 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30061 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30062 (__bzero): Don't use BP_SYM.
30063 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30064 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30066 <bp-sym.h> and <bp-asm.h>.
30067 (__memchr): Don't use BP_SYM.
30068 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30069 <bp-sym.h> and <bp-asm.h>.
30070 (memcmp): Don't use BP_SYM. Remove comment about bounded
30071 pointers.
30072 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30073 <bp-sym.h> and <bp-asm.h>.
30074 (memcpy): Don't use BP_SYM.
30075 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30076 <bp-sym.h> and <bp-asm.h>.
30077 (__mempcpy): Don't use BP_SYM.
30078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30079 <bp-sym.h> and <bp-asm.h>.
30080 (__memrchr): Don't use BP_SYM.
30081 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30082 <bp-sym.h> and <bp-asm.h>.
30083 (memset): Don't use BP_SYM.
30084 (__bzero): Likewise.
30085 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30086 <bp-sym.h> and <bp-asm.h>.
30087 (__rawmemchr): Don't use BP_SYM.
30088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30089 <bp-sym.h> and <bp-asm.h>.
30090 (__STRCMP): Don't use BP_SYM.
30091 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30092 <bp-sym.h> and <bp-asm.h>.
30093 (strchr): Don't use BP_SYM.
30094 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30095 <bp-sym.h> and <bp-asm.h>.
30096 (__strchrnul): Don't use BP_SYM.
30097 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30098 <bp-sym.h> and <bp-asm.h>.
30099 (strlen): Don't use BP_SYM.
30100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30101 <bp-sym.h> and <bp-asm.h>.
30102 (strncmp): Don't use BP_SYM. Remove comment about bounded
30103 pointers.
30104 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30105 <bp-sym.h> and <bp-asm.h>.
30106 (__strnlen): Don't use BP_SYM.
30107 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30108 <bp-sym.h> and <bp-asm.h>.
30109 (__GI__setjmp): Don't use BP_SYM.
30110 (_setjmp): Likewise.
30111 (__sigsetjmp): Likewise.
30112 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30113 (L(start_addresses)): Don't use BP_SYM.
30114 (_start): Likewise.
30115 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30116 <bp-asm.h>.
30117 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30118 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30119 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30120 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30121 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30122 <bp-asm.h>.
30123 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30124 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30125 about bounded pointers.
30126 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30127 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30128 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30129 <bp-asm.h>.
30130 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30131 about bounded pointers. Remove GKM FIXME comments.
30132 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30133 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30134 <bp-asm.h>.
30135 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30136 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30137 Remove GKM FIXME comments.
30138 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30139 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30140 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30141 <bp-asm.h>.
30142 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30143 about bounded pointers. Remove GKM FIXME comment.
30144 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30145 and <bp-asm.h>.
30146 (strncmp): Don't use BP_SYM. Remove comment about bounded
30147 pointers.
30148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30149 <bp-sym.h> and <bp-asm.h>.
30150 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30152 <bp-sym.h> and <bp-asm.h>.
30153 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30154 comment.
30155
cdcf361f
PP
301562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30157
30158 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30159 call free(NULL).
30160
3c4a2b15
DM
301612013-03-05 David S. Miller <davem@davemloft.net>
30162
30163 * po/es.po: Update from translation team.
30164
cdcf361f 301652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30166
30167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30168 <bits/mman-linux.h>.
30169 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30170 is fine.
30171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30172 <bits/mman-linux.h> to end of file.
30173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30174 is fine.
30175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30176 <bits/mman-linux.h> to end of file.
30177 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30178 is fine.
30179 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30180 <bits/mman-linux.h> to end of file.
30181
30182 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30183 (MCL_CURRENT, MCL_FUTURE): Define here.
30184
5f67c04f
AK
301852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30186
8a4473cc 30187 [BZ #15232]
5f67c04f
AK
30188 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30189 attribute_hidden.
30190 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30191
c3e94a95
AK
301922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30193
30194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30195 fourth parameter needed for rt_sigprocmask syscall.
30196 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30197 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30198 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30199 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30200 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30201 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30202
cfb6382a
JM
302032013-03-04 Joseph Myers <joseph@codesourcery.com>
30204
30205 [BZ #13550]
30206 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30207 comment about bounded pointers.
30208 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30209 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30210
539d8e01
AJ
302112013-03-04 Andreas Jaeger <aj@suse.de>
30212
30213 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30214 common definitions.
30215
30216 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30217 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30218 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30222
2e167a70 302232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30224
30225 [BZ #15055]
30226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30227 __ieee754_sqrl instead of __sqrl.
30228
68508633
JM
302292013-03-01 Joseph Myers <joseph@codesourcery.com>
30230
30231 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30232 * sysdeps/powerpc/fpu_control.h: ... here.
30233 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30234 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30235 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30236 * sysdeps/powerpc/bits/mathinline.h: ... here.
30237
7775448e
RM
302382013-03-01 Roland McGrath <roland@hack.frob.com>
30239
30240 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30241 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30242 to just [NEED_DL_SYSINFO_DSO].
30243 * elf/dl-support.c: Likewise.
30244 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30245 * elf/rtld.c (dl_main): Likewise.
30246 * elf/setup-vdso.h (setup_vdso): Likewise.
30247 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30248 * sysdeps/unix/sysv/linux/dl-sysdep.c
30249 (_dl_discover_osversion): Likewise.
30250
4e9b5995
CD
302512013-03-01 Carlos O'Donell <carlos@redhat.com>
30252
30253 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30254 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30255
e23872c8
SP
302562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30257
e5c74c63
SP
30258 * NEWS: Mention libm performance improvements and non-x86 PI
30259 futex support.
30260
e23872c8
SP
30261 * csu/libc-start.c (__pthread_initialize_minimal): Change
30262 function arguments.
30263 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30264
b5510883
JM
302652013-02-28 Joseph Myers <joseph@codesourcery.com>
30266
30267 [BZ #13550]
30268 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30269 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30270 <bp-sym.h> and <bp-asm.h>.
30271 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30272 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30273 and <bp-asm.h>.
30274 (memcpy): Don't use BP_SYM.
30275 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30276 <bp-asm.h>.
30277 (__mpn_add_n): Don't use BP_SYM.
30278 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30279 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30280 and <bp-asm.h>.
30281 (__mpn_addmul_1): Don't use BP_SYM.
30282 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30283 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30284 <bp-sym.h>.
30285 (_setjmp): Don't use BP_SYM.
30286 (__novmx_setjmp): Likewise.
30287 (__GI__setjmp): Likewise.
30288 (__vmx_setjmp): Likewise.
30289 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30290 <bp-sym.h>.
30291 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30292 (__bzero): Don't use BP_SYM.
30293 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30294 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30295 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30296 <bp-sym.h> and <bp-asm.h>.
30297 (memcpy): Don't use BP_SYM.
30298 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30299 <bp-sym.h> and <bp-asm.h>.
30300 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30302 <bp-sym.h> and <bp-asm.h>.
30303 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30304 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30305 <bp-asm.h>.
30306 (__mpn_lshift): Don't use BP_SYM.
30307 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30308 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30309 <bp-asm.h>.
30310 (memset): Don't use BP_SYM.
30311 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30312 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30313 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30314 <bp-asm.h>.
30315 (__mpn_mul_1): Don't use BP_SYM.
30316 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30317 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30318 <bp-sym.h> and <bp-asm.h>.
30319 (memcmp): Don't use BP_SYM.
30320 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30321 <bp-sym.h> and <bp-asm.h>.
30322 (memcpy): Don't use BP_SYM.
30323 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30324 <bp-sym.h> and <bp-asm.h>.
30325 (memset): Don't use BP_SYM.
30326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30327 <bp-sym.h> and <bp-asm.h>.
30328 (strncmp): Don't use BP_SYM.
30329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30330 <bp-sym.h> and <bp-asm.h>.
30331 (memcpy): Don't use BP_SYM.
30332 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30333 <bp-sym.h> and <bp-asm.h>.
30334 (memset): Don't use BP_SYM.
30335 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30336 <bp-sym.h> and <bp-asm.h>.
30337 (__memchr): Don't use BP_SYM.
30338 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30339 <bp-sym.h> and <bp-asm.h>.
30340 (memcmp): Don't use BP_SYM.
30341 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30342 <bp-sym.h> and <bp-asm.h>.
30343 (memcpy): Don't use BP_SYM.
30344 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30345 <bp-sym.h> and <bp-asm.h>.
30346 (__mempcpy): Don't use BP_SYM.
30347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30348 <bp-sym.h> and <bp-asm.h>.
30349 (__memrchr): Don't use BP_SYM.
30350 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30351 <bp-sym.h> and <bp-asm.h>.
30352 (memset): Don't use BP_SYM.
30353 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30354 <bp-sym.h> and <bp-asm.h>.
30355 (__rawmemchr): Don't use BP_SYM.
30356 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30357 <bp-sym.h> and <bp-asm.h>.
30358 (__STRCMP): Don't use BP_SYM.
30359 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30360 <bp-sym.h> and <bp-asm.h>.
30361 (strchr): Don't use BP_SYM.
30362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30363 <bp-sym.h> and <bp-asm.h>.
30364 (__strchrnul): Don't use BP_SYM.
30365 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30366 <bp-sym.h> and <bp-asm.h>.
30367 (strlen): Don't use BP_SYM.
30368 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30369 <bp-sym.h> and <bp-asm.h>.
30370 (strncmp): Don't use BP_SYM.
30371 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30372 <bp-sym.h> and <bp-asm.h>.
30373 (__strnlen): Don't use BP_SYM.
30374 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30375 <bp-asm.h>.
30376 (__mpn_rshift): Don't use BP_SYM.
30377 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30378 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30379 <bp-sym.h> and <bp-asm.h>.
30380 (__sigsetjmp): Don't use BP_SYM.
30381 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30382 (L(start_addresses)): Don't use BP_SYM.
30383 (_start): Likewise.
30384 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30385 <bp-asm.h>.
30386 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30387 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30388 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30389 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30390 <bp-asm.h>.
30391 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30392 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30393 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30394 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30395 <bp-asm.h>.
30396 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30397 comments.
30398 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30399 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30400 <bp-asm.h>.
30401 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30402 FIXME comments.
30403 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30404 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30405 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30406 <bp-asm.h>.
30407 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30408 comment.
30409 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30410 and <bp-asm.h>.
30411 (strncmp): Don't use BP_SYM,
30412 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30413 <bp-asm.h>.
30414 (__mpn_sub_n): Don't use BP_SYM.
30415 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30416 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30417 and <bp-asm.h>.
30418 (__mpn_submul_1): Don't use BP_SYM.
30419 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30421 <bp-sym.h> and <bp-asm.h>.
30422 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30424 <bp-sym.h> and <bp-asm.h>.
30425 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30426 comment.
30427
8d19fe64
SP
304282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30429
30430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30431 Use ZK to minimize writes to Z.
30432 (sub_magnitudes): Simplify code a bit.
30433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30434 Use ZK to minimize writes to Z.
30435 (sub_magnitudes): Simplify code a bit.
30436
85bd816a
RM
304372013-02-27 Roland McGrath <roland@hack.frob.com>
30438
30439 * csu/gmon-start.c: Add special exception to license text.
30440
b5977bf2
RH
304412013-02-27 Richard Henderson <rth@redhat.com>
30442
30443 * scripts/config.guess: Update from config.git.
30444 * scripts/config.sub: Likewise.
30445
11d6e2f2
SP
304462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30447
09c14ed2
SP
30448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30449
a688864e
SP
30450 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30451
6295157a
SP
30452 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30453
b8de2202
SP
30454 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30455
11d6e2f2
SP
30456 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30457
7e80ddb8
RM
304582013-02-26 Roland McGrath <roland@hack.frob.com>
30459
30460 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30461 [$(build-shared = yes].
7e80ddb8 30462
7da6d9ed
SP
304632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30464
45f05884
SP
30465 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30466 (__mul): Reduce iterations for calculating mantissa.
30467
2236d359
SP
30468 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30469 MPTWO.
30470 (__mpranred): Likewise.
30471
7da6d9ed
SP
30472 [BZ #15160]
30473 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30474 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30475
b7688c42
PE
304762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30477
30478 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30479 Define __attribute__.
30480
53a5c423
SP
304812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30482
30483 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30484 unused.
30485 * posix/regex_internal.h (__attribute): Remove.
30486 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30487 (re_string_context_at): Likewise.
30488 (bitset_not): Use __attribute__ and mark function as possibly
30489 unused.
30490 (bitset_merge): Likewise.
30491 (bitset_mask): Likewise.
30492 (re_string_char_size_at): Likewise.
30493 (re_string_wchar_at): Likewise.
30494 (re_string_elem_size_at): Likewise.
30495
60f5a8b5
SP
304962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30497
2a983a2e
SP
30498 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30499 code.
30500 (cc32): Likewise.
30501
e69804d1
SP
30502 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30503 (__acr): Likewise.
30504 (__cpy): Likewise.
30505 (norm): Likewise.
30506 (denorm): Likewise.
30507 (__dbl_mp): Likewise.
30508 (add_magnitudes): Likewise.
30509 (sub_magnitudes): Likewise.
30510 (__mul): Likewise.
30511 (__inv): Likewise.
30512
2f22a1e8
SP
30513 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30514 style.
30515
8930ddc7
SP
30516 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30517 style.
30518
dc60cb11
SP
30519 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30520 code.
30521
60f5a8b5
SP
30522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30523 up changes with default code.
30524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30525 Likewise.
30526
b4d1fd33
AM
305272013-02-24 Allan McRae <allan@archlinux.org>
30528
faf6f8bc
AM
30529 * manual/socket.texi (The Internet Namespace): Order menu items
30530 to match that in the file.
30531
b4d1fd33
AM
30532 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30533 node listing of the info page menu.
30534
2366713d
JM
305352013-02-21 Joseph Myers <joseph@codesourcery.com>
30536
30537 [BZ #13550]
30538 * sysdeps/i386/bp-asm.h: Remove file.
30539 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30540 (PARMS): Do not use macros from bp-asm.h.
30541 (S1): Likewise.
30542 (S2): Likewise.
30543 (SIZE): Likewise.
30544 (__mpn_add_n): Do not use BP_SYM
30545 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30546 "bp-asm.h".
30547 (PARMS): Do not use macros from bp-asm.h.
30548 (S1): Likewise.
30549 (SIZE): Likewise.
30550 (__mpn_addmul_1): Do not use BP_SYM
30551 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30552 "bp-asm.h".
30553 (PARMS): Do not use macros from bp-asm.h.
30554 (SIGMSK): Likewise.
30555 (_setjmp): Likewise. Do not use BP_SYM.
30556 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30557 "bp-asm.h".
30558 (PARMS): Do not use macros from bp-asm.h.
30559 (SIGMSK): Likewise.
30560 (setjmp): Likewise. Do not use BP_SYM.
30561 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30562 "bp-asm.h".
30563 (PARMS): Do not use macros from bp-asm.h.
30564 (__frexp): Do not use BP_SYM.
30565 (frexp): Likewise.
30566 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30567 "bp-asm.h".
30568 (PARMS): Do not use macros from bp-asm.h.
30569 (__frexpf): Do not use BP_SYM.
30570 (frexpf): Likewise.
30571 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30572 "bp-asm.h".
30573 (PARMS): Do not use macros from bp-asm.h.
30574 (__frexpl): Do not use BP_SYM.
30575 (frexpl): Likewise.
30576 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30577 "bp-asm.h".
30578 (PARMS): Do not use macros from bp-asm.h.
30579 (__remquo): Do not use BP_SYM.
30580 (remquo): Likewise.
30581 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30582 "bp-asm.h".
30583 (PARMS): Do not use macros from bp-asm.h.
30584 (__remquof): Do not use BP_SYM.
30585 (remquof): Likewise.
30586 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30587 "bp-asm.h".
30588 (PARMS): Do not use macros from bp-asm.h.
30589 (__remquol): Do not use BP_SYM.
30590 (remquol): Likewise.
30591 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30592 "bp-asm.h".
30593 (PARMS): Do not use macros from bp-asm.h.
30594 (DEST): Likewise.
30595 (SRC): Likewise.
30596 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30597 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30598 "bp-asm.h".
30599 (PARMS): Do not use macros from bp-asm.h.
30600 (strlen): Do not use BP_SYM.
30601 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30602 "bp-asm.h".
30603 (PARMS): Do not use macros from bp-asm.h.
30604 (S1): Likewise.
30605 (S2): Likewise.
30606 (SIZE): Likewise.
30607 (__mpn_add_n): Do not use BP_SYM.
30608 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30609 "bp-asm.h".
30610 (PARMS): Do not use macros from bp-asm.h.
30611 (S1): Likewise.
30612 (SIZE): Likewise.
30613 (__mpn_addmul_1): Do not use BP_SYM.
30614 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30615 weak_alias.
30616 (bzero): Likewise.
30617 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30618 "bp-asm.h".
30619 (PARMS): Do not use macros from bp-asm.h.
30620 (S): Likewise.
30621 (SIZE): Likewise.
30622 (__mpn_lshift): Do not use BP_SYM.
30623 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30624 "bp-asm.h".
30625 (PARMS): Do not use macros from bp-asm.h.
30626 (DEST): Likewise.
30627 (SRC): Likewise.
30628 (LEN): Likewise.
30629 (memcpy): Likewise. Do not use BP_SYM.
30630 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30631 libc_hidden_def and weak_alias.
30632 (mempcpy): Do not use BP_SYM in weak_alias.
30633 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30634 "bp-asm.h".
30635 (PARMS): Do not use macros from bp-asm.h.
30636 (DEST): Likewise.
30637 (LEN): Likewise.
30638 [!BZERO_P] (CHR): Likewise.
30639 (memset): Likewise. Do not use BP_SYM.
30640 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30641 "bp-asm.h".
30642 (PARMS): Do not use macros from bp-asm.h.
30643 (S1): Likewise.
30644 (SIZE): Likewise.
30645 (__mpn_mul_1): Do not use BP_SYM.
30646 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30647 "bp-asm.h".
30648 (PARMS): Do not use macros from bp-asm.h.
30649 (S): Likewise.
30650 (SIZE): Likewise.
30651 (__mpn_rshift): Do not use BP_SYM.
30652 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30653 "bp-asm.h".
30654 (PARMS): Do not use macros from bp-asm.h.
30655 (STR): Likewise.
30656 (CHR): Likewise.
30657 (strchr): Likewise. Do not use BP_SYM.
30658 (index): Do not use BP_SYM in weak_alias.
30659 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30660 "bp-asm.h".
30661 (PARMS): Do not use macros from bp-asm.h.
30662 (DEST): Likewise.
30663 (SRC): Likewise.
30664 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30665 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30666 "bp-asm.h".
30667 (PARMS): Do not use macros from bp-asm.h.
30668 (strlen): Do not use BP_SYM.
30669 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30670 "bp-asm.h".
30671 (PARMS): Do not use macros from bp-asm.h.
30672 (S1): Likewise.
30673 (S2): Likewise.
30674 (SIZE): Likewise.
30675 (__mpn_sub_n): Do not use BP_SYM.
30676 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30677 "bp-asm.h".
30678 (PARMS): Do not use macros from bp-asm.h.
30679 (S1): Likewise.
30680 (SIZE): Likewise.
30681 (__mpn_submul_1): Do not use BP_SYM.
30682 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30683 "bp-asm.h".
30684 (PARMS): Do not use macros from bp-asm.h.
30685 (S1): Likewise.
30686 (S2): Likewise.
30687 (SIZE): Likewise.
30688 (__mpn_add_n): Do not use BP_SYM.
30689 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30690 weak_alias.
30691 (bzero): Likewise.
30692 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30693 "bp-asm.h".
30694 (PARMS): Do not use macros from bp-asm.h.
30695 (BLK2): Likewise.
30696 (LEN): Likewise.
30697 (memcmp): Do not use BP_SYM.
30698 (bcmp): Do not use BP_SYM in weak_alias.
30699 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30700 "bp-asm.h".
30701 (PARMS): Do not use macros from bp-asm.h.
30702 (DEST): Likewise.
30703 (SRC): Likewise.
30704 (LEN): Likewise.
30705 (memcpy): Likewise. Do not use BP_SYM.
30706 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30707 "bp-asm.h".
30708 (PARMS): Do not use macros from bp-asm.h.
30709 (DEST): Likewise.
30710 (SRC): Likewise.
30711 (LEN): Likewise.
30712 (memmove): Likewise. Do not use BP_SYM.
30713 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30714 "bp-asm.h".
30715 (PARMS): Do not use macros from bp-asm.h.
30716 (DEST): Likewise.
30717 (SRC): Likewise.
30718 (LEN): Likewise.
30719 (__mempcpy): Likewise. Do not use BP_SYM.
30720 (mempcpy): Do not use BP_SYM in weak_alias.
30721 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30722 "bp-asm.h".
30723 (PARMS): Do not use macros from bp-asm.h.
30724 (DEST): Likewise.
30725 (LEN): Likewise.
30726 [!BZERO_P] (CHR): Likewise.
30727 (memset): Likewise. Do not use BP_SYM.
30728 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30729 "bp-asm.h".
30730 (PARMS): Do not use macros from bp-asm.h.
30731 (STR2): Likewise.
30732 (strcmp): Do not use BP_SYM.
30733 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30734 "bp-asm.h".
30735 (PARMS): Do not use macros from bp-asm.h.
30736 (STR): Likewise.
30737 (DELIM): Likewise.
30738 [USE_AS_STRTOK_R] (SAVE): Likewise.
30739 (FUNCTION): Likewise. Do not use BP_SYM.
30740 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30741 aliases.
30742 (strtok_r): Likewise.
30743 (__GI___strtok_r): Likewise.
30744 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30745 (PARMS): Do not use macros from bp-asm.h.
30746 (S): Likewise.
30747 (SIZE): Likewise.
30748 (__mpn_lshift): Do not use BP_SYM.
30749 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30750 (PARMS): Do not use macros from bp-asm.h.
30751 (STR): Likewise.
30752 (CHR): Likewise.
30753 (__memchr): Do not use BP_SYM.
30754 (memchr): Do not use BP_SYM in weak_alias.
30755 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30756 (PARMS): Do not use macros from bp-asm.h.
30757 (BLK2): Likewise.
30758 (LEN): Likewise.
30759 (memcmp): Do not use BP_SYM.
30760 (bcmp): Do not use BP_SYM in weak_alias.
30761 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30762 (PARMS): Do not use macros from bp-asm.h.
30763 (S1): Likewise.
30764 (SIZE): Likewise.
30765 (__mpn_mul_1): Do not use BP_SYM.
30766 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30767 "bp-asm.h".
30768 (PARMS): Do not use macros from bp-asm.h.
30769 (STR): Likewise.
30770 (CHR): Likewise.
30771 (__rawmemchr): Do not use BP_SYM.
30772 (rawmemchr): Do not use BP_SYM in weak_alias.
30773 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30774 (PARMS): Do not use macros from bp-asm.h.
30775 (S): Likewise.
30776 (SIZE): Likewise.
30777 (__mpn_rshift): Do not use BP_SYM.
30778 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30779 (PARMS): Do not use macros from bp-asm.h.
30780 (SIGMSK): Likewise.
30781 (__sigsetjmp): Likewise. Do not use BP_SYM.
30782 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30783 (_start): Do not use BP_SYM.
30784 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30785 (PARMS): Do not use macros from bp-asm.h.
30786 (DEST): Likewise.
30787 (SRC): Likewise.
30788 (__stpcpy): Likewise. Do not use BP_SYM.
30789 (stpcpy): Do not use BP_SYM in weak_alias.
30790 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30791 "bp-asm.h".
30792 (PARMS): Do not use macros from bp-asm.h.
30793 (DEST): Likewise.
30794 (SRC): Likewise.
30795 (LEN): Likewise.
30796 (__stpncpy): Likewise. Do not use BP_SYM.
30797 (stpncpy): Do not use BP_SYM in weak_alias.
30798 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30799 (PARMS): Do not use macros from bp-asm.h.
30800 (STR): Likewise.
30801 (CHR): Likewise.
30802 (strchr): Likewise. Do not use BP_SYM.
30803 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30804 "bp-asm.h".
30805 (PARMS): Do not use macros from bp-asm.h.
30806 (STR): Likewise.
30807 (CHR): Likewise.
30808 (__strchrnul): Likewise. Do not use BP_SYM.
30809 (strchrnul): Do not use BP_SYM in weak_alias.
30810 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30811 "bp-asm.h".
30812 (PARMS): Do not use macros from bp-asm.h.
30813 (STOP): Likewise.
30814 (strcspn): Do not use BP_SYM.
30815 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30816 "bp-asm.h".
30817 (PARMS): Do not use macros from bp-asm.h.
30818 (STR): Likewise.
30819 (STOP): Likewise.
30820 (strpbrk): Likewise. Do not use BP_SYM.
30821 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30822 "bp-asm.h".
30823 (PARMS): Do not use macros from bp-asm.h.
30824 (STR): Likewise.
30825 (CHR): Likewise.
30826 (strrchr): Likewise. Do not use BP_SYM.
30827 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30828 (PARMS): Do not use macros from bp-asm.h.
30829 (SKIP): Likewise.
30830 (strspn): Do not use BP_SYM.
30831 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30832 (PARMS): Do not use macros from bp-asm.h.
30833 (STR): Likewise.
30834 (DELIM): Likewise.
30835 (SAVE): Likewise.
30836 (FUNCTION): Likewise. Do not use BP_SYM.
30837 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30838 aliases.
30839 (strtok_r): Likewise.
30840 (__GI___strtok_r): Likewise.
30841 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30842 (PARMS): Do not use macros from bp-asm.h.
30843 (S1): Likewise.
30844 (S2): Likewise.
30845 (SIZE): Likewise.
30846 (__mpn_sub_n): Do not use BP_SYM.
30847 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30848 "bp-asm.h".
30849 (PARMS): Do not use macros from bp-asm.h.
30850 (S1): Likewise.
30851 (SIZE): Likewise.
30852 (__mpn_submul_1): Do not use BP_SYM.
30853 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30854 <bp-sym.h>.
30855 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30856 and <bp-asm.h>.
30857 (PARMS): Do not use macros from bp-asm.h.
30858 (FLAGS): Likewise.
30859 (PTID): Likewise.
30860 (TLS): Likewise.
30861 (CTID): Likewise.
30862 (__clone): Do not use BP_SYM.
30863 (clone): Do not use BP_SYM in weak_alias.
30864 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30865 and <bp-asm.h>.
30866 (PARMS): Do not use macros from bp-asm.h.
30867 (LEN): Likewise.
30868 (__mmap64): Do not use BP_SYM.
30869 (mmap64): Do not use BP_SYM in weak_alias.
30870 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30871 <bp-sym.h> and <bp-asm.h>.
30872 (PARMS): Do not use macros from bp-asm.h.
30873 (__posix_fadvise64_l64): Do not use BP_SYM.
30874 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30875 (PARMS): Do not use macros from bp-asm.h.
30876 (NSOPS): Likewise.
30877 (semtimedop): Do not use BP_SYM.
30878 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30879 and <bp-asm.h>.
30880
582a3cff
AM
308812013-02-21 Allan McRae <allan@archlinux.org>
30882
30883 * manual/message.texi (Charset conversion in gettext):
30884 Move @end statement to beginning of line.
30885
bab8a695
SP
308862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30887
80945231
SP
30888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30889 static.
30890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30891 Likewise.
30892
bab8a695
SP
30893 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30894 (denorm): Likewise.
30895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30897
e21d7aa7
AK
308982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30899
30900 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30901 tail-call to the resolved function if pltexit isn't needed.
30902
4c7a4263
SP
309032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30904
30905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30906 or Y being zero as being unlikely.
30907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30908 Likewise.
30909
41f49342
CD
309102013-02-20 Carlos O'Donell <carlos@redhat.com>
30911
30912 * manual/nss.texi (System Databases and Name Service Switch):
30913 Remove frobnicate @pxref.
30914
50022a93
TS
309152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30916
30917 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30918 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30919
08cbd996
PM
309202013-02-20 Petr Machata <pmachata@redhat.com>
30921
30922 * elf/elf.h (R_ARM_TARGET1): New macro.
30923 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30924 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30925 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30926 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30927 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30928 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30929 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30930 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30931 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30932 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30933 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30934 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30935 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30936 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30937 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30938 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30939 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30940 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30941 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30942 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30943 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30944 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30945 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30946 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30947 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30948 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30949 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30950 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30951 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30952 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30953 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30954 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30955 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30956 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30957 (R_ARM_THM_GOT_BREL12): Likewise.
30958 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30959 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30960 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30961 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30962 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30963 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30964 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30965 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30966 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30967
c7b275d6
TS
309682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30969
30970 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30971 __attribute_used__ to __attribute__ ((unused)).
30972
20cd7fb3
SP
309732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30974
30975 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30976 powerpc mpa.c.
30977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30978 comment formatting.
30979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30980
92945b52
JM
309812013-02-19 Joseph Myers <joseph@codesourcery.com>
30982
30983 [BZ #13550]
30984 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30985 Remove macro.
30986 (ENTER): Remove both macro definitions.
30987 (LEAVE): Likewise.
30988 (CHECK_BOUNDS_LOW): Likewise.
30989 (CHECK_BOUNDS_HIGH): Likewise.
30990 (CHECK_BOUNDS_BOTH): Likewise.
30991 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30992 (RETURN_BOUNDED_POINTER): Likewise.
30993 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30994 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30995 (POP_ERRNO_LOCATION_RETURN): Likewise.
30996 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30997 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30998 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30999 macros.
31000 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31001 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31002 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31003 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31004 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31005 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31006 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31007 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31008 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31009 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31010 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31011 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31012 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31013 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31014 removed macros.
31015 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31016 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31017 macros.
31018 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31019 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31020 * sysdeps/i386/i586/memset.S (memset): Likewise.
31021 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31022 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31023 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31024 macros.
31025 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31026 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31027 Change uses of L(2) to L(out).
31028 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31029 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31030 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31031 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31032 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31033 removed macros.
31034 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31035 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31036 macros.
31037 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31038 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31039 (RETURN): Do not use macro LEAVE.
31040 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31041 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31042 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31043 * sysdeps/i386/i686/memset.S (memset): Likewise.
31044 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31045 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31046 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31047 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31048 Likewise.
31049 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31050 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31051 L(1_2) and L(1_3) into L(1).
31052 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31053 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31054 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31055 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31056 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31057 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31058 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31059 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31060 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31061 macros.
31062 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31063 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31064 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31065 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31066 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31067 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31068 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31069 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31070 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31071 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31072 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31073 * sysdeps/i386/strspn.S (strspn): Likewise.
31074 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31075 conditional code.
31076 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31077 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31078 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31079 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31080 L(1_3) into L(1_1).
31081 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31082 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31083 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31084 macros.
31085 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31086
2389741a
JJ
310872013-02-19 Jakub Jelinek <jakub@redhat.com>
31088
31089 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31090 macro.
31091
2016b3cd
SP
310922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31093
e4f22324
SP
31094 * math/atest-exp.c (exp_mpn): Remove ROUND.
31095 * math/atest-exp2.c (exp_mpn): Likewise.
31096 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31097
2016b3cd
SP
31098 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31099 * stdlib/tst-tls-atexit-lib.c: Likewise.
31100 * stdlib/tst-tls-atexit.c: Likewise.
31101
4be9b544
MF
311022013-02-18 Mike Frysinger <vapier@gentoo.org>
31103
31104 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31105 and __attribute_alloc_size__.
31106
2f62b9ee
MF
311072013-02-18 Mike Frysinger <vapier@gentoo.org>
31108
31109 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31110 __attribute_alloc_size__.
31111 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31112 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31113
6ff444c4
MF
311142013-02-18 Mike Frysinger <vapier@gentoo.org>
31115
31116 * include/programs/xmalloc.h: New file.
31117 * catgets/gencat.c: Include it.
31118 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31119 * elf/pldd.c: Likewise.
31120 * iconv/iconv_charmap.c: Likewise.
31121 * iconv/iconvconfig.c: Likewise.
31122 * iconv/strtab.c: Likewise.
31123 * locale/programs/locale.c: Likewise.
31124 * locale/programs/localedef.h: Likewise.
31125 * locale/programs/simple-hash.c: Likewise.
31126 * nscd/nscd.h: Likewise.
31127 * nss/makedb.c: Likewise.
31128 * sysdeps/generic/ldconfig.h: Likewise.
31129
be179c8a
SP
311302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31131
ba384f6e
SP
31132 * Versions.def: Add GLIBC_2.18.
31133 * include/link.h (struct link_map): New member l_tls_dtor_count.
31134 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31135 (__call_tls_dtors): Likewise.
31136 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31137 __cxa_thread_atexit_impl.
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31139 Likewise.
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31141 Likewise.
31142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31143 Likewise.
31144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31145 Likewise.
31146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31148 Likewise.
31149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31150 Likewise.
31151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31153 Likewise.
31154 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31155 (tests): Add test case tst-tls-atexit.
31156 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31157 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31158 (GLIBC_PRIVATE): Add __call_tls_dtors.
31159 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31160 for libstdc++.
31161 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31162 * stdlib/tst-tls-atexit.c: New test case.
31163 * stdlib/tst-tls-atexit-lib.c: New test case.
31164
ffaa74cf 31165 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31166
be179c8a
SP
31167 * elf/Versions (ld): Add _dl_find_dso_for_object.
31168 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31169 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31170 (dl_open_worker): Use _dl_find_dso_for_object.
31171 * elf/dl-sym.c (do_sym): Likewise.
31172 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31173
f78b5caa
AK
311742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31175
31176 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31177 Syntactic changes only.
31178 (_dl_runtime_profile): Do a tail-call to the resolved function.
31179
29691210
JM
311802013-02-17 Joseph Myers <joseph@codesourcery.com>
31181
31182 [BZ #13550]
31183 * sysdeps/x86_64/bp-asm.h: Remove file.
31184 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31185 <bp-sym.h> and <bp-asm.h>.
31186 (__clone): Do not use BP_SYM.
31187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31188 <bp-sym.h> and <bp-asm.h>.
31189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31190 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31191 "bp-asm.h".
31192 (_setjmp): Do not use BP_SYM.
31193 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31194 "bp-asm.h".
31195 (setjmp): Do not use BP_SYM.
31196 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31197 libc_hidden_def.
31198 (mempcpy): Do not use BP_SYM in weak_alias.
31199 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31200 "bp-asm.h".
31201 (strchr): Do not use BP_SYM.
31202 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31203 "bp-asm.h".
31204 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31205 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31206 (_start): Do not use BP_SYM.
31207 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31208 "bp-asm.h".
31209 (strcat): Do not use BP_SYM.
31210 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31211 "bp-asm.h".
31212 (STRCMP): Do not use BP_SYM.
31213 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31214 "bp-asm.h".
31215 (STRCPY): Do not use BP_SYM.
31216 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31217 "bp-asm.h".
31218 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31219 "bp-asm.h".
31220 (FUNCTION): Do not use BP_SYM.
31221 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31222 weak_alias.
31223 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31224
f238fd19
AJ
312252013-02-17 Andreas Jaeger <aj@suse.de>
31226
31227 * time/Versions: Sort entries.
31228 * string/Versions: Likewise.
31229 * resolv/Versions: Likewise.
31230 * posix/Versions: Likewise.
31231 * iconv/Versions: Likewise.
31232 * elf/Versions: Likewise.
31233 * wcsmbs/Versions: Likewise.
31234
bd07f23c 312352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31236
22af19f9
SP
31237 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31238 loop termination condition.
31239
4709fe76
SP
31240 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31241 variable to calculate EZ.
31242 (__sqr): Likewise.
2d0e0f29
SP
31243
31244 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31245 the lower precision input.
31246
daaa7713
JM
312472013-02-15 Joseph Myers <joseph@codesourcery.com>
31248
31249 [BZ #13550]
31250 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31251 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31252 (run-via-rtld-prefix): Do not handle %-bp tests.
31253 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31254 (all-object-suffixes): Remove .ob.
31255 (bppfx): Remove variable.
31256 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31257 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31258 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31259 [$(build-bounded) = yes] (libtype.ob): Likewise.
31260 * Makerules (elide-routines.ob): Remove variable.
31261 (do-tests-clean): Do not handle *-bp.out.
31262 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31263 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31264 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31265 (tests): Do not include $(tests-bp.out).
31266 (xtests): Do not include $(xtests-bp.out).
31267 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31268 [$(build-bounded) = yes] ($(addprefix
31269 $(objpfx),$(binaries-bounded))): Remove rule.
31270 ($(objpfx)%-bp.out): Remove rule.
31271 * config.make.in (build-bounded): Remove variable.
31272 * crypt/Makefile [$(build-bounded) = yes]
31273 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31274 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31275 append to variable.
31276 [$(build-bounded) = yes] (install-lib): Likewise.
31277 [$(build-bounded) = yes] (generated): Likewise.
31278 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31279 Remove rule.
31280 * intl/Makefile [$(build-bounded) = yes]
31281 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31282 * math/Makefile [$(build-bounded) = yes]
31283 ($(tests:%=$(objpfx)%-bp): Likewise.
31284 * misc/Makefile [$(build-bounded) = yes]
31285 ($(objpfx)tst-tsearch-bp): Likewise.
31286 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31287 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31288 Remove dependency.
31289 * string/Makefile (o-objects.ob): Remove variable.
31290 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31291 (CFLAGS-.ob): Remove variable.
31292 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31293 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31294 both definitions of variable.
31295 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31296 (ASFLAGS-.ob): Remove variable.
31297
e97ed6dd
JM
312982013-02-14 Joseph Myers <joseph@codesourcery.com>
31299
2bdd4ca6
JM
31300 [BZ #13550]
31301 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31302 Remove __BOUNDED_POINTERS__ from condition.
31303 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31304 * string/bits/string2.h [!__NO_STRING_INLINES &&
31305 !__BOUNDED_POINTERS__]: Likewise.
31306 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31307 Likewise.
31308 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31309 Remove conditional code.
31310 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31311 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31312 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31313 condition.
31314
e97ed6dd
JM
31315 [BZ #13550]
31316 * csu/libc-start.c: Do not include <bp-sym.h>.
31317 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31318 * elf/dl-open.c: Do not include <bp-sym.h>.
31319 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31320 * math/fegetenv.c: Do not include <bp-sym.h>.
31321 (fegetenv): Do not use BP_SYM in versioned symbols.
31322 * nptl/sysdeps/pthread/bits/libc-lockP.h
31323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31324 <bp-sym.h>.
31325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31328 (__pthread_mutex_destroy): Likewise.
31329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330 (__pthread_mutex_lock): Likewise.
31331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332 (__pthread_mutex_trylock): Likewise.
31333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31334 (__pthread_mutex_unlock): Likewise.
31335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31336 (__pthread_mutexattr_init): Likewise.
31337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31338 (__pthread_mutexattr_destroy): Likewise.
31339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31340 (__pthread_mutexattr_settype): Likewise.
31341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31342 (__pthread_rwlock_init): Likewise.
31343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31344 (__pthread_rwlock_destroy): Likewise.
31345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31346 (__pthread_rwlock_rdlock): Likewise.
31347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31348 (__pthread_rwlock_tryrdlock): Likewise.
31349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31350 (__pthread_rwlock_wrlock): Likewise.
31351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31352 (__pthread_rwlock_trywrlock): Likewise.
31353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31354 (__pthread_rwlock_unlock): Likewise.
31355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31356 (__pthread_key_create): Likewise.
31357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31358 (__pthread_setspecific): Likewise.
31359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31360 (__pthread_getspecific): Likewise.
31361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31362 Likewise.
31363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31364 (_pthread_cleanup_push_defer): Likewise.
31365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31366 (_pthread_cleanup_pop_restore): Likewise.
31367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31368 (pthread_setcancelstate): Likewise.
31369 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31370 <bp-sym.h>.
31371 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31372 (memchr): Do not use BP_SYM in weak_alias.
31373 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31374 (fegetenv): Do not use BP_SYM in versioned symbols.
31375 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31376 (fesetenv): Do not use BP_SYM in versioned symbols.
31377 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31378 (feupdateenv): Do not use BP_SYM in versioned symbols.
31379 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31380 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31381 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31382 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31383 (open64): Do not use BP_SYM in weak_alias.
31384 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31385 (fegetenv): Do not use BP_SYM in versioned symbols.
31386 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31387 (fesetenv): Do not use BP_SYM in versioned symbols.
31388 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31389 (feupdateenv): Do not use BP_SYM in versioned symbols.
31390 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31391 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31392 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31393 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31394 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31395 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31396 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31397 <bp-sym.h>.
31398 (__libc_start_main): Do not use BP_SYM.
31399
d6752ccd
SP
314002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31401
cb57ce60
SP
31402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31403 redundant return line.
31404 (norm): Likewise.
31405 (denorm): Likewise.
31406 (dbl_mp): Likewise.
31407 (sub_magnitudes): Likewise.
31408 (__add): Likewise.
31409 (__sub): Likewise.
31410 (__mul): Likewise.
31411 (__inv): Likewise.
31412 (__dvd): Likewise.
31413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31414 (norm): Likewise.
31415 (denorm): Likewise.
31416 (dbl_mp): Likewise.
31417 (sub_magnitudes): Likewise.
31418 (__add): Likewise.
31419 (__sub): Likewise.
31420 (__mul): Likewise.
31421 (__inv): Likewise.
31422 (__dvd): Likewise.
31423
f414520d
SP
31424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31425 instead of __mul.
31426 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31427 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31428 (cc32): Likewise.
31429
d6752ccd
SP
31430 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31431 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31433 of __mul for squares.
31434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31435 function
31436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31437 Likewise.
31438 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31440
70d9946a
JM
314412013-02-13 Joseph Myers <joseph@codesourcery.com>
31442
31443 [BZ #13550]
31444 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31445 code.
31446 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31447 prototype or function definition. Rename ubp_* variables and
31448 parameters. Remove argv definitions conditional on
31449 [__BOUNDED_POINTERS__].
31450 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31451 * elf/dl-runtime.c (_dl_fixup): Likewise.
31452 * include/set-hooks.h (RUN_HOOK): Likewise.
31453 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31454 definition.
31455 * string/strcpy.c (strcpy): Do not use __unbounded.
31456 * sysdeps/generic/frame.h (struct layout): Likewise.
31457 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31458 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31459 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31460 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31461 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31462 (__backtrace): Likewise.
31463 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31464 use __ptrvalue.
31465 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31466 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31467 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31468 Likewise.
31469 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31470 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31471 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31472 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31473 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31474 Do not use __unbounded.
31475 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31476 Rename __unboundedrlimits parameter to rlimits in prototype.
31477 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31478 Do not use __unbounded.
31479 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31480 not use __ptrvalue.
31481 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31482 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31483 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31484 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31485 __ptrvalue or __unbounded.
31486 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31487 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31488 use __unbounded.
31489 (__new_msgctl): Do not use __ptrvalue.
31490 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31491 __unbounded.
31492 (__libc_msgrcv): Do not use __ptrvalue.
31493 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31494 startup_info): Do not use __unbounded.
31495 (__libc_start_main): Likewise. Rename ubp_* variables and
31496 parameters. Remove argv definitions conditional on
31497 [__BOUNDED_POINTERS__].
31498 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31499 __ptrvalue.
31500 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31501 use __unbounded.
31502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31503 or __ptrvalue.
31504 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31505 use __unbounded.
31506 (__new_shmctl): Do not use __ptrvalue.
31507 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31508 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31509 Likewise.
31510 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31512 (__libc_sigaction): Likewise.
31513 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31514 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31515 Likewise.
31516 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31517
cc7834d6
OB
315182013-02-13 Ondřej Bílka <neleai@seznam.cz>
31519
ffb1ec7b 31520 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31521
31522 * string/mempcpy.c: Implement by calling memcpy.
31523
bdf02814
SP
315242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31525
c2af38aa
SP
31526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31527
4e92d59e
SP
31528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31529 evaluation.
31530
909279a5
SP
31531 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31532 values in the mantissa.
31533
bdf02814
SP
31534 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31535 minimize writes to Z.
31536 (sub_magnitudes): Simplify code a bit.
31537
cd525923
RM
315382013-02-12 Roland McGrath <roland@hack.frob.com>
31539
31540 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31541 from the message. The linker prefixes all warnings with that already.
31542
7e2f0d2d
AS
315432013-02-12 Andreas Schwab <schwab@suse.de>
31544
a445af0b
AS
31545 [BZ #15078]
31546 * posix/regexec.c (extend_buffers): Add parameter min_len.
31547 (check_matching): Pass minimum needed length.
31548 (clean_state_log_if_needed): Likewise.
31549 (get_subexp): Likewise.
31550 * posix/Makefile (tests): Add bug-regex34.
31551 (bug-regex34-ENV): Define.
31552 * posix/bug-regex34.c: New file.
31553
7e2f0d2d
AS
31554 [BZ #11561]
31555 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31556 elements compare against the byte sequence of it, not its name.
31557 * posix/Makefile (tests): Add bug-regex35.
31558 (bug-regex35-ENV): Define.
31559 * posix/bug-regex35.c: New file.
31560
a175b684
TV
315612013-02-11 Tom de Vries <tom@codesourcery.com>
31562
31563 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31564 comment.
31565 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31566 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31567 (CHECK_EOL): Add undef.
31568
310998fe 315692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31570
31571 * bits/stdlib-bsearch.h: New file.
31572 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31573 * stdlib/stdlib.h: Likewise.
41eda41d 31574
8ded91fb
RM
315752013-02-11 Roland McGrath <roland@hack.frob.com>
31576
31577 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31578 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31579 declaration.
31580 * manual/search.texi (Array Search Function): Add missing const in
31581 lfind prototype.
31582 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31583 declaration to use rlim_t.
31584 (Basic Scheduling Functions): Remove erroneous const from
31585 sched_getparam prototype. Remove erroneous * from
31586 sched_get_priority_max and sched_get_priority_min prototypes.
31587 (Resource Usage): Fix summary @comment on vtimes to refer to
31588 sys/vtimes.h rather than vtimes.h.
31589 Add missing *s in vtimes prototype.
31590 (Limits on Resources): Fix ulimit prototype to return long int.
31591 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31592 prototypes to use long int rather than double.
31593 (BSD Random): Fix initstate and setstate to use char *, not void *.
31594 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31595 prototype to make second argument 'struct aiocb64 *const[]'.
31596 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31597 (Status of AIO Operations): Remove erroneous const in aio_return and
31598 aio_return64 prototypes.
31599 (Synchronizing I/O): Fix sync prototype to return void.
31600 * manual/startup.texi (Suboptions): Remove an erroneous const in
31601 getsubopt prototype.
31602 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31603 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31604 use size_t rather than int.
31605 (Scanning All Users): Likewise for getpwent_r.
31606 (Setting Groups): Add missing const to setgroups prototype.
31607 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31608 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31609 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31610 'const void *' rather than 'const char *'.
31611 (Host Address Functions): Likewise for inet_ntop.
31612 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31613 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31614 ssize_t for return value.
31615 (Sending Data): Likewise for send, sendto, sendmsg.
31616 (Socket Option Functions): Add a missing const in setsockopt prototype.
31617 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31618 use wchar_t for the argument.
31619 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31620 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31621 take no arguments.
31622 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31623 double/float/long double for second argument.
31624 Fix return types of significand, significandf, significandl.
31625 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31626 argument in fchmod prototype.
31627 (File Owner): Use uid_t and gid_t in fchown prototype.
31628 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31629 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31630 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31631 use 'const struct dirent **' as argument types to CMP function pointer
31632 argument.
31633 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31634 (File Times): Fix summary magic @comment for struct utimbuf and utime
31635 to refer to utime.h, not time.h.
31636 * manual/string.texi (Argz Functions): Add missing const in
31637 argz_extract and argz_next prototypes.
31638 (Finding Tokens in a String): Likewise for basename.
31639 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31640 (Copying and Concatenation): Fix typo in wmemmove prototype.
31641 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31642 (Signal Stack): Remove erroneous const in sigstack prototype.
31643 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31644 prototype.
31645 (Simple Calendar Time): Likewise for stime.
31646 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31647 prototype.
31648 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31649 say sys/sysctl.h instead.
31650 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31651 and vsyslog prototypes.
31652
fe77fe6d
TV
316532013-02-11 Tom de Vries <tom@codesourcery.com>
31654
31655 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31656 Remove.
31657
3a09b620
RM
316582013-02-11 Roland McGrath <roland@hack.frob.com>
31659
31660 * misc/sys/mman.h: Fix typo in mremap comment.
31661
550a0b89
RM
316622013-02-08 Roland McGrath <roland@hack.frob.com>
31663
31664 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31665 the '\0' terminator.
31666
a2da1673
JM
316672013-02-08 Joseph Myers <joseph@codesourcery.com>
31668
31669 [BZ #13550]
31670 * debug/segfault.c: Don't include <bp-checks.h>.
31671 * sysdeps/generic/bp-checks.h: Remove file.
31672 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31673 (__GETDENTS): Don't use CHECK_N.
31674 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31675 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31676 (__getgroups): Don't use CHECK_N.
31677 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31678 (setgroups): Don't use CHECK_N.
31679 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31680 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31681 (__libc_msgrcv): Don't use CHECK_N.
31682 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31683 (__libc_msgsnd): Don't use CHECK_N.
31684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31685 <bp-checks.h>.
31686 (__libc_pread): Don't use CHECK_N.
31687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31688 include <bp-checks.h>.
31689 (__libc_pread64): Don't use CHECK_N.
31690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31691 include <bp-checks.h>.
31692 (__libc_pwrite): Don't use CHECK_N.
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31694 include <bp-checks.h>.
31695 (__libc_pwrite64): Don't use CHECK_N.
31696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31697 <bp-checks.h>.
31698 (__libc_pread): Don't use CHECK_N.
31699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31700 include <bp-checks.h>.
31701 (__libc_pread64): Don't use CHECK_N.
31702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31703 include <bp-checks.h>.
31704 (__libc_pwrite): Don't use CHECK_N.
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31706 include <bp-checks.h>.
31707 (__libc_pwrite64): Don't use CHECK_N.
31708 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31709 (do_pread): Don't use CHECK_N.
31710 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31711 (do_pread64): Don't use CHECK_N.
31712 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31713 (do_pwrite): Don't use CHECK_N.
31714 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31715 (do_pwrite64): Don't use CHECK_N.
31716 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31717 (__libc_readv): Don't use CHECK_N.
31718 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31719 (semop): Don't use CHECK_N.
31720 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31721 <bp-checks.h>.
31722 (semtimedop): Don't use CHECK_N.
31723 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31724 (__libc_pread): Don't use CHECK_N.
31725 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31726 <bp-checks.h>.
31727 (__libc_pread64): Don't use CHECK_N.
31728 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31729 <bp-checks.h>.
31730 (__libc_pwrite): Don't use CHECK_N.
31731 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31732 <bp-checks.h>.
31733 (__libc_pwrite64): Don't use CHECK_N.
31734 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31735 <bp-checks.h>.
31736 (__libc_msgrcv): Don't use CHECK_N.
31737 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31738 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31739 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31740 (__libc_writev): Don't use CHECK_N.
31741
b84660a8
RM
317422013-02-08 Roland McGrath <roland@hack.frob.com>
31743
7f3e75f8
RM
31744 * string/strcpy.c: Removed unused variable.
31745
b84660a8
RM
31746 * Makeconfig (+sysdep-includes): Define with := rather than =.
31747 Use an existing include/ subdir of each sysdeps dir before it.
31748
471514d3
CD
317492013-02-08 Carlos O'Donell <carlos@redhat.com>
31750
31751 * nscd/connection.c (register_traced_file): Comment function.
31752 [HAVE_INOTIFY] (union __inev): Define.
31753 [HAVE_INOTIFY] (inotify_check_files): New function.
31754 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31755 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31756 clear_db_cache.
31757 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31758
b2d3c3be
CD
317592013-02-08 Carlos O'Donell <carlos@redhat.com>
31760
31761 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31762 loaded if not already and that a failure is permanent.
31763
b39949d2
CD
317642013-02-08 Carlos O'Donell <carlos@redhat.com>
31765
ddacd1db 31766 [BZ #15006]
b39949d2
CD
31767 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31768 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31769
b2c9eff4
JM
317702013-02-08 Joseph Myers <joseph@codesourcery.com>
31771
f3aae3f3
JM
31772 [BZ #13550]
31773 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31774 (CHECK_1_NULL_OK): Likewise.
31775 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31776 (__fxstat): Do not use CHECK_1.
31777 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31778 <bp-checks.h>.
31779 (___fxstat64): Do not use CHECK_1.
31780 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31781 <bp-checks.h>.
31782 (__fxstatat): Do not use CHECK_1.
31783 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31784 <bp-checks.h>.
31785 (__fxstatat64): Do not use CHECK_1.
31786 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31787 <bp-checks.h>.
31788 (__fxstat): Do not use CHECK_1.
31789 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31790 <bp-checks.h>.
31791 (__fxstatat): Do not use CHECK_1.
31792 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31793 <bp-checks.h>.
31794 (__getresgid): Do not use CHECK_1.
31795 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31796 <bp-checks.h>.
31797 (__getresuid): Do not use CHECK_1.
31798 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31799 <bp-checks.h>.
31800 (__lxstat): Do not use CHECK_1.
31801 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31802 <bp-checks.h>.
31803 (__old_msgctl): Do not use CHECK_1.
31804 (__new_msgctl): Likewise.
31805 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31806 <bp-checks.h>.
31807 (__new_setrlimit): Do not use CHECK_1.
31808 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31809 <bp-checks.h>.
31810 (__old_shmctl): Do not use CHECK_1.
31811 (__new_shmctl): Likewise.
31812 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31813 <bp-checks.h>.
31814 (__xstat): Do not use CHECK_1.
31815 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31816 (__lxstat): Do not use CHECK_1.
31817 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31818 <bp-checks.h>.
31819 (___lxstat64): Do not use CHECK_1.
31820 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31821 (__old_msgctl): Do not use CHECK_1.
31822 (__new_msgctl): Likewise.
31823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31824 <bp-checks.h>.
31825 (__gettimeofday): Do not use CHECK_1.
31826 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31827 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31828 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31829 <bp-checks.h>.
31830 (__gettimeofday): Do not use CHECK_1.
31831 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31832 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31833 (__new_shmctl): Do not use CHECK_1.
31834 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31835 <bp-checks.h>.
31836 (do_sigtimedwait): Do not use CHECK_1.
31837 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31838 <bp-checks.h>.
31839 (do_sigwaitinfo): Do not use CHECK_1.
31840 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31841 <bp-checks.h>.
31842 (msgctl): Do not use CHECK_1.
31843 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31844 <bp-checks.h>.
31845 (shmctl): Do not use CHECK_1.
31846 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31847 (ustat): Do not use CHECK_1.
31848 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31849 <bp-checks.h>.
31850 (__fxstat): Do not use CHECK_1.
31851 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31852 <bp-checks.h>.
31853 (__fxstatat): Do not use CHECK_1.
31854 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31855 <bp-checks.h>.
31856 (__lxstat): Do not use CHECK_1.
31857 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31858 <bp-checks.h>.
31859 (__xstat): Do not use CHECK_1.
31860 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31861 (__xstat): Do not use CHECK_1.
31862 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31863 (___xstat64): Do not use CHECK_1.
31864
b2c9eff4
JM
31865 [BZ #13550]
31866 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31867 definitions.
31868 (CHECK_BOUNDS_HIGH): Likewise.
31869 * string/strcpy.c: Do not include <bp-checks.h>.
31870 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31871
f1d70dad
RM
318722013-02-07 Roland McGrath <roland@hack.frob.com>
31873
31874 * nscd/nscd-client.h (__nscd_drop_map_ref):
31875 Add __attribute__ ((unused)).
31876 * nis/nss-nisplus.h (niserr2nss): Likewise.
31877
31878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31879 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31880
31881 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31882 Remove inline keyword.
31883 * include/rounding-mode.h (round_away): Likewise.
31884 * libio/wfileops.c (adjust_wide_data): Likewise.
31885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31886 (__m128i_strloadu_tolower): Likewise.
31887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31888 (__m128i_strloadu_tolower): Likewise.
31889 * time/mktime.c (ydhms_diff): Likewise.
31890 * locale/elem-hash.h (elem_hash): Likewise.
31891 * locale/setlocale.c (setdata): Likewise.
31892 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31893 (re_string_wchar_at): Likewise.
31894 (bitset_not, bitset_merge, bitset_mask): Likewise.
31895 [!(__GNUC__ > 3)] (inline): Remove macro.
31896 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31897 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31898 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31899 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31900 * string/memcmp.c (memcmp_bytes): Likewise.
31901 * locale/programs/locarchive.c (compute_hashval): Likewise.
31902 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31903 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31904 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31905 * nss/getent.c (print_rpc, print_protocols): Likewise.
31906 (print_passwd, print_group, print_aliases): Likewise.
31907 * nis/nss-nisplus.h (niserr2nss): Likewise.
31908 * nscd/connections.c (restart_p): Likewise.
31909 Change return type to bool.
31910
eab55bfb
RM
319112013-02-05 Roland McGrath <roland@hack.frob.com>
31912
7bd642f5
RM
31913 * Makeconfig (all-Depend-files): Add existing
31914 $(sorted-subdirs:=/Depend) files.
31915 (all-subdirs): Remove nss.
31916 * sysdeps/unix/inet/Subdirs: Add it here instead.
31917 * hesiod/Depend: New file.
31918
573c29b2
RM
31919 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31920 instead of calling alloca.
31921
b2e25af0
RM
31922 * io/lseek.c (__lseek): Rename to __libc_lseek.
31923 Define __lseek as an alias.
31924
eab55bfb
RM
31925 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31926
9a0d1941
CD
319272013-02-04 Carlos O'Donell <carlos@redhat.com>
31928
31929 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31930 else clause and remove check for non-standard endianness.
31931
b83bbec4
DM
319322013-02-04 David S. Miller <davem@davemloft.net>
31933
31934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31935
6277fdab
JM
319362013-02-04 Joseph Myers <joseph@codesourcery.com>
31937
31938 [BZ #13550]
31939 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31940 (__ubp_memchr): Remove prototype.
31941 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31942 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31943 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31944 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31945 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31946 Remove alias.
31947 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31948 (__ubp_memchr): Likewise.
31949 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31950 (__ubp_memchr): Likewise.
31951 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31952 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31953 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31954 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31955 CHECK_STRING.
31956 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31957 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31958 (__getcwd): Do not use CHECK_STRING.
31959 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31960 <bp-checks.h>.
31961 (__real_chown): Do not use CHECK_STRING.
31962 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31963 <bp-checks.h>.
31964 (fchownat): Do not use CHECK_STRING.
31965 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31966 CHECK_STRING.
31967 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31968 <bp-checks.h>.
31969 (__lchown): Do not use CHECK_STRING.
31970 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31971 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31972 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31973 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31975 include <bp-checks.h>.
31976 (truncate64): Do not use CHECK_STRING.
31977 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31978 <bp-checks.h>.
31979 (__real_chown): Do not use CHECK_STRING.
31980 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31981 <bp-checks.h>.
31982 (__lchown): Do not use CHECK_STRING.
31983 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31984 <bp-checks.h>.
31985 (__chown): Do not use CHECK_STRING.
31986 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31987 <bp-checks.h>.
31988 (truncate64): Do not use CHECK_STRING.
31989 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31990 Likewise.
31991 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31992 (__xmknod): Do not use CHECK_STRING.
31993 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31994 <bp-checks.h>.
31995 (__xmknodat): Do not use CHECK_STRING.
31996 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31997 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31998
903ae060
AS
319992013-02-04 Andreas Schwab <schwab@suse.de>
32000
32001 [BZ #14142]
32002 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32003 * include/netdb.h: Likewise for h_errno.
32004 * elf/tst-stackguard1.c: Include <tls.h>.
32005
542f9466
JK
320062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32007
32008 * elf/link.h (struct link_map): Extend the l_addr comment.
32009 * include/link.h (struct link_map): Likewise.
32010
e782a927
JM
320112013-02-01 Joseph Myers <joseph@codesourcery.com>
32012
32013 [BZ #13550]
32014 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32015 (BOUNDED_1): Remove macro.
32016 * debug/backtrace.c: Don't include <bp-checks.h>.
32017 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32018 (__backtrace): Likewise.
32019 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32020 <bp-checks.h>.
32021 (__backtrace): Don't use BOUNDED_1.
32022 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32023 <bp-checks.h>.
32024 (__backtrace): Don't use BOUNDED_1.
32025 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32026 (__backtrace): Don't use BOUNDED_1.
32027 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32028 (shmat): Don't use BOUNDED_N.
32029
8cf28c5e
JM
320302013-01-31 Joseph Myers <joseph@codesourcery.com>
32031
3a7ac8a0
JM
32032 [BZ #13550]
32033 * sysdeps/generic/bp-start.h: Remove file.
32034 * csu/libc-start.c: Don't include <bp-start.h>.
32035 (LIBC_START_MAIN): Set up __environ directly instead of using
32036 INIT_ARGV_and_ENVIRON.
32037 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32038 <bp-start.h>.
32039
f3499f95
JM
32040 [BZ #13550]
32041 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32042 definitions.
32043 (CHECK_FCNTL): Likewise.
32044 (CHECK_N_PAGES): Likewise.
32045
32a45bea
JM
32046 [BZ #13550]
32047 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32048 definitions.
32049 (CHECK_SIGSET_NULL_OK): Likewise.
32050 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32051 <bp-checks.h>.
32052 (sigpending): Don't use CHECK_SIGSET.
32053 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32054 <bp-checks.h>.
32055 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32056 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32057 <bp-checks.h>.
32058 (do_sigsuspend): Don't use CHECK_SIGSET.
32059 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32060 use CHECK_SIGSET.
32061 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32062 (do_sigwait): Don't use CHECK_SIGSET.
32063 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32064 use CHECK_SIGSET.
32065 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32066 include <bp-checks.h>.
32067 (sigpending): Don't use CHECK_SIGSET.
32068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32069 include <bp-checks.h>.
32070 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32071 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32072 <bp-checks.h>.
32073 (sigpending): Don't use CHECK_SIGSET.
32074 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32075 <bp-checks.h>.
32076 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32077
2e8a5c8c
JM
32078 [BZ #13550]
32079 * sysdeps/generic/bp-semctl.h: Remove file.
32080 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32081 <bp-checks.h> and <bp-semctl.h>.
32082 (__old_semctl): Don't use CHECK_SEMCTL.
32083 (__new_semctl): Likewise.
32084 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32085 and <bp-semctl.h>.
32086 (__old_semctl): Don't use CHECK_SEMCTL.
32087 (__new_semctl): Likewise.
32088 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32089 <bp-checks.h> and <bp-semctl.h>.
32090 (__old_semctl): Don't use CHECK_SEMCTL.
32091 (__new_semctl): Likewise.
32092 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32093 <bp-checks.h> and <bp-semctl.h>.
32094 (semctl): Don't use CHECK_SEMCTL.
32095
c2d54929
JM
32096 [BZ #13550]
32097 * Makerules (elide-bp-thunks): Remove variable.
32098 (elide-routines.oS): Don't use $(elide-bp-thunks).
32099 (elide-routines.os): Likewise.
32100 (elide-routines.o): Likewise.
32101 (elide-routines.op): Likewise.
32102 (elide-routines.og): Likewise.
32103 (objects): Don't use $(bp-thunks).
32104 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32105 include.
32106 (common-generated): Do not add s-proto-bp.d.
32107 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32108 (int): Likewise.
32109 (typ): Likewise.
32110 Do not generate makefile rules for bounded-pointer thunks.
32111 * sysdeps/generic/bp-thunks.h: Remove file.
32112 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32113 * sysdeps/unix/s-proto-bp.S: Likewise.
32114
8cf28c5e
JM
32115 [BZ #15062]
32116 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32117 parts of result separately when argument is not close to line from
32118 -i to i and one part of argument is small.
32119 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32120 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32121 * math/libm-test.inc (cacos_test): Add more tests.
32122 (casin_test): Likewise.
32123 (casinh_test): Likewise.
32124 * sysdeps/i386/fpu/libm-test-ulps: Update.
32125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32126
c4e33b8d
DM
321272013-01-31 David S. Miller <davem@davemloft.net>
32128
32129 * po/de.po: Update from translation team.
32130
3b60b421
MK
321312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32132
32133 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32134
bb931195
TS
321352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32136
b5a5da23
TS
32137 * configure.in (_AC_PROG_CC_C89): New definition.
32138 * configure: Regenerate.
32139
bb931195
TS
32140 * configure.in (AC_PROG_CPP): New definition.
32141 * configure: Regenerate.
32142
8c53a12c
JM
321432013-01-23 Joseph Myers <joseph@codesourcery.com>
32144
32145 * debug/tst-backtrace.h: New file.
32146 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32147 (ret): Remove variable.
32148 (x): Likewise.
32149 (FAIL): Remove macro.
32150 (NO_INLINE): Likewise.
32151 (fn1): Use match function instead of strstr.
32152 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32153 (ret): Remove variable.
32154 (x): Likewise.
32155 (FAIL): Remove macro.
32156 (NO_INLINE): Likewise.
32157 (fn): Use match function instead of strstr.
32158 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32159 (ret): Remove variable.
32160 (x): Likewise.
32161 (FAIL): Remove macro.
32162 (NO_INLINE): Likewise.
32163 (handle_signal): Use match function instead of strstr.
32164 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32165 (ret): Remove variable.
32166 (x): Likewise.
32167 (FAIL): Remove macro.
32168 (NO_INLINE): Likewise.
32169 (handle_signal): Use match function instead of strstr.
32170
4858fa2a
RM
321712013-01-23 Roland McGrath <roland@hack.frob.com>
32172
32173 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32174
bae8e7f5
DM
321752013-01-23 David S. Miller <davem@davemloft.net>
32176
32177 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32178 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32179 argument of CAS if possible.
32180 * sysdeps/sparc/sparc64/bits/atomic.h
32181 (__arch_compare_and_exchange_val_32_acq): Likewise.
32182 (__arch_compare_and_exchange_val_64_acq): Likewise.
32183
9cbbc4ae
PT
321842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32185
32186 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32187 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32188 Include <limits.h>.
67b3f58c 32189 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32190
5655a0b5
AC
321912013-01-23 Adam Conrad <adconrad@0c3.net>
32192
32193 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32194 (LDFLAGS-tst-array5): Likewise.
32195
052aff95
JM
321962013-01-23 Joseph Myers <joseph@codesourcery.com>
32197
32198 [BZ #15036]
32199 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32200 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32201 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32202 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32203
7c1e01aa
DM
322042013-01-21 David S. Miller <davem@davemloft.net>
32205
32206 * sysdeps/sparc/backtrace.c: New file.
32207 * sysdeps/sparc/sparc32/backtrace.h: New file.
32208 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32209 * sysdeps/sparc/sparc64/backtrace.h: New file.
32210 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32211 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32212 -funwind-tables.
32213
ab087e0a
AS
322142013-01-21 Andreas Schwab <schwab@suse.de>
32215
32216 [BZ #15020]
32217 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32218 closed its stdout.
32219
ed689c2f
AS
322202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32221
32222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32223 "mpa2.h".
32224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32225
31d470ac
JM
322262013-01-18 Joseph Myers <joseph@codesourcery.com>
32227 Mark Mitchell <mark@codesourcery.com>
32228 Tom de Vries <tom@codesourcery.com>
32229 Paul Pluzhnikov <ppluzhnikov@google.com>
32230
32231 * debug/tst-backtrace2.c: New file.
32232 * debug/tst-backtrace3.c: Likewise.
32233 * debug/tst-backtrace4.c: Likewise.
32234 * debug/tst-backtrace5.c: Likewise.
32235 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32236 (CFLAGS-tst-backtrace3.c): Likewise.
32237 (CFLAGS-tst-backtrace4.c): Likewise.
32238 (CFLAGS-tst-backtrace5.c): Likewise.
32239 (LDFLAGS-tst-backtrace2): Likewise.
32240 (LDFLAGS-tst-backtrace3): Likewise.
32241 (LDFLAGS-tst-backtrace4): Likewise.
32242 (LDFLAGS-tst-backtrace5): Likewise.
32243 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32244 tst-backtrace4 and tst-backtrace5.
32245
90567f30 322462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32247 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32248
32249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32250 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32251 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32252 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32254 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32255 "+r" and remove output regs list as redundant. Add explicit inline
32256 asm to specify register of return val to work around compiler codegen
32257 bug. Remove (int) cast on return value. Add return type parameter to
32258 use in macro so that this macro does not truncate return value for
32259 64-bit values.
32260 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32261 pass to INTERNAL_VSYSCALL_NCS.
32262 (INLINE_VSYSCALL): Add 'long int' as return type to
32263 INTERNAL_VSYSCALL_NCS macro invocation.
32264 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32265 INTERNAL_VSYSCALL_NCS macro invocation.
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32267
d3b9ea61
SP
322682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32269
0b57daeb
SP
32270 [BZ #14496]
32271 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32272 Fix application of SIMD FP exception mask.
32273
caa99d06
SP
32274 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32275 mp_no from a power of two.
32276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32277 __mpexp_twomm1. Use __pow_mp.
32278
d3b9ea61
SP
32279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32280 multiplication.
32281
1dbaee3c
DM
322822013-01-17 David S. Miller <davem@davemloft.net>
32283
32284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32285
728d7b43
JM
322862013-01-17 Joseph Myers <joseph@codesourcery.com>
32287
32288 [BZ #15023]
32289 * include/complex.h: Condition contents on [!_COMPLEX_H].
32290 (__kernel_casinhf): New prototype.
32291 (__kernel_casinh): Likewise.
32292 (__kernel_casinhl): Likewise.
32293 * math/Makefile (libm_calls): Add k_casinh.
32294 * math/k_casinh.c: New file.
32295 * math/k_casinhf.c: Likewise.
32296 * math/k_casinhl.c: Likewise.
32297 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32298 finite nonzero arguments.
32299 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32300 finite nonzero arguments.
32301 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32302 finite nonzero arguments.
32303 * math/s_casinh.c: Do not include <float.h>.
32304 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32305 * math/s_casinhf.c: Do not include <float.h>.
32306 (__casinhf): Move code for finite nonzero arguments to
32307 k_casinhf.c.
32308 * math/s_casinhl.c: Do not include <float.h>.
32309 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32310 redefine.
32311 (__casinhl): Move code for finite nonzero arguments to
32312 k_casinhl.c.
32313 * math/libm-test.inc (cacos_test): Add more tests.
32314 * sysdeps/i386/fpu/libm-test-ulps: Update.
32315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32316
2a26ef3a
PT
323172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32318
32319 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32320 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32321 [!HAVE_MREMAP]: Remove [defined linux] case.
32322 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32323
a897655d
SP
323242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32325
32326 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32327
881ebe89 323282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32329
32330 * elf/elf.h (R_386_SIZE32): New relocation.
32331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32332 R_386_SIZE32.
32333 (elf_machine_rela): Likewise.
32334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32335 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32336
59981e9b
JM
323372013-01-17 Joseph Myers <joseph@codesourcery.com>
32338
32339 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32340 (FP_FAST_FMA): Do not define.
32341 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32342 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32343 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32344 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32345 !_SOFT_FLOAT]: Likewise.
32346 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32348 value.
32349 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32350 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32351 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32352 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32353 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32354 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32355 file.
32356
cfa8054f
AS
323572013-01-16 Andreas Schwab <schwab@suse.de>
32358
32359 [BZ #14327]
32360 * include/stdlib.h (__mktemp): Add declaration.
32361 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32362 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32363
dd930cc5
SP
323642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32365
881ebe89
SP
32366 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32367 definitions.
32368 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32369 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32370 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32371 definitions here.
32372 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32373 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32374 definitions.
32375 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32376 and ONE.
32377 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32378 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32379 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32380 definitions.
32381 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32382 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32383 definitions.
32384 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32385
dd930cc5
SP
32386 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32387
c19a9f89
DM
323882013-01-15 David S. Miller <davem@davemloft.net>
32389
1aa61767
DM
32390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32391 trunc{,f} to libm-sysdep_routes.
32392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32394 file.
32395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32397 file.
32398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32399 file.
32400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32402 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32403 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32404 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32405 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32406 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32407 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32408
c42d5e98
DM
32409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32410 nearbyint{,f} to libm-sysdep_routes.
32411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32413 New file.
32414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32415 file.
32416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32417 New file.
32418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32419 file.
32420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32423 file.
32424 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32425 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32426 file.
32427 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32428 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32429 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32430
c19a9f89
DM
32431 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32432 libc_feholdexcept and libc_fesetenv.
32433
357679d2
MF
324342013-01-15 Mike Frysinger <vapier@gentoo.org>
32435
32436 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32437
65a82e3d
DM
324382013-01-14 David S. Miller <davem@davemloft.net>
32439
8b954ab9
DM
32440 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32441 (SPARC_ASM_VIS2_IFUNC): Likewise.
32442 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32444 use of 'siam' instruction.
32445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32446 Likewise.
32447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32448 Likewise.
32449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32450 Likewise.
32451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32456 file.
32457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32458 file.
32459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32460 file.
32461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32462 file.
32463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32468 new VIS2 routines.
32469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32472 Likewise.
32473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32478 routines to libm-sysdep_routines.
32479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32480
65a82e3d
DM
32481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32482 fdim/fdimf to libm-sysdep_routines.
32483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32484 file.
32485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32487 file.
32488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32491 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32492 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32493 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32494 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32495
e34ab705
SP
324962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32497
2a91b573
SP
32498 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32499 to optimize copies.
32500
1066a534
SP
32501 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32504
e34ab705
SP
32505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32506 local variable MPTWO.
32507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32508 Likewise.
32509
aba5e596
MF
325102013-01-13 Mike Frysinger <vapier@gentoo.org>
32511
32512 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32513 GLOB_NOESCAPE.
32514
e557e9e5
MF
325152013-01-13 Mike Frysinger <vapier@gentoo.org>
32516
32517 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32518
0428cec9
MF
325192013-01-13 Mike Frysinger <vapier@gentoo.org>
32520
32521 * manual/pattern.texi (glob_t): Document gl_flags.
32522 (glob64_t): Likewise.
32523
8794a964
DM
325242013-01-11 David S. Miller <davem@davemloft.net>
32525
66438c3f
RM
32526 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32527 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32528 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32529 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32530 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32531 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32532 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32533 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32534 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32535 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32536 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32537 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32538 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32539
4ae4244d
DM
32540 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32541 sparc V9 rather than using V8 code.
32542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32544
8794a964
DM
32545 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32546 Move to...
32547 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32548 Here.
32549
6270516e
RM
325502013-01-11 Roland McGrath <roland@hack.frob.com>
32551
32552 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32553 not in the main loop.
32554 * configure: Regenerated.
32555
6a57d931
JM
325562013-01-11 Joseph Myers <joseph@codesourcery.com>
32557
32558 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32559 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32560 to just #else.
32561 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32562 [!__GLIBC_HAVE_LONG_LONG] case.
32563 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32564 condition to just #else.
32565 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32566 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32567 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32568 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32569 unconditional.
32570 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32571 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32572 #elif condition to just #else.
32573 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32574 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32575 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32576 #elif condition to just #else.
32577
0e8529e9
SE
325782013-01-11 Steve Ellcey <sellcey@mips.com>
32579
32580 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32581 (EF_MIPS_ARCH_64): Fix value.
32582 (EF_MIPS_ARCH_32R2): New.
32583 (EF_MIPS_ARCH_64R2): New.
32584
740b3dbe
L
325852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32586
32587 * Makeconfig (+link-pie-before-libc): New.
32588 (+link-pie-after-libc): Likewise.
32589 (+link-pie-tests): Likewise.
32590 (+link-pie): Rewritten.
32591 (link-before-libc): Remove $(config-LDFLAGS).
32592 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32593 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32594 (config-LDFLAGS): Renamed to ...
32595 (rtld-LDFLAGS): This.
32596 (rtld-tests-LDFLAGS): New macro.
32597 (link-libc-rpath-link): Likewise.
32598 (link-libc-tests-rpath-link): Likewise.
32599 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32600 (link-libc): Prepand $(link-libc-rpath-link).
32601 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32602 (test-program-prefix): New macro.
32603 (test-via-rtld-prefix): Likewise.
32604 (test-program-cmd): Likewise.
32605 (host-test-program-cmd): Likewise.
32606 * Makefile ($(common-objpfx)testrun.sh): Replace
32607 $(run-program-prefix) with $(test-program-prefix).
32608 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32609 $(rtld-LDFLAGS).
32610 ($(common-objpfx)shlib.lds): Likewise.
32611 (build-module-helper): Likewise.
32612 ($(common-objpfx)format.lds): Likewise.
32613 * Rules (binaries-pie-tests): New.
32614 (binaries-pie-notests): Likewise.
32615 (binaries-pie): Rewritten.
32616 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32617 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32618 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32619 (make-test-out): Replace $(host-built-program-cmd) with
32620 $(host-test-program-cmd).
32621 * config.make.in (build-hardcoded-path-in-tests): New variable.
32622 * configure.in (--enable-hardcoded-path-in-tests): New configure
32623 option.
32624 (hardcoded_path_in_tests): New AC_SUBST.
32625 * configure: Regenerated.
32626 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32627 $(built-program-cmd) with $(test-program-cmd).
32628 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32629 (test_program_cmd): This.
32630 * elf/Makefile ($(objpfx)order.out): Run test with
32631 $(test-program-prefix).
32632 ($(objpfx)order2.out): Likewise.
32633 ($(objpfx)tst-initorder.out): Likewise.
32634 ($(objpfx)tst-initorder2.out): Likewise.
32635 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32636 $(test-program-cmd).
32637 ($(objpfx)tst-array1-static.out): Likewise.
32638 ($(objpfx)tst-array2.out): Likewise.
32639 ($(objpfx)tst-array3.out): Likewise.
32640 ($(objpfx)tst-array4.out): Likewise.
32641 ($(objpfx)tst-array5.out): Likewise.
32642 ($(objpfx)tst-array5-static.out): Likewise.
32643 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32644 $(test-program-cmd).
32645 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32646 $(run-program-prefix) with $(test-program-prefix).
32647 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32648 (test_program_prefix): This.
32649 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32650 $(run-program-prefix) with $(test-program-prefix).
32651 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32652 (test_program_prefix): This.
32653 * iconvdata/tst-tables.sh: Likewise.
32654 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32655 $(run-program-prefix) with $(test-program-prefix).
32656 ($(objpfx)tst-translit.out): Likewise.
32657 ($(objpfx)tst-gettext2.out): Likewise.
32658 ($(objpfx)tst-gettext4.out): Likewise.
32659 ($(objpfx)tst-gettext6.out): Likewise.
32660 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32661 (test_program_prefix): This.
32662 * intl/tst-gettext2.sh: Likewise.
32663 * intl/tst-gettext4.sh Likewise.
32664 * intl/tst-gettext6.sh: Likewise.
32665 * intl/tst-translit.sh: Likewise.
32666 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32667 with $(test-program-cmd).
32668 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32669 $(run-program-prefix) with $(test-program-prefix).
32670 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32671 (test_program_prefix): This.
32672 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32673 $(run-program-prefix) with $(test-program-prefix).
32674 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32675 (test_program_prefix): This.
32676 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32677 * posix/Makefile ($(objpfx)globtest.out): Replace
32678 $(run-via-rtld-prefix) and $(test-wrapper) with
32679 $(test-program-prefix) and $(test-via-rtld-prefix).
32680 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32681 $(test-program-prefix).
32682 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32683 $(host-test-program-cmd).
32684 (tst-spawn-ARGS): Likewise.
32685 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32686 $(test-program-prefix).
32687 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32688 (test_via_rtld_prefix): This.
32689 (test_wrapper): Renamed to ...
32690 (test_program_prefix): This.
32691 (run_program_prefix): Replaced by test_program_prefix.
32692 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32693 (test_program_prefix): This.
32694 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32695 with $(host-test-program-cmd).
32696 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32697 $(run-program-prefix) with $(test-program-prefix).
32698 ($(objpfx)tst-printf.out): Likewise.
32699 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32700 $(test-program-cmd).
32701 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32702 (test_program_prefix): This.
32703 * stdio-common/tst-unbputc.sh: Likewise.
32704 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32705 $(run-program-prefix) with $(test-program-prefix).
32706 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32707 (test_program_prefix): This.
32708 * string/Makefile ($(objpfx)tst-svc.out): Replace
32709 $(built-program-cmd) with $(test-program-cmd).
32710
c6fe55cf
AJ
327112013-01-11 Andreas Jaeger <aj@suse.de>
32712
32713 [BZ #15003]
32714 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32715 value. Sync with Linux 3.7.
32716
9e6919c8
DM
327172013-01-10 David S. Miller <davem@davemloft.net>
32718
32719 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32720 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32721 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32722
1c9f1a02
RM
327232013-01-10 Roland McGrath <roland@hack.frob.com>
32724
32725 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32726 never set.
32727 * configure: Regenerated.
32728
b9de2dde
DM
327292013-01-10 David S. Miller <davem@davemloft.net>
32730
32731 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32732 sparc V9 rather than using V8 code.
32733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32735
e7f68ef4
RM
327362013-01-10 Roland McGrath <roland@hack.frob.com>
32737
32738 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32739 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32740 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32741 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32742 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32743 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32744 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32745 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32746 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32747 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32748 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32749 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32750 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32751 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32752 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32753 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32754 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32755 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32756 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32757 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32758 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32759 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32760 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32761 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32762 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32763 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32764 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32765
5a47cc9c
DM
327662013-01-10 David S. Miller <davem@davemloft.net>
32767
32768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32769
4cf8f209
L
327702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32771
32772 * posix/Makefile (tests-static): New variable.
32773 (tests): Add $(tests-static).
32774 (tst-exec-static-ARGS): New variable.
32775 (tst-spawn-static-ARGS): Likewise.
32776 * posix/tst-exec-static.c: New file.
32777 * posix/tst-spawn-static.c: Likewise.
32778 * posix/tst-exec.c: Support run directly.
32779 * posix/tst-spawn.c: Likewise.
32780
fed0faa1
JM
327812013-01-10 Joseph Myers <joseph@codesourcery.com>
32782
828beb13
JM
32783 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32784 long.
32785 * math/bits/mathcalls.h (llrint): Likewise.
32786 (llround): Likewise.
32787 * stdlib/stdlib.h (struct drand48_data): Likewise.
32788 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32789 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32790 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32791 Likewise.
32792 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32793 Likewise.
32794 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32795 (elf_greg_t): Likewise.
32796 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32797 (__jmp_buf): Likewise.
32798 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32799 definitions.
32800 (llrint): Likewise, for all definitions.
32801 (llrintl): Likewise.
32802
fed0faa1
JM
32803 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32804 Remove [__GNUC__] condition.
32805 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32806 condition to just [__USE_ISOC99].
32807 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32808
1a20cb20
L
328092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32810
32811 [BZ #14200]
32812 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32813 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32814 defined.
32815 (_POSIX_V6_ILP32_OFF32): Likewise.
32816 (_XBS5_ILP32_OFF32): Likewise.
32817 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32818 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32819
751b85f7
SP
328202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32821
7490eb81
SP
32822 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32823
751b85f7
SP
32824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32825 doubles __mpexp_twomm1. Adjust usage.
32826 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32827 Remove.
32828
988197f0
AS
328292013-01-10 Andreas Schwab <schwab@suse.de>
32830
32831 [BZ #14964]
32832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32833 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32834
e83d7298
DM
328352013-01-09 David S. Miller <davem@davemloft.net>
32836
034ed64b 32837 [BZ #15003]
57f41c40
AS
32838 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32839 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32840 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32841 (TCP_FASTOPEN): Define.
e83d7298
DM
32842 (tcp_repair_opt): New structure.
32843 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32844 enum values.
57f41c40
AS
32845 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32846 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32847 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32848 (tcp_cookie_transactions): New structure.
32849
d5e0b9bd
AB
328502013-01-09 Anton Blanchard <anton@samba.org>
32851
32852 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32853 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32856
0c07e3ea
JM
328572013-01-09 Joseph Myers <joseph@codesourcery.com>
32858
32859 * include/features.h (__USE_ANSI): Remove.
32860
232f7002
RM
328612013-01-09 Roland McGrath <roland@hack.frob.com>
32862
ad98e30c
RM
32863 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32864
232f7002
RM
32865 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32866
950c99ca
SP
328672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32868
b5792741
SP
32869 * sysdeps/s390/fpu/libm-test-ulps: Update.
32870
47cf2278
SP
32871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32872
950c99ca
SP
32873 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32874 (__acr): Likewise.
32875 (__cpy): Likewise.
32876 (norm): Likewise.
32877 (denorm): Likewise.
32878 (__mp_dbl): Likewise.
32879 (__dbl_mp): Likewise.
32880 (add_magnitudes): Likewise.
32881 (sub_magnitudes): Likewise.
32882 (__add): Likewise.
32883 (__sub): Likewise.
32884 (__mul): Likewise.
32885 (__inv): Likewise.
32886 (__dvd): Likewise.
32887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32888 (__acr): Likewise.
32889 (__cpy): Likewise.
32890 (norm): Likewise.
32891 (denorm): Likewise.
32892 (__mp_dbl): Likewise.
32893 (__dbl_mp): Likewise.
32894 (add_magnitudes): Likewise.
32895 (sub_magnitudes): Likewise.
32896 (__add): Likewise.
32897 (__sub): Likewise.
32898 (__mul): Likewise.
32899 (__inv): Likewise.
32900 (__dvd): Likewise.
32901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32902 (__acr): Likewise.
32903 (__cpy): Likewise.
32904 (norm): Likewise.
32905 (denorm): Likewise.
32906 (__mp_dbl): Likewise.
32907 (__dbl_mp): Likewise.
32908 (add_magnitudes): Likewise.
32909 (sub_magnitudes): Likewise.
32910 (__add): Likewise.
32911 (__sub): Likewise.
32912 (__mul): Likewise.
32913 (__inv): Likewise.
32914 (__dvd): Likewise.
32915
eede9df9
JM
329162013-01-08 Joseph Myers <joseph@codesourcery.com>
32917
32918 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32919 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32920 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32921 2 && __USE_EXTERN_INLINES]: Likewise.
32922
c40ea3d9
AJ
329232013-01-08 Andreas Jaeger <aj@suse.de>
32924
32925 [BZ# 14985]
32926 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32927 Remove.
32928 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32929 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32930
2ccdea26
AB
329312013-01-07 Anton Blanchard <anton@samba.org>
32932
32933 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32934 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32935 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32936 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32937 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32938 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32939 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32940 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32942 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32943 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32948 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32950 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32951 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32952 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32955 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32956 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32957 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32958 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32959 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32960 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32962 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32963 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32965 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32966 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32967 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32970 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32971 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32973 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32975 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32976
a9708fed
JM
329772013-01-07 Joseph Myers <joseph@codesourcery.com>
32978
375607b9
JM
32979 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32980 (__MALLOC_PMT): Likewise.
32981 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32982 [__GNUC__], only on [_LIBC].
32983 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32984 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32985 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32986 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32987 forward declaration.
32988 (realloc_hook_ini): Likewise.
32989 (memalign_hook_ini): Likewise.
32990 (__libc_memalign): Do not use __MALLOC_PMT in variable
32991 declaration.
32992 (__libc_valloc): Likewise.
32993 (__libc_pvalloc): Likewise.
32994 (__libc_calloc): Likewise.
32995 (__posix_memalign): Likewise.
32996
a9708fed
JM
32997 [BZ #14996]
32998 * math/s_casinh.c: Include <float.h>.
32999 (__casinh): Do not do computation with squaring and square root
33000 for large arguments.
33001 * math/s_casinhf.c: Include <float.h>.
33002 (__casinhf): Do not do computation with squaring and square root
33003 for large arguments.
33004 * math/s_casinhl.c: Include <float.h>.
33005 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33006 (__casinhl): Do not do computation with squaring and square root
33007 for large arguments.
33008 * math/libm-test.inc (casin_test): Add more tests.
33009 (casinh_test): Likewise.
33010 * sysdeps/i386/fpu/libm-test-ulps: Update.
33011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33012
afec409a
L
330132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33014
33015 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33016 (__x86_64_raw_data_cache_size): Likewise.
33017 (__x86_64_data_cache_size_half): Likewise.
33018 (__x86_64_raw_data_cache_size_half): Likewise.
33019 (__x86_64_shared_cache_size): Likewise.
33020 (__x86_64_raw_shared_cache_size): Likewise.
33021 (__x86_64_shared_cache_size_half): Likewise.
33022 (__x86_64_raw_shared_cache_size_half): Likewise.
33023 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33024 to ...
33025 (__x86_data_cache_size): This.
33026 (__x86_64_raw_data_cache_size): Renamed to ...
33027 (__x86_raw_data_cache_size): This.
33028 (__x86_64_data_cache_size_half): Renamed to ...
33029 (__x86_data_cache_size_half): This.
33030 (__x86_64_raw_data_cache_size_half): Renamed to ...
33031 (__x86_raw_data_cache_size_half): This.
33032 (__x86_64_shared_cache_size): Renamed to ...
33033 (__x86_shared_cache_size): This.
33034 (__x86_64_raw_shared_cache_size): Renamed to ...
33035 (__x86_raw_shared_cache_size): This.
33036 (__x86_64_shared_cache_size_half): Renamed to ...
33037 (__x86_shared_cache_size_half): This.
33038 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33039 (__x86_raw_shared_cache_size_half): This.
33040 * sysdeps/x86_64/memcpy.S: Updated.
33041 * sysdeps/x86_64/memset.S: Likewise.
33042 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33043 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33044 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33045
0b3986d0
DM
330462013-01-04 David S. Miller <davem@davemloft.net>
33047
33048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33049
e47686e9
AS
330502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33051
d643bac1
AS
33052 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33053 1 to avoid redefinition warning.
33054 (__USE_GNU): Don't define.
33055 (init_signaling_nan): Protoize.
33056
e47686e9
AS
33057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33058
b18decba
SP
330592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33060
fffb407f
SP
33061 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33063 (__cpymn): Likewise.
33064 (norm): Remove commented code.
33065 (denorm): Likewise.
33066 (__mp_dbl): Likewise.
33067 (__inv): Likewise.
33068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33069 (__cpymn): Likewise.
33070 (norm): Remove commented code.
33071 (denorm): Likewise.
33072 (__mp_dbl): Likewise.
33073 (__inv): Likewise.
33074
b18decba
SP
33075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33076 mp_no value for 1.0 and 2.0.
33077 (norm): Use RADIXI instead of radixi.d.
33078 (denorm): Likewise.
33079 (__mul): Use 0.0 instead of zero.d.
33080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33081 mp_no value for 1.0 and 2.0.
33082 (norm): Use RADIXI instead of radixi.d.
33083 (denorm): Likewise.
33084 (__mul): Use 0.0 instead of zero.d.
33085
cdc1c96f
JM
330862013-01-04 Joseph Myers <joseph@codesourcery.com>
33087
33088 [BZ #14994]
33089 * math/s_casinh.c (__casinh): Reduce finite argument to first
33090 quadrant then set signs of results at the end.
33091 * math/s_casinhf.c (__casinhf): Likewise.
33092 * math/s_casinhl.c (__casinhl): Likewise.
33093 * math/libm-test.inc (casin_test): Add more tests.
33094 (casinh_test): Likewise.
33095 * sysdeps/i386/fpu/libm-test-ulps: Update.
33096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33097
302913e1
SP
330982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33099
6420d207
SP
33100 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33101
a9e48ab4
SP
33102 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33103
b7837264
SP
33104 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33105 declarations.
33106 (denorm): Likewise.
33107 (__mp_dbl): Likewise.
33108 (__inv): Likewise.
33109
f8af25d2
SP
33110 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33111 and adjust the header comment.
33112
302913e1
SP
33113 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33114 variable name from declaration.
33115
5d7dd1ca
L
331162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33117
33118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33119 Initialize COMMON_CPUID_INDEX_7 element.
33120 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33121 (CPUID_RTM): Likewise.
33122 (HAS_RTM): Likewise.
33123 (COMMON_CPUID_INDEX_7): New enum.
33124
2f5f40f4
AS
331252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33126
33127 [BZ #14981]
33128 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33129 size is zero, record memory as freed.
33130
4056f4a0
AJ
331312013-01-03 Andreas Jaeger <aj@suse.de>
33132
33133 * po/ia.po: Add new Interlingua translation.
33134
ab15736f 331352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33136
33137 * locale/programs/localedef.c: Fix description of '--posix' flag.
33138
568035b7
JM
331392013-01-02 Joseph Myers <joseph@codesourcery.com>
33140
e6898b8d
JM
33141 * NEWS: Update dates in second copyright notice.
33142 * README: Update copyright dates in example.
33143 * manual/libc.texinfo: Update copyright dates.
33144 * scripts/test-installation.pl: Update copyright date in --version
33145 output.
33146
0e2f9562
JM
33147 * hurd/ctty-input.c: Fix copyright notice formatting.
33148 * hurd/ctty-output.c: Likewise.
33149 * hurd/dtable.c: Likewise.
33150 * hurd/hurd-raise.c: Likewise.
33151 * hurd/hurdprio.c: Likewise.
33152 * hurd/msgportdemux.c: Likewise.
33153 * misc/sys/file.h: Likewise.
33154 * misc/sys/ioctl.h: Likewise.
33155 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33156 * sysdeps/mach/hurd/chdir.c: Likewise.
33157 * sysdeps/mach/hurd/fchdir.c: Likewise.
33158 * sysdeps/mach/hurd/rename.c: Likewise.
33159 * sysdeps/mach/hurd/rmdir.c: Likewise.
33160 * sysdeps/mach/hurd/seekdir.c: Likewise.
33161 * sysdeps/mach/hurd/setsid.c: Likewise.
33162 * sysdeps/posix/wait3.c: Likewise.
33163
568035b7
JM
33164 * All files with FSF copyright notices: Update copyright dates
33165 using scripts/update-copyrights.
33166 * intl/plural.c: Regenerated.
33167 * locale/programs/charmap-kw.h: Likewise.
33168 * locale/programs/locfile-kw.h: Likewise.
33169
da08f647
SP
331702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33171
0f5477af
SP
33172 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33173 four values.
33174
44e0d4c2
SP
33175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33176 calculation loop and add branch prediction.
33177
4d55b4e5
SP
33178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33179 check access beyond bounds of m1np.
33180
da08f647
SP
33181 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33182 MPTWO.
33183 (__inv): Remove local variable MPTWO to use the global
33184 constant.
33185 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33186 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33187 variable MPTWO.
33188 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33189 MP3HALFS static const.
33190
8e051029
DM
331912013-01-01 David S. Miller <davem@davemloft.net>
33192
33193 * po/ca.po: Update from translation team.
33194
f4cf5f2d
JM
331952013-01-01 Joseph Myers <joseph@codesourcery.com>
33196
33197 * scripts/update-copyrights: New file.
33198 * Makeconfig: Reformat copyright notice.
33199 * ctype/ctype.h: Likewise.
33200 * debug/swprintf_chk.c: Likewise.
33201 * elf/dl-cache.c: Likewise.
33202 * elf/dl-debug.c: Likewise.
33203 * elf/dl-object.c: Likewise.
33204 * grp/initgroups.c: Likewise.
33205 * hurd/Makefile: Likewise.
33206 * hurd/hurd/signal.h: Likewise.
33207 * hurd/hurdfault.c: Likewise.
33208 * hurd/hurdioctl.c: Likewise.
33209 * hurd/hurdlookup.c: Likewise.
33210 * hurd/intr-msg.c: Likewise.
33211 * iconv/gconv_open.c: Likewise.
33212 * libio/swprintf.c: Likewise.
33213 * locale/lc-ctype.c: Likewise.
33214 * locale/nl_langinfo.c: Likewise.
33215 * mach/Machrules: Likewise.
33216 * mach/Makefile: Likewise.
33217 * malloc/obstack.h: Likewise.
33218 * manual/Makefile: Likewise.
33219 * manual/tsort.awk: Likewise.
33220 * misc/bits/stab.def: Likewise.
33221 * nis/nis_print_group_entry.c: Likewise.
33222 * nis/nis_table.c: Likewise.
33223 * nis/nss_compat/compat-pwd.c: Likewise.
33224 * nis/nss_compat/compat-spwd.c: Likewise.
33225 * po/Makefile: Likewise.
33226 * posix/fnmatch.c: Likewise.
33227 * posix/regex.h: Likewise.
33228 * resolv/Makefile: Likewise.
33229 * resolv/nss_dns/dns-network.c: Likewise.
33230 * resolv/res_hconf.c: Likewise.
33231 * scripts/gen-sorted.awk: Likewise.
33232 * soft-fp/soft-fp.h: Likewise.
33233 * stdio-common/printf.h: Likewise.
33234 * stdlib/monetary.h: Likewise.
33235 * stdlib/random.c: Likewise.
33236 * stdlib/random_r.c: Likewise.
33237 * sysdeps/generic/Makefile: Likewise.
33238 * sysdeps/gnu/Makefile: Likewise.
33239 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33246 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33250 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33251 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33252 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33253 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33254 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33255 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33257 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33259 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33260 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33261 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33262 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33263 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33267 * sysdeps/mach/hurd/errnos.awk: Likewise.
33268 * sysdeps/mach/hurd/fork.c: Likewise.
33269 * sysdeps/mach/hurd/getcwd.c: Likewise.
33270 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33271 * sysdeps/mach/hurd/mmap.c: Likewise.
33272 * sysdeps/mach/hurd/utimes.c: Likewise.
33273 * sysdeps/mach/hurd/xmknod.c: Likewise.
33274 * sysdeps/posix/profil.c: Likewise.
33275 * sysdeps/posix/readdir_r.c: Likewise.
33276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33277 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33278 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33279 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33281 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33282 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33283 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33285 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33287 * sysdeps/pthread/lio_listio.c: Likewise.
33288 * sysdeps/sparc/dl-procinfo.h: Likewise.
33289 * sysdeps/unix/i386/sysdep.S: Likewise.
33290 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33291 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33292 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33293 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33295 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33296 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33297 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33298 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33299 * sysdeps/wordsize-32/divdi3.c: Likewise.
33300 * time/sys/time.h: Likewise.
33301 * wcsmbs/Makefile: Likewise.
33302
0549fbba
DM
333032013-01-01 David S. Miller <davem@davemloft.net>
33304
a141f1a7
DM
33305 * po/fr.po: Update from translation team.
33306
0549fbba
DM
33307 * catgets/gencat.c: Update copyright year.
33308 * csu/version.c: Likewise.
33309 * debug/catchsegv.sh: Likewise.
33310 * debug/pcprofiledump.c: Likewise.
33311 * debug/xtrace.sh: Likewise.
33312 * elf/ldconfig.c: Likewise.
33313 * elf/ldd.bash.in: Likewise.
33314 * elf/pldd.c: Likewise.
33315 * elf/sotruss.ksh: Likewise.
33316 * elf/sprof.c: Likewise.
33317 * iconv/iconv_prog.c: Likewise.
33318 * iconv/iconvconfig.c: Likewise.
33319 * locale/programs/locale.c: Likewise.
33320 * locale/programs/localedef.c: Likewise.
33321 * login/programs/pt_chown.c: Likewise.
33322 * malloc/memusage.sh: Likewise.
33323 * malloc/memusagestat.c: Likewise.
33324 * malloc/mtrace.pl: Likewise.
33325 * nscd/nscd.c: Likewise.
33326 * nss/getent.c: Likewise.
33327 * nss/makedb.c: Likewise.
33328 * posix/getconf.c: Likewise.
33329
18ea052c
SP
333302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33331
33332 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33333 numbers.
33334
9c89fca6
MF
333352012-12-30 Mike Frysinger <vapier@gentoo.org>
33336
33337 * math/bits/mathcalls.h (modf): Use __nonnull.
33338
085ec079
SP
333392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33340
33341 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33342 (split): Use macro CN instead of the bare value.
33343 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33344 could be used.
33345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33346 instead of the bare value.
33347 (power1): Likewise.
33348
6d9f97e1
SP
333492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33350
d63f73be
SP
33351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33352 __ATAN_TWOM.
33353 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33354
6d9f97e1
SP
33355 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33356 their values.
33357 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33359 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33360 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33361
4c4febf5
AJ
333622012-12-28 Andreas Jaeger <aj@suse.de>
33363
af5843ef
AJ
33364 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33365 values are from Linux 3.7.
33366
4c4febf5
AJ
33367 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33368 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33369
99136f82
SP
333702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33371
2f216c3c 33372 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33373 TRUE case.
33374
99136f82
SP
33375 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33376 (norm): Likewise.
33377 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33378 variables with preprocessor constants.
33379 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33380 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33381 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33382
7fffbdff
BH
333832012-12-27 Bruno Haible <bruno@clisp.org>
33384
33385 [BZ #14317]
33386 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33387 only if needed.
33388
b76eb5f0
SP
333892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33390
31a7fe5c
SP
33391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33392 and use variable directly.
33393 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33394
b76eb5f0
SP
33395 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33396 MPONE.
33397 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33399 variable MPONE.
33400 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33402 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33403 include directive. Remove local variable MPONE.
33404 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33405 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33406 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33407
2c8bfe7d
DM
334082012-12-25 David S. Miller <davem@davemloft.net>
33409
33410 * version.h (RELEASE): Set to "development".
33411 (VERSION): Set to "2.17.90".
33412 * NEWS: Add 2.18 section.
33413
147d03b0
DM
334142012-12-21 David S. Miller <davem@davemloft.net>
33415
33416 * po/hr.po: Update from translation team.
33417
a8ebb2b9
AK
334182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33419
33420 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33421
95b4f1b6
SE
334222012-12-19 Steve Ellcey <sellcey@mips.com>
33423
b2d94007 33424 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33425
cedb2a90
MS
334262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33427
33428 * manual/contrib.texi (Contributors): Spelling correction.
33429
bbf527d6
DM
334302012-12-15 David S. Miller <davem@davemloft.net>
33431
33432 * po/ru.po: Update from translation team.
33433
bc38c906
DM
334342012-12-13 David S. Miller <davem@davemloft.net>
33435
85429b1a
DM
33436 * NEWS: Mention IFUNC testsuite enhancements.
33437
d283e353
DM
33438 * po/pl.po: Update from translation team.
33439 * po/bg.po: Likewise.
33440
bc38c906
DM
33441 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33442 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33443
a181b0d7
DM
334442012-12-11 David S. Miller <davem@davemloft.net>
33445
4641d57e
DM
33446 * po/sv.po: Update from translation team.
33447
f7bc6495
DM
33448 * po/vi.po: Update from translation team.
33449
6fc9048f
DM
33450 * po/cs.po: Update from translation team.
33451
a181b0d7
DM
33452 * po/de.po: Update from translation team.
33453 * po/eo.po: Likewise.
33454 * po/nl.po: Likewise.
33455
f70bfe80
SP
334562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33457
3c8b4190
SP
33458 [BZ #14246]
33459 * manual/argp.texi (Argp Helper Functions): Move node to follow
33460 Argp Parsing State.
33461
f70bfe80
SP
33462 [BZ #14872]
33463 * manual/conf.texi (Limits on File System Capacity): Mention if
33464 terminating null is included in the max size.
33465
188f0adf
AJ
334662012-12-10 Andreas Jaeger <aj@suse.de>
33467
33468 * po/cs.po: Update from translation team.
33469
56e7d3ad
SP
334702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33471
33472 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33473 void pointer and cast to uintptr_t.
33474 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33475 path.
33476 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33477 * sysdeps/s390/s390-64/memset.S: Likewise.
33478
76f2d2ea 334792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33480
33481 [BZ #14833]
33482 * menual/message.texi (Message Translation): Fix typos.
33483 (Helper programs for gettext): Likewise.
33484
67cbf9a2
AS
334852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33486
33487 [BZ #14898]
33488 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33489 Change to -1.
33490
682d0e9a
DM
334912012-12-07 David S. Miller <davem@davemloft.net>
33492
33493 * po/libc.pot: Update.
33494
573cd484
RH
334952012-12-07 Richard Henderson <rth@redhat.com>
33496
7e9da188 33497 [BZ #10114]
573cd484
RH
33498 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33499 normal/normal case to before the switch.
33500 (_FP_DIV): Likewise.
33501
e933a943
MF
335022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33503 Mike Frysinger <vapier@gentoo.org>
33504
33505 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33506 check for __NR_fadvise64_64.
33507
82123268
CM
335082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33509
33510 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33511 0, not just to plain "0" as a statement.
33512 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33513 with cw.
33514
d9814526
JM
335152012-12-06 Joseph Myers <joseph@codesourcery.com>
33516
33517 * NEWS: Use sourceware.org in Bugzilla URL.
33518
7728c574
SP
335192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33520
f16946dd
SP
33521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33522 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33523
5704bbcb
SP
33524 * stdio-common/tst-put-error.c (do_test): Add newline to the
33525 padded test to ensure flush.
33526
17aa0516
JL
335272012-12-05 Jeff Law <law@redhat.com>
33528
33529 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33530
363313b5
JM
335312012-12-05 Joseph Myers <joseph@codesourcery.com>
33532
effbd42a
JM
33533 * README: Don't refer to ports add-on as distributed separately.
33534 Mention AArch64 in list of systems supported in the ports add-on.
33535
87600365
JM
33536 * LICENSES: Add more non-FSF copyright and license notices.
33537
a0d7066a
JM
33538 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33539 ((unused)).
33540
66ca5a5b
JM
33541 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33542
363313b5
JM
33543 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33544 10000 as width of padded output.
33545
b37984ad
JM
335462012-12-04 Joseph Myers <joseph@codesourcery.com>
33547
9003570a
JM
33548 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33549
b37984ad
JM
33550 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33551 variable LX with __attribute__ ((unused)).
33552 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33553 Likewise.
33554 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33557 with __attribute__ ((unused)).
33558
c8df52ec
DM
335592012-12-04 David S. Miller <davem@abraco.davemloft.net>
33560
33561 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33562
b3b099af
JM
335632012-12-04 Joseph Myers <joseph@codesourcery.com>
33564
c33aa6e3
JM
33565 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33566 (CFLAGS-nldbl-acos.c): New variable.
33567 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33569 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33570 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33571 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33572 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33573 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33574 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33575 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33576 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33577 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33578 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33579 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33580 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33581 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33582 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33583 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33584 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33585 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33586 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33587 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33588 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33589 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33590 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33591 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33592 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33593 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33594 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33595 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33596 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33597 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33598 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33599 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33608 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33609 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33610 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33611 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33625 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33626 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33627 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33628 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33629 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33630 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33631 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33632 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33633 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33634 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33635 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33636 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33637 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33638 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33639 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33640 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33641 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33648 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33649 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33650 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33651 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33652 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33653 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33654 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33655 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33656 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33657 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33658 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33659 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33660 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33661 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33662 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33663 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33664
20f0018d
JM
33665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33666 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33667
b3b099af
JM
33668 [BZ #14914]
33669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33670 whole low double instead of just low 47 bits when splitting values
33671 into two parts.
33672
029264d1
AM
336732012-12-03 Allan McRae <allan@archlinux.org>
33674
33675 * manual/stdio.texi (Predefined Printf Handlers): Remove
33676 @hsep and @vsep usage.
33677
c9d6789e
MF
336782012-12-03 Mike Frysinger <vapier@gentoo.org>
33679
33680 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33681 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33682
4b7634a5
JL
336832012-12-03 Jeff Law <law@redhat.com>
33684
33685 * time/sys/time.h (settimeofday): Do not mark TV argument
33686 as __nonnull.
33687
eb6cbd24
MF
336882012-12-01 Mike Frysinger <vapier@gentoo.org>
33689
33690 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33691 when currently writing and seek to current position when not.
33692 * libio/Makefile (tests): Remove bug-fclose1.
33693 * libio/bug-fclose1.c: Delete.
33694
f638872a
JM
336952012-12-01 Joseph Myers <joseph@codesourcery.com>
33696
33697 * manual/arith.texi (feenableexcept): Fix typo.
33698 (fedisableexcept): Likewise.
33699
48085d14
RM
337002012-11-30 Roland McGrath <roland@hack.frob.com>
33701
33702 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33703 second, differently-typed declaration, rather than a cast.
33704
1a538b9f
SP
337052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33706
33707 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33708 * include/rpc/svc.h: ... here.
33709
d07f2ff1 337102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33711
33712 [BZ #13013]
33713 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33714 depending n and resplen2 to catch cases where answer
33715 equals answerp2.
33716
c93ec1f0
CD
337172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33718
33719 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33720 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33721
37db69de
MF
337222012-11-29 Mike Frysinger <vapier@gentoo.org>
33723
33724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33725
e10c4e4f
RM
337262012-11-29 Roland McGrath <roland@hack.frob.com>
33727
33728 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33729
2af1b328
JL
337302012-11-28 Jeff Law <law@redhat.com>
33731
33732 [BZ #13761]
33733 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33734 dataset_temporary. Track alloca usage into alloca_used.
33735 If dataset is large allocate and release it via malloc/free.
33736
111db5b1
FW
337372012-06-04 Florian Weimer <fweimer@redhat.com>
33738
f06cc227 33739 [BZ #14197]
111db5b1
FW
33740 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33741
dd694abd
DM
337422012-11-28 David S. Miller <davem@davemloft.net>
33743
33744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33745
9984dd01
JM
337462012-11-28 Joseph Myers <joseph@codesourcery.com>
33747
33748 [BZ #14803]
33749 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33750 of pi/2 rounded to nearest to 64 bits.
33751 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33752 nearest to 64 bits.
33753 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33754 bits.
33755
14bc93a9
JL
337562012-11-28 Jeff Law <law@redhat.com>
33757 Martin Osvald <mosvald@redhat.com>
33758
33759 [BZ #14889]
33760 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33761 * sunrpc/svc.c: Include time.h.
33762 (__svc_accept_failed): New function.
33763 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33764 any reason other than EINTR, call __svc_accept_failed.
33765 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33766 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33767
e3c6aa3a
AS
337682012-11-28 Andreas Schwab <schwab@suse.de>
33769
33770 * scripts/abilist.awk: Also handle indirect functions in .opd
33771 section.
33772
1bead169
JM
337732012-11-28 Joseph Myers <joseph@codesourcery.com>
33774
33775 [BZ #13881]
33776 * sysdeps/x86/fpu/powl_helper.c: New file.
33777 * sysdeps/x86/fpu/Makefile: Likewise.
33778 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33779 (p3): New object.
33780 (__ieee754_powl): Use __powl_helper for finite arguments except
33781 integer exponents below 8.
33782 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33783 (p3): New object.
33784 (__ieee754_powl): Use __powl_helper for finite arguments except
33785 integer exponents below 8.
33786 * math/libm-test.inc (pow_test): Add more tests and enable some
33787 previously disabled tests.
33788 * sysdeps/i386/fpu/libm-test-ulps: Update.
33789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33790
0817d63d
SP
337912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33792 Carlos O'Donell <carlos_odonell@mentor.com>
33793
33794 * nss/makedb.c (is_prime): Assert that input is odd and greater
33795 than 4. Note that fact in a comment too.
33796 (next_prime): Add 4 to input.
33797
de2fd463
SP
337982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33799
33800 [BZ #11741]
33801 * libio/Makefile (tests): Add test case tst-fwrite-error.
33802 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33803 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33804 * libio/tst-fwrite-error.c: New test case.
33805
c515fb51
L
338062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33807
33808 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33809 before casting to void *.
33810 * include/libc-internal.h (__pointer_type): New macro.
33811 (__integer_if_pointer_type_sub): Likewise.
33812 (__integer_if_pointer_type): Likewise.
33813 (cast_to_integer): Likewise.
33814 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33815 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33816 before casting to atomic64_t.
33817 (atomic_exchange_acq): Likewise.
33818 (__arch_exchange_and_add_body): Likewise.
33819 (__arch_add_body): Likewise.
33820 (atomic_add_negative): Likewise.
33821 (atomic_add_zero): Likewise.
33822
4cf77aa9
JM
338232012-11-26 Joseph Myers <joseph@codesourcery.com>
33824
33825 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33826 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33827 (add_fdes): Likewise.
33828 (linear_search_fdes): Likewise.
33829 (binary_search_unencoded_fdes): Likewise.
33830
d260b3b4
AS
338312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33832
33833 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33834
67060746
AC
338352012-11-24 Adam Conrad <adconrad@0c3.net>
33836
33837 * configure.in: Autodetect C++ header directories.
33838 * configure: Regenerated.
33839
800938a1
MF
338402012-11-23 Mike Frysinger <vapier@gentoo.org>
33841
33842 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33843
4e6e34e6
AS
338442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33845
33846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33847
7c7feb47
JM
338482012-11-22 Joseph Myers <joseph@codesourcery.com>
33849
7184dcdf
JM
33850 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33851 LDBL_MANT_DIG == 106]: Disable some tests.
33852 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33853 Likewise.
33854 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33855 Likewise.
33856
0a42601f
JM
33857 [BZ #14871]
33858 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33859 input for small inputs. Return +/- pi/2 for large inputs.
33860 * math/libm-test.inc (atan_test): Add more tests.
33861
79c9b9fe
JM
33862 * sysdeps/generic/unwind-dw2-fde-glibc.c
33863 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33864 __attribute__ ((unused)).
33865
c60d3bf2
JM
33866 [BZ #14645]
33867 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33868 x * y if x and y are nonzero and z is zero.
33869
ef1e0867
JM
33870 [BZ #14811]
33871 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33872 nonzero exponents with absolute value below 0x1p-117 to +/-
33873 0x1p-117.
33874
1468ded3
JM
33875 [BZ #14869]
33876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33877 up arguments below 2**-450, not just those below 2**-500.
33878 * math/libm-test.inc (hypot_test): Add another test.
33879
8e27e3cc
JM
33880 [BZ #14868]
33881 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33882 Return a+b for ratio over 2**120, not 2**60.
33883 * math/libm-test.inc (hypot_test): Add another test.
33884
c9c0279b
JM
33885 * math/libm-test.inc (clog_test): Use
33886 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33887 (clog10_test): Likewise.
33888
7c7feb47
JM
33889 [BZ #6778]
33890 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33891
fff1530e
AS
338922012-11-22 Andreas Schwab <schwab@suse.de>
33893
33894 * sysdeps/i386/fpu/libm-test-ulps: Update.
33895
94558d30
PT
338962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33897
33898 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33899 printf output with newline.
33900
7e1be741
L
339012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33902
6bfea974
L
33903 [BZ #14865]
33904 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33905 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33906 -z nodlopen, -z initfirst and -z execstack support.
33907 * configure: Regenerated.
33908
7e1be741
L
33909 * elf/elf.h (DF_1_NODIRECT): New macro.
33910 (DF_1_IGNMULDEF): Likewise.
33911 (DF_1_NOKSYMS): Likewise.
33912 (DF_1_NOHDR): Likewise.
33913 (DF_1_EDITED): Likewise.
33914 (DF_1_NORELOC): Likewise.
33915 (DF_1_SYMINTPOSE): Likewise.
33916 (DF_1_GLOBAUDIT): Likewise.
33917 (DF_1_SINGLETON): Likewise.
33918 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33919 DT_1_SUPPORTED_MASK bits.
33920 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33921
105ce2ce
CD
339222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33923
33924 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33925
123be9de
TS
339262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33927
d072f3f7
TS
33928 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33929 macro.
33930
123be9de
TS
33931 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33932 (sendmmsg): Move declarations...
33933 * socket/sys/socket.h: ... here.
33934 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33935 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33936 include it from...
33937 * socket/recvmmsg.c: ... this new file.
33938 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33939 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33940 definition of __sendmmsg hidden.
33941 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33942 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33943 Move ENOSYS stub into and include it from...
33944 * socket/sendmmsg.c: ... this new file.
33945 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33946 (sysdep_routines): Move recvmmsg and sendmmsg...
33947 * socket/Makefile (routines): ... here.
33948 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33949 (GLIBC_PRIVATE): Add __sendmmsg.
33950 * include/sys/socket.h (__sendmmsg): Add declarations.
33951 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33952 sendmmsg.
33953
cf9a5d18
JM
339542012-11-20 Joseph Myers <joseph@codesourcery.com>
33955
33956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33957 variable I1 with __attribute__ ((unused)).
33958 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33959
ecd4caf9
JM
339602012-11-19 Joseph Myers <joseph@codesourcery.com>
33961
be14d48f
JM
33962 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33963 DUMMY variables with __attribute__ ((unused)).
33964
ecd4caf9
JM
33965 * bits/byteswap.h: Include <bits/types.h>.
33966 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33967
986cab95
PT
339682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33969
33970 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33971 string_t. Do not manually set errno.
33972 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33973 length with __strnlen. Make sure to both set errno and return it on
33974 failure.
33975
6d33cc9d
DM
339762012-11-19 David S. Miller <davem@davemloft.net>
33977
33978 With help from Joseph Myers.
33979 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33980 very large arguments properly.
33981 * math/libm-test.inc (atan_test): New tests.
33982 (atan2_test): New tests.
33983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33985
ee663277
JM
339862012-11-19 Joseph Myers <joseph@codesourcery.com>
33987
877f2d8e
JM
33988 [BZ #14856]
33989 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33990 Define to 3.
33991
116fc08a
JM
33992 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33993 [POSIX] (EADDRNOTAVAIL): Likewise.
33994 [POSIX] (EAFNOSUPPORT): Likewise.
33995 [POSIX] (EALREADY): Likewise.
33996 [POSIX] (ECONNABORTED): Likewise.
33997 [POSIX] (ECONNREFUSED): Likewise.
33998 [POSIX] (ECONNRESET): Likewise.
33999 [POSIX] (EDESTADDRREQ): Likewise.
34000 [POSIX] (EDQUOT): Likewise.
34001 [POSIX] (EHOSTUNREACH): Likewise.
34002 [POSIX] (EIDRM): Likewise.
34003 [POSIX] (EISCONN): Likewise.
34004 [POSIX] (ELOOP): Likewise.
34005 [POSIX] (EMULTIHOP): Likewise.
34006 [POSIX] (ENETDOWN): Likewise.
34007 [POSIX] (ENETUNREACH): Likewise.
34008 [POSIX] (ENOBUFS): Likewise.
34009 [POSIX] (ENODATA): Likewise.
34010 [POSIX] (ENOLINK): Likewise.
34011 [POSIX] (ENOMSG): Likewise.
34012 [POSIX] (ENOPROTOOPT): Likewise.
34013 [POSIX] (ENOSR): Likewise.
34014 [POSIX] (ENOSTR): Likewise.
34015 [POSIX] (ENOTCONN): Likewise.
34016 [POSIX] (ENOTSOCK): Likewise.
34017 [POSIX] (EOPNOTSUPP): Likewise.
34018 [POSIX] (EOVERFLOW): Likewise.
34019 [POSIX] (EPROTO): Likewise.
34020 [POSIX] (EPROTONOSUPPORT): Likewise.
34021 [POSIX] (EPROTOTYPE): Likewise.
34022 [POSIX] (ESTALE): Likewise.
34023 [POSIX] (ETIME): Likewise.
34024 [POSIX] (ETXTBSY): Likewise.
34025 [POSIX] (EWOULDBLOCK): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34027 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34028 [POSIX] (SEEK_CUR): Likewise.
34029 [POSIX] (SEEK_END): Likewise.
34030 [POSIX || UNIX98] (mode_t): Do not require.
34031 [POSIX] (off_t): Likewise.
34032 [POSIX] (pid_t): Likewise.
34033 [POSIX] (sys/stat.h): Do not allow header.
34034 [POSIX] (unistd.h): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34036 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34038 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34039 require.
34040 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34041 sigevent): Specify elements.
34042 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34043 entry.
34044 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34045 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34046
a483863f
JM
34047 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34048 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34049 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34050 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34051 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34052 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34053 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34054 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34055 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34056 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34057 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34058 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34059 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34061 Likewise.
34062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34063 Likewise.
34064 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34065 Likewise.
34066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34067 Likewise.
34068 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34069 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34070 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34071 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34072 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34073 Specify lower bound on value.
34074 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34075 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34076 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34077 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34078 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34079 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34080 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34081 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34082 value.
34083 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34084 as optional.
34085 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34086 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34087 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34088 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34089 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34090 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34091 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34092 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34093 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34094 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34095 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34096 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34097 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34098 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34099 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34100 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34101 entry.
34102 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34103 optional.
34104 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34105 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34106 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34107 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34108 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34110 Likewise.
34111 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34112 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34113 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34114 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34115 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34116 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34118 as optional.
34119 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34120 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34123 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34124 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34125 specify as optional.
34126 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34127 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34128 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34129 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34130 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34131 [XPG3] (NL_LANGMAX): Likewise.
34132 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34133 [POSIX || XPG3] (NL_NMAX): Likewise.
34134 [POSIX || XPG3] (NL_SETMAX): Likewise.
34135 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34136 [XPG3] (NZERO): Likewise.
34137 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34138 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34139 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34140 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34141 (REG_ERANGE): Expect.
34142 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34143 optional-constant.
34144 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34145 Use (void) in prototype.
34146 [POSIX] (*_t): Allow.
34147 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34148 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34149 (WRDE_BADVAL): Expect.
34150
5ba924e3
JM
34151 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34152 expect.
34153 [XPG3 || XPG4] (O_RSYNC): Likewise.
34154 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34155 Likewise.
34156 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34157 [XPG3 || XPG4] (sigqueue): Likewise.
34158 [XPG3 || XPG4] (sigtimedwait): Likewise.
34159 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34160 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34161 [XPG3 || XPG4] (vsnprintf): Likewise.
34162 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34163 Likewise.
34164 [XPG3 || XPG4] (blksize_t): Likewise.
34165 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34166 Likewise.
34167 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34168 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34169 [XPG3 || XPG4] (struct itimerspec): Likewise.
34170 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34171 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34172 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34173 [XPG3 || XPG4] (clockid_t): Likewise.
34174 [XPG3 || XPG4] (timer_t): Likewise.
34175 [XPG3 || XPG4] (clock_getres): Likewise.
34176 [XPG3 || XPG4] (clock_gettime): Likewise.
34177 [XPG3 || XPG4] (clock_settime): Likewise.
34178 [XPG3 || XPG4] (nanosleep): Likewise.
34179 [XPG3 || XPG4] (timer_create): Likewise.
34180 [XPG3 || XPG4] (timer_delete): Likewise.
34181 [XPG3 || XPG4] (timer_gettime): Likewise.
34182 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34183 [XPG3 || XPG4] (timer_settime): Likewise.
34184 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34185 [XPG3 || XPG4] (getlogin_r): Likewise.
34186 [XPG3 || XPG4] (pread): Likewise.
34187 [XPG3 || XPG4] (pthread_atfork): Likewise.
34188 [XPG3 || XPG4] (pwrite): Likewise.
34189
ee663277
JM
34190 [BZ #14835]
34191 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34192 <bits/siginfo.h>.
34193
942caa16
PT
341942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34195
e19af380
PT
34196 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34197 finalizing MALLSTREAM.
34198
942caa16
PT
34199 * sysdeps/mach/hurd/syncfs.c: New file.
34200
cfde9b46
SP
342012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34202
34203 [BZ #14719]
34204 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34205 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34207 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34208 (_nss_dns_gethostbyname4_r): Likewise.
34209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34210 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34211
f6da27e5
PH
342122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34213
34214 [BZ #13763]
34215 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34216
6665d4a2
SM
342172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34218
1f51ee92
SM
34219 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34220 * elf/cache.c (print_entry): Print ",AArch64" for
34221 FLAG_AARCH64_LIB64
34222
6665d4a2
SM
34223 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34224 * elf/cache.c (print_entry): Print ",hard-float" for
34225 FLAG_ARM_LIBHF.
34226
05b227bd
DM
342272012-11-18 David S. Miller <davem@davemloft.net>
34228
34229 With help from Joseph Myers.
34230 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34231 cutoff to 2**-13.
34232 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34233 cutoff to 2**-25.
34234 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34235 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34236 small.
34237 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34238 * math/libm-test.inc (y0_test): New tests.
34239 (y1_test): New tests.
34240 * sysdeps/i386/fpu/libm-test-ulps: Update.
34241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34243
786b0b67
AS
342442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34245
34246 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34247 64-bit targets.
34248 * configure: Regenerated.
34249
8e18b86d
DM
342502012-11-17 David S. Miller <davem@davemloft.net>
34251
34252 [BZ #14811]
34253 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34254 nonzero exponents with absolute value below 0x1p-128 to +/-
34255 0x1p-128.
34256
531f1ae0
JM
342572012-11-17 Joseph Myers <joseph@codesourcery.com>
34258
12df29e2
JM
34259 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34260
150dc1a0
JM
34261 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34262
531f1ae0
JM
34263 * posix/getconf-speclist.c: New file.
34264 * posix/posix-envs.def: Likewise.
34265 * posix/confstr.c (START_ENV_GROUP): New macro.
34266 (END_ENV_GROUP): Likewise.
34267 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34268 (KNOWN_PRESENT_ENV_STRING): Likewise.
34269 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34270 (UNKNOWN_ENVIRONMENT): Likewise.
34271 (confstr): Include posix-envs.def instead of handling
34272 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34273 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34274 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34275 (END_ENV_GROUP): Likewise.
34276 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34277 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34278 (UNKNOWN_ENVIRONMENT): Likewise.
34279 (__sysconf): Include posix-envs.def instead of handling associated
34280 cases directly here.
34281 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34282 preprocessing getconf-speclist.c rather than running getconf or
34283 generating empty file.
34284
a93f9cbc
PT
342852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34286
34287 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34288
d64d9f87
AL
342892012-11-16 Andrej Lajovic <natrij@gmail.com>
34290
34291 [BZ #14672]
34292 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34293
447885eb
DM
342942012-11-16 David S. Miller <davem@davemloft.net>
34295
34296 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34297 smaller than LDBL_EPSILON/2.0L, just return xm1.
34298
bcbf9830
L
342992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34300
34301 * elf/tst-array1.c (init): Set constructor priority to 1000.
34302 (fini): Set destructor priority to 1000.
34303 * elf/tst-array2dep.c: Likewise.
34304
2b766585
SP
343052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34306
34307 [BZ #11741]
34308 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34309 (_IO_new_file_xsputn): Also return EOF if none of the input
34310 data was written when overflow failed.
34311 * libio/iopadn.c (_IO_padn): Likewise.
34312 * libio/iowpadn.c (_IO_wpadn): Likewise.
34313 * stdio-common/tst-put-error.c: Add copyright notice.
34314 (do_test): Add case for printing padded string.
34315 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34316 _IO_padn returned error.
34317 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34318 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34319 return EOF.
34320
b1848fde
SP
343212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34322
34323 * libio/libioP.h: Add comment note that the references to C++
34324 bits are now obsolete.
34325
2fd89785
MS
343262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34327
34328 * math/libm-test.inc (check_complex): Use asprintf.
34329
e3ea5409
JM
343302012-11-14 Joseph Myers <joseph@codesourcery.com>
34331
34332 * debug/pcprofiledump.c (print_version): Update copyright year.
34333 * malloc/memusagestat.c (print_version): Likewise.
34334
2e64d265
L
343352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34336
34337 [BZ #14831]
34338 * elf/Makefile (tests): Add tst-audit8.
34339 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34340 ($(objpfx)tst-audit8.out): New target.
34341 (tst-audit8-ENV): New variable.
34342 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34343 audit if l_reloc_result is NULL.
34344 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34345 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34346 * elf/tst-audit8.c: New file.
34347
c485e4d2
MS
343482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34349
34350 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34351 * misc/Makefile (CFLAGS-select.c): Define.
34352 * posix/Makefile (CFLAGS-pause.c): Define.
34353
3a0d900a
DM
343542012-11-13 David S. Miller <davem@davemloft.net>
34355
34356 * crypt/Makefile: Move test targets after toplevel Rules
34357 inclusion. Grab any necessary sysdep routines when linking.
34358 * crypt/md5.c (md5_process_block): Remove define, we will always
34359 name it __md5_process_block.
34360 (md5_finish_ctx): Update md5_process_block call.
34361 (md5_stream): Likewise.
34362 (md5_process_bytes): Likewise.
34363 (md5_process_block): Rename to __md5_process_block and move to ...
34364 * crypt/md5-block.c: ... here.
34365 * crypt/sha256.c (sha256_process_block): Move to ...
34366 * crypt/sha256-block.c: ... here.
34367 * crypt/sha512.c (sha512_process_block): Move to ...
34368 * crypt/sha512-block.c: ... here.
34369 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34370 path.
34371 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34372 * sysdeps/sparc/sparc64/multiarch/Makefile
34373 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34374 crypt subdir.
34375 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34376 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34377 multiarch changes.
34378 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34379 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34380 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34381 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34382 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34383 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34384 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34385 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34387 file.
34388 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34389 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34390 file.
34391 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34392
8ca89318
JM
343932012-11-13 Joseph Myers <joseph@codesourcery.com>
34394
e27d476a
JM
34395 * timezone/tzselect.ksh: Update from tzcode git revision
34396 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34397 * timezone/zdump.c: Likewise.
34398 * timezone/zic.c: Likewise.
34399 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34400 in TZVERSION setting, not $(PKGVERSION).
34401 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34402 REPORT_BUGS_TO settings.
34403
8ca89318
JM
34404 [BZ #14838]
34405 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34406 macro.
34407
47594329
MS
344082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34409
34410 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34411 detection to immediately after _FP_ROUND().
34412 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34413 bits are 0.
34414
640ac3f1
DM
344152012-11-11 David S. Miller <davem@davemloft.net>
34416
34417 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34418 inttypes.h
34419 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34420 __close rather than their public counterparts.
34421
3d2577bb
JM
344222012-11-10 Joseph Myers <joseph@codesourcery.com>
34423
34424 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34425 file.
34426 [UNIX98] (sem_timedwait): Do not expect.
34427 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34428 [XPG4 || UNIX98] (sockatmark): Do not expect.
34429 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34430 (clock_getcpuclockid): Do not expect.
34431 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34432 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34433 Do not expect.
34434 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34435 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34436 [UNIX98] (vwscanf): Likewise.
34437 [UNIX98] (vswscanf): Likewise.
34438
fb1ae1ee
JM
344392012-11-09 Joseph Myers <joseph@codesourcery.com>
34440
9ec6f8bd
JM
34441 * timezone/version.h: Remove file.
34442 * timezone/README: Do not refer to version.h.
34443 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34444 $(objpfx)version.h.
34445 ($(objpfx)zdump.o): Likewise.
c3f81911 34446 ($(objpfx)version.h): New target.
9ec6f8bd 34447
0aa8f8a1
JM
34448 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34449 2012i.
34450 * timezone/README: Don't mention modification to tzselect.ksh.
34451 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34452 work on unmodified tzselect.ksh. Substitute version numbers in
34453 tzselect.ksh.
34454
4e87147f
JM
34455 * Makefile (format-me): Remove.
34456 (INSTALL): Adjust indentation. Use commands directly instead of
34457 using $(format-me).
34458
8b748aed
JM
34459 * aclocal.m4 (ACX_PKGVERSION): New macro.
34460 (ACX_BUGURL): Likewise.
34461 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34462 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34463 (REPORT_BUGS_TO): Likewise.
34464 * configure: Regenerated.
34465 * config.h.in (PKGVERSION): New macro.
34466 (REPORT_BUGS_TO): Likewise.
34467 * config.make.in (PKGVERSION): New variable.
34468 (PKGVERSION_TEXI): Likewise.
34469 (REPORT_BUGS_TO): Likewise.
34470 (REPORT_BUGS_TEXI): Likewise.
34471 * Makefile (format-me): Use -I$(common-objpfx)manual.
34472 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34473 ($(common-objpfx)manual/%): New target.
34474 (manual/%): Remove target.
34475 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34476 (print_version): Use PKGVERSION.
34477 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34478 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34479 and REPORT_BUGS_TO.
34480 ($(objpfx)xtrace): Likewise.
34481 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34482 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34483 (print_version): Use PKGVERSION.
34484 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34485 (do_version): Use PKGVERSION.
34486 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34487 REPORT_BUGS_TO.
34488 (common-ldd-rewrite): Likewise.
34489 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34490 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34491 (print_version): Use PKGVERSION.
34492 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34493 * elf/pldd.c (argp_program_bug_address): Remove variable.
34494 (more_help): New function.
34495 (argp): Use more_help.
34496 (print_version): Use PKGVERSION.
34497 * elf/sln.c (main): Use PKGVERSION.
34498 (usage): Use REPORT_BUGS_TO.
34499 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34500 (top level): Use PKGVERSION.
34501 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34502 (print_version): Use PKGVERSION.
34503 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34504 (print_version): Use PKGVERSION.
34505 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34506 (print_version): Use PKGVERSION.
34507 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34508 (print_version): Use PKGVERSION.
34509 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34510 (print_version): Use PKGVERSION.
34511 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34512 (print_version): Use PKGVERSION.
34513 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34514 and BUGURL.
34515 ($(objpfx)memusage): Likewise.
34516 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34517 (do_version): Use PKGVERSION.
34518 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34519 (print_version): Use PKGVERSION.
34520 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34521 ($PKGVERSION): New variable.
34522 ($REPORT_BUGS_TO): Likewise.
34523 (usage): Use $REPORT_BUGS_TO.
34524 (top level): Use $PKGVERSION.
34525 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34526 ($(objpfx)pkgvers.texi): New rule.
34527 ($(objpfx)stamp-pkgvers): Likewise.
34528 * manual/install.texi: Include pkgvers.texi.
34529 (--with-pkgversion): Document new configure option.
34530 (--with-bugurl): Likewise.
34531 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34532 than necessarily for this particular distribution. Use
34533 REPORT_BUGS_TO for where to report bugs.
34534 * INSTALL: Regenerated.
34535 * manual/libc.texinfo: Include pkgvers.texi.
34536 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34537 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34538 (print_version): Use PKGVERSION.
34539 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34540 (print_version): Use PKGVERSION.
34541 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34542 (print_version): Use PKGVERSION.
34543 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34544 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34545 macro.
34546 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34547 (print_version): Use PKGVERSION.
34548 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34549 (print_version): Use PKGVERSION.
34550 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34551 and PKGVERSION.
34552
92e4b6a9
JM
34553 * timezone/checktab.awk: Update from tzcode 2012i.
34554 * timezone/ialloc.c: Likewise.
34555 * timezone/private.h: Likewise.
34556 * timezone/scheck.c: Likewise.
34557 * timezone/tzfile.h: Likewise.
34558 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34559 (TZVERSION): Hardcode tzcode version number.
34560 * timezone/zdump.c: Update from tzcode 2012i.
34561 * timezone/zic.c: Likewise.
34562 * timezone/version.h: New file.
34563 * timezone/README: Describe version.h. Update upstream location.
34564
9bde902c
JM
34565 [BZ #14824]
34566 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34567 (mktemp): Enable declaration.
34568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34572 Likewise.
34573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34574 Likewise.
34575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34576 Likewise.
34577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34578 Likewise.
34579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34580 Likewise.
34581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34582 Likewise.
34583
fb1ae1ee
JM
34584 [BZ #14821]
34585 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34586 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34587 for copies of such integer values.
34588 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34589 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34590
2c1adbcb
AJ
345912012-11-09 Andreas Jaeger <aj@suse.de>
34592
34593 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34594 definitions and declarations that are provided by
34595 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34596
d0f8457e
AK
345972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34598
3a235abb 34599 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34600 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34601 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34602 definition.
34603
57241e26
MS
346042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34605
34606 * elf/elf.h: Update comment before AArch64 relocations.
34607
60e8270d
DM
346082012-11-07 David S. Miller <davem@davemloft.net>
34609
34610 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34611 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34612 (__start_context): Declare.
34613 (__makecontext_ret): Delete.
34614 (__makecontext): Hook up __start_context instead of
34615 __makecontext_ret.
34616 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34617 (sysdep_routines): Add __start_context when in stdlib.
34618
0fbb0fbc
JM
346192012-11-07 Joseph Myers <joseph@codesourcery.com>
34620
34621 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34622 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34623 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34624 hardcoded "nm".
34625 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34626 (READELF): New variable. Use it instead of hardcoded "readelf".
34627
eb48db7e
L
346282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34629
34630 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34631 * sysdeps/x86/Makefile: Here.
34632 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34633 * sysdeps/x86/tst-xmmymm.sh: This.
34634
05bcf62a
JM
346352012-11-07 Joseph Myers <joseph@codesourcery.com>
34636
c4b6cf53
JM
34637 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34638 expectations.
34639 [UNIX98] (pthread_barrier_t): Do not expect.
34640 [UNIX98] (pthread_barrierattr_t): Likewise.
34641 [UNIX98] (pthread_spinlock_t): Likewise.
34642 [UNIX98] (pthread_barrier_destroy): Likewise.
34643 [UNIX98] (pthread_barrier_init): Likewise.
34644 [UNIX98] (pthread_barrier_wait): Likewise.
34645 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34646 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34647 [UNIX98] (pthread_barrierattr_init): Likewise.
34648 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34649 [UNIX98] (pthread_getcpuclockid): Likewise.
34650 [UNIX98] (pthread_mutex_timedlock): Likewise.
34651 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34652 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34653 [UNIX98] (pthread_sigmask): Likewise.
34654 [UNIX98] (pthread_spin_destroy): Likewise.
34655 [UNIX98] (pthread_spin_init): Likewise.
34656 [UNIX98] (pthread_spin_lock): Likewise.
34657 [UNIX98] (pthread_spin_trylock): Likewise.
34658 [UNIX98] (pthread_spin_unlock): Likewise.
34659 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34660 Do not expect.
34661 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34663 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34664 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34665 [XPG3 || XPG4] (pthread_key_t): Likewise.
34666 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34667 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34668 [XPG3 || XPG4] (pthread_once_t): Likewise.
34669 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34670 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34672 [XPG3 || XPG4] (pthread_t): Likewise.
34673
cbe6e120
JM
34674 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34675 not expect.
34676 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34677
1b126443
JM
34678 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34679 Change function return type to int.
34680
b961a573
JM
34681 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34682 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34683 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34684 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34685 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34686 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34687 [!POSIX] (posix_madvise): Likewise.
34688 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34689 && !UNIX98].
34690 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34691 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34692 (mode_t): Likewise.
34693 (posix_mem_offset): Likewise.
34694 (posix_typed_mem_get_info): Likewise.
34695 (posix_typed_mem_open): Likewise.
34696
9e188909
JM
34697 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34698 Change condition to [XOPEN2K8].
34699
05bcf62a
JM
34700 * conform/conformtest.pl: Preprocess allow-header data with -x c
34701 instead of from stdin.
34702 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34703 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34704 [C99-based standards] (cerfc): Likewise.
34705 [C99-based standards] (cexp2): Likewise.
34706 [C99-based standards] (cexpm1): Likewise.
34707 [C99-based standards] (clog10): Likewise.
34708 [C99-based standards] (clog1p): Likewise.
34709 [C99-based standards] (clog2): Likewise.
34710 [C99-based standards] (clgamma): Likewise.
34711 [C99-based standards] (ctgamma): Likewise.
34712 [C99-based standards] (cerff): Likewise.
34713 [C99-based standards] (cerfcf): Likewise.
34714 [C99-based standards] (cexp2f): Likewise.
34715 [C99-based standards] (cexpm1f): Likewise.
34716 [C99-based standards] (clog10f): Likewise.
34717 [C99-based standards] (clog1pf): Likewise.
34718 [C99-based standards] (clog2f): Likewise.
34719 [C99-based standards] (clgammaf): Likewise.
34720 [C99-based standards] (ctgammaf): Likewise.
34721 [C99-based standards] (cerfl): Likewise.
34722 [C99-based standards] (cerfcl): Likewise.
34723 [C99-based standards] (cexp2l): Likewise.
34724 [C99-based standards] (cexpm1l): Likewise.
34725 [C99-based standards] (clog10l): Likewise.
34726 [C99-based standards] (clog1pl): Likewise.
34727 [C99-based standards] (clog2l): Likewise.
34728 [C99-based standards] (clgammal): Likewise.
34729 [C99-based standards] (ctgammal): Likewise.
34730 * conform/data/inttypes.h-data [C99-based standards]: Include
34731 stdint.h-data. Remove all expectations for stdint.h contents.
34732 [C99-based standards] (PRI*): Do not allow.
34733 [C99-based standards] (SCN*): Likewise.
34734 [C99-based standards] (*_t): Likewise.
34735 [C99-based-standards] (PRId8): Expect macro.
34736 [C99-based-standards] (PRIi8): Likewise.
34737 [C99-based-standards] (PRIo8): Likewise.
34738 [C99-based-standards] (PRIu8): Likewise.
34739 [C99-based-standards] (PRIx8): Likewise.
34740 [C99-based-standards] (PRIX8): Likewise.
34741 [C99-based-standards] (SCNd8): Likewise.
34742 [C99-based-standards] (SCNi8): Likewise.
34743 [C99-based-standards] (SCNo8): Likewise.
34744 [C99-based-standards] (SCNu8): Likewise.
34745 [C99-based-standards] (SCNx8): Likewise.
34746 [C99-based-standards] (PRIdLEAST8): Likewise.
34747 [C99-based-standards] (PRIiLEAST8): Likewise.
34748 [C99-based-standards] (PRIoLEAST8): Likewise.
34749 [C99-based-standards] (PRIuLEAST8): Likewise.
34750 [C99-based-standards] (PRIxLEAST8): Likewise.
34751 [C99-based-standards] (PRIXLEAST8): Likewise.
34752 [C99-based-standards] (SCNdLEAST8): Likewise.
34753 [C99-based-standards] (SCNiLEAST8): Likewise.
34754 [C99-based-standards] (SCNoLEAST8): Likewise.
34755 [C99-based-standards] (SCNuLEAST8): Likewise.
34756 [C99-based-standards] (SCNxLEAST8): Likewise.
34757 [C99-based-standards] (PRIdFAST8): Likewise.
34758 [C99-based-standards] (PRIiFAST8): Likewise.
34759 [C99-based-standards] (PRIoFAST8): Likewise.
34760 [C99-based-standards] (PRIuFAST8): Likewise.
34761 [C99-based-standards] (PRIxFAST8): Likewise.
34762 [C99-based-standards] (PRIXFAST8): Likewise.
34763 [C99-based-standards] (SCNdFAST8): Likewise.
34764 [C99-based-standards] (SCNiFAST8): Likewise.
34765 [C99-based-standards] (SCNoFAST8): Likewise.
34766 [C99-based-standards] (SCNuFAST8): Likewise.
34767 [C99-based-standards] (SCNxFAST8): Likewise.
34768 [C99-based-standards] (PRId16): Likewise.
34769 [C99-based-standards] (PRIi16): Likewise.
34770 [C99-based-standards] (PRIo16): Likewise.
34771 [C99-based-standards] (PRIu16): Likewise.
34772 [C99-based-standards] (PRIx16): Likewise.
34773 [C99-based-standards] (PRIX16): Likewise.
34774 [C99-based-standards] (SCNd16): Likewise.
34775 [C99-based-standards] (SCNi16): Likewise.
34776 [C99-based-standards] (SCNo16): Likewise.
34777 [C99-based-standards] (SCNu16): Likewise.
34778 [C99-based-standards] (SCNx16): Likewise.
34779 [C99-based-standards] (PRIdLEAST16): Likewise.
34780 [C99-based-standards] (PRIiLEAST16): Likewise.
34781 [C99-based-standards] (PRIoLEAST16): Likewise.
34782 [C99-based-standards] (PRIuLEAST16): Likewise.
34783 [C99-based-standards] (PRIxLEAST16): Likewise.
34784 [C99-based-standards] (PRIXLEAST16): Likewise.
34785 [C99-based-standards] (SCNdLEAST16): Likewise.
34786 [C99-based-standards] (SCNiLEAST16): Likewise.
34787 [C99-based-standards] (SCNoLEAST16): Likewise.
34788 [C99-based-standards] (SCNuLEAST16): Likewise.
34789 [C99-based-standards] (SCNxLEAST16): Likewise.
34790 [C99-based-standards] (PRIdFAST16): Likewise.
34791 [C99-based-standards] (PRIiFAST16): Likewise.
34792 [C99-based-standards] (PRIoFAST16): Likewise.
34793 [C99-based-standards] (PRIuFAST16): Likewise.
34794 [C99-based-standards] (PRIxFAST16): Likewise.
34795 [C99-based-standards] (PRIXFAST16): Likewise.
34796 [C99-based-standards] (SCNdFAST16): Likewise.
34797 [C99-based-standards] (SCNiFAST16): Likewise.
34798 [C99-based-standards] (SCNoFAST16): Likewise.
34799 [C99-based-standards] (SCNuFAST16): Likewise.
34800 [C99-based-standards] (SCNxFAST16): Likewise.
34801 [C99-based-standards] (PRId32): Likewise.
34802 [C99-based-standards] (PRIi32): Likewise.
34803 [C99-based-standards] (PRIo32): Likewise.
34804 [C99-based-standards] (PRIu32): Likewise.
34805 [C99-based-standards] (PRIx32): Likewise.
34806 [C99-based-standards] (PRIX32): Likewise.
34807 [C99-based-standards] (SCNd32): Likewise.
34808 [C99-based-standards] (SCNi32): Likewise.
34809 [C99-based-standards] (SCNo32): Likewise.
34810 [C99-based-standards] (SCNu32): Likewise.
34811 [C99-based-standards] (SCNx32): Likewise.
34812 [C99-based-standards] (PRIdLEAST32): Likewise.
34813 [C99-based-standards] (PRIiLEAST32): Likewise.
34814 [C99-based-standards] (PRIoLEAST32): Likewise.
34815 [C99-based-standards] (PRIuLEAST32): Likewise.
34816 [C99-based-standards] (PRIxLEAST32): Likewise.
34817 [C99-based-standards] (PRIXLEAST32): Likewise.
34818 [C99-based-standards] (SCNdLEAST32): Likewise.
34819 [C99-based-standards] (SCNiLEAST32): Likewise.
34820 [C99-based-standards] (SCNoLEAST32): Likewise.
34821 [C99-based-standards] (SCNuLEAST32): Likewise.
34822 [C99-based-standards] (SCNxLEAST32): Likewise.
34823 [C99-based-standards] (PRIdFAST32): Likewise.
34824 [C99-based-standards] (PRIiFAST32): Likewise.
34825 [C99-based-standards] (PRIoFAST32): Likewise.
34826 [C99-based-standards] (PRIuFAST32): Likewise.
34827 [C99-based-standards] (PRIxFAST32): Likewise.
34828 [C99-based-standards] (PRIXFAST32): Likewise.
34829 [C99-based-standards] (SCNdFAST32): Likewise.
34830 [C99-based-standards] (SCNiFAST32): Likewise.
34831 [C99-based-standards] (SCNoFAST32): Likewise.
34832 [C99-based-standards] (SCNuFAST32): Likewise.
34833 [C99-based-standards] (SCNxFAST32): Likewise.
34834 [C99-based-standards] (PRId64): Likewise.
34835 [C99-based-standards] (PRIi64): Likewise.
34836 [C99-based-standards] (PRIo64): Likewise.
34837 [C99-based-standards] (PRIu64): Likewise.
34838 [C99-based-standards] (PRIx64): Likewise.
34839 [C99-based-standards] (PRIX64): Likewise.
34840 [C99-based-standards] (SCNd64): Likewise.
34841 [C99-based-standards] (SCNi64): Likewise.
34842 [C99-based-standards] (SCNo64): Likewise.
34843 [C99-based-standards] (SCNu64): Likewise.
34844 [C99-based-standards] (SCNx64): Likewise.
34845 [C99-based-standards] (PRIdLEAST64): Likewise.
34846 [C99-based-standards] (PRIiLEAST64): Likewise.
34847 [C99-based-standards] (PRIoLEAST64): Likewise.
34848 [C99-based-standards] (PRIuLEAST64): Likewise.
34849 [C99-based-standards] (PRIxLEAST64): Likewise.
34850 [C99-based-standards] (PRIXLEAST64): Likewise.
34851 [C99-based-standards] (SCNdLEAST64): Likewise.
34852 [C99-based-standards] (SCNiLEAST64): Likewise.
34853 [C99-based-standards] (SCNoLEAST64): Likewise.
34854 [C99-based-standards] (SCNuLEAST64): Likewise.
34855 [C99-based-standards] (SCNxLEAST64): Likewise.
34856 [C99-based-standards] (PRIdFAST64): Likewise.
34857 [C99-based-standards] (PRIiFAST64): Likewise.
34858 [C99-based-standards] (PRIoFAST64): Likewise.
34859 [C99-based-standards] (PRIuFAST64): Likewise.
34860 [C99-based-standards] (PRIxFAST64): Likewise.
34861 [C99-based-standards] (PRIXFAST64): Likewise.
34862 [C99-based-standards] (SCNdFAST64): Likewise.
34863 [C99-based-standards] (SCNiFAST64): Likewise.
34864 [C99-based-standards] (SCNoFAST64): Likewise.
34865 [C99-based-standards] (SCNuFAST64): Likewise.
34866 [C99-based-standards] (SCNxFAST64): Likewise.
34867 [C99-based-standards] (PRIdMAX): Likewise.
34868 [C99-based-standards] (PRIiMAX): Likewise.
34869 [C99-based-standards] (PRIoMAX): Likewise.
34870 [C99-based-standards] (PRIuMAX): Likewise.
34871 [C99-based-standards] (PRIxMAX): Likewise.
34872 [C99-based-standards] (PRIXMAX): Likewise.
34873 [C99-based-standards] (SCNdMAX): Likewise.
34874 [C99-based-standards] (SCNiMAX): Likewise.
34875 [C99-based-standards] (SCNoMAX): Likewise.
34876 [C99-based-standards] (SCNuMAX): Likewise.
34877 [C99-based-standards] (SCNxMAX): Likewise.
34878 [C99-based-standards] (PRIdPTR): Likewise.
34879 [C99-based-standards] (PRIiPTR): Likewise.
34880 [C99-based-standards] (PRIoPTR): Likewise.
34881 [C99-based-standards] (PRIuPTR): Likewise.
34882 [C99-based-standards] (PRIxPTR): Likewise.
34883 [C99-based-standards] (PRIXPTR): Likewise.
34884 [C99-based-standards] (SCNdPTR): Likewise.
34885 [C99-based-standards] (SCNiPTR): Likewise.
34886 [C99-based-standards] (SCNoPTR): Likewise.
34887 [C99-based-standards] (SCNuPTR): Likewise.
34888 [C99-based-standards] (SCNxPTR): Likewise.
34889 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34890 allow.
34891 * conform/data/stdint.h-data: Update comments to clarify
34892 requirements.
34893 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34894 type.
34895 [C99-based standards] (INT8_MAX): Likewise.
34896 [C99-based standards] (INT16_MIN): Likewise.
34897 [C99-based standards] (INT16_MAX): Likewise.
34898 [C99-based standards] (INT32_MIN): Likewise.
34899 [C99-based standards] (INT32_MAX): Likewise.
34900 [C99-based standards] (INT64_MIN): Likewise.
34901 [C99-based standards] (INT64_MAX): Likewise.
34902 [C99-based standards] (UINT8_MAX): Likewise.
34903 [C99-based standards] (UINT16_MAX): Likewise.
34904 [C99-based standards] (UINT32_MAX): Likewise.
34905 [C99-based standards] (UINT64_MAX): Likewise.
34906 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34907 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34908 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34909 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34910 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34911 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34912 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34913 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34914 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34915 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34916 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34917 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34918 [C99-based standards] (INT_FAST8_MIN): Likewise.
34919 [C99-based standards] (INT_FAST8_MAX): Likewise.
34920 [C99-based standards] (INT_FAST16_MIN): Likewise.
34921 [C99-based standards] (INT_FAST16_MAX): Likewise.
34922 [C99-based standards] (INT_FAST32_MIN): Likewise.
34923 [C99-based standards] (INT_FAST32_MAX): Likewise.
34924 [C99-based standards] (INT_FAST64_MIN): Likewise.
34925 [C99-based standards] (INT_FAST64_MAX): Likewise.
34926 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34927 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34928 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34929 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34930 [C99-based standards] (INTPTR_MIN): Likewise.
34931 [C99-based standards] (INTPTR_MAX): Likewise.
34932 [C99-based standards] (UINTPTR_MAX): Likewise.
34933 [C99-based standards] (INTMAX_MIN): Likewise.
34934 [C99-based standards] (INTMAX_MAX): Likewise.
34935 [C99-based standards] (UINTMAX_MAX): Likewise.
34936 [C99-based standards] (PTRDIFF_MIN): Likewise.
34937 [C99-based standards] (PTRDIFF_MAX): Likewise.
34938 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34939 [C99-based standards] (SIZE_MAX): Likewise.
34940 [C99-based standards] (WCHAR_MAX): Likewise.
34941 [C99-based standards] (WINT_MAX): Likewise.
34942 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34943 constraint on value.
34944 [C99-based standards] (WCHAR_MIN): Likewise.
34945 [C99-based standards] (WINT_MIN): Likewise.
34946 [C99-based standards] (*_t): Allow.
34947 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34948 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34949 Include math.h-data and complex.h-data. Remove all expectations
34950 of math.h and complex.h contents.
34951 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34952 at end of line.
34953 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34954 (struct tm): Expect tag.
34955 [C99-based-standards] (wcstof): Expect function.
34956 [C99-based-standards] (wcstold): Likewise.
34957 [C99-based-standards] (wcstoll): Likewise.
34958 [C99-based-standards] (wcstoull): Likewise.
34959 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34960 macro-int-constant. Specify type.
34961 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34962 constraint on value.
34963 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34964 Specify type.
34965 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34966 Specify value.
34967 [ISO C standards]: Do not allow headers.
34968 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34969 wcs[abcdefghijklmnopqrstuvwxyz]*.
34970 [ISO C standards] (*_t): Do not allow.
34971 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34972 Expect function.
34973 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34974 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34975 Specify type.
34976 [ISO C standards]: Do not allow headers.
34977 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34978 is[abcdefghijklmnopqrstuvwxyz]*.
34979 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34980 to[abcdefghijklmnopqrstuvwxyz]*.
34981 [ISO C standards] (*_t): Do not allow.
34982 * conform/data/stdalign.h-data: New file.
34983 * conform/data/stdbool.h-data: Likewise.
34984 * conform/data/stdnoreturn.h-data: Likewise.
34985
7514feb8
RM
349862012-11-07 Roland McGrath <roland@hack.frob.com>
34987
34988 [BZ #14815]
34989 * manual/filesys.texi (Directory Entries): Typo fix.
34990 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34991
19b2ecfc
MS
349922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34993
34994 * elf/elf.h (EM_AARCH64): New macro.
34995 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34996 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34997 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34998 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34999 (R_AARCH64_TLSDESC): Likewise.
35000 (NT_ARM_TLS): Likewise.
35001 (NT_ARM_HW_BREAK): Likewise.
35002 (NT_ARM_HW_WATCH): Likewise.
35003
60e235ee
JM
350042012-11-07 Joseph Myers <joseph@codesourcery.com>
35005
35006 [BZ #14811]
35007 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35008 (__ieee754_powl): Saturate nonzero exponents with absolute value
35009 below 0x1p-79 to +/- 0x1p-79.
35010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35011 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35012 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35013 nonzero exponents with absolute value below 0x1p-32 to +/-
35014 0x1p-32.
35015 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35016 (__ieee754_powl): Saturate nonzero exponents with absolute value
35017 below 0x1p-79 to +/- 0x1p-79.
35018 * math/libm-test.inc (pow_test): Add more tests.
35019
0ab234b7
AK
350202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35021
35022 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35023 _dl_s390_cap_flags with kernel. Increase string length.
35024 (_dl_s390_platforms): Add z196 and zEC12.
35025
45832f74
JM
350262012-11-07 Joseph Myers <joseph@codesourcery.com>
35027
35028 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35029 Change XOPEN21K to XOPEN2K.
35030
19218757
MK
350312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35032
35033 * string/memmove.c: Use memcpy when possible.
35034
c5f45721
AJ
350352012-11-06 Andreas Jaeger <aj@suse.de>
35036
35037 * po/eo.po: Update from translation team.
35038
82477c28
JM
350392012-11-06 Joseph Myers <joseph@codesourcery.com>
35040
35041 [BZ #14793]
35042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35043 exponent and small x and y exponents, scale x or y up. Increase
35044 by 2 the exponent used in scaling up.
35045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35047 * math/libm-test.inc (fma_test): Add more tests.
35048 (fma_test_towardzero): Likewise.
35049 (fma_test_downward): Likewise.
35050 (fma_test_upward): Likewise.
35051
99252c8c
JM
350522012-11-05 Joseph Myers <joseph@codesourcery.com>
35053
acfa885f
JM
35054 [BZ #14805]
35055 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35056 fenv_t *.
35057
99252c8c
JM
35058 [BZ #14801]
35059 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35060 namespace for names of struct fields.
35061 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35062 fenv_t fields.
35063 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35064 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35065
d6d98dea
ST
350662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35067
35068 [BZ #3665]
35069 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35070
e10bb107
TS
350712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35072
35073 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35074 PTR_DEMANGLE.
35075
35076 [BZ #5246]
35077 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35078 PTR_DEMANGLE.
35079
a0c2940d
JM
350802012-11-04 Joseph Myers <joseph@codesourcery.com>
35081
35082 [BZ #14797]
35083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35084 definitely overflow as x * y not x * y + z.
35085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35087 * math/libm-test.inc (fma_test): Add more tests.
35088 (fma_test_towardzero): Likewise.
35089 (fma_test_downward): Likewise.
35090 (fma_test_upward): Likewise.
35091
b830319d
TS
350922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35093
35094 [BZ #157]
35095
35096 * include/stub-tag.h: Remove file.
35097 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35098 '#include' of it.
35099 * manual/maint.texi (Porting): Don't reference it.
35100 * Makerules ($(objpfx)stubs): Likewise.
35101 * dirent/closedir.c: Don't include <stub-tag.h>.
35102 * dirent/dirfd.c: Likewise.
35103 * dirent/fdopendir.c: Likewise.
35104 * dirent/getdents.c: Likewise.
35105 * dirent/getdents64.c: Likewise.
35106 * dirent/opendir.c: Likewise.
35107 * dirent/readdir.c: Likewise.
35108 * dirent/readdir64.c: Likewise.
35109 * dirent/readdir64_r.c: Likewise.
35110 * dirent/readdir_r.c: Likewise.
35111 * dirent/rewinddir.c: Likewise.
35112 * dirent/seekdir.c: Likewise.
35113 * dirent/telldir.c: Likewise.
35114 * gmon/profil.c: Likewise.
35115 * grp/setgroups.c: Likewise.
35116 * inet/if_index.c: Likewise.
35117 * io/access.c: Likewise.
35118 * io/chdir.c: Likewise.
35119 * io/chmod.c: Likewise.
35120 * io/chown.c: Likewise.
35121 * io/close.c: Likewise.
35122 * io/dup.c: Likewise.
35123 * io/dup2.c: Likewise.
35124 * io/dup3.c: Likewise.
35125 * io/euidaccess.c: Likewise.
35126 * io/faccessat.c: Likewise.
35127 * io/fchdir.c: Likewise.
35128 * io/fchmod.c: Likewise.
35129 * io/fchmodat.c: Likewise.
35130 * io/fchown.c: Likewise.
35131 * io/fchownat.c: Likewise.
35132 * io/fcntl.c: Likewise.
35133 * io/flock.c: Likewise.
35134 * io/fstatfs.c: Likewise.
35135 * io/fstatfs64.c: Likewise.
35136 * io/fstatvfs.c: Likewise.
35137 * io/fstatvfs64.c: Likewise.
35138 * io/futimens.c: Likewise.
35139 * io/fxstat.c: Likewise.
35140 * io/fxstat64.c: Likewise.
35141 * io/fxstatat.c: Likewise.
35142 * io/fxstatat64.c: Likewise.
35143 * io/getcwd.c: Likewise.
35144 * io/isatty.c: Likewise.
35145 * io/lchmod.c: Likewise.
35146 * io/lchown.c: Likewise.
35147 * io/link.c: Likewise.
35148 * io/linkat.c: Likewise.
35149 * io/lseek.c: Likewise.
35150 * io/lseek64.c: Likewise.
35151 * io/lxstat64.c: Likewise.
35152 * io/mkdir.c: Likewise.
35153 * io/mkdirat.c: Likewise.
35154 * io/mkfifo.c: Likewise.
35155 * io/mkfifoat.c: Likewise.
35156 * io/open.c: Likewise.
35157 * io/open64.c: Likewise.
35158 * io/openat.c: Likewise.
35159 * io/openat64.c: Likewise.
35160 * io/pipe.c: Likewise.
35161 * io/pipe2.c: Likewise.
35162 * io/poll.c: Likewise.
35163 * io/posix_fadvise.c: Likewise.
35164 * io/posix_fadvise64.c: Likewise.
35165 * io/posix_fallocate.c: Likewise.
35166 * io/posix_fallocate64.c: Likewise.
35167 * io/read.c: Likewise.
35168 * io/readlink.c: Likewise.
35169 * io/readlinkat.c: Likewise.
35170 * io/rmdir.c: Likewise.
35171 * io/sendfile.c: Likewise.
35172 * io/sendfile64.c: Likewise.
35173 * io/statfs.c: Likewise.
35174 * io/statfs64.c: Likewise.
35175 * io/statvfs.c: Likewise.
35176 * io/statvfs64.c: Likewise.
35177 * io/symlink.c: Likewise.
35178 * io/symlinkat.c: Likewise.
35179 * io/ttyname.c: Likewise.
35180 * io/ttyname_r.c: Likewise.
35181 * io/umask.c: Likewise.
35182 * io/unlink.c: Likewise.
35183 * io/unlinkat.c: Likewise.
35184 * io/utime.c: Likewise.
35185 * io/utimensat.c: Likewise.
35186 * io/write.c: Likewise.
35187 * io/xmknod.c: Likewise.
35188 * io/xmknodat.c: Likewise.
35189 * io/xstat.c: Likewise.
35190 * io/xstat64.c: Likewise.
35191 * login/getpt.c: Likewise.
35192 * login/grantpt.c: Likewise.
35193 * login/unlockpt.c: Likewise.
35194 * math/e_acoshl.c: Likewise.
35195 * math/e_acosl.c: Likewise.
35196 * math/e_asinl.c: Likewise.
35197 * math/e_atan2l.c: Likewise.
35198 * math/e_atanhl.c: Likewise.
35199 * math/e_coshl.c: Likewise.
35200 * math/e_expl.c: Likewise.
35201 * math/e_fmodl.c: Likewise.
35202 * math/e_gammal_r.c: Likewise.
35203 * math/e_hypotl.c: Likewise.
35204 * math/e_j0l.c: Likewise.
35205 * math/e_j1l.c: Likewise.
35206 * math/e_jnl.c: Likewise.
35207 * math/e_lgammal_r.c: Likewise.
35208 * math/e_log10l.c: Likewise.
35209 * math/e_log2l.c: Likewise.
35210 * math/e_logl.c: Likewise.
35211 * math/e_powl.c: Likewise.
35212 * math/e_rem_pio2l.c: Likewise.
35213 * math/e_sinhl.c: Likewise.
35214 * math/e_sqrtl.c: Likewise.
35215 * math/fclrexcpt.c: Likewise.
35216 * math/fedisblxcpt.c: Likewise.
35217 * math/feenablxcpt.c: Likewise.
35218 * math/fegetenv.c: Likewise.
35219 * math/fegetexcept.c: Likewise.
35220 * math/fegetround.c: Likewise.
35221 * math/feholdexcpt.c: Likewise.
35222 * math/fesetenv.c: Likewise.
35223 * math/fesetround.c: Likewise.
35224 * math/feupdateenv.c: Likewise.
35225 * math/fgetexcptflg.c: Likewise.
35226 * math/fraiseexcpt.c: Likewise.
35227 * math/fsetexcptflg.c: Likewise.
35228 * math/ftestexcept.c: Likewise.
35229 * math/k_cosl.c: Likewise.
35230 * math/k_rem_pio2l.c: Likewise.
35231 * math/k_sinl.c: Likewise.
35232 * math/k_tanl.c: Likewise.
35233 * math/s_asinhl.c: Likewise.
35234 * math/s_atanl.c: Likewise.
35235 * math/s_cbrtl.c: Likewise.
35236 * math/s_erfl.c: Likewise.
35237 * math/s_expm1l.c: Likewise.
35238 * math/s_log1pl.c: Likewise.
35239 * math/s_tanhl.c: Likewise.
35240 * misc/acct.c: Likewise.
35241 * misc/brk.c: Likewise.
35242 * misc/chflags.c: Likewise.
35243 * misc/chroot.c: Likewise.
35244 * misc/fchflags.c: Likewise.
35245 * misc/fgetxattr.c: Likewise.
35246 * misc/flistxattr.c: Likewise.
35247 * misc/fremovexattr.c: Likewise.
35248 * misc/fsetxattr.c: Likewise.
35249 * misc/fsync.c: Likewise.
35250 * misc/ftruncate.c: Likewise.
35251 * misc/futimes.c: Likewise.
35252 * misc/futimesat.c: Likewise.
35253 * misc/getdomain.c: Likewise.
35254 * misc/getdtsz.c: Likewise.
35255 * misc/gethostid.c: Likewise.
35256 * misc/gethostname.c: Likewise.
35257 * misc/getloadavg.c: Likewise.
35258 * misc/getpagesize.c: Likewise.
35259 * misc/getsysstats.c: Likewise.
35260 * misc/getxattr.c: Likewise.
35261 * misc/gtty.c: Likewise.
35262 * misc/ioctl.c: Likewise.
35263 * misc/lgetxattr.c: Likewise.
35264 * misc/listxattr.c: Likewise.
35265 * misc/llistxattr.c: Likewise.
35266 * misc/lremovexattr.c: Likewise.
35267 * misc/lsetxattr.c: Likewise.
35268 * misc/lutimes.c: Likewise.
35269 * misc/madvise.c: Likewise.
35270 * misc/mincore.c: Likewise.
35271 * misc/mlock.c: Likewise.
35272 * misc/mlockall.c: Likewise.
35273 * misc/mmap.c: Likewise.
35274 * misc/mprotect.c: Likewise.
35275 * misc/msync.c: Likewise.
35276 * misc/munlock.c: Likewise.
35277 * misc/munlockall.c: Likewise.
35278 * misc/munmap.c: Likewise.
35279 * misc/preadv.c: Likewise.
35280 * misc/preadv64.c: Likewise.
35281 * misc/ptrace.c: Likewise.
35282 * misc/pwritev.c: Likewise.
35283 * misc/pwritev64.c: Likewise.
35284 * misc/readv.c: Likewise.
35285 * misc/reboot.c: Likewise.
35286 * misc/remap_file_pages.c: Likewise.
35287 * misc/removexattr.c: Likewise.
35288 * misc/revoke.c: Likewise.
35289 * misc/select.c: Likewise.
35290 * misc/setdomain.c: Likewise.
35291 * misc/setegid.c: Likewise.
35292 * misc/seteuid.c: Likewise.
35293 * misc/sethostid.c: Likewise.
35294 * misc/sethostname.c: Likewise.
35295 * misc/setregid.c: Likewise.
35296 * misc/setreuid.c: Likewise.
35297 * misc/setxattr.c: Likewise.
35298 * misc/sstk.c: Likewise.
35299 * misc/stty.c: Likewise.
35300 * misc/swapoff.c: Likewise.
35301 * misc/swapon.c: Likewise.
35302 * misc/sync.c: Likewise.
35303 * misc/syncfs.c: Likewise.
35304 * misc/syscall.c: Likewise.
35305 * misc/truncate.c: Likewise.
35306 * misc/ualarm.c: Likewise.
35307 * misc/usleep.c: Likewise.
35308 * misc/ustat.c: Likewise.
35309 * misc/utimes.c: Likewise.
35310 * misc/vhangup.c: Likewise.
35311 * misc/writev.c: Likewise.
35312 * posix/_exit.c: Likewise.
35313 * posix/alarm.c: Likewise.
35314 * posix/execve.c: Likewise.
35315 * posix/fexecve.c: Likewise.
35316 * posix/fork.c: Likewise.
35317 * posix/fpathconf.c: Likewise.
35318 * posix/getaddrinfo.c: Likewise.
35319 * posix/getegid.c: Likewise.
35320 * posix/geteuid.c: Likewise.
35321 * posix/getgid.c: Likewise.
35322 * posix/getgroups.c: Likewise.
35323 * posix/getlogin.c: Likewise.
35324 * posix/getlogin_r.c: Likewise.
35325 * posix/getpgid.c: Likewise.
35326 * posix/getpid.c: Likewise.
35327 * posix/getppid.c: Likewise.
35328 * posix/getresgid.c: Likewise.
35329 * posix/getresuid.c: Likewise.
35330 * posix/getsid.c: Likewise.
35331 * posix/getuid.c: Likewise.
35332 * posix/glob64.c: Likewise.
35333 * posix/nanosleep.c: Likewise.
35334 * posix/pathconf.c: Likewise.
35335 * posix/pause.c: Likewise.
35336 * posix/posix_madvise.c: Likewise.
35337 * posix/pread.c: Likewise.
35338 * posix/pread64.c: Likewise.
35339 * posix/pwrite.c: Likewise.
35340 * posix/pwrite64.c: Likewise.
35341 * posix/sched_getaffinity.c: Likewise.
35342 * posix/sched_getp.c: Likewise.
35343 * posix/sched_gets.c: Likewise.
35344 * posix/sched_primax.c: Likewise.
35345 * posix/sched_primin.c: Likewise.
35346 * posix/sched_rr_gi.c: Likewise.
35347 * posix/sched_setaffinity.c: Likewise.
35348 * posix/sched_setp.c: Likewise.
35349 * posix/sched_sets.c: Likewise.
35350 * posix/sched_yield.c: Likewise.
35351 * posix/setgid.c: Likewise.
35352 * posix/setlogin.c: Likewise.
35353 * posix/setpgid.c: Likewise.
35354 * posix/setresgid.c: Likewise.
35355 * posix/setresuid.c: Likewise.
35356 * posix/setsid.c: Likewise.
35357 * posix/setuid.c: Likewise.
35358 * posix/sleep.c: Likewise.
35359 * posix/spawni.c: Likewise.
35360 * posix/sysconf.c: Likewise.
35361 * posix/times.c: Likewise.
35362 * posix/wait.c: Likewise.
35363 * posix/wait3.c: Likewise.
35364 * posix/wait4.c: Likewise.
35365 * posix/waitpid.c: Likewise.
35366 * resolv/gai_sigqueue.c: Likewise.
35367 * resource/getpriority.c: Likewise.
35368 * resource/getrlimit.c: Likewise.
35369 * resource/getrusage.c: Likewise.
35370 * resource/nice.c: Likewise.
35371 * resource/setpriority.c: Likewise.
35372 * resource/setrlimit.c: Likewise.
35373 * resource/ulimit.c: Likewise.
35374 * rt/aio_cancel.c: Likewise.
35375 * rt/aio_fsync.c: Likewise.
35376 * rt/aio_read.c: Likewise.
35377 * rt/aio_sigqueue.c: Likewise.
35378 * rt/aio_suspend.c: Likewise.
35379 * rt/aio_write.c: Likewise.
35380 * rt/clock_getres.c: Likewise.
35381 * rt/clock_gettime.c: Likewise.
35382 * rt/clock_nanosleep.c: Likewise.
35383 * rt/clock_settime.c: Likewise.
35384 * rt/lio_listio.c: Likewise.
35385 * rt/mq_close.c: Likewise.
35386 * rt/mq_getattr.c: Likewise.
35387 * rt/mq_notify.c: Likewise.
35388 * rt/mq_open.c: Likewise.
35389 * rt/mq_receive.c: Likewise.
35390 * rt/mq_send.c: Likewise.
35391 * rt/mq_setattr.c: Likewise.
35392 * rt/mq_timedreceive.c: Likewise.
35393 * rt/mq_timedsend.c: Likewise.
35394 * rt/mq_unlink.c: Likewise.
35395 * rt/shm_open.c: Likewise.
35396 * rt/shm_unlink.c: Likewise.
35397 * rt/timer_create.c: Likewise.
35398 * rt/timer_delete.c: Likewise.
35399 * rt/timer_getoverr.c: Likewise.
35400 * rt/timer_gettime.c: Likewise.
35401 * rt/timer_settime.c: Likewise.
35402 * setjmp/__longjmp.c: Likewise.
35403 * setjmp/setjmp.c: Likewise.
35404 * signal/kill.c: Likewise.
35405 * signal/killpg.c: Likewise.
35406 * signal/raise.c: Likewise.
35407 * signal/sigaction.c: Likewise.
35408 * signal/sigaltstack.c: Likewise.
35409 * signal/sigblock.c: Likewise.
35410 * signal/sigignore.c: Likewise.
35411 * signal/sigintr.c: Likewise.
35412 * signal/signal.c: Likewise.
35413 * signal/sigpause.c: Likewise.
35414 * signal/sigpending.c: Likewise.
35415 * signal/sigqueue.c: Likewise.
35416 * signal/sigreturn.c: Likewise.
35417 * signal/sigset.c: Likewise.
35418 * signal/sigsetmask.c: Likewise.
35419 * signal/sigstack.c: Likewise.
35420 * signal/sigsuspend.c: Likewise.
35421 * signal/sigtimedwait.c: Likewise.
35422 * signal/sigvec.c: Likewise.
35423 * signal/sigwait.c: Likewise.
35424 * signal/sigwaitinfo.c: Likewise.
35425 * signal/sysv_signal.c: Likewise.
35426 * socket/accept.c: Likewise.
35427 * socket/accept4.c: Likewise.
35428 * socket/bind.c: Likewise.
35429 * socket/connect.c: Likewise.
35430 * socket/getpeername.c: Likewise.
35431 * socket/getsockname.c: Likewise.
35432 * socket/getsockopt.c: Likewise.
35433 * socket/isfdtype.c: Likewise.
35434 * socket/listen.c: Likewise.
35435 * socket/recv.c: Likewise.
35436 * socket/recvfrom.c: Likewise.
35437 * socket/recvmsg.c: Likewise.
35438 * socket/send.c: Likewise.
35439 * socket/sendmsg.c: Likewise.
35440 * socket/sendto.c: Likewise.
35441 * socket/setsockopt.c: Likewise.
35442 * socket/shutdown.c: Likewise.
35443 * socket/sockatmark.c: Likewise.
35444 * socket/socket.c: Likewise.
35445 * socket/socketpair.c: Likewise.
35446 * stdio-common/ctermid.c: Likewise.
35447 * stdio-common/cuserid.c: Likewise.
35448 * stdio-common/remove.c: Likewise.
35449 * stdio-common/rename.c: Likewise.
35450 * stdio-common/renameat.c: Likewise.
35451 * stdio-common/tempname.c: Likewise.
35452 * stdlib/getcontext.c: Likewise.
35453 * stdlib/makecontext.c: Likewise.
35454 * stdlib/setcontext.c: Likewise.
35455 * stdlib/swapcontext.c: Likewise.
35456 * stdlib/system.c: Likewise.
35457 * streams/fattach.c: Likewise.
35458 * streams/fdetach.c: Likewise.
35459 * streams/getmsg.c: Likewise.
35460 * streams/getpmsg.c: Likewise.
35461 * streams/putmsg.c: Likewise.
35462 * streams/putpmsg.c: Likewise.
35463 * sysdeps/unix/bsd/getpt.c: Likewise.
35464 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35465 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35466 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35468 Likewise.
35469 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35470 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35471 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35472 * sysvipc/msgctl.c: Likewise.
35473 * sysvipc/msgget.c: Likewise.
35474 * sysvipc/msgrcv.c: Likewise.
35475 * sysvipc/msgsnd.c: Likewise.
35476 * sysvipc/semctl.c: Likewise.
35477 * sysvipc/semget.c: Likewise.
35478 * sysvipc/semop.c: Likewise.
35479 * sysvipc/semtimedop.c: Likewise.
35480 * sysvipc/shmat.c: Likewise.
35481 * sysvipc/shmctl.c: Likewise.
35482 * sysvipc/shmdt.c: Likewise.
35483 * sysvipc/shmget.c: Likewise.
35484 * termios/tcdrain.c: Likewise.
35485 * termios/tcflow.c: Likewise.
35486 * termios/tcflush.c: Likewise.
35487 * termios/tcgetattr.c: Likewise.
35488 * termios/tcgetpgrp.c: Likewise.
35489 * termios/tcsendbrk.c: Likewise.
35490 * termios/tcsetattr.c: Likewise.
35491 * termios/tcsetpgrp.c: Likewise.
35492 * time/adjtime.c: Likewise.
35493 * time/clock.c: Likewise.
35494 * time/getitimer.c: Likewise.
35495 * time/gettimeofday.c: Likewise.
35496 * time/setitimer.c: Likewise.
35497 * time/settimeofday.c: Likewise.
35498 * time/stime.c: Likewise.
35499 * time/time.c: Likewise.
35500
355012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35502
a20492cf
PT
35503 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35504 /usr/old/bin.
35505
72e182e3
PT
35506 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35507 instead of spaces.
35508 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35509
fbeafede
JM
355102012-11-03 Joseph Myers <joseph@codesourcery.com>
35511
5b5b04d6
JM
35512 [BZ #14796]
35513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35514 FE_TONEAREST before applying Dekker multiplication and Knuth
35515 addition. Clear inexact exceptions and check for exact zero
35516 results afterwards.
35517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35520 * math/libm-test.inc (fma_test): Add more tests.
35521 (fma_test_towardzero): Likewise.
35522 (fma_test_downward): Likewise.
35523 (fma_test_upward): Likewise.
35524 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35525 function.
35526 (libc_fesetround): New macro.
35527 (libc_fesetroundf): Likewise.
35528 (libc_fesetroundl): Likewise.
35529 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35530 function.
35531 (libc_fesetround_387): Likewise.
35532 (libc_fesetroundf): New macro.
35533 (libc_fesetround): Likewise.
35534 (libc_fesetroundl): Likewise.
35535 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35536 function.
35537 (libc_fesetroundf): New macro.
35538 (libc_fesetround): Likewise.
35539 (libc_fesetroundl): Likewise.
35540 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35541 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35542 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35543 libm_hidden_ver.
35544 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35545 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35546 libm_hidden_def.
35547 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35548 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35549 libm_hidden_ver.
35550 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35551 libm_hidden_def.
35552
fbeafede
JM
35553 [BZ #3439]
35554 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35555 integer constant usable in #if and use that to give value to enum
35556 constant.
35557 (FE_DIVBYZERO): Likewise.
35558 (FE_UNDERFLOW): Likewise.
35559 (FE_OVERFLOW): Likewise.
35560 (FE_INVALID): Likewise.
35561 (FE_INVALID_SNAN): Likewise.
35562 (FE_INVALID_ISI): Likewise.
35563 (FE_INVALID_IDI): Likewise.
35564 (FE_INVALID_ZDZ): Likewise.
35565 (FE_INVALID_IMZ): Likewise.
35566 (FE_INVALID_COMPARE): Likewise.
35567 (FE_INVALID_SOFTWARE): Likewise.
35568 (FE_INVALID_SQRT): Likewise.
35569 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35570 (FE_TONEAREST): Likewise.
35571 (FE_TOWARDZERO): Likewise.
35572 (FE_UPWARD): Likewise.
35573 (FE_DOWNWARD): Likewise.
35574 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35575 (FE_DIVBYZERO): Likewise.
35576 (FE_OVERFLOW): Likewise.
35577 (FE_UNDERFLOW): Likewise.
35578 (FE_INEXACT): Likewise.
35579 (FE_TONEAREST): Likewise.
35580 (FE_DOWNWARD): Likewise.
35581 (FE_UPWARD): Likewise.
35582 (FE_TOWARDZERO): Likewise.
35583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35584 (FE_UNDERFLOW): Likewise.
35585 (FE_OVERFLOW): Likewise.
35586 (FE_DIVBYZERO): Likewise.
35587 (FE_INVALID): Likewise.
35588 (FE_TONEAREST): Likewise.
35589 (FE_TOWARDZERO): Likewise.
35590 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35591 (FE_OVERFLOW): Likewise.
35592 (FE_UNDERFLOW): Likewise.
35593 (FE_DIVBYZERO): Likewise.
35594 (FE_INEXACT): Likewise.
35595 (FE_TONEAREST): Likewise.
35596 (FE_TOWARDZERO): Likewise.
35597 (FE_UPWARD): Likewise.
35598 (FE_DOWNWARD): Likewise.
35599 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35600 (FE_DIVBYZERO): Likewise.
35601 (FE_OVERFLOW): Likewise.
35602 (FE_UNDERFLOW): Likewise.
35603 (FE_INEXACT): Likewise.
35604 (FE_TONEAREST): Likewise.
35605 (FE_DOWNWARD): Likewise.
35606 (FE_UPWARD): Likewise.
35607 (FE_TOWARDZERO): Likewise.
35608
105ca950
CM
356092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35610
35611 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35612
a542b389
AS
356132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35614
35615 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35616 commands. Quote $PWD.
35617 (blacklist_exports): Don't use remove_newlines. Replace "declare
35618 -x" by "export".
35619 (remove_newlines): Remove.
35620
f62c8abc
L
356212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35622
35623 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35624 * stdlib/stdlib.h (atof): Moved to ...
35625 * include/bits/stdlib-float.h: Here. New file.
35626 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35627 * stdlib/bits/stdlib-float.h: New file.
35628 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35629 -mno-sse -mno-mmx.
35630 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35631 <xmmintrin.h>.
35632
0155d5b2
JM
356332012-11-02 Joseph Myers <joseph@codesourcery.com>
35634
a68d0680
JM
35635 * conform/conformtest.pl (@headers): Add fenv.h.
35636 * conform/data/fenv.h-data: New file.
35637 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35638 include of <math/fenv.h>.
35639
caf7f573
JM
35640 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35641 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35642 && !UNIX98]. Enables tests for XOPEN2K8.
35643 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35644 POSIX2008]: Likewise.
35645
6c073ad6
JM
35646 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35647 (struct rusage): Do not expect type or its members.
35648
0155d5b2
JM
35649 [BZ #3439]
35650 * math/math.h (FP_NAN): Define macro to integer constant usable in
35651 #if and use that to give value to enum constant.
35652 (FP_INFINITE): Likewise.
35653 (FP_ZERO): Likewise.
35654 (FP_SUBNORMAL): Likewise.
35655 (FP_NORMAL): Likewise.
35656
b5dcacb4
AS
356572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35658
35659 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35660 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35661 arguments.
35662
f7934be8
RM
356632012-11-02 Roland McGrath <roland@hack.frob.com>
35664
35665 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35666 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35667 autoconf-time if not.
35668 * configure.in: Remove AC_PREREQ.
35669
d7d08bde
TMQMF
356702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35671
35672 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35673 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35674 of the internal implementation.
35675
dcdae19a
JM
356762012-11-02 Joseph Myers <joseph@codesourcery.com>
35677
35678 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35679 except include of <misc/sys/syslog.h>.
35680
d6cffd3e
AS
356812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35682
35683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35684 function returns with a NULL context exit with zero.
35685
b3563932
TMQMF
356862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35687
35688 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35689
b288a93d
L
356902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35691
35692 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35693 (run_program_cmd): This.
35694 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35695 (tst_langinfo): New variable. Use it.
35696
a2421a68
SAS
356972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35698
35699 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35700 floating point opcodes.
35701
6f796e1b
TS
357022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35703
7402596b
TS
35704 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35705 variable.
35706
d0d4f868
TS
35707 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35708
6f796e1b
TS
35709 * sysdeps/mach/hurd/powerpc: Remove directory.
35710 * sysdeps/mach/powerpc: Likewise.
35711
4da224a2
AS
357122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35713
35714 * scripts/check-local-headers.sh: Ignore c++ headers.
35715
341dd673
TS
357162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35717
35718 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35719 __libc_cleanup_region_start argument.
35720
473611b2
JM
357212012-11-01 Joseph Myers <joseph@codesourcery.com>
35722
35723 [BZ #14784]
35724 [BZ #14785]
35725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35726 x * y using scaling, not as x * y + z.
35727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35729 * math/libm-test.inc (fma_test): Add more tests.
35730 (fma_test_towardzero): Likewise.
35731 (fma_test_downward): Likewise.
35732 (fma_test_upward): Likewise.
35733
4078da3d
TS
357342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35735
35736 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35737
903252aa
JM
357382012-10-31 Joseph Myers <joseph@codesourcery.com>
35739
35740 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35741 New variable.
35742
cbc818d0
TS
357432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35744
35745 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35746
5a03cb1e
AS
357472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35748
35749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35750 Fix sort order.
35751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35752 Likewise.
35753
90aff2ff
TMQMF
357542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35755
35756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35757 Fix the order of the list for glibc 2.17.
35758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35759 Likewise.
35760
1818fcb7
AS
357612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35762
35763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35764
ef82f4da
JM
357652012-10-31 Joseph Myers <joseph@codesourcery.com>
35766
16a0e2ec
JM
35767 [BZ #14610]
35768 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35769 for low part of x being zero before using __atanl (y).
35770 * math/libm-test.inc (atan2_test): Add another test.
35771
0eb69512
JM
35772 * manual/install.texi (Configuring and compiling): Document
35773 general use of test-wrapper and test-wrapper-env.
35774 * INSTALL: Regenerated.
35775
ef82f4da
JM
35776 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35777 (__fma): Do not extract and scale down low bits on after-rounding
35778 systems when result rounded to normal precision would have normal
35779 exponent.
35780 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35781 (__fmal): Do not extract and scale down low bits on after-rounding
35782 systems when result rounded to normal precision would have normal
35783 exponent.
35784 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35785 (__fmal): Do not extract and scale down low bits on after-rounding
35786 systems when result rounded to normal precision would have normal
35787 exponent.
35788 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35789 macro.
35790 (fma_test): Add more tests.
35791 (fma_test_towardzero): Likewise.
35792 (fma_test_downward): Likewise.
35793 (fma_test_upward): Likewise.
35794
954ef0d9
L
357952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35796
35797 * sysdeps/i386/tininess.h: Renamed to ...
35798 * sysdeps/x86/tininess.h: This.
35799 * sysdeps/x86_64/tininess.h: Removed.
35800
df61ffb2
JM
358012012-10-30 Joseph Myers <joseph@codesourcery.com>
35802
35803 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35804 input. Use $(build-program-cmd).
35805 ($(objpfx)tst-array1-static.out): Likewise.
35806 ($(objpfx)tst-array2.out): Likewise.
35807 ($(objpfx)tst-array3.out): Likewise.
35808 ($(objpfx)tst-array4.out): Likewise.
35809 ($(objpfx)tst-array5.out): Likewise.
35810 ($(objpfx)tst-array5-static.out): Likewise.
35811
01767843
CM
358122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35813
47cc1490
CM
35814 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35815 if defined.
35816
01767843
CM
35817 * nss/nsswitch.h (nss_interface_function): Provide new
35818 macro for use with NSS functions.
35819 * grp/initgroups.c: Use new macro.
35820 * nss/getXXbyYY.c: Likewise.
35821 * nss/getXXbyYY_r.c: Likewise.
35822 * nss/getXXent.c: Likewise.
35823 * nss/getXXent_r.c: Likewise.
35824 * sysdeps/posix/getaddrinfo.c: Likewise.
35825
8321aa97
AJ
358262012-10-30 Andreas Jaeger <aj@suse.de>
35827
35828 * po/ru.po: Update Russion translation from translation project.
35829
2a27fd6d
JM
358302012-10-30 Joseph Myers <joseph@codesourcery.com>
35831
8627a232
JM
35832 [BZ #14152]
35833 [BZ #14783]
35834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35835 result and shift together with sticky bit instead of replicating
35836 round-to-nearest rounding.
35837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35839 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35840 missing underflow exceptions.
35841 (fma_test_towardzero): Add more tests.
35842 (fma_test_downward): Likewise.
35843 (fma_test_upward): Likewise.
35844
2a27fd6d
JM
35845 [BZ #14047]
35846 * sysdeps/generic/tininess.h: New file.
35847 * sysdeps/i386/tininess.h: Likewise.
35848 * sysdeps/sh/tininess.h: Likewise.
35849 * sysdeps/x86_64/tininess.h: Likewise.
35850 * stdlib/tst-strtod-underflow.c: Likewise.
35851 * stdlib/tst-tininess.c: Likewise.
35852 * stdlib/strtod_l.c: Include <tininess.h>.
35853 (round_and_return): Do not set errno for exact underflow cases.
35854 Force an underflow exception when setting errno for underflow.
35855 Determine underflow based on rounding to normal precision if
35856 TININESS_AFTER_ROUNDING.
35857 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35858 ERANGE for exact underflow cases.
35859 * stdlib/Makefile (tests): Add tst-tininess and
35860 tst-strtod-underflow.
35861 ($(objpfx)tst-tininess): Use $(link-libm).
35862 ($(objpfx)tst-strtod-underflow): Likewise.
35863
e7170363
AJ
358642012-10-30 Andreas Jaeger <aj@suse.de>
35865
e5088dc6
AJ
35866 [BZ#14767]
35867 * elf/Makefile (tests): Remove conditional for have-initfini-array
35868 since this is now always required and the variable does not exist
35869 anymore.
35870 (tests-static): Likewise.
35871 (modules-names): Likewise.
35872
e7170363 35873 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35874
35875 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35876 merged with constructor/destructor.
35877 (init_array): Likewise.
35878 * elf/tst-array2dep.c (fini_array): Likewise.
35879 (init_array): Likewise.
35880
60457d8a
MF
358812012-10-29 Mike Frysinger <vapier@gentoo.org>
35882
35883 * manual/message.texi: Delete @cartouche tags.
35884
8bece752
PT
358852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35886
94ce799f
PT
35887 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35888 EOPNOTSUPP.
35889 * sysdeps/mach/hurd/fsync.c: Likewise.
35890
8bece752
PT
35891 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35892 [_POSIX_REALTIME_SIGNALS]: Change condition to
35893 [_POSIX_REALTIME_SIGNALS > 0].
35894
86ebe6b1
AJ
358952012-10-27 Andreas Jaeger <aj@suse.de>
35896
35897 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35898 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35900 [__WORDSIZE != 64]: Likewise.
35901
54399c08
L
359022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35903
35904 * iconvdata/tst-table.sh: Remove ${SHELL}.
35905 * iconvdata/tst-tables.sh: Likewise.
35906
e2211bed
DM
359072012-10-25 David S. Miller <davem@davemloft.net>
35908
35909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35910 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35911 of strtoull.
35912
f303f97c
DM
35913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35914 ifunc-impl-list.c
35915 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35916 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35917 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35918 file.
35919
1e9d84cd
RM
359202012-10-25 Roland McGrath <roland@hack.frob.com>
35921
35922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35923 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35924 __getdirentries.
35925
df381762
JM
359262012-10-25 Joseph Myers <joseph@codesourcery.com>
35927 Jim Blandy <jimb@codesourcery.com>
35928
35929 * scripts/cross-test-ssh.sh: New file.
35930 * manual/install.texi (Configuring and compiling): Document use of
35931 cross-test-ssh.sh.
35932 * INSTALL: Regenerated.
35933
bff64913
PT
359342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35935
35936 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35937 EOPNOTSUPP.
35938
25fe8932
JM
359392012-10-25 Joseph Myers <joseph@codesourcery.com>
35940
35941 * Makeconfig (run-program-prefix): Fix comment.
35942
cc1290d0
JM
359432012-10-24 Joseph Myers <joseph@codesourcery.com>
35944 Jim Blandy <jimb@codesourcery.com>
35945
35946 * Makeconfig (test-wrapper): New variable,
35947 (test-wrapper-env): Likewise.
35948 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35949 (run-built-tests): Define to yes.
35950 (run-program-prefix): Use $(test-wrapper).
35951 (built-program-cmd): Likewise.
35952 * Rules (make-test-out): Use $(test-wrapper-env) and
35953 $(host-built-program-cmd).
35954 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35955 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35956 tst-pathopt.sh.
35957 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35958 $(test-wrapper-env) to tst-rtld-load-self.sh.
35959 ($(objpfx)order2.out): Use $(test-wrapper).
35960 ($(objpfx)tst-initorder.out): Likewise.
35961 ($(objpfx)tst-initorder2.out): Likewise.
35962 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35963 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35964 (test_wrapper_env): New variable. Use it to run ld.so.
35965 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35966 Use it to run ld.so.
35967 (test_wrapper_env): Likewise.
35968 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35969 $(test-wrapper) to run-iconv-test.sh.
35970 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35971 (ICONV): Use $test_wrapper.
35972 * posix/Makefile ($(objpfx)globtest.out): Pass
35973 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35974 globtest.sh, not $(run-program-prefix).
35975 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35976 (test_wrapper): Likewise.
35977 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35978 set together with run_via_rtld_prefix.
35979 (run_program_prefix): Define in terms of test_wrapper and
35980 run_via_rtld_prefix.
35981
6e6249d0
RM
359822012-10-24 Roland McGrath <roland@hack.frob.com>
35983
35984 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35985 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35986 Targets removed.
35987
35988 [BZ #14743]
35989 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35990 Declare __clock_getres, __clock_gettime, __clock_settime,
35991 __clock_nanosleep, and __clock_getcpuclockid.
35992 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35993 Remove librt_hidden_def (clock_gettime).
35994 * sysdeps/unix/clock_gettime.c: Likewise.
35995 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35996 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35997 * rt/clock_getres.c: Define __clock_getres as an alias.
35998 * sysdeps/posix/clock_getres.c: Likewise.
35999 * rt/clock_settime.c: Define __clock_settime as an alias.
36000 * sysdeps/unix/clock_settime.c: Likewise.
36001 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36002 * sysdeps/unix/clock_nanosleep.c: Likewise.
36003 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36004 * rt/clock-compat.c: New file.
36005 * rt/Makefile (librt-routines): Add clock-compat and move
36006 $(clock-routines) to ...
36007 (routines): ... here, new variable.
36008 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36009 Don't add get_clockfreq here.
36010 * rt/Versions (libc: GLIBC_2.17): New version set.
36011 Add clock_* symbols here.
36012 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36014 (GLIBC_2.17): Add clock_* symbols.
36015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36017 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36019 Likewise.
36020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36021 Likewise.
36022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36026 * NEWS: Mention the move.
36027
36028 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36029 Use __open, __read, __close rather than their public counterparts.
36030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36031 (__get_clockfreq_via_cpuinfo): Likewise.
36032 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36033 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36034
36035 * config.h.in (HAVE_IFUNC): New #undef.
36036 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36037 was successful.
36038 * configure: Regenerated.
36039
0cae3f4b
MF
360402012-10-24 Mike Frysinger <vapier@gentoo.org>
36041
36042 * configure.in: Move READELF check to start of file.
36043 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36044 libc_cv_asm_gnu_indirect_function in the process.
36045 * configure: Regenerated.
36046
8175a253
MF
360472012-10-24 Mike Frysinger <vapier@gentoo.org>
36048
36049 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36050 send the output to /dev/null.
36051 (libc_cv_cc_with_libunwind): Likewise.
36052 (libc_cv_as_noexecstack): Likewise.
36053 * configure: Regenerate.
36054
0708a7d1
JM
360552012-10-24 Joseph Myers <joseph@codesourcery.com>
36056
10b40d85
JM
36057 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36058
0708a7d1
JM
36059 * posix/globtest.sh (TMPDIR): Do not set.
36060 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36061 (testout): Likewise.
36062
9fddec1a
AJ
360632012-10-24 Andreas Jaeger <aj@suse.de>
36064
3a8db22f
AJ
36065 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36066 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36067 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36068 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36069 posix_fadvise64, posix_fallocate64.
36070
9fddec1a
AJ
36071 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36072 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36073 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36074 Likewise.
36075 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36076 Likewise.
36077 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36078
36079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36080 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36081 <bits/fcntl-linux.h>.
36082 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36083
36084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36085 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36086 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36087 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36088 [__WORDSIZE != 64]: Likewise.
36089
ebfd1bbd
JM
360902012-10-23 Joseph Myers <joseph@codesourcery.com>
36091
03ac099f
JM
36092 * Makeconfig (run-built-tests): New variable.
36093 * Rules [$(cross-compiling) = yes]: Change condition to
36094 [$(run-built-tests) = no].
36095 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36096 to [$(run-built-tests) = yes].
36097 * elf/Makefile [$(cross-compiling) = no]: Likewise
36098 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36099 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36100 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36101 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36102 * io/Makefile [$(cross-compiling) = no]: Likewise.
36103 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36104 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36105 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36106 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36107 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36108 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36109 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36110 * string/Makefile [$(cross-compiling) = no]: Likewise.
36111
ebfd1bbd
JM
36112 * posix/Makefile ($(objpfx)globtest.out): Pass
36113 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36114 $(rtld-installed-name).
36115 * posix/globtest.sh (elf_objpfx): Remove variable.
36116 (rtld_installed_name): Likewise.
36117 (library_path): Likewise.
36118 (run_program_prefix): New variable. Use for running globtest
36119 binary.
36120
166bca24
JB
361212012-10-23 Jim Blandy <jimb@codesourcery.com>
36122 Joseph Myers <joseph@codesourcery.com>
36123
36124 * Makeconfig (host-built-program-cmd): New variable.
36125 * elf/Makefile (tst-stackguard1-ARGS): Use
36126 $(host-built-program-cmd).
36127 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36128 (tst-spawn-ARGS): Likewise.
36129 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36130
88866099
JM
361312012-10-23 Joseph Myers <joseph@codesourcery.com>
36132 Jim Blandy <jimb@codesourcery.com>
36133
36134 * Makeconfig (run-via-rtld-prefix): New variable.
36135 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36136 (built-program-cmd): Likewise.
36137
b4b4c296
AJ
361382012-10-22 Andreas Jaeger <aj@suse.de>
36139
36140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36141 __O_RSYNC if it exists, otherwise to O_SYNC.
36142
6fb54a22
JB
361432012-10-22 Jim Blandy <jimb@codesourcery.com>
36144 Joseph Myers <joseph@codesourcery.com>
36145
36146 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36147 /dev/null.
36148 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36149 from /dev/null
36150 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36151 /dev/null.
36152
481b90b9
AJ
361532012-10-22 Andreas Jaeger <aj@suse.de>
36154
2a0e2669
AJ
36155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36156 Define always.
36157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36158
76e38f9a
AJ
36159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36160 bits/fcntl-linux.h.
36161
7cd37b43
AJ
36162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36163 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36164
481b90b9
AJ
36165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36166 to __O_LARGEFILE.
36167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36168 to __O_LARGEFILE.
36169
aba75984
JB
361702012-10-21 Jim Blandy <jimb@codesourcery.com>
36171 Joseph Myers <joseph@codesourcery.com>
36172
36173 * config.make.in (NM): New variable.
36174
88d4247f
AJ
361752012-10-21 Andreas Jaeger <aj@suse.de>
36176
36177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36178 definitions and declarations that are provided by
36179 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36180
f2eed205
L
361812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36182
36183 [BZ #14683]
36184 * elf/Makefile (tests-static): Add tst-leaks1-static.
36185 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36186 ($(objpfx)tst-leaks1-static): New rule.
36187 ($(objpfx)tst-leaks1-static-mem): Likewise.
36188 (tst-leaks1-static-ENV): New macro.
36189 * elf/dl-open.c (dl_open_worker): Check the main application
36190 only if SHARED is defined.
36191 * elf/tst-leaks1-static.c: New file.
36192
335e6931
AJ
361932012-10-20 Andreas Jaeger <aj@suse.de>
36194
36195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36196 generic values for Linux.
36197 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36198 and declarations that are provided by <bits/fcntl-linux.h> and
36199 include <bits/fcntl-linux.h>.
36200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36202
ac5c94d3
RM
362032012-10-20 Roland McGrath <roland@hack.frob.com>
36204
36205 * io/fcntl.h: Move include of <bits/types.h> to the top and
36206 include it unconditionally.
36207
de54b33a
L
362082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36209
228cfb01
L
36210 * wcsmbs/Makefile (tests-ifunc): New variable.
36211 (tests): Add $(tests-ifunc).
36212 * wcsmbs/test-wcschr-ifunc.c: New file.
36213 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36214 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36215 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36216 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36217 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36218
69f07e5f
L
36219 * string/Makefile (tests-ifunc): New variable.
36220 (tests): Add $(tests-ifunc).
36221 * string/test-memccpy.c (TEST_NAME): New macro.
36222 * string/test-memchr.c (TEST_NAME): Likewise.
36223 * string/test-memcmp.c (TEST_NAME): Likewise.
36224 * string/test-memcpy.c (TEST_NAME): Likewise.
36225 * string/test-memmem.c (TEST_NAME): Likewise.
36226 * string/test-memmove.c (TEST_NAME): Likewise.
36227 * string/test-memset.c (TEST_NAME): Likewise.
36228 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36229 * string/test-stpcpy.c (TEST_NAME): Likewise.
36230 * string/test-stpncpy.c (TEST_NAME): Likewise.
36231 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36232 * string/test-strcasestr.c (TEST_NAME): Likewise.
36233 * string/test-strcat.c (TEST_NAME): Likewise.
36234 * string/test-strchr.c (TEST_NAME): Likewise.
36235 * string/test-strcmp.c(TEST_NAME): Likewise.
36236 * string/test-strcpy.c (TEST_NAME): Likewise.
36237 * string/test-strcspn.c (TEST_NAME): Likewise.
36238 * string/test-strlen.c (TEST_NAME): Likewise.
36239 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36240 * string/test-strncmp.c (TEST_NAME): Likewise.
36241 * string/test-strncpy.c (TEST_NAME): Likewise.
36242 * string/test-strnlen.c (TEST_NAME): Likewise.
36243 * string/test-strpbrk.c (TEST_NAME): Likewise.
36244 * string/test-strrchr.c (TEST_NAME): Likewise.
36245 * string/test-strspn.c (TEST_NAME): Likewise.
36246 * string/test-strstr.c (TEST_NAME): Likewise.
36247 * string/test-bcopy-ifunc.c: New file.
36248 * string/test-bzero-ifunc.c: Likewise.
36249 * string/test-memccpy-ifunc.c: Likewise.
36250 * string/test-memchr-ifunc.c: Likewise.
36251 * string/test-memcmp-ifunc.c: Likewise.
36252 * string/test-memcpy-ifunc.c: Likewise.
36253 * string/test-memmem-ifunc.c: Likewise.
36254 * string/test-memmove-ifunc.c: Likewise.
36255 * string/test-mempcpy-ifunc.c: Likewise.
36256 * string/test-memset-ifunc.c: Likewise.
36257 * string/test-rawmemchr-ifunc.c: Likewise.
36258 * string/test-stpcpy-ifunc.c: Likewise.
36259 * string/test-stpncpy-ifunc.c: Likewise.
36260 * string/test-strcasecmp-ifunc.c: Likewise.
36261 * string/test-strcasestr-ifunc.c: Likewise.
36262 * string/test-strcat-ifunc.c: Likewise.
36263 * string/test-strchr-ifunc.c: Likewise.
36264 * string/test-strchrnul-ifunc.c: Likewise.
36265 * string/test-strcmp-ifunc.c: Likewise.
36266 * string/test-strcpy-ifunc.c: Likewise.
36267 * string/test-strcspn-ifunc.c: Likewise.
36268 * string/test-strlen-ifunc.c: Likewise.
36269 * string/test-strncasecmp-ifunc.c: Likewise.
36270 * string/test-strncat-ifunc.c: Likewise.
36271 * string/test-strncmp-ifunc.c: Likewise.
36272 * string/test-strncpy-ifunc.c: Likewise.
36273 * string/test-strnlen-ifunc.c: Likewise.
36274 * string/test-strpbrk-ifunc.c: Likewise.
36275 * string/test-strrchr-ifunc.c: Likewise.
36276 * string/test-strspn-ifunc.c: Likewise.
36277 * string/test-strstr-ifunc.c: Likewise.
36278
de54b33a
L
36279 * debug/Makefile (tests-ifunc): New variable.
36280 (tests): Add $(tests-ifunc).
36281 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36282 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36283 * debug/test-stpcpy_chk-ifunc.c: New file.
36284 * debug/test-strcpy_chk-ifunc.c: Likewise.
36285
88481c16
SP
362862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36287
36288 [BZ #13601]
36289 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36290 header is not read in.
36291
135948bd
JM
362922012-10-19 Joseph Myers <joseph@codesourcery.com>
36293
89f1c388
JM
36294 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36295 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36296 directly. Pass built executable to script as
36297 $(built-program-cmd).
36298 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36299 $testprogram without using LD_LIBRARY_PATH and $ldso.
36300
e40a0d21
JM
36301 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36302 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36303 $(rtld-installed-name).
36304 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36305 (rtld_installed_name): Likewise.
36306 (library_path): Likewise.
36307 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36308 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36309 $(run-program-prefix) to tst-tables.sh.
36310 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36311 it to run tst-table-from and tst-table-to.
36312 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36313 Pass it to tst-table.sh.
36314 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36315 $(run-program-prefix) to tst-gettext.sh.
36316 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36317 tst-translit.sh.
36318 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36319 tst-gettext2.sh.
36320 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36321 to run tst-gettext.
36322 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36323 to run tst-gettext2.
36324 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36325 to run tst-translit.
36326 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36327 $(run-program-prefix) to tst-mtrace.sh.
36328 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36329 to run tst-mtrace.
36330 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36331 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36332 $(rtld-installed-name).
36333 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36334 (rtld_installed_name): Likewise.
36335 (run_program_prefix): New variable. Use it to run wordexp-test.
36336
728e272a
JM
36337 * Makeconfig (ARCH): Remove all definitions.
36338 (machine): Likewise.
36339 [ARCH]: Remove conditional code.
36340 [!objdir]: Give error.
36341 [!objdir] (objpfx): Remove.
36342 [!objdir] (common-objpfx): Likewise.
36343 [!objdir] (common-objdir): Likewise.
36344 * configure.in (config_makefile): Remove. Hardcode Makefile in
36345 AC_CONFIG_FILES call.
36346 * configure: Regenerated.
36347
d528cdcf
JM
36348 [BZ #13888]
36349 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36350 or TMPDIR.
36351 (testout): Likewise.
36352
135948bd
JM
36353 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36354 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36355 $(rtld-installed-name).
36356 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36357 (rtld_installed_name): Likwise.
36358 (runit): Remove function.
36359 (run_getconf): New variable, Use it for running getconf binary.
36360
38c78296
L
363612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36362
36363 [BZ #14716]
36364 * string/test-memmem.c (check_result): New function.
36365 (do_one_test): Use it.
36366 (check1): New function.
36367 (test_main): Use it.
36368
d077f65f
MT
363692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36370
36371 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36372
ced52c71
JM
363732012-10-18 Joseph Myers <joseph@codesourcery.com>
36374
36375 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36376 (_G_LSEEK64): Likewise.
36377 (_G_MMAP64): Likewise.
36378 (_G_FSTAT64): Likewise.
36379 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36380 (_G_LSEEK64): Likewise.
36381 (_G_MMAP64): Likewise.
36382 (_G_FSTAT64): Likewise.
36383 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36384 unconditional. Call __mmap64 directly.
36385 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36386 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36387 __lseek64 directly.
36388 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36389 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36390 __mmap64 directly.
36391 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36392 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36393 __lseek64 directly.
36394 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36395 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36396 __lseek64 directly.
36397 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36398 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36399 __lseek64 directly.
36400 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36401 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36402 __fxstat64 directly.
36403 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36404 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36405 unconditional.
36406 (freopen64) [!_G_OPEN64]: Remove conditional code.
36407 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36408 unconditional.
36409 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36410 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36411 unconditional.
36412 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36413 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36414 unconditional.
36415 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36416 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36417 unconditional.
36418 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36419 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36420 unconditional.
36421 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36422 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36423 unconditional.
36424 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36425 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36426 unconditional.
36427 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36428
b741de23
SP
364292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36430
36431 [BZ #12140]
36432 * manual/memory.texi (Malloc Tunable Parameters): Add note
36433 about free list pointers overwriting some perturb bytes.
36434 Wording suggested by Roland McGrath.
36435
f9b9d9c9
JM
364362012-10-17 Joseph Myers <joseph@codesourcery.com>
36437
36438 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36439 (lgamma_test): Likewise.
36440 (tgamma_test): Likewise.
36441
172a631a
FW
364422012-10-16 Florian Weimer <fweimer@redhat.com>
36443
36444 [BZ #14700]
36445 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36446 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36447
e9f37252
MK
364482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36449
36450 * NEWS: Mention BZ #14716.
36451 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36452 when removing AVAILABLE1_USES_J macro.
36453
d394eb74
L
364542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36455
36456 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36457 (__bswap_64): __uint64_t for unsigned 64-bit int.
36458
ca38dc17
AS
364592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36460
36461 * include/string.h (memmem): Declare libc hidden alias.
36462 * string/memmem.c (memmem): Define libc hidden alias.
36463 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36464 __read, __close instead of open, read, close.
36465
9a387d1f
L
364662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36467
ac49ecaf
L
36468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36469 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36470 global and hidden.
36471 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36472 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36473 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36474 Likewise.
36475 (__rawmemchr_sse2): Likewise.
36476 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36477 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36478 (__strchr_sse2): Likewise.
36479 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36480 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36481 (__strcasecmp_sse2): Likewise.
36482 (__strncasecmp_sse2): Likewise.
36483 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36484 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36485 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36486 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36487 (__strrchr_sse2): Likewise.
36488 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36489 ifunc-impl-list.c.
36490 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36491 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36492 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36493 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36494 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36495 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36496 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36497 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36498 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36499 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36500 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36501 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36502 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36503 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36504 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36505 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36506 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36507 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36508 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36509 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36510 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36511 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36512 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36513 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36514 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36515 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36516 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36517 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36518 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36519 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36520
b090e8ea
L
36521 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36522 global and hidden.
36523 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36524 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36525 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36526 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36527 Likewise.
36528 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36529 Likewise.
36530 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36531 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36532 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36533 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36534 ifunc-impl-list.c.
36535 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36536 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36537 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36538 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36539 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36540 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36541 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36542 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36543 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36544 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36545 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36547 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36548 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36549 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36550 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36552 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36553 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36554 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36555 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36556 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36557 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36558 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36559 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36560 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36561 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36562 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36563 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36564 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36565 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36566 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36567 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36568 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36569 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36570 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36571 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36572 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36573 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36574 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36575 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36576
11dd4af6
L
36577 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36578 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36579 * include/ifunc-impl-list.h: New file.
36580 * misc/ifunc-impl-list.c: Likewise.
36581 * misc/Makefile (routines): Add ifunc-impl-list.
36582 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36583 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36584 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36585 TEST_NAME]: New variables.
11dd4af6
L
36586 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36587 are defined.
36588 (test_init): Call __libc_ifunc_impl_list to initialize
36589 func_list if TEST_IFUNC and TEST_NAME are defined.
36590
9a387d1f
L
36591 * string/Makefile (strop-tests): Add bcopy and bzero.
36592 * string/test-bcopy.c: New file.
36593 * string/test-bzero.c: Likewise.
36594 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36595 defined.
36596 * string/test-memset.c: Support bzero test if TEST_BZERO is
36597 defined.
36598 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36599 __libc_memmove.
36600 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36601 __libc_memset.
36602 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36603 of memset.
36604
472371b9
JM
366052012-10-10 Joseph Myers <joseph@codesourcery.com>
36606
1e4a9536
JM
36607 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36608 * configure: Regenerated.
36609
d173d12e
JM
36610 * Makeconfig (+link-static-before-libc): Don't include
36611 $(link-static-libc).
36612
472371b9
JM
36613 * libio/libio.h (_IO_pos_t): Remove.
36614
89a3ad0b
AO
366152012-10-10 Alexandre Oliva <aoliva@redhat.com>
36616
36617 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36618 McGrath.
36619
e7451425
AO
366202012-10-10 Alexandre Oliva <aoliva@redhat.com>
36621
36622 * crypt/crypt-entry.c: Include fips-private.h.
36623 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36624 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36625 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36626 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36627
4ba74a35
AO
366282012-10-10 Alexandre Oliva <aoliva@redhat.com>
36629
36630 * crypt/crypt-private.h: Include stdbool.h.
36631 (_ufc_setup_salt_r): Return bool.
36632 * crypt/crypt-entry.c: Include errno.h.
36633 (__crypt_r): Return NULL with EINVAL for bad salt.
36634 * crypt/crypt_util.c (bad_for_salt): New.
36635 (_ufc_setup_salt_r): Check that salt is long enough and within
36636 the specified alphabet.
36637 * crypt/badsalttest.c: New file.
36638 * crypt/Makefile (tests): Add it.
36639 ($(objpfx)badsalttest): New.
36640
f96f1242
MK
366412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36642
36643 * NEWS: Add entry for BZ #14602.
36644
0e8e0c1c
JM
366452012-10-09 Joseph Myers <joseph@codesourcery.com>
36646
36647 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36648 type-generic.
36649 * math/libm-test.inc: Update comment listing what functions and
36650 macros are tested.
36651 (isgreater_test): New function.
36652 (isgreaterequal_test): Likewise.
36653 (isless_test): Likewise.
36654 (islessequal_test): Likewise.
36655 (islessgreater_test): Likewise.
36656 (isunordered_test): Likewise.
36657 (main): Call the new functions.
36658
273edc5e
RM
366592012-10-09 Roland McGrath <roland@hack.frob.com>
36660
b8493de0
RM
36661 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36662 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36663 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36664 * sysdeps/i386/configure: Regenerated.
36665 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36666 * sysdeps/mach/configure: Regenerated.
36667 * sysdeps/mach/hurd/configure: Regenerated.
36668 * sysdeps/powerpc/configure: Regenerated.
36669 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36670 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36671 * sysdeps/s390/s390-32/configure: Regenerated.
36672 * sysdeps/s390/s390-64/configure: Regenerated.
36673 * sysdeps/sh/configure: Regenerated.
36674 * sysdeps/sparc/configure: Regenerated.
36675 * sysdeps/unix/sysv/linux/configure: Regenerated.
36676 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36677 * sysdeps/x86_64/configure: Regenerated.
36678
273edc5e
RM
36679 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36680 defined. Don't check if MAP is NULL.
36681
c8450f70
JM
366822012-10-09 Joseph Myers <joseph@codesourcery.com>
36683
36684 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36685 (_G_stat64): Likewise.
36686 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36687 (_G_stat64): Likewise.
36688 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36689 instead of struct _G_stat64.
36690 * libio/fileops.c (mmap_remap_check): Likewise.
36691 (decide_maybe_mmap): Likewise.
36692 (_IO_new_file_seekoff): Likewise.
36693 (_IO_file_stat): Likewise.
36694 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36695 _G_off64_t.
36696 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36697 instead of struct _G_stat64.
36698 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36699
57e605ba
MK
367002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36701
36702 [BZ #14602]
36703 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36704 Replace with ...
36705 (CHECK_EOL): New macro.
36706 (two_way_short_needle): Check beginning of haystack for EOL. Use
36707 CHECK_EOL.
36708 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36709 Replace with CHECK_EOL.
36710 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36711 Replace with CHECK_EOL.
36712
ef1bb361
JM
367132012-10-08 Joseph Myers <joseph@codesourcery.com>
36714
36715 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36716 type-generic.
36717 * math/libm-test.inc: Update comment listing what functions and
36718 macros are tested.
36719 (finite_test): New function.
36720 (isinf_test): Likewise.
36721 (isnan_test): Likewise.
36722 (fpclassify_test): Test subnormal input.
36723 (isfinite_test): Likewise.
36724 (isnormal_test): Likewise.
36725 (main): Call the new functions.
36726
55f11534
JN
367272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36728
36729 [BZ #14660]
36730 * Makerules (%.dynsym): Force C locale when running
36731 $(OBJDUMP) --dynamic-syms.
36732
1ab29350
AS
367332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36734
36735 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36736 <stdint.h>.
36737
f1ecb7ef
DM
367382012-10-06 David S. Miller <davem@davemloft.net>
36739
36740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36741 upper 32-bits of the length value in %o2 since we use branch-on-register
36742 tests which consider the entire 64-bit register.
36743
5d41d91a
L
367442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36745
36746 * string/test-strstr.c (check2): Add a test for page boundary.
36747
3baddb72
DM
367482012-10-05 David S. Miller <davem@davemloft.net>
36749
36750 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36751 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36752 file.
36753 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36754 sysdep_routines.
36755 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36756 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36757 and bzero when HWCAP_SPARC_CRYPTO is present.
36758
9cee5585
L
367592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36760
d7e0dab9
L
36761 [BZ #14602]
36762 * string/test-strstr.c (check2): New function.
36763 (test_main): Call check2.
36764
03759f47
L
36765 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36766 and bug-strchr1.
36767 * string/bug-strcasestr1.c (do_test): Moved to ...
36768 * string/test-strcasestr.c (check1): Here. New function.
36769 (do_one_test): Break out result checking code into ...
36770 (check_result): This. New function.
36771 (do_one_test): Call check_result.
36772 (test_main): Call check1.
36773 * string/bug-strchr1.c (do_test): Moved to ...
36774 * string/test-strchr.c (check1): Here. New function.
36775 (do_one_test): Break out result checking code into ...
36776 (check_result): This. New function.
36777 (do_one_test): Call check_result.
36778 (test_main): Call check1.
36779 * string/bug-strstr1.c (main): Moved to ...
046f153e 36780 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36781 (do_one_test): Break out result checking code into ...
36782 (check_result): This. New function.
36783 (do_one_test): Call check_result.
36784 (test_main): Call check1.
36785 * string/bug-strcasestr1.c: Removed.
36786 * string/bug-strchr1.c: Likewise.
36787 * string/bug-strstr1.c: Likewise.
36788
53cea63e
L
36789 * elf/Makefile (dl-routines): Add hwcaps.
36790 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36791 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36792 (_dl_important_hwcaps): Moved to ...
36793 * elf/dl-hwcaps.c: Here. New file.
36794 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36795
9cee5585 36796 [BZ #14557]
bb859b06
L
36797 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36798 if IS_IN_rtld isn't defined.
36799
9cee5585
L
36800 * elf/dl-support.c (_dl_sysinfo_map): New.
36801 Include "get-dynamic-info.h" and "setup-vdso.h".
36802 (_dl_non_dynamic_init): Call setup_vdso.
36803 * elf/dynamic-link.h: Don't include <assert.h>.
36804 (elf_get_dynamic_info): Moved to ...
36805 * elf/get-dynamic-info.h: Here. New file.
36806 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36807 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36808 * elf/setup-vdso.h: Here. New file.
36809 * elf/rtld.c: Include "setup-vdso.h".
36810 (dl_main): Call setup_vdso.
36811
23c31b76
JM
368122012-10-05 Joseph Myers <joseph@codesourcery.com>
36813
28234b07
JM
36814 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36815 creal in comment listing functions tested. List finite, isinf,
36816 isnan, isless, islessequal, isgreater, isgreaterequal,
36817 islessgreater, isunordered, lgamma_r and pow10 as functions and
36818 macros not tested. Mention which functions not tested are aliases
36819 for other functions. Fix typo. Note that signs of NaNs are not
36820 tested.
36821
23c31b76
JM
36822 * scripts/config.guess: Update from config.git.
36823 * scripts/config.sub: Likewise.
36824
9043e228
RM
368252012-10-04 Roland McGrath <roland@hack.frob.com>
36826
36827 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36828 * misc/madvise.c (madvise): Renamed to __madvise.
36829 Make madvise a weak alias.
36830 * include/sys/mman.h: Declare __madvise.
36831 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36832 * sysdeps/unix/syscalls.list
36833 (madvise): Make __madvise the strong name, and madvise a weak alias.
36834 * sysdeps/unix/sysv/linux/syscalls.list
36835 (madvise, mmap): Remove redundant entries.
36836 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36837 * malloc/malloc.c (mtrim): Likewise.
36838 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36839
f57f8055
RM
368402012-10-03 Roland McGrath <roland@hack.frob.com>
36841
36842 * sysdeps/mach/hurd/dl-cache.c: File removed.
36843 * config.h.in (USE_LDCONFIG): New #undef.
36844 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36845 * configure: Regenerated.
36846 * elf/Makefile (dl-routines): Add dl-cache only under
36847 [$(use-ldconfig) = yes].
36848 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36849 cache on [USE_LDCONFIG].
36850 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36851 [USE_LDCONFIG].
36852 * elf/rtld.c (dl_main): Likewise.
36853
5bb0c10a
PT
368542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36855
36856 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36857 _SC_LEVEL4_CACHE_LINESIZE.
36858
010188c6
RM
368592012-10-03 Roland McGrath <roland@hack.frob.com>
36860
36861 * sysdeps/unix/bsd/confstr.h: File removed.
36862
b6c5ec07
AO
368632012-10-02 Alexandre Oliva <aoliva@redhat.com>
36864
36865 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36866 sys/sdt-config.h.
36867
408223d4
RM
368682012-10-02 Roland McGrath <roland@hack.frob.com>
36869
36870 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36871 Make 'mapoff' field ElfW(Off) rather than off_t.
36872
bb9510dc
DL
368732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36874
fc997c6e
DL
36875 * nscd/Makefile: Remove nscd-cflags and all its users.
36876 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36877 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36878
bb9510dc
DL
36879 [BZ #10631]
36880 * malloc.c (malloc_printerr): Clarify error message.
36881
05699367
L
368822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36883
36884 [BZ #14648]
36885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36886 Set bit_FMA_Usable if FMA is supported.
36887 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36888 macro.
36889 (bit_FMA4_Usable): Updated.
36890 (index_FMA_Usable): New macro.
36891 (CPUID_FMA): Likewise
36892 (HAS_FMA): Defined with bit_FMA_Usable.
36893
51367701
RM
368942012-10-01 Roland McGrath <roland@hack.frob.com>
36895
36896 * bits/types.h (__swblk_t): Type removed.
36897 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36898 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36900 (__SWBLK_T_TYPE): Likewise.
36901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36902 (__SWBLK_T_TYPE): Likewise.
36903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36904 (__SWBLK_T_TYPE): Likewise.
36905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36906 (__SWBLK_T_TYPE): Likewise.
36907
4d57bf63 369082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36909 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36910
36911 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36912 (xdr_mapname): Use YPMAXMAP as maxsize.
36913 (xdr_peername): Use YPMAXPEER as maxsize.
36914 (xdr_keydat): Use YPAXRECORD as maxsize.
36915 (xdr_valdat): Use YPMAXRECORD as maxsize.
36916
93c65d43
RM
369172012-10-01 Roland McGrath <roland@hack.frob.com>
36918
497a03d6
RM
36919 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36920
93c65d43
RM
36921 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36922 * csu/init-first.c: ... here.
36923 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36924 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36925 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36926 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36927 * sysdeps/i386/init-first.c: File removed.
36928 * sysdeps/sh/init-first.c: File removed.
36929
bec749fd
JM
369302012-10-01 Joseph Myers <joseph@codesourcery.com>
36931
36932 [BZ #14645]
36933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36934 if x * y might underflow to zero and z is zero.
36935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36937 * math/libm-test.inc (min_subnorm_value): New variable.
36938 (fma_test): Add more tests.
36939 (fma_test_towardzero): Likewise.
36940 (fma_test_downward): Likewise
36941 (fma_test_upward): Likewise.
36942 (initialize): Set min_subnorm_value.
36943
8ec5b013
JM
369442012-09-29 Joseph Myers <joseph@codesourcery.com>
36945
36946 [BZ #14638]
36947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36948 0 + 0.
36949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36950 mode for addition resulting in exact zero.
36951 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36953 exact 0 + 0.
36954 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36956 * math/libm-test.inc (fma_test): Add more tests.
36957 (fma_test_towardzero): New function.
36958 (fma_test_downward): Likewise.
36959 (fma_test_upward): Likewise.
36960 (main): Call the new functions.
36961
b1fa802e
DM
369622012-09-28 David S. Miller <davem@davemloft.net>
36963
36964 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36965
d3b9fd9e
RM
369662012-09-28 Roland McGrath <roland@hack.frob.com>
36967
ea4d37b3
RM
36968 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36969 instead of SIGALRM.
36970
ac51c949
RM
36971 * sysdeps/gnu/_G_config.h: Moved to ...
36972 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36973 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36974 * sysdeps/generic/_G_config.h: ... here.
36975
28c195f7
RM
36976 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36977
848917f9
RM
36978 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36979
6bacf05b
RM
36980 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36981 Conditionalize target on [libnss_test1.so-version].
36982
91363dbb
RM
36983 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36984
cc87f7d8
RM
36985 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36986 (elfobjdir): Move out of conditionals.
36987
b1c608fe
RM
36988 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36989 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36990 (__nss_lookup_function): Conditionalize label remove_from_tree on
36991 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36992
1d9a6d96
DM
369932012-09-28 David S. Miller <davem@davemloft.net>
36994
36995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36996 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36997 file.
36998 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36999 sysdep_routines.
37000 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37002 when HWCAP_SPARC_CRYPTO is present.
37003
72581615
PT
370042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37005
37006 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37007
715a900c
JL
370082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37009
37010 [BZ #6530]
37011 * stdio-common/vfprintf.c (process_string_arg): Revert
37012 2000-07-22 change.
37013
370142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37015
37016 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37017 for testcase.
37018 * stdio-common/tst-sprintf.c: Include <locale.h>
37019 (main): Test sprintf's handling of incomplete multibyte
37020 characters.
37021
9bac1d86
L
370222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37023
37024 * elf/dl-runtime.c (VERSYMIDX): Removed.
37025 * elf/dl-version.c (VERSYMIDX): Likewise.
37026 * elf/do-rel.h (VERSYMIDX): Likewise.
37027 (VALIDX): Likewise.
37028 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37029 * elf/rtld.c (VALIDX): Likewise.
37030 (ADDRIDX): Likewise.
9bac1d86
L
37031 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37032 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37033 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37034 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37035 (VALIDX): Likewise.
37036 (ADDRIDX): Likewise.
9bac1d86 37037
b31606c0
PT
370382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37039
37040 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37041
11541177
JL
370422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37043
37044 [BZ #11438]
37045 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37046 to global scope.
37047 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37048 addresses are in the same scope as 192.0.2/24.
37049 * posix/gai.conf: Document new scope table defaults.
37050
adb26fae
SP
370512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37052
37053 [BZ #5298]
37054 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37055 for ftell. Compute offsets from write pointers instead.
37056 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37057
4573c6b0
SP
370582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37059
37060 [BZ #14543]
37061 * libio/Makefile (tests): New test case tst-fseek.
37062 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37063 combination works in wide mode.
37064 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37065 state when the external buffer state changes.
37066
aa9bbfe6
DM
370672012-09-27 David S. Miller <davem@davemloft.net>
37068
37069 [BZ #14376]
37070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37071 pass reloc->r_addend in as the 'high' argument to
37072 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37073
784421e7
DM
37074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37075
c39bc8b8
PT
370762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37077
37078 * rt/tst-aio2.c: Include <pthread.h>.
37079 * rt/tst-aio3.c: Likewise.
37080
1ccc2399
SE
370812012-09-27 Steve Ellcey <sellcey@mips.com>
37082
37083 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37084
31ed4153
L
370852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37086
25f5f885
L
37087 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37088 contents on [SHARED].
31ed4153 37089
b7bfe116
MP
370902012-09-26 Marek Polacek <polacek@redhat.com>
37091
37092 [BZ #14530]
37093 [BZ #13741]
37094 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37095 for C++ and GCC <4.3 as well as for non GCC compilers.
37096
43c4edba
MT
370972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37098
37099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37100
6a1bf82f
RM
371012012-09-25 Roland McGrath <roland@hack.frob.com>
37102
37103 * Makefile.in (all, install): Declare with .PHONY.
37104 Reported by Michael Hope <michael.hope@linaro.org>.
37105
8ad11b9a
TMQMF
371062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37107
37108 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37109 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37110 system header.
37111 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37112 Likewise.
37113 (sydep_routines): Add the new and the internal functions.
37114 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37115 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37117 (GLIBC_2.17): Add the new function.
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37119 (GLIBC_2.17): Likewise.
37120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37121 (GLIBC_2.17): Likewise.
37122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37123 (GLIBC_2.17): Likewise.
37124 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37125
7e2fca8d
AM
371262012-09-25 Alan Modra <amodra@gmail.com>
37127
37128 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37129 Add release barrier before setting once_control to say
37130 initialisation is done. Add hints on lwarx. Use macro in
37131 place of isync.
37132 (clear_once_control): Add release barrier.
37133
b87c4b24
JM
371342012-09-25 Joseph Myers <joseph@codesourcery.com>
37135
d032e0d2
JM
37136 [BZ #13629]
37137 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37138 specially.
37139 * math/s_clog10.c (__clog10): Likewise.
37140 * math/s_clog10f.c (__clog10f): Likewise.
37141 * math/s_clog10l.c (__clog10l): Likewise.
37142 * math/s_clogf.c (__clogf): Likewise.
37143 * math/s_clogl.c (__clogl): Likewise.
37144 * math/Makefile (libm-calls): Add x2y2m1.
37145 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37146 (__x2y2m1): Likewise.
37147 (__x2y2m1l): Likewise.
37148 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37149 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37152 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37153 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37154 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37155 * sysdeps/i386/fpu/libm-test-ulps: Update.
37156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157
b87c4b24
JM
37158 [BZ #14621]
37159 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37160 int as type of variable DEPTH.
37161 (glob): Use size_t instead of int as type of variables NEWCOUNT
37162 and OLD_PATHC.
37163
6d3bf199
LD
371642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37165
22bf5c17
LD
37166 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37167 Add s_sincosf-sse2.
37168 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37169 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37170 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37171 macros for using routine as __sincosf_ia32.
37172 Use macro for function declaration and weak_alias.
37173 * sysdeps/i386/fpu/libm-test-ulps: Update.
37174
37175 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37177
37178 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37179 subnormal argument.
37180 * math/s_cexpf.c (__cexpf): Likewise.
37181 * math/s_csinf.c (__csinf): Likewise.
37182 * math/s_csinhf.c (__csinhf): Likewise.
37183 * math/s_ctanf.c (__ctanf): Likewise.
37184 * math/s_ctanhf.c (__ctanhf): Likewise.
37185 * math/s_ccosh.c (__ccoshf): Likewise.
37186 * math/s_cexp.c (__cexpl): Likewise.
37187 * math/s_csin.c (__csin): Likewise.
37188 * math/s_csinh.c (__csinh): Likewise.
37189 * math/s_ctan.c (__ctan): Likewise.
37190 * math/s_ctanh.c (ctanh): Likewise.
37191 * math/s_ccoshl.c (__ccoshl): Likewise.
37192 * math/s_cexpl.c (__cexpl): Likewise.
37193 * math/s_csinl.c (__csinl): Likewise.
37194 * math/s_csinhl.c (__csinhl): Likewise.
37195 * math/s_ctanl.c (__ctanl): Likewise.
37196 * math/s_ctanhl.c (__ctanhl): Likewise.
37197
203e5603
JM
371982012-09-25 Joseph Myers <joseph@codesourcery.com>
37199
37200 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37201 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37202 (_IO_off_t): Define to __off_t, not _G_off_t.
37203 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37204 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37205 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37206 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37207 type of __dummy and __dummy2 fields.
37208 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37209 (_G_ssize_t): Likewise.
37210 (_G_off_t): Likewise.
37211 (_G_pid_t): Likewise.
37212 (_G_uid_t): Likewise.
37213 (_G_wchar_t): Likewise.
37214 (_G_wint_t): Likewise.
37215 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37216 (_G_ssize_t): Likewise.
37217 (_G_off_t): Likewise.
37218 (_G_pid_t): Likewise.
37219 (_G_uid_t): Likewise.
37220 (_G_wchar_t): Likewise.
37221 (_G_wint_t): Likewise.
37222 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37223 (_G_ssize_t): Likewise.
37224 (_G_off_t): Likewise.
37225 (_G_pid_t): Likewise.
37226 (_G_uid_t): Likewise.
37227 (_G_wchar_t): Likewise.
37228 (_G_wint_t): Likewise.
37229
9fab36eb
SP
372302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37231
37232 * malloc/arena.c: Include malloc-sysdep.h.
37233 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37234 is sufficient to shrink the heap or an unmap is needed.
37235 * sysdeps/generic/malloc-sysdep.h: New file. Define
37236 new function check_may_shrink_heap.
37237 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37238 new function check_may_shrink_heap.
37239
2b4f00d1
SP
372402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37241
37242 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37243 comments.
37244
9a9028b1
DL
372452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37246
57c69bef
DL
37247 * catgets/test-gencat.sh: Add "set -e".
37248 * elf/tst-pathopt.sh: Likewise.
37249 * grp/tst_fgetgrent.sh: Likewise.
37250 * iconvdata/run-iconv-test.sh: Likewise.
37251 * intl/tst-gettext.sh: Likewise.
37252 * intl/tst-gettext2.sh: Likewise.
37253 * intl/tst-gettext4.sh: Likewise.
37254 * intl/tst-gettext6.sh: Likewise.
37255 * intl/tst-translit.sh: Likewise.
37256 * io/ftwtest-sh: Likewise.
37257 * libio/test-freopen.sh: Likewise.
37258 * malloc/tst-mtrace.sh: Likewise.
37259 * posix/globtest.sh: Likewise.
37260 * posix/tst-getconf.sh: Likewise.
37261 * posix/wordexp-tst.sh: Likewise.
37262 * stdio-common/tst-printf.sh: Likewise.
37263 * stdio-common/tst-unbputc.sh: Likewise.
37264 * stdlib/tst-fmtmsg.sh: Likewise.
37265 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37266 * catgets/Makefile: Do not specify -e option when running
37267 testsuite shell scripts.
37268 * elf/Makefile: Likewise.
37269 * grp/Makefile: Likewise.
37270 * iconvdata/Makefile: Likewise.
37271 * intl/Makefile: Likewise.
37272 * io/Makefile: Likewise.
37273 * libio/Makefile: Likewise.
37274 * malloc/Makefile: Likewise.
37275 * posix/Makefile: Likewise.
37276 * stdio-common/Makefile: Likewise.
37277 * stdlib/Makefile: Likewise.
37278 * sysdeps/x86_64/Makefile: Likewise.
37279
9a9028b1
DL
37280 * io/ftwtest-sh: Add copyright header.
37281 * posix/globtest.sh: Likewise.
37282 * posix/tst-getconf.sh: Likewise.
37283 * posix/wordexp-tst.sh: Likewise.
37284 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37285
ced6f16e
L
372862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37287
94b32c39
L
37288 [BZ #13679]
37289 * Makeconfig (+link): Defined as $(+link-static) if
37290 $(build-shared) isn't yes.
37291 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37292 isn't yes.
37293 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37294
189e935b
L
37295 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37296
ced6f16e
L
37297 [BZ #14562]
37298 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37299 new chunk size with MALLOC_ALIGN_MASK.
37300
a9f8e53a
JM
373012012-09-24 Joseph Myers <joseph@codesourcery.com>
37302
37303 [BZ #5044]
37304 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37305 <rounding-mode.h>.
37306 (__printf_fphex): Determine rounding using get_rounding_mode and
37307 round_away.
37308 * stdio-common/tst-printf-round.c (struct hex_test): New
37309 structure.
37310 (hex_tests): New variable.
37311 (test_hex_in_one_mode): New function.
37312 (do_test): Also run tests for hex float output.
37313
43153109
JM
373142012-09-21 Joseph Myers <joseph@codesourcery.com>
37315
37316 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37317 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37318 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37319 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37320 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37321 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37322 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37323 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37324
8a26625d
JM
373252012-09-20 Joseph Myers <joseph@codesourcery.com>
37326
37327 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37328 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37329 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37330 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37331
f3fd569c
DL
373322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37333
37334 [BZ #14579]
37335 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37336 mode only.
37337 * elf/tst-rtld-load-self.sh: New test.
37338 * elf/Makefile: Run it.
37339
63bbedd4
JM
373402012-09-18 Joseph Myers <joseph@codesourcery.com>
37341
37342 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37343 (tst-writev-ENV): Remove.
37344 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37345
626f8b6a
CM
373462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37347
37348 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37349
b7aaa4d6
JM
373502012-09-17 Joseph Myers <joseph@codesourcery.com>
37351
37352 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37353 unconditional.
37354 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37355 Likewise.
37356 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37357 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37358 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37359 Likewise.
37360
65513990
L
373612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37362
37363 [BZ #14587]
37364 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37365 * config.make.in (have-cpp-asm-debuginfo): Removed.
37366 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37367 * configure: Regenerated.
37368
784761be
JM
373692012-09-14 Joseph Myers <joseph@codesourcery.com>
37370
37371 [BZ #5044]
37372 * stdio-common/printf_fp.c: Include <stdbool.h> and
37373 <rounding-mode.h>.
37374 (___printf_fp): Determine rounding using get_rounding_mode and
37375 round_away.
37376 * stdio-common/tst-printf-round.c: New file.
37377 * stdio-common/Makefile (tests): Add tst-printf-round.
37378 (link-libm): New variable.
37379 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37380
9503345f
L
373812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37382
37383 [BZ #14576]
37384 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37385 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37386 Likewise.
37387 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37388 Likewise.
37389
ad35fc00
JM
373902012-09-13 Joseph Myers <joseph@codesourcery.com>
37391
37392 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37393 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37394 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37395 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37396
6c9b0f68
JM
373972012-09-12 Joseph Myers <joseph@codesourcery.com>
37398
37399 [BZ #14518]
37400 * include/rounding-mode.h: New file.
37401 * sysdeps/generic/get-rounding-mode.h: Likewise.
37402 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37403 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37404 (MAX_VALUE): New macro.
37405 (MIN_VALUE): Likewise.
37406 (overflow_value): New function.
37407 (underflow_value): Likewise.
37408 (round_and_return): Use overflow_value and underflow_value to
37409 determine return values in overflow and underflow cases. Use
37410 round_away to determine rounding depending on rounding mode.
37411 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37412 determine return values in overflow and underflow cases.
37413 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37414 (struct test_results): New structure.
37415 (struct test): Use struct test_results to store expected results
37416 for all rounding modes.
37417 (TEST): Include expected results for all rounding modes.
37418 (test_in_one_mode): New function.
37419 (do_test): Use test_in_one_mode to compute and check results.
37420 Check results for all rounding modes.
37421 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37422 $(link-libm).
37423
19fcedd5
AM
374242012-12-09 Allan McRae <allan@archlinux.org>
37425
1e9d84cd 37426 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37427
8bbfd2f1
JM
374282012-09-11 Joseph Myers <joseph@codesourcery.com>
37429
37430 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37431 (_G_int32_t): Likewise.
37432 (_G_uint16_t): Likewise.
37433 (_G_uint32_t): Likewise.
37434 (_G_HAVE_BOOL): Likewise.
37435 (_G_HAVE_ATEXIT): Likewise.
37436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37437 (_G_HAVE_IO_FILE_OPEN): Likewise.
37438 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37439 (_G_int32_t): Likewise.
37440 (_G_uint16_t): Likewise.
37441 (_G_uint32_t): Likewise.
37442 (_G_HAVE_BOOL): Likewise.
37443 (_G_HAVE_ATEXIT): Likewise.
37444 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37445 (_G_HAVE_IO_FILE_OPEN): Likewise.
37446 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37447 (_G_int32_t): Likewise.
37448 (_G_uint16_t): Likewise.
37449 (_G_uint32_t): Likewise.
37450 (_G_HAVE_BOOL): Likewise.
37451 (_G_HAVE_ATEXIT): Likewise.
37452 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37453 (_G_HAVE_IO_FILE_OPEN): Likewise.
37454
b1dc5912
L
374552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37456
37457 * csu/libc-tls.c: Update copyright years.
37458
0e886ef9
JM
374592012-09-10 Joseph Myers <joseph@codesourcery.com>
37460
28361c5e
JM
37461 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37462 [!_G_USING_THUNKS]: Remove conditional code.
37463 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37464 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37465
0e886ef9
JM
37466 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37467 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37468 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37469 (_G_VTABLE_LABEL_PREFIX): Likewise.
37470 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37471 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37472 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37473 (_G_VTABLE_LABEL_PREFIX): Likewise.
37474 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37475 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37476 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37477 (_G_VTABLE_LABEL_PREFIX): Likewise.
37478 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37479
bcba7aa2
L
374802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37481
37482 * libio/Makefile: Include ../Makeconfig before tests.
37483 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37484 only if $(build-shared) is yes.
37485
06585ee8
L
37486 * iconv/gconv_db.c: Update copyright years.
37487
80ccd52c
LD
374882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37489
37490 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37491 unwind info if defined PIC. Fix special cases description.
37492 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37493
37494 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37495 DP_HI_MASK entry.
37496 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37497
691bc9c1
L
374982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37499
3d9b46b3
L
37500 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37501
de2139a9
L
37502 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37503 is NULL.
37504
5ca78dd0
L
37505 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37506 (LDLIBS-tst-chk4): This.
37507 (LDFLAGS-tst-chk5): Renamed to ...
37508 (LDLIBS-tst-chk5): This.
37509 (LDFLAGS-tst-chk6): Renamed to ...
37510 (LDLIBS-tst-chk6): This.
37511 (LDFLAGS-tst-lfschk4): Renamed to ...
37512 (LDLIBS-tst-lfschk4): This.
37513 (LDFLAGS-tst-lfschk5): Renamed to ...
37514 (LDLIBS-tst-lfschk5): This.
37515 (LDFLAGS-tst-lfschk6): Renamed to ...
37516 (LDLIBS-tst-lfschk6): This.
37517
691bc9c1
L
37518 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37519 on $(common-objpfx)soversions.mk.
37520
65cafb1c
JM
375212012-09-07 Joseph Myers <joseph@codesourcery.com>
37522
37523 [BZ #10014]
37524 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37525 example host name.
37526
c78ab094
SP
375272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37528
37529 * malloc/arena.c (arena_get_retry): New function that gets
37530 another arena for the caller to try its request on.
37531 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37532 current arena cannot fulfill the request.
37533 (__libc_memalign): Likewise.
37534 (__libc_memalign): Likewise.
37535 (__libc_pvalloc): Likewise.
37536 (__libc_calloc): Likewise.
37537
01f49f59
JT
375382012-09-05 John Tobey <john.tobey@gmail.com>
37539
37540 [BZ #13542]
37541 * manual/arith.texi (Operations on Complex): Fix description
37542 of carg branch cut.
37543
4c23fed5
JM
375442012-09-06 Joseph Myers <joseph@codesourcery.com>
37545
1d3c8572
JM
37546 [BZ #10014]
37547 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37548 host name.
37549
4c23fed5
JM
37550 [BZ #10038]
37551 * manual/memory.texi (Memory): Make order of menu items match
37552 order of sections.
37553
04570aaa
L
375542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37555
37556 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37557 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37558 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37559
b80af2f4
L
375602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37561
37562 * csu/libc-tls.c (static_dtv): Renamed to ...
37563 (_dl_static_dtv): This. Make it global.
37564 (_dl_initial_dtv): Removed.
37565 (__libc_setup_tls): Updated.
37566 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37567 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37568 DL_INITIAL_DTV.
37569
2abe9f15
PM
375702012-09-06 Petr Machata <pmachata@redhat.com>
37571
37572 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37573 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37574 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37575 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37576
0948c3af
L
375772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37578
37579 [BZ #14545]
37580 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37581 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37582 freeing dtv[-1].
37583
a5055ad1
L
375842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37585
37586 [BZ #14544]
37587 * Makeconfig (link-static-before-libc): Replace $(+prector)
37588 with $(+prectorT).
37589 (link-static-after-libc): Replace $(+postctor) with
37590 $(+postctorT).
37591 (link-bounded): Replace $(+prector)/$(+postctor) with
37592 $(+prectorT)/$(+postctorT).
37593 (+prectorT): New macro.
37594 (+postctorT): Likewise.
37595
ed8c2ecd
JM
375962012-09-06 Joseph Myers <joseph@codesourcery.com>
37597
37598 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37599 (round_str): Handle values above the maximum for IBM long double
37600 as inexact.
37601 * stdlib/tst-strtod-round.c (tests): Regenerated.
37602
14c996c8
AK
376032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37604
37605 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37606 assembler flag.
37607 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37608 zarch_nohighgprs around the zarch optimized routines.
37609 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37610 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37612 for zarch.
37613
430d6ce6
DM
376142012-09-05 David S. Miller <davem@davemloft.net>
37615
37616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37617
57f41c40
AS
37618 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37619 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37620 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37622 entries.
37623
24d4e01b
AO
376242012-09-05 Alexandre Oliva <aoliva@redhat.com>
37625
37626 * malloc/arena.c: Fold copyright years.
37627 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37628
61d58174
AO
376292012-09-05 Alexandre Oliva <aoliva@redhat.com>
37630
37631 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37632
20196a5e
AO
376332012-09-05 Alexandre Oliva <aoliva@redhat.com>
37634
37635 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37636
5c447383
AO
376372012-09-05 Alexandre Oliva <aoliva@redhat.com>
37638
37639 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37640 change internal state upon failure.
37641
fad64255
AO
376422012-09-05 Alexandre Oliva <aoliva@redhat.com>
37643
37644 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37645 * malloc/memusage.c (mmap): Likewise.
37646 (mmap64, mremap): Likewise. Adjust name in comment.
37647
1ffb8c90
SP
376482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37649
37650 * libio/fileops.c: Fix typos in comments.
37651 * libio/oldfileops.c: Likewise.
37652 * libio/wfileops.c: Likewise.
37653
6ef9cc37
SP
376542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37655
37656 [BZ #1349]
37657 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37658 (tst-malloc-usable-ENV): Set environment for test case.
37659 * malloc/hooks.c (malloc_check_get_size): New function to get
37660 requested size.
37661 * malloc/malloc.c (musable): Use malloc_check_get_size.
37662 * malloc/tst-malloc-usable.c: New test case.
37663
4d038ae3
AS
376642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37665
37666 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37667
c4e85184
AM
376682012-09-05 Allan McRae <allan@archlinux.org>
37669
b9dafc56 37670 [BZ #13966]
c4e85184
AM
37671 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37672 determine header location.
37673 * configure: Regenerated.
37674
e1343020
AS
376752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37676
37677 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37678 float format.
37679 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37680 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37681 format.
e1343020
AS
37682 (test): Regenerate.
37683
0a9f1987
DM
376842012-09-04 David S. Miller <davem@davemloft.net>
37685
37686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37689
29237804
FW
376902012-09-04 Florian Weimer <fweimer@redhat.com>
37691
37692 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37693 failures.
37694
edb3cb88
FW
37695 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37696
60160d83
JM
376972012-09-04 Joseph Myers <joseph@codesourcery.com>
37698
37699 [BZ #9914]
37700 * libio/iogetdelim.c: Include <limits.h>.
37701 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37702 + len + 1 would overflow.
37703
bcd6c8dc
AJ
377042012-09-03 Andreas Jaeger <aj@suse.de>
37705
37706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37707 * sysdeps/i386/fpu/libm-test-ulps: Update.
37708
4ffffbd2
LD
377092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37710
37711 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37712 Add s_sinf-sse2, s_conf-sse2.
37713
37714 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37715 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37716 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37717 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37718
37719 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37720 for using routine as __sinf_ia32.
37721 Use macro for function declaration and weak_alias.
37722 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37723 for using routine as __cosf_ia32.
37724 Use macro for function declaration and weak_alias.
37725
37726 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37727 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37728
37729 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37730 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37732
37733 * math/libm-test.inc (cos_test): Add more test cases.
37734 (sin_test): Likewise.
37735 (sincos_test): Likewise.
37736
511fa286
AK
377372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37738
37739 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37740 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37741 hidden.
37742 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37743
5f30cfec
L
377442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37745
37746 [BZ #14538]
37747 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37748 first element of the GOT.
37749 (elf_machine_load_address): Return the difference between
37750 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37751
0786794f
AM
377522012-09-01 Allan McRae <allan@archlinux.org>
37753
5f30cfec
L
37754 [BZ #13412]
37755 * configure.in (AWK): Require gawk version 3.0 or later.
37756 * configure: Regenerated.
0786794f 37757
26889eac
JM
377582012-09-01 Joseph Myers <joseph@codesourcery.com>
37759
37760 * sysdeps/unix/sysv/linux/kernel-features.h
37761 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37763 [__NR_clock_getres]: Make code unconditional.
37764 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37765 (clock_getcpuclockid): Remove code left unreachable by removal of
37766 conditionals.
37767 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37768 code unconditional.
37769 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37770 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37771 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37772 Make code unconditional.
37773 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37775 * sysdeps/unix/sysv/linux/clock_settime.c
37776 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37777 conditional code.
37778 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37779 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37780
d22e28b0
L
377812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37782
37783 [BZ #14476]
37784 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37785 scripts/test-installation.pl.
37786
37787 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37788 and $ld_so_version if it is set.
37789
050af9c4
SP
377902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37791
37792 [BZ #14516]
37793 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37794 failure if reading from procfs failed.
37795 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37796
ad845c0b
JM
377972012-08-27 Joseph Myers <joseph@codesourcery.com>
37798
37799 * sysdeps/unix/sysv/linux/kernel-features.h
37800 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37801 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37802 Remove conditional code.
37803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37804 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37805 Remove conditional code.
37806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37807 * sysdeps/unix/sysv/linux/i386/fxstat.c
37808 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37810 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37811 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37813 * sysdeps/unix/sysv/linux/i386/lxstat.c
37814 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37816 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37817 Remove conditional code.
37818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37819 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37820 Remove conditional code.
37821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37822 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37823 <kernel-features.h>.
37824 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37825 Remove.
37826 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37827 Remove conditional code.
37828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37829 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37830 Remove conditional.
37831
5dbf56af
MF
378322012-08-27 Mike Frysinger <vapier@gentoo.org>
37833
37834 [BZ #5400]
37835 * NEWS: Add fixed bug number.
37836
d6e70f43
JM
378372012-08-27 Joseph Myers <joseph@codesourcery.com>
37838
7efb4737
JM
37839 [BZ #14519]
37840 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37841 underflowing exponent in case of negative sign.
37842 * stdlib/tst-strtod-round-data: Add more tests.
37843 * stdlib/tst-strtod-round.c (tests): Regenerated.
37844
af92131a
JM
37845 [BZ #3479]
37846 * stdlib/strtod_l.c (NDIG): Remove.
37847 (HEXNDIG): Likewise.
37848 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37849 smallest representable value.
37850 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37851 lie within an exact representation of 1/2 ulp of the result.
37852 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37853 unconditionally.
37854 (TENS_P9_IDX): Define unconditionally.
37855 (TENS_P9_SIZE): Likewise.
37856 (TENS_P10_IDX): Likewise.
37857 (TENS_P10_SIZE): Likewise.
37858 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37859 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37860 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37861 entries for 10^2^13 and 10^2^14.
37862 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37863 (TENS_P13_IDX): Define.
37864 (TENS_P13_SIZE): Likewise.
37865 (TENS_P14_IDX): Likewise.
37866 (TENS_P14_SIZE): Likewise.
37867 (_fpioconst_pow10): Change array size to
37868 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37869 unconditional.
37870 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37871 1024]: Add entries for 10^2^13 and 10^2^14.
37872 [LAST_POW10 > _LAST_POW10]: Remove #error.
37873 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37874 (_fpioconst_pow10): Change array size to
37875 FPIOCONST_POW10_ARRAY_SIZE.
37876 * stdlib/gen-fpioconst.c: New file.
37877 * stdlib/gen-tst-strtod-round.c: Likewise.
37878 * stdlib/tst-strtod-round-data: Likewise.
37879 * stdlib/tst-strtod-round.c: Likewise.
37880 * stdlib/Makefile (tests): Add tst-strtod-round.
37881
d6e70f43
JM
37882 [BZ #14459]
37883 * stdlib/strtod_l.c: Include <stdint.h>.
37884 (NDEBUG): Do not define.
37885 (round_and_return): Change EXPONENT parameter to type intmax_t.
37886 Rearrange calculations to avoid internal overflow possibilities.
37887 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37888 Rearrange calculations to avoid internal overflow possibilities.
37889 Assert that number fits inside MPNSIZE limbs.
37890 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37891 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37892 calculations and add assertions to avoid internal overflow
37893 possibilities. Add casts to avoid signed/unsigned operations.
37894 * stdlib/tst-strtod-overflow.c: New file.
37895 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37896
1f529f7d
MP
378972012-08-25 Marek Polacek <polacek@redhat.com>
37898
37899 * time/time.h: Fix some typos in comments.
37900
59a629f1
RM
379012012-08-23 Roland McGrath <roland@hack.frob.com>
37902
37903 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37904 * posix/tst-rfc3484-2.c: Likewise.
37905 * posix/tst-rfc3484-3.c: Likewise.
37906
d3bafbc9
SM
379072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37908
37909 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37910 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37911
4efcc022
JM
379122012-08-23 Joseph Myers <joseph@codesourcery.com>
37913
37914 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37915 #include of fxstatat64.c.
37916
3cc3ef96
RM
379172012-08-22 Roland McGrath <roland@hack.frob.com>
37918
f04e2132
RM
37919 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37920 * shadow/getspent_r.c: Likewise.
37921 * shadow/getspnam.c: Likewise.
37922 * shadow/getspnam_r.c: Likewise.
37923 * gshadow/getsgent.c: Likewise.
37924 * gshadow/getsgent_r.c: Likewise.
37925 * gshadow/getsgnam.c: Likewise.
37926 * gshadow/getsgnam_r.c: Likewise.
37927 * inet/getnetbyad.c: Likewise.
37928 * inet/getnetbyad_r.c: Likewise.
37929 * inet/getnetbynm.c: Likewise.
37930 * inet/getnetbynm_r.c: Likewise.
37931 * inet/getnetent.c: Likewise.
37932 * inet/getnetent_r.c: Likewise.
37933 * inet/getproto.c: Likewise.
37934 * inet/getproto_r.c: Likewise.
37935 * inet/getprtent.c: Likewise.
37936 * inet/getprtent_r.c: Likewise.
37937 * inet/getprtname.c: Likewise.
37938 * inet/getprtname_r.c: Likewise.
37939 * inet/getrpcbyname.c: Likewise.
37940 * inet/getrpcbyname_r.c: Likewise.
37941 * inet/getrpcbynumber.c: Likewise.
37942 * inet/getrpcbynumber_r.c: Likewise.
37943 * inet/getrpcent.c: Likewise.
37944 * inet/getrpcent_r.c: Likewise.
37945 * inet/getaliasent.c: Likewise.
37946 * inet/getaliasent_r.c: Likewise.
37947 * inet/getaliasname.c: Likewise.
37948 * inet/getaliasname_r.c: Likewise.
37949 * nscd/getgrgid_r.c: Likewise.
37950 * nscd/getgrnam_r.c: Likewise.
37951 * nscd/gethstbyad_r.c: Likewise.
37952 * nscd/gethstbynm3_r.c: Likewise.
37953 * nscd/getpwnam_r.c: Likewise.
37954 * nscd/getpwuid_r.c: Likewise.
37955 * nscd/getsrvbynm_r.c: Likewise.
37956 * nscd/getsrvbypt_r.c: Likewise.
37957 * nscd/gai.c: Likewise.
37958
c53d909c
RM
37959 * configure.in (build_nscd): New substituted variable, set
37960 by --disable-build-nscd and defaults to $use_nscd.
37961 * configure: Regenerated.
37962 * config.make.in (build-nscd): New substituted variable.
37963 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37964 Change conditional to require [$(build-nscd) = yes] as well.
37965 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37966
3cc3ef96
RM
37967 [BZ# 13696]
37968 * configure.in (use_nscd): New substituted variable, set by
37969 --disable-nscd. If enabled, define USE_NSCD.
37970 * configure: Regenerated.
37971 * config.h.in: Add USE_NSCD.
37972 * config.make.in (use-nscd): New substituted variable.
37973 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37974 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37975 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37976 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37977 (CFLAGS-getgrnam_r.c): Likewise.
37978 (CFLAGS-initgroups.c): Likewise.
37979 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37980 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37981 Variables removed.
37982 * inet/getnetgrent_r.c
37983 (nscd_setnetgrent): New function, broken out of ...
37984 (setnetgrent): ... here. Call it.
37985 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37986 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37987 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37988 * nscd/Makefile (routines, aux): Move definitions after include of
37989 Makeconfig. Conditionalize on [$(use-nscd) != no].
37990 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37991 Conditionalize on [USE_NSCD].
37992 (is_nscd, nscd_init_cb): Likewise.
37993 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37994 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37995 * nss/nss_db/db-init.c: Likewise.
37996 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37997 [USE_NSCD].
37998 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37999 (make_request): Use it.
38000 (cache_valid_p): New function.
38001 (__check_pf): Use it.
38002 * NEWS: Add item for --disable-nscd.
38003
07e51550
DL
380042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38005
38006 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38007 to support sed >= 4.2.1-20-ga9bf076.
38008 * configure: Regenerated.
38009
35a5b08b
RM
380102012-08-22 Roland McGrath <roland@hack.frob.com>
38011
38012 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38013 Conditionalize whole body on [IREL].
38014
8479f23a
JL
380152012-08-22 Jeff Law <law@redhat.com>
38016
38017 [BZ #14505]
38018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38019 if the family is PF_UNSPEC.
38020
48da0b21
MF
380212012-08-22 Mike Frysinger <vapier@gentoo.org>
38022
38023 * Makerules (lib-version): Rename from V.
38024 (install-lib-nosubdir): Change V to lib-version.
38025
15d0da8c
WS
380262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38027
38028 [BZ #14252]
38029 * powerpc32/power6/wcschr.c: New file.
38030 * powerpc32/power6/wcscpy.c: New file.
38031 * powerpc32/power6/wcsrchr.c: New file.
38032 * powerpc64/power6/wcschr.c: New file.
38033 * powerpc64/power6/wcscpy.c: New file.
38034 * powerpc64/power6/wcsrchr.c: New file.
38035
bcca0895
MK
380362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38037
38038 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38039 (two_way_short_needle): Use it.
5a4aaa33
RM
38040 * string/strstr.c (AVAILABLE1_USES_J): Define.
38041 * string/strcasestr.c: Likewise.
99677e57
MK
38042
38043 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38044 array references.
38045 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38046
400726de
MK
38047 [BZ #11607]
38048 * NEWS: Add an entry.
38049 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38050 define their defaults.
38051 (two_way_short_needle): Detect end-of-string on-the-fly.
38052 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38053 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38054 * string/bug-strcasestr1.c: New test.
38055 * string/Makefile: Run it.
38056
20a71f2c
MK
380572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38058
38059 [BZ #11607]
38060 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38061 the first character.
38062
21ad0558
RM
380632012-08-21 Roland McGrath <roland@hack.frob.com>
38064
38065 * csu/elf-init.c (__libc_csu_irel): Function removed.
38066 * csu/libc-start.c (apply_irel): New function.
38067 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38068
0e1d9911
JM
380692012-08-21 Joseph Myers <joseph@codesourcery.com>
38070
38071 * sysdeps/unix/sysv/linux/kernel-features.h
38072 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38073 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38074 <kernel-features.h>.
38075 [__NR_fadvise64_64]: Make code unconditional.
38076 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38077 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38078 !__NR_fadvise64_64)]: Likewise.
38079 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38080 !__NR_fadvise64_64))]: Likewise.
38081 [__NR_fadvise64]: Make code unconditional.
38082 [!__NR_fadvise64]: Remove conditional code.
38083 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38084 <kernel-features.h>.
38085 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38086 unconditional.
38087 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38088 conditional code.
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38090 not include <kernel-features.h>.
38091 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38092 unconditional.
38093 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38094 conditional code.
38095 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38096 include <kernel-features.h>.
38097 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38098 unconditional.
38099 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38100 conditional code.
38101
14a50c9d
WS
381022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38103
38104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38105 slight instruction rearrangements per scrollpipe analysis.
38106 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38107
c0f4faf0
RM
381082012-08-20 Roland McGrath <roland@hack.frob.com>
38109
696da859
RM
38110 * manual/syslog.texi (syslog; vsyslog, closelog):
38111 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38112 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38113
c0f4faf0
RM
38114 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38115 DSOCAPS to match condition on defining it.
38116
348363b2
JM
381172012-08-20 Joseph Myers <joseph@codesourcery.com>
38118
a35cbf28
JM
38119 * sysdeps/unix/sysv/linux/kernel-features.h
38120 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38122 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38123 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38125 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38126 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38128 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38129 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38130
445f7ecd
JM
38131 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38132 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38133
348363b2
JM
38134 * sysdeps/unix/sysv/linux/kernel-features.h
38135 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38136 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38137 unconditional.
38138 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38139 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38140 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38141 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38142 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38143 Make code unconditional.
38144 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38145 (__mmap64) [!__NR_mmap2]: Likewise.
38146 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38147 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38148 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38149 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38150 [__NR_mmap2]: Make code unconditional.
38151 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38152 (__mmap64) [!__NR_mmap2]: Likewise.
38153
bc5bc0e5
AK
381542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38155
38156 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38157
88d506de
AJ
381582012-08-18 Andreas Jaeger <aj@suse.de>
38159
38160 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38161
493387d2
MF
381622012-08-18 Mike Frysinger <vapier@gentoo.org>
38163
38164 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38165 * include/unistd.h (__have_sock_cloexec): Likewise.
38166 (__have_pipe2): Likewise.
38167 (__have_dup3): Likewise.
38168
a277af22
MF
381692012-08-18 Mike Frysinger <vapier@gentoo.org>
38170
38171 [BZ #9685]
38172 * include/unistd.h (__have_pipe2): Change define into an extern int.
38173 (__have_dup3): Likewise.
38174 * socket/have_sock_cloexec.c: Include fcntl.h.
38175 (__have_pipe2): New variable.
38176 (__have_dup3): Likewise.
38177
fdab8fd3
MF
381782012-08-17 Mike Frysinger <vapier@gentoo.org>
38179
38180 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38181
31035e80
MP
381822012-08-17 Marek Polacek <polacek@redhat.com>
38183
38184 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38185 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38186
3bd9e993
RM
381872012-08-17 Roland McGrath <roland@hack.frob.com>
38188
c91c505f
RM
38189 * configure.in: Add AC_SUBST for sysheaders.
38190 * configure: Regenerated.
38191 * config.make.in (sysheaders): New substituted variable.
38192
7c6f9d53
RM
38193 * sysdeps/unix/mkfifo.c: Moved ...
38194 * sysdeps/posix/mkfifo.c: ... here.
38195 * sysdeps/unix/mkfifoat.c: Moved ...
38196 * sysdeps/posix/mkfifoat.c: ... here.
38197
38198 * sysdeps/unix/utime.c: Moved ...
38199 * sysdeps/posix/utime.c: ... here.
38200
38201 * sysdeps/unix/time.c: Moved ...
38202 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38203 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38204 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38205
38206 * sysdeps/unix/nice.c: Moved ...
38207 * sysdeps/posix/nice.c: ... here.
38208
38209 * sysdeps/unix/alarm.c: Moved ...
38210 * sysdeps/posix/alarm.c: ... here.
38211
3bd9e993
RM
38212 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38213
d1f09384
JL
382142012-08-17 Jeff Law <law@redhat.com>
38215
38216 * intl/Makefile (codeset_mo): New variable.
38217 ($(codeset_mo)): New target.
38218 (tst-codeset.out): Depend on that. Remove explicit rule.
38219 (tst-gettext3.out, tst-gettext5.out): Likewise.
38220 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38221 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38222 * intl/tst-codeset.sh: Remove.
38223 * intl/tst-gettext3.sh: Likewise.
38224 * intl/tst-gettext5.sh: Likewise.
38225
2ae1ae5c
RM
382262012-08-17 Roland McGrath <roland@hack.frob.com>
38227
c31fdb83
RM
38228 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38229 * sysdeps/unix/syscalls.list: ... here.
38230
a0844057
RM
38231 * sysdeps/posix/getaddrinfo.c
38232 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38233 (gaiconf_init, gaiconf_reload): Use them.
38234 [!_STATBUF_ST_NSEC]
38235 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38236 Define using time_t rather than struct timespec.
38237
750c1f2a
RM
38238 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38239 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38240 Macros removed.
38241 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38242 [!NO_THREADS].
38243 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38244 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38245 Likewise.
38246
2ae1ae5c
RM
38247 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38248 __libc_cleanup_push argument.
38249
e66a42f5
RM
38250 * bits/param.h: New file.
38251 * misc/sys/param.h: New file.
38252 * include/sys/param.h: New file.
38253 * misc/Makefile (headers): Add bits/param.h.
38254 * sysdeps/generic/sys/param.h: File removed.
38255 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38256 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38257 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38258 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38259
b7c08a66
RM
38260 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38261 last change.
38262
b2e1c562
RM
38263 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38264 [_IO_MTSAFE_IO].
38265 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38266 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38267 New macros.
38268
c75ccd4c
RM
38269 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38270 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38271 rather than -D_IO_MTSAFE_IO conditionally.
38272 * stdio-common/Makefile (CPPFLAGS): Likewise.
38273 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38274 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38275 Use $(libio-mtsafe).
38276 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38277 of -D_IO_MTSAFE_IO.
38278 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38279 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38280 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38281 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38282 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38283 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38284 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38285 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38286 (CFLAGS-fread_u_chk.c): Likewise.
38287 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38288 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38289 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38290 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38291 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38292 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38293 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38294 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38295 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38296
38297 * libio/Makefile: Test [$(libc-reentrant) = yes]
38298 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38299
38300 * Makeconfig
38301 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38302 * sysdeps/pthread/configure: File removed.
38303 * sysdeps/pthread/Makeconfig: New file.
38304 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38305 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38306
d9195db8
GB
383072012-08-16 Gary Benson <gbenson@redhat.com>
38308
38309 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38310 unmapping the first object in a namespace.
38311
86466cd9
RM
383122012-08-16 Roland McGrath <roland@hack.frob.com>
38313
38314 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38315 (__internal_setnetgrent): ... this. Add internal_function to
38316 definition. Add libc_hidden_def.
38317 (setnetgrent): Update caller.
38318 (internal_endnetgrent): Renamed to ...
38319 (__internal_endnetgrent): ... this. Add internal_function to
38320 definition. Add libc_hidden_def.
38321 (endnetgrent): Update caller.
38322 (internal_getnetgrent_r): Renamed to ...
38323 (__internal_getnetgrent_r): ... this. Add internal_function to
38324 definition. Add libc_hidden_def.
38325 (__getnetgrent_r): Update caller.
38326 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38327
c3c8283c
JM
383282012-08-16 Joseph Myers <joseph@codesourcery.com>
38329
38330 * stdlib/longlong.h: Update from GCC.
38331
db1ee0a8
RM
383322012-08-16 Roland McGrath <roland@hack.frob.com>
38333
38334 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38335 on _QL, which is set by umul_ppmm but never used.
38336 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38337 variables, which are set by GMP macros but never used.
38338 * stdio-common/_itowa.c (_itowa): Likewise.
38339 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38340 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38341
30f69637
CD
383422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38343
38344 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38345 struct La_sh_regs is not constant.
38346 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38347 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38348 and struct La_sparc64_regs are not constant.
38349
93a78ac4
JM
383502012-08-16 Joseph Myers <joseph@codesourcery.com>
38351
38352 * sysdeps/unix/sysv/linux/kernel-features.h
38353 (__ASSUME_POSIX_TIMERS): Remove.
38354 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38356 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38357 Make code unconditional.
38358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38359 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38360 Make code unconditional.
38361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38362 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38363 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38365 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38366 Make code unconditional.
38367 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38368 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38369 (__libc_missing_posix_timers): Remove.
38370
dd924cd7
RM
383712012-08-15 Roland McGrath <roland@hack.frob.com>
38372
4b4f2771
RM
38373 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38374 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38375
601c888b
RM
38376 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38377
176790a7
RM
38378 * elf/dl-sym.c: Include <stdlib.h>.
38379
329bc018
RM
38380 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38381 constants, which avoids warnings in 32-bit builds.
38382
e04e272d
RM
38383 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38384 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38385
952bf94a
RM
38386 * misc/lseek.c: File moved to ...
38387 * io/lseek.c: ... here.
38388
7c99b50a
RM
38389 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38390
dd924cd7
RM
38391 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38392 shifting LEN more than 31 bits at once.
38393
b3f479a8
LD
383942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38395
38396 [BZ #14195]
8c4ae0d4
RM
38397 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38398 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38399 * string/test-strncasecmp.c (check1): Renamed to...
38400 (bz12205): ...this.
38401 (bz14195): Add new testcase for two empty input strings and N > 0.
38402 (test_main): Call new testcase, adapt for renamed function.
38403
9c55864e
AJ
384042012-08-15 Andreas Jaeger <aj@suse.de>
38405
38406 [BZ #14090]
38407 * crypt/md5test2.c: New test, based on test supplied by Serge
38408 Belyshev <belyshev@depni.sinp.msu.ru>.
38409 * crypt/Makefile (xtests): Add md5test-giant..
38410 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38411
02dcb6c5
PE
384122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38413
38414 [BZ #14090]
38415 * crypt/md5.c (md5_process_block): Don't assume the buffer
38416 length is less than 2**32.
38417 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38418 length is less than 2**64.
38419
a3f95dcc
RM
384202012-08-15 Roland McGrath <roland@hack.frob.com>
38421
be75d758
RM
38422 * string/str-two-way.h: Include <sys/param.h>.
38423 (MAX): Macro removed.
38424
7312ca90
RM
38425 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38426 Move #define and #undef of memmove to just before and after
38427 including <string.h>.
38428
9a0a5486
RM
38429 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38430 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38431 and after including <string.h>. Move declarations of
38432 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38433 to before #include "string/memmove.c".
38434
67cc348d
RM
38435 * include/dirent.h: Declare __getdirentries.
38436
a3f95dcc
RM
38437 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38438 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38439
ca98e171
MF
384402012-08-14 Mike Frysinger <vapier@gentoo.org>
38441
38442 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38443 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38444 * sysdeps/i386/configure: Regenerated.
38445 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38446 STABS_CURRENT_FILE, and STABS_FUN.
38447 (END): Remove call to STABS_FUN_END.
38448 (STABS_CURRENT_FILE1): Delete.
38449 (STABS_CURRENT_FILE): Likewise.
38450 (STABS_FUN): Likewise.
38451 (STABS_FUN_END): Likewise.
38452 (STABS_FUN2): Likewise.
38453 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38454 * sysdeps/x86_64/configure: Regenerated.
38455
5908bf46
RM
384562012-08-14 Roland McGrath <roland@hack.frob.com>
38457
38458 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38459 * elf/dl-lookup.c: Likewise.
5908bf46 38460
f2c05b9e
JM
384612012-08-14 Joseph Myers <joseph@codesourcery.com>
38462
38463 * sysdeps/unix/sysv/linux/kernel-features.h
38464 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38465 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38466 unconditionally.
38467 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38468 unconditionally.
38469 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38470 condition on __ASSUME_CLONE_THREAD_FLAGS.
38471
e11f5155
AJ
384722012-08-14 Andreas Jaeger <aj@suse.de>
38473
38474 * sysdeps/i386/fpu/libm-test-ulps: Update.
38475
51a9ba86
MK
384762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38477
2fdd4f78
AJ
38478 * include/atomic.h (atomic_exchange_and_add): Split into ...
38479 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38480 New atomic macros.
51a9ba86 38481
ba6cba9e
MT
384822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38483
38484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38485
42443a47
JL
384862012-08-13 Jeff Law <law@redhat.com>
38487
38488 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38489 null byte in the output string.
38490
121dce05
JM
384912012-08-10 Joseph Myers <joseph@codesourcery.com>
38492
38493 * sysdeps/unix/sysv/linux/kernel-features.h
38494 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38495 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38496 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38497 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38498 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38499 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38500 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38501
bf51f568
JL
385022012-08-09 Jeff Law <law@redhat.com>
38503
38504 [BZ #13939]
38505 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38506 When avoid_arena is set, don't retry in the that arena. Pick the
38507 next one, whatever it might be.
38508 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38509 (arena_lock): Pass in new parameter to arena_get2.
38510 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38511 arena_get2.
38512 (__libc_malloc): Unify retrying after main arena failure with
38513 __libc_memalign version.
38514 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38515
f85fa270
L
385162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38517
38518 [BZ #14166]
38519 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38520 to __redirect_strstr.
38521 (__strstr_sse42): Use typeof __redirect_strstr.
38522 (__strstr_ia32): Likewise.
38523 (__libc_strstr): New prototype.
38524 (strstr): Renamed to ...
38525 (__libc_strstr): This.
38526 (strstr): New strong alias of __libc_strstr.
38527 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38528 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38529 __redirect_time.
38530 Include <time.h>.
38531 (__libc_time): New prototype.
38532 (time_ifunc): Replace time with __libc_time.
38533 (time): New strong alias and hidden definition of __libc_time.
38534 (__GI_time): Remove strong alias.
38535 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38536 Include <stddef.h>.
38537 (memmove): Redefined to __redirect_memmove.
38538 (__memmove_sse2): Use typeof __redirect_memmove.
38539 (__memmove_ssse3): Likewise.
38540 (__memmove_ssse3_back): Likewise.
38541 (__libc_memmove): New prototype.
38542 (memmove): Renamed to ...
38543 (__libc_memmove): This.
38544 (memmove): New strong alias of __libc_memmove.
38545
33b4a91e
MS
385462012-08-08 Mark Salter <msalter@redhat.com>
38547
38548 * elf/elf.h
38549 (R_MN10300_TLS_GD): Define.
38550 (R_MN10300_TLS_LD): Likewise.
38551 (R_MN10300_TLS_LDO): Likewise.
38552 (R_MN10300_TLS_GOTIE): Likewise.
38553 (R_MN10300_TLS_IE): Likewise.
38554 (R_MN10300_TLS_LE): Likewise.
38555 (R_MN10300_TLS_DTPMOD): Likewise.
38556 (R_MN10300_TLS_DTPOFF): Likewise.
38557 (R_MN10300_TLS_TPOFF): Likewise.
38558 (R_MN10300_SYM_DIFF): Likewise.
38559 (R_MN10300_ALIGN): Likewise.
38560 (R_MN10300_NUM): Update.
38561
b36137f1
JM
385622012-08-08 Joseph Myers <joseph@codesourcery.com>
38563
38564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38565 Remove.
38566
cdd915fd
RM
385672012-08-08 Roland McGrath <roland@hack.frob.com>
38568
a2433aac
RM
38569 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38570
cdd915fd
RM
38571 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38572 sysdeps/unix -> sysdeps/posix move.
38573 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38574
bf9b740a
AM
385752012-08-07 Allan McRae <allan@archlinux.org>
38576
38577 [BZ #14303]
38578 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38579 (SUNOS_CPP): Likewise.
38580 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38581 not found.
38582 (open_input): Call CPP using execvp.
38583
93df14ee
JM
385842012-08-07 Joseph Myers <joseph@codesourcery.com>
38585
38586 * sysdeps/unix/sysv/linux/kernel-features.h
38587 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38588 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38589 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38590 (__ASSUME_WAITID_SYSCALL): Likewise.
38591 * sysdeps/unix/sysv/linux/dl-execstack.c
38592 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38593 code unconditional.
38594 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38595 conditional code.
38596 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38597 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38598 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38599 code.
38600 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38601 unconditional.
38602 [__ASSUME_WAITID_SYSCALL]: Likewise.
38603 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38604
d34689de
RM
386052012-08-07 Roland McGrath <roland@hack.frob.com>
38606
a281decc
RM
38607 * sysdeps/unix/closedir.c: Renamed to ...
38608 * sysdeps/posix/closedir.c: ... here.
38609 * sysdeps/unix/dirfd.c: Renamed to ...
38610 * sysdeps/posix/dirfd.c: ... here.
38611 * sysdeps/unix/dirstream.h: Renamed to ...
38612 * sysdeps/posix/dirstream.h: ... here.
38613 * sysdeps/unix/fdopendir.c: Renamed to ...
38614 * sysdeps/posix/fdopendir.c: ... here.
38615 * sysdeps/unix/opendir.c: Renamed to ...
38616 * sysdeps/posix/opendir.c: ... here.
38617 * sysdeps/unix/readdir.c: Renamed to ...
38618 * sysdeps/posix/readdir.c: ... here.
38619 * sysdeps/unix/readdir_r.c: Renamed to ...
38620 * sysdeps/posix/readdir_r.c: ... here.
38621 * sysdeps/unix/rewinddir.c: Renamed to ...
38622 * sysdeps/posix/rewinddir.c: ... here.
38623 * sysdeps/unix/seekdir.c: Renamed to ...
38624 * sysdeps/posix/seekdir.c: ... here.
38625 * sysdeps/unix/telldir.c: Renamed to ...
38626 * sysdeps/posix/telldir.c: ... here.
38627 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38628 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38629 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38630 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38631
22895b47
RM
38632 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38633 * bits/fcntl.h: ... here.
38634
707a53b6
RM
38635 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38636 not 0.
38637 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38638 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38639 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38640 (struct flock): Move l_start, l_len to the beginning.
38641 Use __pid_t for l_pid.
38642 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38643 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38644 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38645 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38646 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38647 [__USE_LARGEFILE64] (struct flock64): New type.
38648 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38649
f0bd3e25
RM
38650 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38651 * bits/dirent.h: ... here.
38652
d34689de
RM
38653 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38654 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38655
6dad2c06
JM
386562012-08-07 Joseph Myers <joseph@codesourcery.com>
38657
38658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38659 Change from 2.6.0 to 2.6.16.
38660 * sysdeps/unix/sysv/linux/configure: Regenerated.
38661 * sysdeps/unix/sysv/linux/kernel-features.h
38662 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38663 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38664 version.
38665 (__ASSUME_UTIMES): Likewise.
38666 (__ASSUME_CLONE_STOPPED): Remove.
38667 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38668 architectures, not kernel version.
38669 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38670 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38671 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38672 (__ASSUME_WAITID_SYSCALL): Likewise.
38673 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38674 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38675 * README: State 2.6.16 as minimum Linux kernel version. Do not
38676 refer to older versions.
38677
03af9520
RM
386782012-08-06 Roland McGrath <roland@hack.frob.com>
38679
8e49df1d
RM
38680 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38681 Define alphasort64 as an alias.
38682 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38683 Define versionsort64 as an alias.
38684 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38685 Define scandir64 as an alias.
38686 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38687 Define scandirat64 as an alias.
38688 * dirent/alphasort64.c (alphasort64):
38689 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38690 * dirent/versionsort64.c: Likewise.
38691 * dirent/scandir64.c: Likewise.
38692 * dirent/scandirat64.c: Likewise.
38693 * sysdeps/wordsize-64/alphasort.c: File removed.
38694 * sysdeps/wordsize-64/alphasort64.c: File removed.
38695 * sysdeps/wordsize-64/scandir.c: File removed.
38696 * sysdeps/wordsize-64/scandir64.c: File removed.
38697 * sysdeps/wordsize-64/scandirat.c: File removed.
38698 * sysdeps/wordsize-64/scandirat64.c: File removed.
38699 * sysdeps/wordsize-64/versionsort.c: File removed.
38700 * sysdeps/wordsize-64/versionsort64.c: File removed.
38701 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38702 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38704 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38706 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38707 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38709
38710 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38712 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38714 [defined __arch64__ || defined __sparcv9]
38715 (__INO_T_MATCHES_INO64_T): New macro.
38716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38717 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38718 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38719 * sysdeps/unix/sysv/linux/bits/dirent.h
38720 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38721 (_DIRENT_MATCHES_DIRENT64): New macro.
38722
03af9520
RM
38723 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38724 Define lockf64 as an alias.
38725 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38726 Define fseeko64 as an alias.
38727 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38728 Define ftello64 as an alias.
38729 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38730 Define _IO_fgetpos64 and fgetpos64 as aliases.
38731 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38732 Define _IO_fsetpos64 and fsetpos64 as aliases.
38733 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38734 Conditionalize body on this.
38735 * libio/fseeko64.c: Likewise.
38736 * libio/ftello64.c: Likewise.
38737 * libio/iofgetpos64.c: Likewise.
38738 * libio/iofsetpos64.c: Likewise.
38739 * sysdeps/wordsize-64/lockf.c: File removed.
38740 * sysdeps/wordsize-64/lockf64.c: File removed.
38741 * sysdeps/wordsize-64/fseeko.c: File removed.
38742 * sysdeps/wordsize-64/fseeko64.c: File removed.
38743 * sysdeps/wordsize-64/ftello.c: File removed.
38744 * sysdeps/wordsize-64/ftello64.c: File removed.
38745 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38746 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38747 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38748 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38749 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38750 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38751 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38753 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38756 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38757 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38759
38760 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38762 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38764 [defined __arch64__ || defined __sparcv9]
38765 (__OFF_T_MATCHES_OFF64_T): New macro.
38766 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38767 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38768 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38769 (__OFF_T_MATCHES_OFF64_T): New macro.
38770
c5757acd
L
387712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38772
38773 * stdlib/secure-getenv.c (__secure_getenv): Replace
38774 GLIBC_2_16 with GLIBC_2_17.
38775
3a31811e
L
387762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38777
38778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38780
faa2bccb
DM
387812012-08-03 David S. Miller <davem@davemloft.net>
38782
38783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38784
85fe1997
JM
387852012-08-03 Joseph Myers <joseph@codesourcery.com>
38786
38787 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38788 Remove.
38789 (__ASSUME_CORRECT_SI_PID): Likewise.
38790 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38791 (__ASSUME_TMPFS_NAME): Likewise.
38792 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38793 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38794 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38795 (HAVE_AUX_SECURE): Make definition unconditional.
38796 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38797 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38798
4f75b7a0
RM
387992012-08-03 Roland McGrath <roland@hack.frob.com>
38800
38801 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38802 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38803 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38804 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38805 __eloop_threshold instead of SYMLOOP_MAX.
38806
38807 * sysdeps/generic/eloop-threshold.h: New file.
38808 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38809 of MAXSYMLINKS.
38810 * elf/chroot_canon.c (chroot_canon): Likewise.
38811
7aab07e4
JM
388122012-08-03 Joseph Myers <joseph@codesourcery.com>
38813
38814 [BZ #13717]
38815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38816 Change to 2.6.0 everywhere.
38817 * sysdeps/unix/sysv/linux/configure: Regenerated.
38818 * sysdeps/unix/sysv/linux/kernel-features.h
38819 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38820 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38821 kernel versions.
38822 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38823 (__ASSUME_FUTEX_REQUEUE): Remove.
38824 (__ASSUME_STATFS64): Define unconditionally.
38825 (__ASSUME_AT_SECURE): Likewise.
38826 (__ASSUME_CORRECT_SI_PID): Likewise.
38827 (__ASSUME_TGKILL): Define without depending on kernel version for
38828 i386.
38829 (__ASSUME_UTIMES): Likewise.
38830 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38831 kernel version.
38832 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38833 (__ASSUME_TMPFS_NAME): Likewise.
38834 * README: Update reference to Linux kernel versions.
38835
b67e9372
MP
388362012-08-02 Marek Polacek <polacek@redhat.com>
38837
1f529f7d 38838 [BZ# 14150]
b67e9372
MP
38839 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38840 libc_cv_asm_type_prefix with %.
38841 * configure: Regenerated.
d2441631
RM
38842 * include/libc-symbols.h: Remove comment about
38843 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38844 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38845 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38846 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38847 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38848 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38849 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38850 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38851 * elf/tst-unique2mod1.c: Likewise.
38852 * elf/tst-unique1mod2.c: Likewise.
38853 * elf/tst-unique1mod1.c: Likewise.
38854 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38855 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38856 Replace ASM_TYPE_DIRECTIVE with .type.
38857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38858 * sysdeps/i386/sysdep.h: Likewise.
38859 * sysdeps/x86_64/sysdep.h: Likewise.
38860 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38862 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38863 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38864 * sysdeps/powerpc/powerpc32/sysdep.h:
38865 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38866 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38867 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38868 * sysdeps/i386/fpu/e_powf.S: Likewise.
38869 * sysdeps/i386/fpu/e_expl.S: Likewise.
38870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38872 * sysdeps/i386/fpu/e_pow.S: Likewise.
38873 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38874 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38875 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38876 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38877 * sysdeps/i386/fpu/e_log2.S: Likewise.
38878 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38879 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38880 * sysdeps/i386/fpu/e_powl.S: Likewise.
38881 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38882 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38883 * sysdeps/i386/fpu/e_logl.S: Likewise.
38884 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38885 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38886 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38887 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38888 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38889 * sysdeps/i386/fpu/e_log.S: Likewise.
38890 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38891 * sysdeps/i386/fpu/e_logf.S: Likewise.
38892 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38894 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38895 * sysdeps/i386/fpu/e_log10.S: Likewise.
38896 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38898 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38899 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38901 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38902 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38903 * sysdeps/i386/i686/strtok.S: Likewise.
38904 * sysdeps/i386/i386-mcount.S: Likewise.
38905 * sysdeps/i386/strtok.S: Likewise.
38906 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38907 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38908 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38909 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38910 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38911 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38912 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38913 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38914 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38915 * sysdeps/x86_64/_mcount.S: Likewise.
38916 * sysdeps/x86_64/strtok.S: Likewise.
38917 * sysdeps/sh/_mcount.S: Likewise.
38918
2747bf9a
RM
389192012-08-01 Roland McGrath <roland@hack.frob.com>
38920
38921 * libio/iofopen.c: Include <fcntl.h>.
38922 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38923 (_IO_fopen64, fopen64): Define as aliases.
38924 * libio/iofopen64.c: Include <fcntl.h>.
38925 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38926 Conditionalize body on this.
38927 * sysdeps/wordsize-64/iofopen.c: File removed.
38928 * sysdeps/wordsize-64/iofopen64.c: File removed.
38929
3fb791b8
MP
389302012-08-01 Marek Polacek <polacek@redhat.com>
38931
38932 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38933 Use dlfcn directly instead of a variable.
38934 (binfmt-subdir): Do not define.
38935 (dlfcn): Likewise.
38936
a9f1039f
JM
389372012-08-01 Joseph Myers <joseph@codesourcery.com>
38938
23bddc06
JM
38939 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38940 Remove all definitions.
38941 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38942 <kernel-features.h>.
38943 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38944 (miss_F_GETOWN_EX): Remove all definitions.
38945 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38946 macro definition.
38947 [!__ASSUME_FCNTL64]: Remove conditional code.
38948 [__ASSUME_FCNTL64]: Make code unconditional.
38949 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38950 <kernel-features.h>.
38951 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38952 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38953 (lockf64) [__NR_fcntl64]: Make code unconditional.
38954 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38955
a9f1039f
JM
38956 * sysdeps/unix/sysv/linux/kernel-features.h
38957 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38958 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38959 Make code unconditional.
38960 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38961 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38963 [__NR_vfork]: Make code unconditional.
38964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38967 [__NR_vfork]: Make code unconditional.
38968 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38969 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38970
09c0ee5f
RM
389712012-08-01 Roland McGrath <roland@hack.frob.com>
38972
48aec5b9
RM
38973 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38974 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38975
cd97c966
RM
38976 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38977 Define mkstemp64 as an alias.
3f55550c
RM
38978 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38979 Define mkstemps64 as an alias.
cd97c966
RM
38980 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38981 Define mkostemp64 as an alias.
b8625cfc
RM
38982 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38983 Define mkostemps64 as an alias.
cd97c966
RM
38984 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38985 Conditionalize body on this.
38986 * misc/mkostemp64.c: Likewise.
b8625cfc 38987 * misc/mkostemps64.c: Likewise.
3f55550c 38988 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38989 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38990 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38991 * sysdeps/wordsize-64/mkostemp.c: File removed.
38992 * sysdeps/wordsize-64/mkstemp.c: File removed.
38993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38994 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38995 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38996 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38997
09c0ee5f
RM
38998 [BZ #14138]
38999 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39000 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39001 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39002 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39003
39004 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39005 compat_symbol macros from <shlib-compat.h> rather than the underlying
39006 default_symbol_version and symbol_version macros, so that DEFAULT
39007 lines in shlib-versions are respected.
39008 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39009
7e66ee51
FW
390102012-08-01 Florian Weimer <fweimer@redhat.com>
39011
39012 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39013 Declare with warn_unused_result.
39014 (setgid, setregid, setegid, setresgid): Likewise.
39015 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39016 Likewise.
39017 * WUR-REPORT: Remove set*id functions.
39018
d2a54255
PT
390192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39020
39021 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39022
7ecdb005
RM
390232012-07-31 Roland McGrath <roland@hack.frob.com>
39024
b4180a5e 39025 [BZ #10191]
789bd351
RM
39026 * include/sys/socket.h (__libc_accept, __libc_accept4):
39027 Add attribute_hidden.
39028 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39029
40ce302d
RM
39030 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39031 use of PTR_MANGLE.
39032 * inet/getnetgrent_r.c (setup): Likewise.
39033
7ecdb005
RM
39034 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39035
e2eabb2c
DM
390362012-07-31 David S. Miller <davem@davemloft.net>
39037
39038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39039
d0419dbf
JM
390402012-07-31 Joseph Myers <joseph@codesourcery.com>
39041
39042 [BZ #13629]
39043 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39044 value between 1.0 and 2.0 and smaller part has absolute value less
39045 than 1.0.
39046 * math/s_clog10.c (__clog10): Likewise.
39047 * math/s_clog10f.c (__clog10f): Likewise.
39048 * math/s_clog10l.c (__clog10l): Likewise.
39049 * math/s_clogf.c (__clogf): Likewise.
39050 * math/s_clogl.c (__clogl): Likewise.
39051 * math/libm-test.inc (clog_test): Add more tests.
39052 (clog10_test): Likewise.
39053 * sysdeps/i386/fpu/libm-test-ulps: Update.
39054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39055
2bc13872
FW
390562012-07-31 Florian Weimer <fweimer@redhat.com>
39057
39058 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39059 Exit with zero in case no suitable GID is found, and write a
39060 message to standard error.
39061
bea9b193
RM
390622012-07-30 Roland McGrath <roland@hack.frob.com>
39063
39064 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39065 rather than to 1.
39066 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39067 (MAXPATHLEN): Removed.
39068 (NOGROUP, NODEV): New macros.
39069 (setbit, clrbit, isset, isclr): New macros.
39070 (howmany, roundup, powerof2): New macros.
39071 (DEV_BSIZE): New macro.
39072
39073 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39074 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39075
39076 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39077 definition on [!__NO_LONG_DOUBLE_MATH].
39078
39079 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39080 PTR_MANGLE and PTR_DEMANGLE.
39081
39082 * socket/accept4.c (accept4): Rename to __libc_accept4.
39083 Define accept4 as a weak alias.
39084
39085 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39086 on [_DIRENT_HAVE_D_TYPE].
39087 * io/ftw.c (ftw_dir): Likewise.
39088
39089 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39090
39091 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39092
39093 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39094 Use the BSD numbers rather than the arbitrary ones we had.
39095 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39096 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39097 (SIGXCPU, SIGXFSZ): New macros.
39098 (_NSIG): Now 32.
39099
39100 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39101 initializer on [_LIBC_REENTRANT].
39102
39103 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39104 definitions inside [_POSIX_MAPPED_FILES].
39105
39106 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39107
39108 * dirent/opendir.c: Include <fcntl.h>.
39109
39110 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39111 (__libc_getspecific): Likewise.
39112 (__libc_key_create): Likewise.
39113
39114 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39115 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39116 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39117 (tmpfile64): Define as alias.
39118 * sysdeps/wordsize-64/tmpfile.c: File removed.
39119 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39120 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39122
39123 * stdio-common/vfscanf.c: Include <stdbool.h>.
39124 * nss/makedb.c: Likewise.
39125 * stdio-common/_i18n_number.h: Likewise.
39126 * argp/argp-help.c: Likewise.
39127 * posix/wordexp.c: Likewise.
39128 * sysdeps/posix/spawni.c: Likewise.
39129 * nss/nss_files/files-initgroups.c: Likewise.
39130 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39131 * nss/nss_files/files-initgroups.c: Likewise.
39132 * nss/nss_db/db-netgrp.c: Likewise.
39133 * nss/nss_db/db-initgroups.c: Likewise.
39134 * io/fchmodat.c: Include <sys/stat.h>.
39135
39136 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39137 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39138
39139 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39140 [HAVE_MMAP].
39141
39142 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39143 Add multiple inclusion protection.
39144
e5abc686
DM
391452012-07-27 David S. Miller <davem@davemloft.net>
39146
39147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39148
815e6fa3
GB
391492012-07-27 Gary Benson <gbenson@redhat.com>
39150
39151 [BZ #14298]
39152 * elf/rtld.c: Include <stap-probe.h>.
39153 (dl_main): Added static probes "init_start" and "init_complete".
39154 * elf/dl-load.c: Include <stap-probe.h>.
39155 (lose): Take new parameter "nsid".
39156 Added static probe "map_failed".
39157 (_dl_map_object_from_fd): Pass namespace id to lose.
39158 Added static probe "map_start".
39159 (open_verify): Pass namespace id to lose.
39160 * elf/dl-open.c: Include <stap-probe.h>.
39161 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39162 and "reloc_complete".
39163 * elf/dl-close.c: Include <stap-probe.h>.
39164 (_dl_close_worker): Added static probes "unmap_start" and
39165 "unmap_complete".
39166 * elf/rtld-debugger-interface.txt: New file documenting the above.
39167
9f98c16c
RM
391682012-07-26 Roland McGrath <roland@hack.frob.com>
39169
39170 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39171 rather than a string variable.
39172 * sunrpc/rpc_main.c (h_output): Likewise.
39173 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39174
f3c22df3
PT
391752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39176
39177 * inet/check_native.c: New file.
39178
3129cfc6
JM
391792012-07-26 Joseph Myers <joseph@codesourcery.com>
39180
da865e95
JM
39181 [BZ #13629]
39182 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39183 if larger part has absolute value 1.0.
39184 * math/s_clog10.c (__clog10): Likewise.
39185 * math/s_clog10f.c (__clog10f): Likewise.
39186 * math/s_clog10l.c (__clog10l): Likewise.
39187 * math/s_clogf.c (__clogf): Likewise.
39188 * math/s_clogl.c (__clogl): Likewise.
39189 * math/libm-test.inc (clog_test): Add more tests.
39190 (clog10_test): Likewise.
39191 * sysdeps/i386/fpu/libm-test-ulps: Update.
39192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39193
3129cfc6
JM
39194 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39195 (pltexit): Likewise.
39196 (La_regs): Likewise.
39197 (La_retval): Likewise.
39198 (int_retval): Likewise.
39199 Update #error for removed macros to refer only to definitions in
39200 tst-audit.h.
39201 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39202 macro.
39203 (pltexit): Likewise.
39204 (La_regs): Likewise.
39205 (La_retval): Likewise.
39206 (int_retval): Likewise.
39207 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39208 macro.
39209 (pltexit): Likewise.
39210 (La_regs): Likewise.
39211 (La_retval): Likewise.
39212 (int_retval): Likewise.
39213 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39214 macro.
39215 (pltexit): Likewise.
39216 (La_regs): Likewise.
39217 (La_retval): Likewise.
39218 (int_retval): Likewise.
39219 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39220 macro.
39221 (pltexit): Likewise.
39222 (La_regs): Likewise.
39223 (La_retval): Likewise.
39224 (int_retval): Likewise.
39225 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39226 macro.
39227 (pltexit): Likewise.
39228 (La_regs): Likewise.
39229 (La_retval): Likewise.
39230 (int_retval): Likewise.
39231 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39232 macro.
39233 (pltexit): Likewise.
39234 (La_regs): Likewise.
39235 (La_retval): Likewise.
39236 (int_retval): Likewise.
39237 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39238 macro definitions in tst-audit.h.
39239 * sysdeps/i386/tst-audit.h: New file.
39240 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39241 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39242 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39243 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39244 * sysdeps/sh/tst-audit.h: Likewise.
39245 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39246 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39247 * sysdeps/x86_64/tst-audit.h: Likewise.
39248
bfc07087
AJ
392492012-07-26 Andreas Jaeger <aj@suse.de>
39250
b1b2aaf8
AJ
39251 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39252 ptrace.
39253
39254 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39255 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39256 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39257 PTRACE_O_MASK.
39258 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39259 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39260 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39261
bfc07087
AJ
39262 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39263 value.
39264
39265 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39266 _sigsys.
39267 (si_call_addr, si_syscall, si_arch): Define new macro.
39268 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39269 _sigsys.
39270 (si_call_addr, si_syscall, si_arch): Define new marcro.
39271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39272 _sigsys.
39273 (si_call_addr, si_syscall, si_arch): Define new macro.
39274 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39275 _sigsys.
39276 (si_call_addr, si_syscall, si_arch): Define new macro.
39277
89b4b02f
JM
392782012-07-25 Joseph Myers <joseph@codesourcery.com>
39279
39280 [BZ #13717]
39281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39282 Change to 2.4.21 where previously 2.4.1.
39283 * sysdeps/unix/sysv/linux/configure: Regenerated.
39284 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39285 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39286 Linux kernel version.
39287 (__ASSUME_STD_AUXV): Remove.
39288 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39289 kernel version.
39290 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39291 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39292 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39293 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39294 (__ASSUME_NETLINK_SUPPORT): Likewise.
39295 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39296 (__no_netlink_support): Remove conditional definition.
39297 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39298 Remove.
39299 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39300 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39301 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39302 (if_nameindex_ioctl): Remove.
39303 (if_nameindex_netlink): Do not handle __no_netlink_support.
39304 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39305 code.
39306 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39307 Remove conditional code.
39308 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39309 code.
39310 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39311 unconditional.
39312 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39313 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39314 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39315 Remove.
39316 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39317 [!__ASSUME_STD_AUXV]: Remove conditional code.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39319 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39320 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39322 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39323 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39324 code.
39325 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39327 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39328 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39329 conditional code.
39330 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39332 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39333 code.
39334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39335 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39336 conditional code.
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39338 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39339 code unconditional.
39340 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39341 conditional code.
39342 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39343 unconditional.
39344 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39345 conditional code.
39346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39347 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39348 unconditional.
39349 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39350 conditional code.
39351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39352 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39353 code unconditional.
39354 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39355 conditional code.
39356 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39357 unconditional.
39358 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39359 conditional code.
39360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39361 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39362 code unconditional.
39363 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39364 conditional code.
39365 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39366 unconditional.
39367 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39368 conditional code.
39369
842a39cd
AS
393702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39371
39372 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39373 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39374 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39375 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39376 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39377 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39378 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39379 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39380 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39381 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39382 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39383 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39384 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39385 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39386 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39387 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39388 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39389 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39390 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39391 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39392 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39393 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39395
84b3fd84
FW
393962012-07-25 Florian Weimer <fweimer@redhat.com>
39397
39398 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39399 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39400 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39401 Introduce __libc_secure_getenv.
0c7936d5
FW
39402 * stdlib/Versions (2.17): Add secure_getenv
39403 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39404 * stdlib/secure-getenv.c: Rename __secure_getenv to
39405 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39406 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39407 * stdlib/tst-secure-getenv.c: New.
39408 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39409 * manual/startup.texi (Environment Access): Document
39410 secure_getenv.
84b3fd84
FW
39411 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39412 __libc_secure_getenv.
39413 * inet/ruserpass.c (ruserpass): Likewise.
39414 * malloc/mtrace.c (mtrace): Likewise.
39415 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39416 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39417 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39418 * sysdeps/posix/tempname.c: Likewise. Evaluate
39419 HAVE_SECURE_GETENV.
39420 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39421 __secure_getenv to __libc_secure_getenv.
84b3fd84 39422 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39424 Likewise.
39425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39426 Likewise.
39427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39434
56e49b71
JM
394352012-07-25 Joseph Myers <joseph@codesourcery.com>
39436
39437 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39438 (struct La_i86_retval): Likewise.
39439 (struct La_x86_64_regs): Likewise.
39440 (struct La_x86_64_retval): Likewise.
39441 (struct La_x32_regs): Likewise.
39442 (struct La_x32_retval): Likewise.
39443 (struct La_ppc32_regs): Likewise.
39444 (struct La_ppc32_retval): Likewise.
39445 (struct La_ppc64_regs): Likewise.
39446 (struct La_ppc64_retval): Likewise.
39447 (struct La_sh_regs): Likewise.
39448 (struct La_sh_retval): Likewise.
39449 (struct La_s390_32_regs): Likewise.
39450 (struct La_s390_32_retval): Likewise.
39451 (struct La_s390_64_regs): Likewise.
39452 (struct La_s390_64_retval): Likewise.
39453 (struct La_sparc32_regs): Likewise.
39454 (struct La_sparc32_retval): Likewise.
39455 (struct La_sparc64_regs): Likewise.
39456 (struct La_sparc64_retval): Likewise.
39457 (struct audit_ifaces): Remove architecture-specific pltenter and
39458 pltexit members.
39459 * sysdeps/i386/ldsodefs.h: New file.
39460 * sysdeps/powerpc/ldsodefs.h: Likewise.
39461 * sysdeps/s390/ldsodefs.h: Likewise.
39462 * sysdeps/sh/ldsodefs.h: Likewise.
39463 * sysdeps/sparc/ldsodefs.h: Likewise.
39464 * sysdeps/x86_64/ldsodefs.h: Likewise.
39465
354691b7
MP
394662012-07-25 Marek Polacek <polacek@redhat.com>
39467
39468 [BZ #6808]
39469 * math/libm-test.inc (yn_test): Add another test.
39470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39471 to ERANGE when the result is +-Inf.
39472 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39473 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39474 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39475 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39476
bf9e2071
JM
394772012-07-24 Joseph Myers <joseph@codesourcery.com>
39478
39479 * conform/data/time.h-data (NULL): Use macro-constant. Require
39480 equal to 0.
39481 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39482 clock_t.
39483 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39484
57633811
TS
394852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39486
39487 * configure.in <sysdeps resolving>: Correct printing
39488 Implies_before.
39489 * configure: Regenerate.
39490
c23c33b0
TS
394912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39492
39493 * math/w_ilogb.c: Include <limits.h>.
39494 * math/w_ilogbl.c: Likewise.
39495
b5982523
JM
394962012-07-20 Joseph Myers <joseph@codesourcery.com>
39497
39498 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39499 va_copy. Document allowing for unavailable va_copy only as
39500 pre-C99 compatibility.
39501 * manual/string.texi (Copying and Concatenation): Use va_copy
39502 instead of __va_copy in concat example.
39503
ac4ea442
PT
395042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39505
39506 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39507 (__sendto): Use create_address_port. Initialize APORT and deallocate
39508 it if not null.
39509
f98eafbd
PT
39510 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39511 with O_NOLINK passed to __file_name_lookup.
39512
898c7aab
PT
39513 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39514 with O_NOLINK passed to __file_name_lookup.
39515
0ced335a
PT
39516 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39517 negative N or less than NGIDS.
39518
b3404dbd
PT
39519 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39520 type to string_t. Set ERANGE as errno and return it if NAME is not big
39521 enough. Use memcpy instead of strncpy.
39522
0f48659e
JM
395232012-07-20 Joseph Myers <joseph@codesourcery.com>
39524
39525 * elf/Makefile (check-data): Remove.
39526 (localplt.data): New vpath directive.
39527 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39528 instead of $(check-data).
39529 * scripts/data/localplt-generic.data: Move to ...
39530 * sysdeps/generic/localplt.data: ... here.
39531 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39532 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39533 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39535 ... here.
39536 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39538 ... here.
39539 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39541 ... here.
39542 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39544 ... here.
39545 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39547 ... here.
39548 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39550 ... here.
39551
d37cbdaa
AZ
395522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39553
39554 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39555 PPC32 and PPC64 files.
39556 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39557 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39558
46f85fc2
AK
395592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39560
39561 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39562 __makecontext_ret to ...
39563 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39564 ... here and call exit if uc_link is NULL. New file.
39565 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39566 __makecontext_ret.S.
39567 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39568 __makecontext_ret to ...
39569 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39570 ... here and call exit if uc_link is NULL. New file.
39571 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39572 __makecontext_ret.S.
39573
08f43f9b
AK
395742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39575
39576 * elf/elf.h (R_390_IRELATIVE): New definition.
39577 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39578 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39579 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39580 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39581 (elf_machine_lazy_rel): Likewise.
39582 * sysdeps/s390/dl-irel.h: New file.
39583 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39584 * sysdeps/s390/s390-64/memset.S: New asm code.
39585 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39586 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39587 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39588 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39589 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39590 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39592 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39593 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39594 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39595 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39596 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39597 * sysdeps/s390/s390-32/memset.S: New asm code.
39598 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39599
3b05db33
MP
396002012-07-17 Marek Polacek <polacek@redhat.com>
39601
39602 [BZ #14349]
39603 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39604 * sysdeps/s390/s390-64/configure.in: Likewise.
39605 * sysdeps/sparc/configure.in: Likewise.
39606 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39607 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39608 * sysdeps/i386/configure.in: Likewise.
39609 * sysdeps/x86_64/configure.in: Likewise.
39610 * sysdeps/sh/configure.in: Likewise.
39611 * sysdeps/s390/s390-32/configure: Regenerated.
39612 * sysdeps/s390/s390-64/configure: Likewise.
39613 * sysdeps/x86_64/configure: Likewise.
39614 * sysdeps/sh/configure: Likewise.
39615 * sysdeps/powerpc/powerpc64/configure: Likewise.
39616 * sysdeps/powerpc/powerpc32/configure: Likewise.
39617 * sysdeps/sparc/configure: Likwise.
39618 * sysdeps/i386/configure: Likewise.
39619
a66877c6
MP
39620 * elf/dl-open.c: Comment fixes.
39621
cfc82fd8
JM
396222012-07-17 Joseph Myers <joseph@codesourcery.com>
39623
bd29910a
JM
39624 * Makefile [CXX] (check-data): Remove.
39625 [CXX] (c++-types.data): New vpath directive.
39626 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39627 vpath. Do not allow for C++ type data being missing.
39628 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39629 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39630 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39631 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39632 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39633 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39634 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39636 ... here.
39637 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39639 ... here.
39640 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39642 ... here.
39643 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39645 ... here.
39646 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39648 ... here.
39649 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39651 ... here.
39652 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39654 ... here.
39655 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39657
cfc82fd8
JM
39658 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39659 definitions to architecture-specific files.
39660 (TLS_IE): Likewise.
39661 (TLS_LD): Likewise.
39662 (TLS_GD): Likewise.
39663 * sysdeps/i386/tls-macros.h: New file.
39664 * sysdeps/powerpc/tls-macros.h: Likewise.
39665 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39666 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39667 * sysdeps/sh/tls-macros.h: Likewise.
39668 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39669 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39670 * sysdeps/x86_64/tls-macros.h: Likewise.
39671
f7db3170
TS
396722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39673
07cbfc23
TS
39674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39675 zero value for regular exit case.
39676
f7db3170
TS
39677 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39678 (__start_context): Preserve zero value for regular exit case.
39679
dc97c227
TS
396802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39681 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39682
39683 * manual/setjmp.texi (setcontext): Clarify normal process
39684 termination when uc_link is the null pointer.
39685 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39686 exit call.
39687
d0cd7d02
AS
396882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39689
39690 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39691 preprocessor. Test for each exception mask separately.
39692
dd318934
AJ
396932012-07-16 Andreas Jaeger <aj@suse.de>
39694
39695 * po/ru.po: Update from translation team.
39696
8048311a
JM
396972012-07-15 Joseph Myers <joseph@codesourcery.com>
39698
39699 * conform/data/string.h-data (NULL): Use macro-constant. Require
39700 equal to 0.
39701 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39702 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39703 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39704 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39706
b637d46e
AJ
397072012-07-13 Andreas Jaeger <aj@suse.de>
39708
39709 * po/fr.po: Update from translation team.
39710
541428fe
MP
397112012-07-12 Marek Polacek <polacek@redhat.com>
39712
39713 [BZ #14173]
39714 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39715 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39716 loop condition.
39717
ec332e94
JM
397182012-07-12 Joseph Myers <joseph@codesourcery.com>
39719
39720 [BZ #13717]
39721 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39722 Change to 2.4.1 where previously 2.4.0.
39723 * sysdeps/unix/sysv/linux/configure: Regenerated.
39724 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39725 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39726 version.
39727 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39728 (__ASSUME_AT_CLKTCK): Remove.
39729 (__ASSUME_AT_PAGESIZE): Likewise.
39730 (__ASSUME_AT_XID): Likewise.
39731 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39732 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39733 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39734 unconditionally.
39735 (HAVE_AUX_PAGESIZE): Likewise.
39736 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39737 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39738 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39739
7b6e99be
JB
397402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39741
39742 [BZ #14307]
39743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39744 the temporary buffer used to invoke __gethostbyname2_r,
39745 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39746 host_data / struct gaih_addrtuple.
39747 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39748 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39749 header file nss/nsswitch.h.
39750 * nss/nsswitch.h (global scope): Add definition of implementation
39751 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39752 resolv/nss_dns/dns-host.c).
39753
608404eb
AJ
397542012-07-11 Andreas Jaeger <aj@suse.de>
39755
39756 * po/fr.po: Update from translation team.
39757
71220aca
AJ
39758 * po/sv.po: Update from translation team
39759 * po/fr.po: Another update from translation team.
39760
28cfe843
AZ
397612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39762
39763 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39764 for subnormals or multiply small sinh result by itself.
39765 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39767
6b90f981
DM
397682012-07-11 David S. Miller <davem@davemloft.net>
39769
39770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39771
c6825772
AS
397722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39773
39774 [BZ #14347]
39775 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39776 (INTERNAL_MARK): Shift it here.
39777
7b8e0d49
MP
397782012-07-10 Marek Polacek <polacek@redhat.com>
39779
39780 [BZ #14151]
39781 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39782 libc_cv_asm_global_directive with .globl.
39783 * configure: Regenerated.
39784 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39785 with .globl.
39786 * sysdeps/i386/configure: Regenerated.
39787 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39788 with .globl.
39789 * sysdeps/x86_64/configure: Regenerated.
39790 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39791 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39792 * elf/tst-unique2mod2.c: Likewise.
39793 * elf/tst-unique2mod1.c: Likewise.
39794 * elf/tst-unique1mod2.c: Likewise.
39795 * elf/tst-unique1mod1.c: Likewise.
39796 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39797 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39800 * sysdeps/mach/sysdep.h: Likewise.
39801 * sysdeps/i386/sysdep.h: Likewise.
39802 * sysdeps/i386/i386-mcount.S: Likewise.
39803 * sysdeps/x86_64/_mcount.S: Likewise.
39804 * sysdeps/x86_64/sysdep.h: Likewise.
39805 * sysdeps/sh/_mcount.S: Likewise.
39806 * sysdeps/sh/sysdep.h: Likewise.
39807 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39808 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39809 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39810 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39811 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39812 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39813 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39814 * locale/localeinfo.h: Likewise.
39815 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39816 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39817
6c55cda3
RM
398182012-07-09 Roland McGrath <roland@hack.frob.com>
39819
39820 [BZ #14336]
39821 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39822 system".
39823 * manual/message.texi (The Uniforum approach): Likewise.
39824 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39825 (glibc iconv Implementation): Likewise.
39826
638a572e
JM
398272012-07-09 Joseph Myers <joseph@codesourcery.com>
39828
39829 [BZ #14337]
39830 * math/s_clog.c (__clog): Avoid scaling a value down where that
39831 could result in underflow.
39832 * math/s_clog10.c (__clog10): Likewise.
39833 * math/s_clog10f.c (__clog10f): Likewise.
39834 * math/s_clog10l.c (__clog10l): Likewise.
39835 * math/s_clogf.c (__clogf): Likewise.
39836 * math/s_clogl.c (__clogl): Likewise.
39837 * math/libm-test.inc (clog_test): Add more tests.
39838 (clog10_test): Likewise.
39839 * sysdeps/i386/fpu/libm-test-ulps: Update.
39840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39841
261f4859
AS
398422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39843
0abaf3e4
AS
39844 [BZ #14283]
39845 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39846 by 7 not 8 to examine high bit of fractional part.
39847
261f4859
AS
39848 [BZ #14042]
39849 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39850 for call to __mcount_internal.
39851 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39852 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39853 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39854
f17ac40d
JM
398552012-07-06 Joseph Myers <joseph@codesourcery.com>
39856
9ad63c23
JM
39857 [BZ #14154]
39858 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39859 approximation for values within 0x1p-13f of an odd multiple of
39860 pi/4.
39861 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39862 exception. Add more tests.
39863 * sysdeps/i386/fpu/libm-test-ulps: Update.
39864
f17ac40d
JM
39865 [BZ #6778]
39866 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39867 inputs and return -1 for them. Do not check for +Inf in case not
39868 reachable for +Inf.
39869 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39870 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39872 and return -1 for them. Do not check for +Inf in case not
39873 reachable for +Inf.
39874 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39875 define.
39876 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39877 and return -1 for them. Do not check for +Inf in case not
39878 reachable for +Inf.
39879 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39880 spurious underflow.
39881 * sysdeps/i386/fpu/libm-test-ulps: Update.
39882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39883
fb21f89b
MF
398842012-07-06 Mike Frysinger <vapier@gentoo.org>
39885
39886 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39887
cdfe2c5e
JM
398882012-07-05 Joseph Myers <joseph@codesourcery.com>
39889
39890 [BZ #14157]
39891 [BZ #14331]
39892 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39893 could result in spurious underflow. Scale down values above
39894 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39895 * math/s_csqrtf.c (__csqrtf): Likewise.
39896 * math/s_csqrtl.c (__csqrtl): Likewise.
39897 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39898 spurious underflow.
39899 * sysdeps/i386/fpu/libm-test-ulps: Update.
39900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39901
70d35b67
AS
399022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39903
704bc459
AS
39904 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39905 xopen-msg.sed.
39906 * catgets/xopen-msg.awk: New file.
39907 * catgets/xopen-msg.sed: Removed.
39908
70d35b67
AS
39909 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39910 po2text.sed.
39911 * intl/po2test.awk: New file.
39912 * intl/po2test.sed: Removed.
39913
ca61cf32
JM
399142012-07-04 Joseph Myers <joseph@codesourcery.com>
39915
39916 [BZ #14328]
39917 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39918 or multiply small sinh result by itself.
39919 * math/s_ctanf.c (__ctanf): Likewise.
39920 * math/s_ctanh.c (__ctanh): Likewise.
39921 * math/s_ctanhf.c (__ctanhf): Likewise.
39922 * math/s_ctanhl.c (__ctanhl): Likewise.
39923 * math/s_ctanl.c (__ctanl): Likewise.
39924 * math/libm-test.inc (ctan_test_tonearest): New function.
39925 (ctan_test_towardzero): Likewise.
39926 (ctan_test_downward): Likewise.
39927 (ctan_test_upward): Likewise.
39928 (ctanh_test_tonearest): Likewise.
39929 (ctanh_test_towardzero): Likewise.
39930 (ctanh_test_downward): Likewise.
39931 (ctanh_test_upward): Likewise.
39932 (main): Call these new functions.
39933 * sysdeps/i386/fpu/libm-test-ulps: Update.
39934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39935
ca48a46a
MF
399362012-07-03 Mike Frysinger <vapier@gentoo.org>
39937
39938 * .gitignore: Delete /ports entry.
39939
9d63d37d
AJ
399402012-07-03 Andreas Jaeger <aj@suse.de>
39941
39942 * po/bg.po: Update from translation team.
39943 * po/cs.po: Likewise.
39944 * po/de.po: Likewise.
39945 * po/hr.po: Likewise.
39946 * po/nl.pl: Likewise.
39947 * po/pl.po: Likewise.
39948 * po/vi.po: Likewise.
39949
370ca3d2
JM
399502012-07-03 Joseph Myers <joseph@codesourcery.com>
39951
95f5a9a8
JM
39952 * Makeconfig [!+link] (+link-before-libc): New variable.
39953 [!+link] (+link-after-libc): Likewise.
39954 [!+link] (+link-tests): Likewise.
39955 [!+link] (+link): Define in terms of $(+link-before-libc) and
39956 $(+link-after-libc).
39957 [!+link-static] (+link-static-before-libc): New variable.
39958 [!+link-static] (+link-static-after-libc): Likewise.
39959 [!+link-static] (+link-static-tests): Likewise.
39960 [!+link-static] (+link-static): Define in terms of
39961 $(+link-static-before-libc) and $(+link-static-after-libc).
39962 [build-shared] (link-libc-before-gnulib): New variable.
39963 [build-shared] (link-libc-tests): Likewise.
39964 [build-shared] (link-libc): Define in terms of
39965 $(link-libc-before-gnulib).
39966 [!build-shared] (link-libc-tests): New variable.
39967 (link-libc-static-tests): New variable.
39968 [!gnulib] (gnulib-arch): New variable.
39969 [!gnulib] (gnulib-tests): Likewise.
39970 [!gnulib] (static-gnulib-arch): Likewise.
39971 [!gnulib] (static-gnulib-tests): Likewise.
39972 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39973 Define with "=" instead of ":=".
39974 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39975 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39976 * Rules (binaries-all-notests): New variable.
39977 (binaries-all-tests): Likewise.
39978 (binaries-static-notests): Likewise.
39979 (binaries-static-tests): Likewise.
39980 (binaries-all): Define using $(binaries-all-notests) and
39981 $(binaries-all-tests).
39982 (binaries-static): Define using $(binaries-static-notests) and
39983 $(binaries-static-tests).
39984 (binaries-shared-tests): New variable.
39985 (binaries-shared-notests): Likewise.
39986 (binaries-shared): Remove variable.
39987 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39988 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39989 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39990 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39991 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39992 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39993 * elf/Makefile (sln-modules): New variable.
39994 (extra-objs): Add $(sln-modules:=.o).
39995 (ldconfig-modules): Add static-stubs.
39996 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39997 * elf/static-stubs.c: New file.
39998
7a845b2c
JM
39999 [BZ #14283]
40000 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40001 by 7 not 8 to examine high bit of fractional part. Use volatile
40002 variables when splitting into final array of floats if
40003 __FLT_EVAL_METHOD__ != 0.
40004 * math/libm-test.inc (cos_test): Add another test.
40005 (sin_test): Likewise.
40006 * sysdeps/i386/fpu/libm-test-ulps: Update.
40007
e2283f38
JM
40008 [BZ #14273]
40009 * math/libm-test.inc (cosh_test): Add more tests.
40010
370ca3d2
JM
40011 * version.h (RELEASE): Set to "development".
40012 (VERSION): Set to "2.16.90".
40013
ee9247c3
CD
400142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40015
40016 * NEWS: Update copyright. Remove last-updated date.
40017 Mention math library bug fixes and timezone data changes.
40018 * README: Mention GNU/Hurd, x32, and HPPA support status.
40019
4648c381
TS
400202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40021
40022 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40023
aac78a43
AJ
400242012-06-27 Andreas Jaeger <aj@suse.de>
40025
40026 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40027
ed3dbfad
AJ
400282012-06-25 Andreas Jaeger <aj@suse.de>
40029
40030 * sysdeps/s390/fpu/libm-test-ulps: Update.
40031
4d0ee855
AS
400322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40033 Thomas Schwinge <thomas@codesourcery.com>
40034
40035 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40036 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40038 fanotify_mark.
40039
af1bce34
TS
400402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40041
a9fa33ba
TS
40042 * sysdeps/mach/start.c: Remove file.
40043 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40044 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40045 * sysdeps/sh/init-first.c: Likewise.
40046
58f902b8
TS
40047 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40048 registers for frame unwinding purposes, add CFI directives.
40049 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40051 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40052 Likewise.
40053
1518f58b
TS
40054 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40055 __fortify_fail returning.
40056 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40057
db9b5059
TS
40058 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40059 sysdeps/sh/____longjmp_chk.S.
40060 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40061 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40062 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40063 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40064
967705fe
TS
40065 * sysdeps/sh/abort-instr.h: New file.
40066 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40067 process in case exit returns.
40068
a9def8c4
TS
40069 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40070 initialize the GOT register before use.
40071
2a649725
TS
40072 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40073 calculation of ARGC > 4.
40074
af1bce34
TS
40075 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40076 meaningful names to some local labels.
40077
d230f50a
KK
400782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40079 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40080
40081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40082 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40083 (__arch_compare_and_exchange_val_16_acq): Likewise.
40084 (__arch_compare_and_exchange_val_32_acq): Likewise.
40085 (atomic_exchange_and_add): Fix gUSA sequence.
40086 (atomic_add): Likewise.
40087 (atomic_add_negative): Likewise.
40088 (atomic_add_zero): Likewise.
40089 (atomic_bit_test_set): Likewise.
40090
0479b305
AS
400912012-06-22 Andreas Schwab <schwab@redhat.com>
40092
40093 [BZ #13579]
40094 * include/link.h (struct link_map): Add l_free_initfini.
40095 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40096 l_initfini.
40097 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40098 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40099 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40100 set.
40101
0e3933b9
CD
401022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40103
40104 * configure.in: Use AC_LANG_SOURCE.
40105 * configure: Regenerate.
40106
4248b1b1
RM
401072012-06-22 Roland McGrath <roland@hack.frob.com>
40108
40109 * configure.in (libc_cv_localstatedir): New substituted variable.
40110 * configure: Regenerated.
40111 * config.make.in (localstatedir): New variable, substituted from
40112 libc_cv_localstatedir.
40113 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40114 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40115 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40116 * sysdeps/gnu/configure: Regenerated.
40117
006dd861
JL
401182012-06-21 Jeff Law <law@redhat.com>
40119
40120 [BZ #14277]
40121 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40122 free. Simplify list management for _LIBC case.
40123
79662d42
JM
401242012-06-21 Joseph Myers <joseph@codesourcery.com>
40125
b7abb4bf
JM
40126 [BZ #14273]
40127 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40128 Clear sign bit of 64-bit integer value before comparing against
40129 overflow value.
40130
79662d42
JM
40131 * sysdeps/mach/configure: Regenerated.
40132
1f150908
L
401332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40134
40135 [BZ #14278]
40136 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40137
28363bbf
JL
401382012-06-21 Jeff Law <law@redhat.com>
40139
40140 [BZ #13882]
40141 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40142 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40144 * elf/dl-open.c (dl_open_worker): Likewise.
40145
09615db4
CD
401462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40147
40148 * scripts/list-sources.sh: Scan PORTS for translations.
40149 * po/libc.pot: Regenerated.
40150
2174c6dd
AJ
401512012-06-21 Andreas Jaeger <aj@suse.de>
40152
40153 [BZ #12194]
40154 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40155 warning.
40156 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40157 * bits/byteswap-16.h (__bswap_16): Likewise.
40158 * bits/byteswap.h (__bswap_constant_16): Likewise.
40159
3ee947b1
L
401602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40161
40162 [BZ #14117]
a2f34833
L
40163 * sysdeps/i386/fpu_control.h: Removed.
40164 * sysdeps/x86_64/fpu_control.h: Moved to ...
40165 * sysdeps/x86/fpu_control.h: Here.
40166
3ee947b1
L
40167 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40168 (_FPU_SETCW): Likewise.
40169
ed1825f8
L
401702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40171
25f1282a
L
40172 [BZ #14117]
40173 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40174 * sysdeps/x86/fpu/bits/mathinline.h: This.
40175 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40176
ed1825f8
L
40177 [BZ #14050]
40178 [BZ #14117]
40179 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40180 functions if __x86_64__ is defined.
40181
36d54b74
CLT
401822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40183
40184 * string/endian.h: Add !__ASSEMBLER__ condition for including
40185 conversion interfaces.
40186
10285c21
JM
401872012-06-15 Joseph Myers <joseph@codesourcery.com>
40188
40189 [BZ #14241]
40190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40191 of ABS(x) in calculating zero to negative powers other than odd
40192 integers.
40193 * math/libm-test.inc (pow_test): Add more tests.
40194
06c5abbd
AJ
401952012-06-15 Andreas Jaeger <aj@suse.de>
40196
40197 * manual/contrib.texi (Contributors): Update entry of Liubov
40198 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40199 Machado Filho.
40200
a3aeac40
CH
402012012-06-15 Cyril Hrubis <metan@ucw.cz>
40202
40203 * string/string.h: Add __wur to GNU version of strerror_r.
40204
49bdf4c1
L
402052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40206
40207 [BZ #14229]
40208 * string/Makefile (tests): Add tst-strtok_r.
40209 * string/tst-strtok_r.c: New file.
40210 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40211 RAX_LP/RDX_LP on SAVE_PTR.
40212
834f9b8d
RM
402132012-06-14 Roland McGrath <roland@hack.frob.com>
40214
40215 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40216
75fa1921
JM
402172012-06-14 Joseph Myers <joseph@codesourcery.com>
40218
40219 * libm_test.inc (csqrt_test): Allow more spurious underflow
40220 exceptions.
40221 (j0_test): Likewise.
40222 (j1_test): Likewise.
40223 (y0_test): Likewise.
40224 (y1_test): Likewise.
40225
771766df
CD
402262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40227
40228 * po/Makefile (libc.pot): Use UTF-8 charset.
40229
ceb9e56b
PP
402302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40231
40232 [BZ #14210]
40233 Suppress sign-conversion warning from FD_SET.
40234 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40235 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40236 not unsigned long int.
40237 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40238
ddb28975
L
402392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40240
40241 [BZ #14050]
40242 [BZ #14117]
40243 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40244 __extern_always_inline instead of __extern_inline.
40245 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40246 (__signbit): Likewise.
40247 (__signbitl): Support C++ namespace.
40248 (lrintf): New inline function.
40249 (lrint): Likewise.
40250 (llrintf): Likewise.
40251 (llrint): Likewise.
40252 (fmaxf): Likewise.
40253 (fmax): Likewise.
40254 (fminf): Likewise.
40255 (fmin): Likewise.
40256 (rint): Likewise.
40257 (rintf): Likewise.
40258 (ceil): Likewise.
40259 (ceilf): Likewise.
40260 (floor): Likewise.
40261 (floorf): Likewise.
40262 (nearbyint): Likewise.
40263 (nearbyintf): Likewise.
40264
d7b4fb26
TS
402652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40266
40267 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40268 non-default versions.
40269
eb55f5c2
RM
402702012-06-11 Roland McGrath <roland@hack.frob.com>
40271
40272 [BZ #14218]
40273 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40274
366af02c
TS
402752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40276
99ff6e5c
TS
40277 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40278 (FE_UPWARD, FE_DOWNWARD): Don't define.
40279 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40280 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40281
366af02c
TS
40282 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40283 reading it.
40284 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40285 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40286
793ea851
KK
402872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40288
40289 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40291 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40292 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40293
a728a38f
L
402942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40295
40296 [BZ #14117]
c08010c7
L
40297 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40298 * sysdeps/i386/fpu/Implies: New file.
40299 * sysdeps/x86_64/fpu/Implies: Likewise.
40300 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40301 * sysdeps/x86/fpu/bits/fenv.h: This.
40302
a728a38f
L
40303 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40304 __SSE_MATH__.
40305
6e230d11
SP
403062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40307
40308 [BZ #14134]
40309 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40310 character 0xffff that matches the last element of the
40311 conversion table.
40312
1b671feb
AZ
403132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40314
40315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40316 fmodl commit.
40317
6043738b
AZ
403182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40319
40320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40321 values higher than 25.6283.
40322
34ae0b32
AZ
403232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40324
40325 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40326 subnormal exponent extraction and add some __builtin_expect.
40327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40328 Fix for subnormal mantissa calculation.
40329
1214ec8f
MF
403302012-06-04 Mike Frysinger <vapier@gentoo.org>
40331
40332 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40333 cpu2 is -1 and errno is not ENOSYS.
40334
f3d1f93c
L
403352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40336
40337 [BZ #14117]
0e4a3cd7
L
40338 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40339 * sysdeps/x86/bits/string.h: This.
40340 * sysdeps/x86_64/bits/string.h: Removed.
40341
6704c645
L
40342 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40343 if not compiling for x86-64, but compiling for >= i486.
40344
48495318
L
40345 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40346 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40347
14adcbfc
L
40348 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40349 New macro from Linux kernel 3.4.0.
40350 (FP_XSTATE_MAGIC2): Likewise.
40351 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40352 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40353 (struct _fpx_sw_bytes): New struct.
40354 (struct _xsave_hdr): Likewise.
40355 (struct _ymmh_state): Likewise.
40356 (struct _xstate): Likewise.
40357
68e408ab
L
40358 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40359 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40360 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40361 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40362 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40363 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40364
f3d1f93c
L
40365 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40366 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40367 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40368 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40369 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40370 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40371
d9dc34cd
TMQMF
403722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40373
40374 [BZ #13743]
40375 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40376 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40377 (sysdep_headers): Include sys/platform/ppc.h.
40378 * sysdeps/powerpc/test-gettimebase.c: Test for
40379 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40380 * manual/Makefile (appendices): Include platform.texi.
40381 * manual/contrib.texi (Contributors): Update @node pointers.
40382 * manual/maint.texi (Maintenance): Likewise.
40383 (Platform): New node.
40384 * manual/platform.texi: New file. Document the new features.
40385
4af3879c
SP
403862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40387 Jakub Jelinek <jakub@redhat.com>
40388
40389 [BZ #14188]
40390 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40391 where __builtin_expect is unavailable.
40392
2fd6ff13
DM
403932012-06-03 David S. Miller <davem@davemloft.net>
40394
40395 * stdlib/longlong.h: Updated from GCC.
40396
173f7220
AS
403972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40398
40399 [BZ #14042]
40400 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40401 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40402 __mcount_internal.
40403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40404 (GLIBC_2.16): Likewise.
40405
f34a1c6f
L
404062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40407
40408 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40409
88a4576f
JM
404102012-06-01 Joseph Myers <joseph@codesourcery.com>
40411
ea32bcdd
JM
40412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40413 (default-abi): New variable.
40414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40415 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40416 variable.
40417 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40418 Likewise.
40419 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40420 Likewise.
40421 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40422 Likewise.
40423
88a4576f
JM
40424 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40425 definition. Document in comment.
40426
402fe938
DM
404272012-06-01 David S. Miller <davem@davemloft.net>
40428
40429 * stdlib/longlong.h: Updated from GCC.
40430
3553723f
L
404312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40432
40433 [BZ #14117]
3bd872c4
L
40434 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40435 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40436 sys/debugreg.h sys/io.h here.
40437 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40438 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40439 sys/io.h.
40440 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40441 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40442 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40443 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40444 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40445 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40446
3553723f
L
40447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40448 Define only if __x86_64__ is defined.
40449
4842e4fe
JM
404502012-06-01 Joseph Myers <joseph@codesourcery.com>
40451
c5bfe3d5
JM
40452 [BZ #14048]
40453 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40454 Use int64_t for variable i.
40455 * math/libm-test.inc (fmod_test): Add more tests.
40456
4842e4fe
JM
40457 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40458 z computation is not scheduled after fetestexcept.
40459 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40460 Use math_force_eval instead of asm to ensure calculation scheduled
40461 before exception test.
40462 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40463 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40464
efb73488
AJ
404652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40466
40467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40468 computation is not scheduled after fetestexcept.
40469
29bcce7c
L
404702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40471
40472 [BZ #14117]
40473 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40474 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40475
73a68f94
AZ
404762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40477
40478 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40479 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40480
67b6df78
L
404812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40482
edf2933a 40483 [BZ #14117]
ebc64a18
L
40484 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40485 <bits/wordsize.h>.
40486 (__WCHAR_MIN): Support __WORDSIZE == 64.
40487 (__WCHAR_MAX): Likewise.
40488
edf2933a
L
40489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40490 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40491
57c6cf40
L
40492 [BZ #14183]
40493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40494 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40495
67b6df78 40496 [BZ #14117]
8eb6281e
L
40497 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40498 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40499
aac639f4
L
40500 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40501 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40502
67b6df78
L
40503 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40504 Defined to 1 if __x86_64__ isn't defined.
40505 (_STAT_VER_LINUX_OLD): New.
40506 (st_atime): Remove duplicate.
40507 (st_mtime): Likewise.
40508 (st_ctime): Likewise.
40509
1c2cfe81
DM
405102012-05-31 David S. Miller <davem@davemloft.net>
40511
40512 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40513 entries.
40514
5be8418c
AS
405152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40516
e7725326
AS
40517 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40518 gen-libm-test.pl.
40519
5be8418c
AS
40520 [BZ #14132]
40521 * elf/dl-reloc.c: Include <_itoa.h>.
40522 (_dl_reloc_bad_type): Remove use of INTUSE.
40523 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40524 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40525 * stdio-common/psiginfo.c (psiginfo): Likewise.
40526 * stdio-common/psignal.c (psignal): Likewise.
40527 * string/strsignal.c (strsignal): Likewise.
40528 * include/signal.h (_sys_siglist): Declare hidden proto.
40529 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40530 INTVARDEF with libc_hidden_data_def.
40531 * stdio-common/itoa-udigits.c: Likewise.
40532 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40533 (_itoa_lower_digits_internal): Remove declaration.
40534 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40535 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40536 (_sys_sigabbrev_internal): Remove aliases.
40537 (_sys_siglist): Define hidden alias.
40538
507352f1
MT
405392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40540
40541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40542 bits/sysctl.h.
40543
42bbb1c3
L
405442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40545
40546 [BZ #14117]
6bd784b6
L
40547 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40548 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40549
8bca20f0
L
40550 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40551 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40552 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40553 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40554 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40555 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40556
f9e890a9
L
40557 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40558 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40559 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40560
471101a1
L
40561 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40562 with __addr.
40563 (insw): Likewise.
40564 (insl): Likewise.
40565 (outsb): Likewise.
40566 (outsw): Likewise.
40567 (outsl): Likewise.
40568
6451c862
L
40569 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40571 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40572
a254b8c9
L
40573 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40574 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40575 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40576 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40577 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40578 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40579
b8dfdd92
L
40580 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40581 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40582
578cd270
L
40583 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40584 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40585
de662f5f
L
40586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40588 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40589
25653439
L
40590 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40591 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40592 to ...
40593 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40594
6bad24a0
L
40595 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40596 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40597 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40598
42bbb1c3
L
40599 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40600 for x86-64.
40601 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40602
2d10d547
JM
406032012-05-31 Joseph Myers <joseph@codesourcery.com>
40604
40605 * math/math.h (M_El): Use two more decimal places.
40606 (M_LOG2El): Likewise.
40607 (M_LOG10El): Likewise.
40608 (M_LN2l): Likewise.
40609 (M_LN10l): Likewise.
40610 (M_PIl): Likewise.
40611 (M_PI_2l): Likewise.
40612 (M_PI_4l): Likewise.
40613 (M_1_PIl): Likewise.
40614 (M_2_PIl): Likewise.
40615 (M_2_SQRTPIl): Likewise.
40616 (M_SQRT2l): Likewise.
40617 (M_SQRT1_2l): Likewise.
40618
f230c29b
DM
406192012-05-31 David S. Miller <davem@davemloft.net>
40620
40621 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40622 values between float registers.
40623 * sysdeps/sparc/sparc64/memset.S: Likewise.
40624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40625
fed806c3
MF
406262012-05-31 Mike Frysinger <vapier@gentoo.org>
40627
40628 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40629 -D_FORTIFY_SOURCE=1.
40630 (CPPFLAGS-tst-longjmp_chk.c): Define.
40631 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40632 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40633 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40634 CFLAGS-tst-wchar-h.c.
40635
30917259
MP
406362012-05-31 Marek Polacek <polacek@redhat.com>
40637
40638 [BZ #14132]
40639 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40640 __endmntent_internal): Remove declaration.
40641 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40642 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40643 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40644
1c58d5dc
DM
406452012-05-30 David S. Miller <davem@davemloft.net>
40646
40647 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40648 (___Q_simulate_exceptions): Use real FP ops rather than writing
40649 into the %fsr.
40650 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40651 Likewise.
40652
7dc00e0d
L
406532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40654
40655 [BZ #14117]
0bd53985
L
40656 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40657 * sysdeps/x86/bits/xtitypes.h: This.
40658
3a257e66
L
40659 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40660 * sysdeps/x86/bits/wordsize.h: This.
40661
62f62904
L
40662 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40663 * sysdeps/x86/bits/huge_vall.h: This.
40664
404fe9d9
L
40665 * sysdeps/i386/bits/select.h: Removed.
40666 * sysdeps/x86_64/bits/select.h: Renamed to ...
40667 * sysdeps/x86/bits/select.h: This.
40668
d48d0446
L
40669 * sysdeps/i386/bits/setjmp.h: Removed.
40670 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40671 * sysdeps/x86/bits/setjmp.h: This.
40672
7dc00e0d
L
40673 * sysdeps/i386/bits/mathdef.h: Removed.
40674 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40675 * sysdeps/x86/bits/mathdef.h: This.
40676
03277f8f
AS
406772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40678
40679 [BZ #14132]
40680 * include/sys/socket.h (__connect_internal)
40681 (__libc_sa_len_internal): Remove declaration.
40682 (__connect, __libc_sa_len): Declare hidden_proto.
40683 (SA_LEN): Remove use of INTUSE.
40684 * socket/connect.c: Add libc_hidden_def.
40685 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40686 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40687 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40688 alias.
40689 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40691 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40692 of adding _internal alias.
40693
13764867
L
406942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40695
40696 [BZ #14117]
6bd97696
L
40697 * sysdeps/i386/bits/link.h: Removed.
40698 * sysdeps/i386/bits/linkmap.h: Likewise.
40699 * sysdeps/x86_64/bits/link.h: Renamed to ...
40700 * sysdeps/x86/bits/link.h: This.
40701 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40702 * sysdeps/x86/bits/linkmap.h: This.
40703
f726f0bb
L
40704 * sysdeps/i386/bits/endian.h: Removed.
40705 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40706 * sysdeps/x86/bits/endian.h: This.
40707
13764867
L
40708 * sysdeps/i386/bits/byteswap.h: Removed.
40709 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40710 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40711 * sysdeps/x86/bits/byteswap.h: This.
40712 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40713 * sysdeps/x86/bits/byteswap-16.h: This.
40714 * sysdeps/i386/Implies: Add x86.
40715 * sysdeps/x86_64/Implies: Likewise.
40716
ae251b0b
DM
407172012-05-30 David S. Miller <davem@davemloft.net>
40718
40719 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40720 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40722 (FP_TRAPPING_EXCEPTIONS): Define.
40723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40724 (FP_TRAPPING_EXCEPTIONS): Define.
40725 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40726 subnormals only when inexact has been signalled or underflow
40727 exceptions are enabled.
40728 (_FP_PACK_CANONICAL): Likewise.
40729
d5c90867
L
407302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40731
40732 [BZ #14183]
40733 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40734 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40735
63f1549e
RH
407362012-05-30 Richard Henderson <rth@twiddle.net>
40737
8d8f2279
RH
40738 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40739 with #ifndef NOT_IN_libc.
40740
63f1549e
RH
40741 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40742 marked to avoid plt entry.
40743
0ab0291b
L
407442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40745
40746 [BZ #14112]
40747 * Makeconfig (default-abi): New macro.
40748 (abi-includes): Likewise.
40749 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40750 $(abi-$(default-abi)-lib-soname) for soname if defined.
40751 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40752 abi-variants.
40753 * Makefile (installed-stubs): Likewise.
40754 * include/stubs-biarch.h: Removed.
40755 * scripts/lib-names.awk: Only handle one library at a time.
40756 * scripts/soversions.awk: Remove WORDSIZE support.
40757 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40758 entries.
40759 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40760 Removed.
40761 (syscall-list-default-condition): Likewise.
40762 (syscall-list-default-condition): Likewise.
40763 (syscall-list-includes): Likewise.
40764 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40765 syscall-list-* with abi-*. Handle undefined abi-variants.
40766 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40767 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40768 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40769 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40770 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40771 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40772 Removed.
40773 (syscall-list-32-options): Likewise.
40774 (syscall-list-32-condition): Likewise.
40775 (syscall-list-64-options): Likewise.
40776 (syscall-list-64-condition): Likewise.
40777 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40778 macro.
40779 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40780 Renamed to ...
40781 (abi-*): This.
40782 (abi-64-ld-soname): New macro.
40783 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40784 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40785 Renamed to ...
40786 (abi-*): This.
40787 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40788 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40789
4da0431d
JM
407902012-05-30 Joseph Myers <joseph@codesourcery.com>
40791
3a85279c
JM
40792 * sysdeps/unix/sysv/linux/kernel-features.h
40793 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40794 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40795 include <kernel-features.h>.
40796 [!__NR_ftruncate64]: Remove conditional code.
40797 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40798 [__NR_ftruncate64]: Make code unconditional.
40799 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40800 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40801 include <kernel-features.h>.
40802 [!__NR_ftruncate64]: Remove conditional code.
40803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40804 [__NR_ftruncate64]: Make code unconditional.
40805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40807 include <kernel-features.h>.
40808 [!__NR_ftruncate64]: Remove conditional code.
40809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40810 [__NR_ftruncate64]: Make code unconditional.
40811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40813 include <kernel-features.h>.
40814 [!__NR_ftruncate64]: Remove conditional code.
40815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40816 [__NR_ftruncate64]: Make code unconditional.
40817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40818
4da0431d
JM
40819 * configure.in (libc_cv_fpie): Weaken to a compile test using
40820 LIBC_TRY_CC_OPTION.
40821 * configure: Regenerated.
40822
11ef492c
AK
408232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40824
40825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40829 Refreshed.
40830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40836 Refreshed.
40837
d66ef399
DM
408382012-05-27 David S. Miller <davem@davemloft.net>
40839
40840 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40841 (___Q_zero): New.
40842 (__Q_simulate_exceptions): Return void. Change to simulate
40843 exceptions by writing into the %fsr.
40844 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40845 (__Qp_handle_exceptions): Likewise.
40846 (numbers): Delete.
40847 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40848 __Qp_handle_exceptions.
40849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40850 __Qp_handle_exceptions.
40851 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40852 as unused and give dummy FP_RND_NEAREST initializer.
40853 (FP_INHIBIT_RESULTS): Define.
40854 (___Q_simulate_exceptions): Update declaration.
40855 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40856 formatting.
40857 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40858 as unused and give dummy FP_RND_NEAREST initializer.
40859 (__Qp_handle_exceptions): Update declaration.
40860 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40861 formatting.
40862
04fb54b5
TS
408632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40864
40865 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40866 the temporary FPU control word.
40867 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40868 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40869 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40870 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40871 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40872 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40873 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40874 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40875 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40876 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40877 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40878
3f99608f
KK
408792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40880
40881 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40882 fields.
40883
65a4de4e
CLT
408842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40885
40886 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40887 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40888 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40889 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40890 Likewise.
40891 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40892 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40893 Likewise.
40894
15749d40
UD
408952012-05-27 Ulrich Drepper <drepper@gmail.com>
40896
40897 * po/h.po: Update from translation team.
40898
25dbcb27
AS
408992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40900
3d3f8e55
AS
40901 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40902
25dbcb27
AS
40903 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40904 handling of denormals.
40905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40906 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40907 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40908 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40909 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40912 Likewise.
40913
7ad47a80 409142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40915
40916 [BZ #14152]
40917 * math/libm-test.inc (fma_test): Don't always expect underflow
40918 exception.
40919
9c6ea9fa
SP
409202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40921
40922 [BZ #12416]
40923 * elf/tst-execstack.c: Include stackinfo.h.
40924 (do_test): Adjust test case to ensure that pthread_getattr_np
40925 behaviour remains the same after marking stack executable.
40926
a8239222
JM
409272012-05-25 Joseph Myers <joseph@codesourcery.com>
40928
40929 * sysdeps/unix/sysv/linux/kernel-features.h
40930 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40931 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40932 kernel-features.h.
40933 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40934 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40935 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40936 kernel-features.h.
40937 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40938 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40939
918b5606
L
409402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40941
40942 * configure.in: Define the default includes to being none.
40943 * configure: Regenerated.
40944
3a097cc7
RM
409452012-05-25 Roland McGrath <roland@hack.frob.com>
40946
8422c9a5
RM
40947 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40948 * sysdeps/x86_64/setjmp.S: Likewise.
40949 * sysdeps/i386/bsd-setjmp.S: Likewise.
40950 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40951 * sysdeps/i386/setjmp.S: Likewise.
40952 * sysdeps/i386/__longjmp.S: Likewise.
40953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40954 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40955
3a097cc7
RM
40956 * include/stap-probe.h: New file.
40957 * configure.in: Handle --enable-systemtap.
40958 * configure: Regenerated.
40959 * config.h.in (USE_STAP_PROBE): New #undef.
40960 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40961 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40962 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40963
21708942
JM
409642012-05-25 Joseph Myers <joseph@codesourcery.com>
40965
40966 [BZ #13717]
40967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40968 to 2.4.0 where earlier.
40969 * sysdeps/unix/sysv/linux/configure: Regenerated.
40970 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40971 <kernel-features.h>.
40972 [__ASSUME_32BITUIDS]: Make code unconditional.
40973 [!__ASSUME_32BITUIDS]: Remove conditional code.
40974 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40975 <kernel-features.h>.
40976 [__ASSUME_32BITUIDS]: Make code unconditional.
40977 [!__ASSUME_32BITUIDS]: Remove conditional code.
40978 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40979 [__ASSUME_32BITUIDS]: Make code unconditional.
40980 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40981 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40982 <kernel-features.h>.
40983 [__ASSUME_32BITUIDS]: Make code unconditional.
40984 [!__ASSUME_32BITUIDS]: Remove conditional code.
40985 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40986 <kernel-features.h>.
40987 [__ASSUME_32BITUIDS]: Make code unconditional.
40988 [!__ASSUME_32BITUIDS]: Remove conditional code.
40989 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40990 <kernel-features.h>.
40991 [__ASSUME_32BITUIDS]: Make code unconditional.
40992 [!__ASSUME_32BITUIDS]: Remove conditional code.
40993 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40994 <kernel-features.h>.
40995 [__ASSUME_32BITUIDS]: Make code unconditional.
40996 [!__ASSUME_32BITUIDS]: Remove conditional code.
40997 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40998 <kernel-features.h>.
40999 [__ASSUME_32BITUIDS]: Make code unconditional.
41000 [!__ASSUME_32BITUIDS]: Remove conditional code.
41001 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41002 <kernel-features.h>.
41003 [__ASSUME_32BITUIDS]: Make code unconditional.
41004 [!__ASSUME_32BITUIDS]: Remove conditional code.
41005 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41006 <kernel-features.h>.
41007 [__ASSUME_32BITUIDS]: Make code unconditional.
41008 [!__ASSUME_32BITUIDS]: Remove conditional code.
41009 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41010 <kernel-features.h>.
41011 [__ASSUME_32BITUIDS]: Make code unconditional.
41012 [!__ASSUME_32BITUIDS]: Remove conditional code.
41013 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41014 <kernel-features.h>.
41015 [__ASSUME_32BITUIDS]: Make code unconditional.
41016 [!__ASSUME_32BITUIDS]: Remove conditional code.
41017 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41018 <kernel-features.h>.
41019 [__ASSUME_32BITUIDS]: Make code unconditional.
41020 [!__ASSUME_32BITUIDS]: Remove conditional code.
41021 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41022 <kernel-features.h>.
41023 [__NR_setresgid] (__setresgid): Do not declare.
41024 [__ASSUME_32BITUIDS]: Make code unconditional.
41025 [!__ASSUME_32BITUIDS]: Remove conditional code.
41026 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41027 <kernel-features.h>.
41028 [__NR_setresuid] (__setresuid): Do not declare.
41029 [__ASSUME_32BITUIDS]: Make code unconditional.
41030 [!__ASSUME_32BITUIDS]: Remove conditional code.
41031 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41032 <kernel-features.h>.
41033 [__ASSUME_32BITUIDS]: Make code unconditional.
41034 [!__ASSUME_32BITUIDS]: Remove conditional code.
41035 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41036 <kernel-features.h>.
41037 [__ASSUME_32BITUIDS]: Make code unconditional.
41038 [!__ASSUME_32BITUIDS]: Remove conditional code.
41039 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41040 <kernel-features.h>.
41041 [__ASSUME_32BITUIDS]: Make code unconditional.
41042 [!__ASSUME_32BITUIDS]: Remove conditional code.
41043 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41044 <kernel-features.h>.
41045 [__ASSUME_32BITUIDS]: Make code unconditional.
41046 [!__ASSUME_32BITUIDS]: Remove conditional code.
41047 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41048 <kernel-features.h>.
41049 [__ASSUME_32BITUIDS]: Make code unconditional.
41050 [!__ASSUME_32BITUIDS]: Remove conditional code.
41051 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41052 <kernel-features.h>.
41053 [__ASSUME_32BITUIDS]: Make code unconditional.
41054 [!__ASSUME_32BITUIDS]: Remove conditional code.
41055 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41056 <kernel-features.h>.
41057 [__ASSUME_32BITUIDS]: Make code unconditional.
41058 [!__ASSUME_32BITUIDS]: Remove conditional code.
41059 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41060 <kernel-features.h>.
41061 [__ASSUME_32BITUIDS]: Make code unconditional.
41062 [!__ASSUME_32BITUIDS]: Remove conditional code.
41063 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41064 <kernel-features.h>.
41065 [__ASSUME_32BITUIDS]: Make code unconditional.
41066 [!__ASSUME_32BITUIDS]: Remove conditional code.
41067 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41068 <kernel-features.h>.
41069 [__ASSUME_32BITUIDS]: Make code unconditional.
41070 [!__ASSUME_32BITUIDS]: Remove conditional code.
41071 * sysdeps/unix/sysv/linux/kernel-features.h
41072 (__ASSUME_SETRESUID_SYSCALL): Remove.
41073 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41074 (__ASSUME_32BITUIDS): Likewise.
41075 (__ASSUME_LDT_WORKS): Likewise.
41076 (__ASSUME_O_DIRECTORY): Likewise.
41077 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41078 architecture but not kernel version.
41079 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41080 (__ASSUME_MMAP2_SYSCALL): Likewise.
41081 (__ASSUME_STAT64_SYSCALL): Likewise.
41082 (__ASSUME_IPC64): Likewise.
41083 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41084 <kernel-features.h>.
41085 [__ASSUME_32BITUIDS]: Make code unconditional.
41086 [!__ASSUME_32BITUIDS]: Remove conditional code.
41087 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41088 <kernel-features.h>.
41089 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41090 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41091 132096]: Remove conditional code.
41092 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41093 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41094 <kernel-features.h>.
41095 [__ASSUME_32BITUIDS]: Make code unconditional.
41096 [!__ASSUME_32BITUIDS]: Remove conditional code.
41097 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41098 <kernel-features.h>.
41099 [__ASSUME_32BITUIDS]: Make code unconditional.
41100 [!__ASSUME_32BITUIDS]: Remove conditional code.
41101 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41102 <kernel-features.h>.
41103 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41104 unconditional.
41105 (__setresgid): Do not declare.
41106 [__ASSUME_32BITUIDS]: Make code unconditional.
41107 [!__ASSUME_32BITUIDS]: Remove conditional code.
41108 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41109 <kernel-features.h>.
41110 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41111 unconditional.
41112 (__setresuid): Do not declare.
41113 [__ASSUME_32BITUIDS]: Make code unconditional.
41114 [!__ASSUME_32BITUIDS]: Remove conditional code.
41115 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41116 <kernel-features.h>.
41117 [__ASSUME_32BITUIDS]: Make code unconditional.
41118 [!__ASSUME_32BITUIDS]: Remove conditional code.
41119 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41120 <kernel-features.h>.
41121 [__ASSUME_32BITUIDS]: Make code unconditional.
41122 [!__ASSUME_32BITUIDS]: Remove conditional code.
41123
a386f1cc
RH
411242012-05-25 Richard Henderson <rth@twiddle.net>
41125
41126 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41127 dl_hwcap to ifunc resolver.
41128 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41129 elf_ifunc_invoke.
41130 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41131 dl_hwcap to ifunc resolver.
41132 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41133
b6550497
JM
411342012-05-24 Joseph Myers <joseph@codesourcery.com>
41135
41136 [BZ #14153]
41137 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41138 for |x| <= 2**-26, not 2**-57.
41139 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41140 exception.
41141
b0bc23a1
JL
411422012-05-24 Jeff Law <law@redhat.com>
41143
41144 * stdio-common/Makefile (tests): Add bug25.
41145 * stdio-common/bug25.c: New test.
41146
347c92e9
L
411472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41148
41149 [BZ #13576]
41150 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41151 multiple of MALLOC_ALIGNMENT in size.
41152 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41153
6bcc8b3f
JM
411542012-05-24 Joseph Myers <joseph@codesourcery.com>
41155
41156 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41157 Require >= 256.
41158 (FILENAME_MAX): Use macro-int-constant.
41159 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41160 (_IOFBF): Use macro-int-constant.
41161 (_IOLBF): Likewise.
41162 (_IONBF): Likewise.
41163 (SEEK_CUR): Likewise.
41164 (SEEK_END): Likewise.
41165 (SEEK_SET): Likewise.
41166 (TMP_MAX): Likewise.
41167 (EOF): Use macro-int-constant. Require < 0.
41168 (NULL): Use macro-constant. Require == 0.
41169 (stdin): Require type to be FILE *.
41170 (stdout): Likewise.
41171 (stderr): Likewise.
41172 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41173 macro-int-constant.
41174 (EXIT_SUCCESS): Likewise.
41175 (NULL): Use macro-constant. Require == 0.
41176 (RAND_MAX): Use macro-int-constant.
41177 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41178 [C99-based standards] (strtof): Require function.
41179 [C99-based standards] (strtold): Likewise.
41180 [C99-based standards] (strtoll): Likewise.
41181 [C99-based standards] (strtoull): Likewise.
41182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41183 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41184 [ISO || ISO99 || ISO11] (math.h): Likewise.
41185 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41186 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41188
d18ea0c5
AS
411892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41190
41191 [BZ #14132]
56d25bb8
AS
41192 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41193 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41194 * intl/dgettext.c (DCGETTEXT): Likewise.
41195 * intl/gettext.c (DCGETTEXT): Likewise.
41196 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41197 * posix/regex_internal.h (gettext): Likewise.
41198 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41199 Remove declaration.
41200 * include/argz.h (__argz_count_internal)
41201 (__argz_stringify_internal): Remove declaration.
41202 (__argz_count, __argz_stringify): Declare hidden proto.
41203 * intl/dcgettext.c: Remove use of INTDEF.
41204 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41205 * string/argz-stringify.c: Likewise.
41206 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41207 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41208 Declare hidden proto.
d18ea0c5
AS
41209 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41210 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41211 Declare hidden proto.
41212 * include/stdio.h (__asprintf_internal): Don't declare.
41213 (__asprintf): Don't define as macro. Declare hidden proto.
41214 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41215 (__fsetlocking): Declare hidden proto.
41216 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41217 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41218 hidden proto.
41219 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41220 (_IO_setlinebuf): Remove use of INTUSE.
41221 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41222 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41223 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41224 Remove declaration.
41225 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41226 (_IO_do_flush): Remove use of INTUSE.
41227 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41228 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41229 (_IO_adjust_column, _IO_least_wmarker)
41230 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41231 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41232 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41233 (_IO_default_doallocate, _IO_wdefault_doallocate)
41234 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41235 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41236 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41237 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41238 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41239 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41240 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41241 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41242 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41243 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41244 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41245 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41246 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41247 proto.
41248 (_IO_flush_all_internal, _IO_adjust_column_internal)
41249 (_IO_default_uflow_internal, _IO_default_finish_internal)
41250 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41251 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41252 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41253 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41254 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41255 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41256 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41257 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41258 (_IO_file_close_internal, _IO_file_close_it_internal)
41259 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41260 (_IO_file_init_internal, _IO_file_attach_internal)
41261 (_IO_file_fopen_internal, _IO_file_read_internal)
41262 (_IO_file_sync_internal, _IO_file_seek_internal)
41263 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41264 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41265 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41266 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41267 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41268 (_IO_list_all_internal, _IO_link_in_internal)
41269 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41270 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41271 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41272 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41273 (_IO_do_write_internal, _IO_padn_internal)
41274 (_IO_getline_info_internal, _IO_getline_internal)
41275 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41276 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41277 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41278 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41279 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41280 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41281 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41282 with libc_hidden_ver, remove use of INTUSE.
41283 * libio/genops.c: Likewise.
41284 * libio/freopen.c: Likewise.
41285 * libio/freopen64.c: Likewise.
41286 * libio/iofclose.c: Likewise.
41287 * libio/iofdopen.c: Likewise.
41288 * libio/iofflush.c: Likewise.
41289 * libio/iofflush_u.c: Likewise.
41290 * libio/iofgets.c: Likewise.
41291 * libio/iofgets_u.c: Likewise.
41292 * libio/iofopen.c: Likewise.
41293 * libio/iofopncook.c: Likewise.
41294 * libio/iofread.c: Likewise.
41295 * libio/iofread_u.c: Likewise.
41296 * libio/ioftell.c: Likewise.
41297 * libio/iofwrite.c: Likewise.
41298 * libio/iogetline.c: Likewise.
41299 * libio/iogets.c: Likewise.
41300 * libio/iogetwline.c: Likewise.
41301 * libio/iopadn.c: Likewise.
41302 * libio/iopopen.c: Likewise.
41303 * libio/ioseekoff.c: Likewise.
41304 * libio/ioseekpos.c: Likewise.
41305 * libio/iosetbuffer.c: Likewise.
41306 * libio/iosetvbuf.c: Likewise.
41307 * libio/ioungetc.c: Likewise.
41308 * libio/ioungetwc.c: Likewise.
41309 * libio/iovdprintf.c: Likewise.
41310 * libio/iovsprintf.c: Likewise.
41311 * libio/iovsscanf.c: Likewise.
41312 * libio/memstream.c: Likewise.
41313 * libio/obprintf.c: Likewise.
41314 * libio/oldfileops.c: Likewise.
41315 * libio/oldiofclose.c: Likewise.
41316 * libio/oldiofdopen.c: Likewise.
41317 * libio/oldiofopen.c: Likewise.
41318 * libio/oldiopopen.c: Likewise.
41319 * libio/oldstdfiles.c: Likewise.
41320 * libio/putc.c: Likewise.
41321 * libio/setbuf.c: Likewise.
41322 * libio/setlinebuf.c: Likewise.
41323 * libio/stdfiles.c: Likewise.
41324 * libio/strops.c: Likewise.
41325 * libio/vasprintf.c: Likewise.
41326 * libio/vscanf.c: Likewise.
41327 * libio/vsnprintf.c: Likewise.
41328 * libio/vswprintf.c: Likewise.
41329 * libio/wfiledoalloc.c: Likewise.
41330 * libio/wfileops.c: Likewise.
41331 * libio/wgenops.c: Likewise.
41332 * libio/wmemstream.c: Likewise.
41333 * libio/wstrops.c: Likewise.
41334 * libio/__fpurge.c: Likewise.
41335 * libio/__fsetlocking.c: Likewise.
41336 * assert/assert.c: Likewise.
41337 * debug/fgets_chk.c: Likewise.
41338 * debug/fgets_u_chk.c: Likewise.
41339 * debug/fread_chk.c: Likewise.
41340 * debug/fread_u_chk.c: Likewise.
41341 * debug/gets_chk.c: Likewise.
41342 * debug/obprintf_chk.c: Likewise.
41343 * debug/vasprintf_chk.c: Likewise.
41344 * debug/vdprintf_chk.c: Likewise.
41345 * debug/vsnprintf_chk.c: Likewise.
41346 * debug/vsprintf_chk.c: Likewise.
41347 * malloc/mtrace.c: Likewise.
41348 * misc/error.c: Likewise.
41349 * misc/syslog.c: Likewise.
41350 * stdio-common/asprintf.c: Likewise.
41351 * stdio-common/fxprintf.c: Likewise.
41352 * stdio-common/getw.c: Likewise.
41353 * stdio-common/isoc99_fscanf.c: Likewise.
41354 * stdio-common/isoc99_scanf.c: Likewise.
41355 * stdio-common/isoc99_vfscanf.c: Likewise.
41356 * stdio-common/isoc99_vscanf.c: Likewise.
41357 * stdio-common/isoc99_vsscanf.c: Likewise.
41358 * stdio-common/printf-prs.c: Likewise.
41359 * stdio-common/printf_fp.c: Likewise.
41360 * stdio-common/printf_fphex.c: Likewise.
41361 * stdio-common/printf_size.c: Likewise.
41362 * stdio-common/putw.c: Likewise.
41363 * stdio-common/scanf.c: Likewise.
41364 * stdio-common/sprintf.c: Likewise.
41365 * stdio-common/tmpfile.c: Likewise.
41366 * stdio-common/vfprintf.c: Likewise.
41367 * stdio-common/vfscanf.c: Likewise.
41368 * stdlib/strfmon_l.c: Likewise.
41369 * sunrpc/openchild.c: Likewise.
41370 * sunrpc/xdr_stdio.c: Likewise.
41371 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41372 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41373
d6c33fda
RM
413742012-05-24 Roland McGrath <roland@hack.frob.com>
41375
c1487492
RM
41376 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41377
41378 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41379 in the third column, to generate for the shared library an IFUNC
41380 that uses _dl_vdso_vsym.
41381 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41382 * Makeconfig (object-suffixes-noshared): New variable.
41383
41384 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41385 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41386 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41387 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41388
d6c33fda
RM
41389 [BZ #14132]
41390 * include/sys/time.h (__gettimeofday): Remove macro.
41391 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41392 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41393 Remove INTDEF.
41394 (__gettimeofday): Add libc_hidden_def.
41395 (gettimeofday): Add libc_hidden_weak.
41396 * sysdeps/mach/gettimeofday.c: Likewise.
41397 * sysdeps/posix/gettimeofday.c: Likewise.
41398 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41399 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41401 (__gettimeofday_internal): Remove strong_alias.
41402 (__gettimeofday): Add libc_hidden_def.
41403 (gettimeofday): Add libc_hidden_weak.
41404 * sysdeps/unix/syscalls.list (gettimeofday):
41405 Remove __gettimeofday_internal alias.
41406
b5a2bbe6
L
414072012-05-24 Daniel Jacobowitz <drow@false.org>
41408 H.J. Lu <hongjiu.lu@intel.com>
41409
41410 [BZ #12495]
41411 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41412 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41413 (largebin_index_32_big): New.
41414 (largebin_index): Use it for 16-byte alignment.
41415 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41416 correction with front_misalign.
41417
cfba4fda
L
414182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41419
7f907421
L
41420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41422 Likewise.
41423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41424 Likewise.
41425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41426 Likewise.
41427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41428 Likewise.
41429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41430 Likewise.
41431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41432 Likewise.
41433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41434 Likewise.
41435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41436 Likewise.
41437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41438 Likewise.
41439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41440 Likewise.
41441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41442 Likewise.
41443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41444 Likewise.
41445
cfba4fda
L
41446 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41447 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41448
80bad0cc
JM
414492012-05-24 Joseph Myers <joseph@codesourcery.com>
41450
7a25eb06
JM
41451 [BZ #10846]
41452 [BZ #14036]
41453 * math/libm-test.inc (exp_test): Add test from bug 14036.
41454 (pow_test): Add test from bug 10846.
41455
795405f9
JM
41456 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41457 and other flags.
41458 (special_function): Do not include flags in test name.
41459 (parse_args): Likewise.
41460 * sysdeps/i386/fpu/libm-test-ulps: Update.
41461 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41462 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41463 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41465
80bad0cc
JM
41466 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41467 exceptions.
41468 * math/libm-test.inc ("Philosophy"): Update comment about
41469 exception testing.
41470 (UNDERFLOW_EXCEPTION): New macro.
41471 (UNDERFLOW_EXCEPTION_OK): Likewise.
41472 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41473 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41474 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41475 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41476 (INVALID_EXCEPTION_OK): Update value.
41477 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41478 (OVERFLOW_EXCEPTION_OK): Likewise.
41479 (IGNORE_ZERO_INF_SIGN): Likewise.
41480 (test_exceptions): Handle underflow exceptions.
41481 (acos_test): Update for underflow exception expectations.
41482 (cexp_test): Likewise.
41483 (clog_test): Likewise.
41484 (clog10_test): Likewise.
41485 (csqrt_test): Likewise.
41486 (ctan_test): Likewise.
41487 (ctanh_test): Likewise.
41488 (exp_test): Likewise.
41489 (exp10_test): Likewise.
41490 (exp2_test): Likewise.
41491 (expm1_test): Likewise.
41492 (fma_test): Likewise.
41493 (j0_test): Likewise.
41494 (jn_test): Likewise.
41495 (nexttoward_test): Likewise.
41496 (pow_test): Likewise.
41497 (scalbn_test): Likewise.
41498 (scalbln_test): Likewise.
41499 (tan_test): Likewise.
41500 (y1_test): Likewise.
41501 * sysdeps/i386/fpu/libm-test-ulps: Update.
41502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41503
9e0e3d0b
DM
415042012-05-23 David S. Miller <davem@davemloft.net>
41505
41506 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41507 (__libc_sigaction): Remove unused local variables.
41508
ccd0a08f
L
415092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41510
41511 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41512
62bdf9a6
PE
415132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41514
f8591f80
PE
41515 mktime: avoid signed integer overflow
41516 * time/mktime.c (__mktime_internal): Do not mishandle the case
41517 where diff == INT_MIN.
41518
94c7d826
PE
41519 mktime: simplify computation of average
41520 * time/mktime.c (ranged_convert): Use new time_t_avg function
41521 instead of rolling our own (probably-slower) code.
41522
ce73d683
PE
41523 mktime: do not assume signed right shift propagates sign bit
41524 * time/mktime.c (isdst_differ): New static function.
41525 (__mktime_internal): No need to normalize tm_isdst now.
41526 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41527 tm_isdst values.
41528
72a22e59
PE
41529 mktime: merge another wrapv change from gnulib
41530 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41531 from some compilers.
41532
68605433
PE
41533 mktime: remove incorrect attempt at unusual arithmetics
41534 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41535 The code didn't really work on such machines anyway.
41536 (TYPE_MINIMUM): Assume two's complement.
41537 (twos_complement_arithmetic): Verify that long_int and time_t
41538 are two's complement (or unsigned, in the latter case).
41539
03cf7fe3
PE
41540 mktime: check signed shifts on long_int and time_t, too
41541 * time/mktime.c (SHR): Check that shifts work as desired
41542 on the types long_int and time_t too, as SHR is used on
41543 such types.
41544
f04dfbc2
PE
41545 mktime: do not assume 'long' is wide enough
41546 * time/mktime.c (verify): Move decl up.
41547 (long_int): New type.
41548 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41549 to remove assumption in the code that 'long' is wide enough to
41550 store year values. This assumption is not true on x32 and on
41551 some non-glibc platforms.
41552
62bdf9a6
PE
41553 mktime: merge wrapv change from gnulib
41554 * time/mktime.c (WRAPV): New macro.
41555 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41556 (guess_time_tm, __mktime_internal): Do not assume that signed
41557 integer overflow wraps around; modern compilers generate code
41558 where this assumption is no longer valid.
41559
5e292e4f
L
415602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41561
41562 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41563 Replace "jmp L(pseudo_end)" with "ret".
41564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41565 Likewise.
41566
8caf8c87
AJ
415672012-05-23 Andreas Jaeger <aj@suse.de>
41568
41569 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41570 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41571
1a09dc56
AJ
415722012-05-23 Andreas Jaeger <aj@suse.de>
41573 Maximilian Attems <max@stro.at>
41574
41575 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41576 New macros.
41577
1c87aba0
L
415782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41579
41580 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41581 code so that pseudo_end is just ret and the stack pointer is
41582 correct also for static library in error case.
41583
40e45bd5
JM
415842012-05-23 Joseph Myers <joseph@codesourcery.com>
41585
c2670533
JM
41586 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41587 move to syscalls.list.
41588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41592
40e45bd5
JM
41593 * manual/install.texi (Running make install): Do not mention Linux
41594 kernel version for which pt_chown is not needed.
41595 (Linux): Do not mention problems with nscd with 2.0 kernels.
41596 * INSTALL: Regenerated.
41597
be08eda5
AJ
415982012-05-23 Andreas Jaeger <aj@suse.de>
41599
41600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41601 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41602 macro.
41603 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41605 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41607 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41609 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41613 * sysdeps/unix/sysv/linux/bits/in.h
41614 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41615
a6a056bb
RM
416162012-05-22 Roland McGrath <roland@hack.frob.com>
41617
41618 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41619 (PREPARE_VERSION): Just use assert instead, it will be elided
41620 under [NDEBUG] anyway.
41621
c9009328
L
416222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41623
41624 * sysdeps/unix/sysv/linux/Makefile: Include
41625 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41626 (sysdep_routines): Remove sysctl.
c9009328
L
41627 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41628 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41629 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41630 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41631 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41632
73338355
AJ
416332012-05-22 Andreas Jaeger <aj@suse.de>
41634
41635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41636 that pseudo_end is just ret and the stack pointer is correct also
41637 for static library in error case.
41638
d44638b0
PP
416392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41640
41641 [BZ #14122]
41642 * nss/nsswitch.c (defconfig_entries): New variable.
41643 (__nss_database_lookup): Don't leak defconfig entries.
41644 (nss_parse_service_list): Don't leak on error paths.
41645 (free_database_entries): New function.
41646 (free_defconfig): New function.
41647 (free_mem): Move common code to free_database_entries.
41648
31a39bd8
L
416492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41650
da0331a8
L
41651 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41652 Add arch_prctl.
41653 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41654
31a39bd8
L
41655 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41656 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41658 New macro.
41659 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41660 (INTERNAL_SYSCALL_TYPES): Likewise.
41661 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41662 (LOAD_REGS_TYPES_[1-6]): Likewise.
41663 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41664 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41665
45470df3
AZ
416662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41667
41668 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41669 copysignl for GLIBC_2_0.
41670 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41671 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41673 logbl for GLIBC_2_0.
41674 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41675 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41676
98a61bcb
L
416772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41678
a4f6e481
L
41679 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41680 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41681
f63d5db6
L
41682 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41683 Use "neg %eax".
41684
98a61bcb
L
41685 * time/mktime.c: Update copyright years.
41686
95770f14
PE
416872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41688
6226efbd
PE
41689 mktime: merge comment-quoting-style change from gnulib
41690 * time/mktime.c: Quote 'like this' in comments.
41691 The GNU coding standards suggest that we no longer quote `like this',
41692 as "`" and "'" are typically rendered asymmetrically nowadays.
41693 The typical gnulib style is to quote 'like this' when quoting
41694 code, and "like this" when quoting English.
41695
b99e4f78
PE
41696 * time/mktime.c (compile-command): Add "-I.".
41697
643e01e6
PE
41698 mktime: merge mktime-internal.h change from gnulib
41699 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41700
2554247d
PE
41701 mktime: merge time_r change from gnulib
41702 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41703
826dd0ab
PE
41704 mktime: merge DEBUG change from gnulib
41705 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41706 case system <time.h> has a #define.
41707
bd83aabe
PE
41708 mktime: merge <sys/types.h> change from gnulib
41709 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41710 since <time.t> is now guaranteed to define time_t.
41711
95770f14
PE
41712 mktime: merge HAVE_CONFIG_H change from gnulib
41713 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41714
5e1a27a9
L
417152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41716
0e44a77e
L
41717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41718 Use "neg %eax".
41719
5e1a27a9
L
41720 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41721 __rlim_t cast.
41722 (struct rusage): Use anonymous union to pad each field to
41723 __syscall_slong_t.
41724
46259bec
DM
417252012-05-21 David S. Miller <davem@davemloft.net>
41726
41727 * Makefules (o-iterator): Remove .s cases.
41728 (compile-command.s): Delete.
41729 (COMPILE.s): Delete.
41730 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41731
59f0c22e
JM
417322012-05-21 Joseph Myers <joseph@codesourcery.com>
41733
41734 * configure.in (libc_cv_predef_stack_protector): Only consider
41735 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41736 * configure: Regenerated.
41737
20c07380
L
417382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41739
bbb3154b
L
41740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41741 New macro. Use R*LP on int and pointer.
41742 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41743 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41744 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41745 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41746
20c07380
L
41747 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41748 [__WORDSIZE_TIME64_COMPAT32] instead of
41749 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41750 (struct utmp): Likewise.
41751 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41752 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41753 Renamed to ...
41754 (__WORDSIZE_TIME64_COMPAT32): This.
41755 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41756 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41757 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41758 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41759 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41760 (__WORDSIZE_TIME64_COMPAT32): New macro.
41761
d8d1017e
AJ
417622012-05-21 Andreas Jaeger <aj@suse.de>
41763
41764 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41765 only if [SHARED]. Add prototype for __wcschr_ia32.
41766
6c7fb145
RM
417672012-05-21 Roland McGrath <roland@hack.frob.com>
41768
41769 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41770 of %rbp unmolested in the jmp_buf while mangling the low bits.
41771 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41772 unmolested high bits of %rbp while demangling the low bits.
41773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41774
66274218
AJ
417752012-05-21 Andreas Jaeger <aj@suse.de>
41776
07c58f8f
AJ
41777 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41778 * sunrpc/svc_simple.c: Use it for registerrpc.
41779 * sunrpc/xcrypt.c: Use it for passwd2des.
41780
66274218
AJ
41781 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41782
61f65140
L
417832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41784
41785 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41786 Don't define if [__SYSCALL_WORDSIZE != 32].
41787 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41788 New macro.
41789
5fefb436
AJ
417902012-05-21 Bruno Haible <bruno@clisp.org>
41791 Andreas Jaeger <aj@suse.de>
41792
41793 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41794 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41795 inptr and inend for must_buffer_ch.
41796 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41797 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41798 * stdio-common/Makefile (tests): Remove bug15.
41799 (bug15-ENV): Remove macro.
41800 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41801 anymore.
41802
d8e272ab
AJ
418032012-05-19 Andreas Jaeger <aj@suse.de>
41804 Roland McGrath <roland@hack.frob.com>
41805
41806 * manual/contrib.texi: Completely rewritten. It contains now an
41807 alphabetical list of contributors and their contributions.
41808
4a56a162
RH
418092012-05-21 Richard Henderson <rth@twiddle.net>
41810
41811 * misc/getauxval.c (__getauxval): Use unsigned long int.
41812 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41813 (getauxval): Use unsigned long int.
41814
d024d23c
L
418152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41816
41817 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41818
cbc00a03
RM
418192012-05-21 Roland McGrath <roland@hack.frob.com>
41820
41821 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41822 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41823 __alignof__ (long double).
41824
478143fa
AZ
418252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41826
41827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41828
c7683a6d
RH
418292012-05-20 Richard Henderson <rth@twiddle.net>
41830
41831 * misc/getauxval.c: New file.
41832 * misc/sys/auxv.h: New file.
41833 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41834 (routines): Add getauxval.
41835 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41836 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41837 * elf/dl-sysdep.c (_dl_auxv): Remove.
41838 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41839 * elf/dl-support.c (_dl_auxv): New variable.
41840 (_dl_aux_init): Initialize it.
41841 * manual/startup.texi (Auxiliary Vector): New node.
41842 * sysdeps/generic/bits/hwcap.h: New file.
41843 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41844 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41845 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41846 * sysdeps/sparc/sysdep.h: ... here. Include it.
41847 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41850 Update.
c7683a6d
RH
41851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41859
a6f1845d
AZ
418602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41861
41862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41863
cbcbe830
DM
418642012-05-19 David S. Miller <davem@davemloft.net>
41865
41866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41867
e0b16cc2
JM
418682012-05-19 Joseph Myers <joseph@codesourcery.com>
41869
41870 [BZ #14123]
41871 * math/s_ccosh.c: Include <float.h>
41872 (__ccosh): Avoid internal overflow calculating sinh and cosh
41873 values before multiplying by sin and cos values.
41874 * math/s_ccoshf.c: Likewise.
41875 * math/s_ccoshl.c: Likewise.
41876 * math/s_csin.c: Likewise.
41877 * math/s_csinf.c: Likewise.
41878 * math/s_csinl.c: Likewise.
41879 * math/s_csinh.c: Likewise.
41880 * math/s_csinhf.c: Likewise.
41881 * math/s_csinhl.c: Likewise.
41882 * math/libm-test.inc (ccos_test): Add more tests.
41883 (ccosh_test): Likewise.
41884 (csin_test): Likewise.
41885 (csinh_test): Likewise.
41886 * sysdeps/i386/fpu/libm-test-ulps: Update.
41887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41888
6ad13e08
L
418892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41890
f66f0ce8
L
41891 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41892 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41893
6ad13e08
L
41894 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41895
b1d072a7
JM
418962012-05-19 Joseph Myers <joseph@codesourcery.com>
41897
41898 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41899 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41900 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41901 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41902 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41903 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41904 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41905 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41906 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41907 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41908 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41909 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41910 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41911 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41912 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41913 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41914 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41915 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41916 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41917 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41918 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41919 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41920 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41921 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41922 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41923 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41924 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41925 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41926 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41927 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41928 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41929
9eae47cb
AJ
419302012-05-18 Andreas Jaeger <aj@suse.de>
41931
41932 * csu/.gitignore: Delete.
41933
bb07f69f
L
419342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41935
41936 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41937 (timex): Use __syscall_slong_t.
41938
e6bdb741
AJ
419392012-05-18 Andreas Jaeger <aj@suse.de>
41940 Carlos O'Donell <carlos_odonell@mentor.com>
41941
41942 * manual/install.texi (Configuring and compiling): Update
41943 description about files modified in the source directory.
d6c33fda 41944 * INSTALL: Regenerated.
e6bdb741 41945
1b74487e
L
419462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41947
41948 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41949 value. Use "or" to set return value to -1.
41950 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41951 negate return value.
41952
a88b64b9
TMQMF
419532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41954
57f41c40
AS
41955 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41956 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41957 failure if the compiler has Graphite support disabled.
41958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41959 Likewise.
57f41c40
AS
41960 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41961 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41962 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41963 Likewise.
41964
3707636e
L
419652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41966
610b8622
L
41967 * sysdeps/x86_64/x32/_itoa.h: New file.
41968
7cd195df
L
41969 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41970 getdents system call only if kernel and user dirents have the
41971 same d_ino and d_off.
41972
94b07d20
L
41973 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41974 LLONG_MAX != LONG_MAX.
41975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41976 (_fitoa_word): Likewise.
41977
18298070
L
41978 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41979 years.
41980 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41981 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41982 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41983
553c7ea4
L
41984 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41985 include <bits/wordsize.h>. Check __x86_64__ instead of
41986 __WORDSIZE.
41987 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41988 if __x86_64__ is defined. Use anonymous union on fpstate.
41989
3707636e
L
41990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41991 anonymous union.
41992
b53ef01a
AS
419932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41994
37fb1dc0
AS
41995 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41996 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41997 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41998 Refer to _rtld_local_ro instead of _rtld_global_ro.
41999 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42000 Likewise.
42001 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42002 Likewise.
42003 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42004 Likewise.
42005 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42006 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42007 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42008
b53ef01a
AS
42009 * sysdeps/powerpc/powerpc32/dl-machine.c
42010 (__elf_machine_runtime_setup) [PROF]: Don't reference
42011 _dl_prof_resolve.
42012
7a185db2
AJ
420132012-05-18 Andreas Jaeger <aj@suse.de>
42014
42015 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42016 function only available for GCCs before 3.4 since GCC 3.4
42017 introduced a builtin.
42018 (lrint): Likewise.
42019 (llrintf): Likewise.
42020 (llrint): Likewise.
42021 (fmaxf): Likewise.
42022 (fmax): Likewise.
42023 (fminf): Likewise.
42024 (fmin): Likewise.
42025 (rint): Likewise.
42026 (rintf): Likewise.
42027 (nearbyint): Likewise.
42028 (nearbyintf): Likewise.
42029 (ceil): Likewise.
42030 (ceilf): Likewise.
42031 (floor): Likewise.
42032 (floorf): Likewise.
42033
3e5aef87
L
420342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42035
428bd707
L
42036 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42037 on both fields and cast pointer to __syscall_ulong_t.
42038
3e5aef87
L
42039 * bits/types.h (__fsword_t): New type.
42040 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42041 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42043 (__FSWORD_T_TYPE): Likewise.
42044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42045 (__FSWORD_T_TYPE): Likewise.
42046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42047 (__FSWORD_T_TYPE): Likewise.
42048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42049 (__FSWORD_T_TYPE): Likewise.
42050 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42051 __SWORD_TYPE with __fsword_t.
42052 (statfs64): Likewise.
42053
1ba7c3dc
DM
420542012-05-17 David S. Miller <davem@davemloft.net>
42055
42056 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42057
59910343
AJ
420582012-05-17 Andreas Jaeger <aj@suse.de>
42059
42060 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42061 warning.
42062
2e4c1e9e
L
420632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42064
42065 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42066
de7f5ce7
AJ
420672012-05-17 Andreas Jaeger <aj@suse.de>
42068
42069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42070 when it is used.
42071
286abc3d
CM
420722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42073
42074 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42075
477cc68e
L
420762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42077
42078 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42079 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42080
1a0994f5
CD
420812012-05-17 Andreas Jaeger <aj@suse.de>
42082 Carlos O'Donell <carlos_odonell@mentor.com>
42083
42084 [BZ #14059]
42085 * sysdeps/x86_64/multiarch/init-arch.h
42086 (bit_YMM_Usable): Rename to...
42087 (bit_AVX_Usable): ... this.
42088 (bit_FMA4_Usable): New macro.
42089 (bit_XMM_state): New macro.
42090 (bit_YMM_state): New macro.
42091 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42092 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42093 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42094 (CPUID_OSXSAVE): New macro.
42095 (CPUID_AVX): New macro.
42096 (CPUID_FMA4): New macro.
42097 (index_YMM_Usable): Rename to...
42098 (index_AVX_Usable): ... this.
42099 (HAS_AVX): Use HAS_ARCH_FEATURE.
42100 (HAS_FMA4): Likewise.
42101 (HAS_YMM_USABLE): Remove.
42102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42103 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42104 are present.
42105 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42106 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42107 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42108 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42109 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42110
0af797de
CM
421112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42112
42113 * math/libm-test.c: Support platforms without multiple rounding modes.
42114 * math/bug-nextafter.c: Support platforms without FP exceptions.
42115 * math/bug-nexttoward.c: Likewise.
42116 * math/test-fenv.c: Likewise.
42117 * math/test-misc.c: Likewise.
42118 * stdlib/bug-getcontext.c: Likewise.
42119
e39745ff
AJ
421202012-05-17 Andreas Jaeger <aj@suse.de>
42121
42122 * manual/examples/search.c (critter_cmp): Change signature to
42123 avoid warnings.
42124 * manual/string.texi (Collation Functions): Likewise.
42125
48970aba
L
421262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42127
42128 * bits/types.h: Fold copyright years.
42129 * bits/typesizes.h: Likewise.
42130 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42134 * time/time.h: Likewise.
42135
bedee953
PP
421362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42137
42138 [BZ #208]
42139 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42140 in instead of returning them. Return void.
42141 (__libc_mallinfo): Accumulate over all arenas.
42142 (__malloc_stats): Adjust for change in int_mallinfo interface.
42143
61653dfb
RM
421442012-05-16 Roland McGrath <roland@hack.frob.com>
42145
30b99d79
RM
42146 [BZ #10375]
42147 * configure.in (NM): Add AC_CHECK_TOOL for it.
42148 (libc_extra_cflags): New substituted variable.
42149 Check for -fstack-protector being used implicitly.
42150 * configure: Regenerated.
42151 * config.make.in (config-extra-cflags): New variable,
42152 gets @libc_extra_cflags@.
42153 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42154
61653dfb
RM
42155 [BZ #10375]
42156 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42157 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42158 * configure: Regenerated.
42159 * config.make.in (CPPUNDEFS): New substituted variable.
42160 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42161 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42162 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42163
661768bb
L
421642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42165
42166 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42167 (mq_attr): Use __syscall_slong_t.
42168
d4261567
L
421692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42170
42171 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42172 Check __x86_64__ instead of __WORDSIZE.
42173 (_STAT_VER_LINUX): Likewise.
42174 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42175 __syscall_ulong_t and __syscall_slong_t.
42176 (stat64): Likewise.
42177
cf3ff365
L
421782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42179
42180 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42181
76cf3e4d
L
421822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42183
42184 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42185
a637753a
L
421862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42187
42188 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42189 __syscall_ulong_t.
42190
d5e05119
L
42191 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42192 include <bits/wordsize.h>. Check __x86_64__ instead of
42193 __WORDSIZE.
42194 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42195 defined.
42196 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42197
f62ee380
L
42198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42199 include <bits/wordsize.h>. Check __x86_64__ instead of
42200 __WORDSIZE.
42201 (user_regs_struct): Use "__extension__ unsigned long long"
42202 instead of "unsigned long" if __x86_64__ is defined.
42203 (user): Likewise. Pad after pointer field if __ILP32__ is
42204 defined.
42205
4e124ced
JM
422062012-05-16 Joseph Myers <joseph@codesourcery.com>
42207
6a3951a0
JM
42208 * configure.in (makeinfo): Require version 4.5 or later. Allow
42209 versions 5 to 9.
42210 * configure: Regenerated.
42211 * manual/install.texi (texinfo): Increase version requirement to
42212 4.5 or later.
42213 * INSTALL: Regenerated.
42214
4e124ced
JM
42215 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42216
953ca31a
L
422172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42218
42219 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42220
617aca05
L
42221 * sysdeps/x86_64/x32/ffs.c: New file.
42222
5762f7ae
L
42223 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42224 __syscall_ulong_t.
42225 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42226 defined. Use __syscall_ulong_t.
42227 (shminfo): Use __syscall_ulong_t.
42228 (shm_info): Likewise.
42229
a26b6856
L
42230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42231 __syscall_ulong_t.
42232
cb2b9ef7
L
42233 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42234 <bits/wordsize.h>.
42235 (msgqnum_t): Use __syscall_ulong_t.
42236 (msglen_t): Likewise.
42237 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42238 __syscall_ulong_t.
42239
34683bb0
L
42240 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42241 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42242
84a68786
L
42243 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42244
48baa5f1
L
42245 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42246 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42247
180be88b
L
42248 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42249 __syscall_slong_t.
42250
5e90c8ad
L
42251 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42252 include <bits/wordsize.h>. Check __x86_64__ instead of
42253 __WORDSIZE.
42254
23dfb58b
L
42255 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42256 "unsigned long long int" if __x86_64__ is defined.
42257 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42258
ce5d54b0
L
42259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42260 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42261 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42262
13dc9eac
L
42263 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42264 <stdint.h>.
42265 (GET_PC): Cast to uintptr_t first.
42266 (GET_FRAME): Likewise.
42267 (GET_STACK): Likewise.
42268
a7895d15
L
42269 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42270 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42275 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42276 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42277 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42280 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42283 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42284 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42285 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42286 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42287 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42288 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42289 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42290 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42291 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42292 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42293 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42294 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42295 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42296 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42297 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42298
656416c9
AS
422992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42300
5bd66283
AS
42301 * Makerules (+depfiles): Also collect depfiles from .oS in
42302 $(extra-objs).
42303 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42304 .oS, $(libnldbl-routines)).
42305
656416c9
AS
42306 * Makerules (native-compile-mkdep-flags): Define.
42307 * sunrpc/Makefile (extra-objs): Add $(addprefix
42308 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42309 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42310 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42311 calling $(make-target-directory).
42312
a46f2169
L
423132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42314
42315 * bits/types.h (__snseconds_t): Removed.
42316 * time/time.h (struct timespec): Replace __snseconds_t with
42317 __syscall_slong_t.
42318 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42319 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42320 Likewise.
42321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42322 (__SNSECONDS_T_TYPE): Likewise.
42323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42324 (__SNSECONDS_T_TYPE): Likewise.
42325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42326 (__SNSECONDS_T_TYPE): Likewise.
42327
6af6528b
L
423282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42329
42330 * sysdeps/mach/hurd/bits/typesizes.h
42331 (__SYSCALL_SLONG_TYPE): New macro.
42332 (__SYSCALL_ULONG_TYPE): Likewise.
42333
de986b56
L
423342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42335
42336 * bits/types.h (__syscall_slong_t): New type.
42337 (__syscall_ulong_t): Likewise.
42338
42339 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42340 (__SYSCALL_ULONG_TYPE): Likewise.
42341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42342 (__SYSCALL_SLONG_TYPE): Likewise.
42343 (__SYSCALL_ULONG_TYPE): Likewise.
42344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42345 (__SYSCALL_SLONG_TYPE): Likewise.
42346 (__SYSCALL_ULONG_TYPE): Likewise.
42347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42348 (__SYSCALL_SLONG_TYPE): Likewise.
42349 (__SYSCALL_ULONG_TYPE): Likewise.
42350
85736dc7
L
423512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42352
42353 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42354 Add sigaltstack-offsets.sym.
42355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42356 <sigaltstack-offsets.h>.
42357 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42358 longjmp_msg pointer.
42359 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42360 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42361 signal stack.
42362 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42363
cc03b296
JM
423642012-05-15 Joseph Myers <joseph@codesourcery.com>
42365
a9538892
JM
42366 * elf/stackguard-macros.h: Remove file.
42367 * sysdeps/generic/stackguard-macros.h: New file.
42368 * sysdeps/i386/stackguard-macros.h: Likewise.
42369 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42370 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42371 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42372 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42373 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42374 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42375 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42376 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42377 <elf/stackguard-macros.h>.
42378
cc03b296
JM
42379 [BZ #14109]
42380 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42381 __aligned__ in attribute.
42382 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42383 (gregset_t): Likewise.
42384
93171016
L
423852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42386
42387 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42388 * sysdeps/x86_64/64/Implies-after: Here. New file.
42389 * sysdeps/x86_64/x32/Implies-after: New file.
42390
d86813a0
L
423912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42392
42393 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42394 and access return value for _dl_profile_fixup. Use R10_LP to
42395 load frame size.
42396
2953ec75
L
423972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42398
42399 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42400
3b550e9e
L
424012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42402
42403 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42404 * sysdeps/x86_64/x32/sysdep.h: New file.
42405
eda41706
L
424062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42407
42408 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42409 * sysdeps/x86_64/setjmp.S: Likewise.
42410
9ea01d93
AZ
424112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42412
42413 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42415 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42416 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42417 remove unused global constant.
42418
02a91938
CM
424192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42420
42421 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42422 include of <not-cancel.h>.
42423
6540185f
RM
424242012-05-15 Roland McGrath <roland@hack.frob.com>
42425
42426 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42427
509072a0
AJ
424282012-05-15 Jeff Law <law@redhat.com>
42429 Andreas Jaeger <aj@suse.de>
42430
42431 [BZ #13594]
42432 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42433 out from...
42434 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42435 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42436 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42437 code changing __hst_map_handle.map.
42438
ba75122d
RM
424392012-05-15 Roland McGrath <roland@hack.frob.com>
42440
42441 * configure.in (sysnames): Look for Implies-before and Implies-after
42442 files.
42443 * configure: Regenerated.
42444
890d8bd8
L
424452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42446
42447 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42448 8-byte data alignment with LP_SIZE alignment.
42449
f6ee6623
L
424502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42451
42452 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42453 into R10_LP.
42454
ea2626f6
L
424552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42456
42457 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42458
085f715e
L
424592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42460
42461 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42462 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42464 Likewise.
42465 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42466
be8498fc
L
424672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42468
42469 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42470 (stackinfo_sub_sp): Likewise.
42471
70bc83b9
L
424722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42473
42474 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42475 RAX_LP.
42476
9bc0b730
L
424772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42478
42479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42480 into R*_LP.
42481
6d2850e7
L
424822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42483
42484 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42485 sizes into R*_LP.
42486
3cb84561
L
424872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42488
42489 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42490
54e2ed81
L
424912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42492
42493 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42494 into R11_LP and load __x86_64_shared_cache_size_half into
42495 R8_LP.
42496
8a17f349
L
424972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42498
42499 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42500 R8_LP.
42501
777b1eea
AZ
425022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42503
42504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42505 logb for POWER7.
42506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42507 logbf for POWER7.
42508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42509 logbl for POWER7.
42510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42511 powerpc32/power7/fpu/s_logb.c via #include.
42512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42513 powerpc32/power7/fpu/s_logbf.c via #include.
42514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42515 powerpc32/power7/fpu/s_logbl.c via #include.
42516
d20d4ac2
JM
425172012-05-15 Joseph Myers <joseph@codesourcery.com>
42518
42519 * README.libm: Remove file.
42520
6cdef1ab
L
425212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42522
42523 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42524 count for x32. Use R*_LP and omit operand-size suffix.
42525
0b254d8f
L
425262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42527
42528 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42529 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42530 * sysdeps/x86_64/x32/shlib-versions: New file.
42531
ceb809dc
RM
425322012-05-14 Roland McGrath <roland@hack.frob.com>
42533
42534 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42535 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42536 Use _dl_fatal_printf instead.
42537
37f1abd4
JM
425382012-05-14 Joseph Myers <joseph@codesourcery.com>
42539
42540 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42541 set if not set by the user. Do not allow for being unset.
42542 * sysdeps/unix/sysv/linux/configure: Regenerated.
42543
11de3a33
L
425442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42545
42546 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42547 the `q' suffix from lea and replace .quad with ASM_ADDR.
42548
e02f153a
L
425492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42550
42551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42552 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42553 instead of $17.
42554 (PTR_DEMANGLE): Likewise.
42555
520ae0fd
L
425562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42557
42558 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42559 (LP_OP): Likewise.
42560 (ASM_ADDR): Likewise.
42561 (RAX_LP): Likewise.
42562 (RBP_LP): Likewise.
42563 (RBX_LP): Likewise.
42564 (RCX_LP): Likewise.
42565 (RDI_LP): Likewise.
42566 (RSI_LP): Likewise.
42567 (RSP_LP): Likewise.
42568 (R8_LP): Likewise.
42569 (R9_LP): Likewise.
42570 (R10_LP): Likewise.
42571 (R10_LP): Likewise.
42572 (R11_LP): Likewise.
42573 (R12_LP): Likewise.
42574 (R13_LP): Likewise.
42575 (R14_LP): Likewise.
42576 (R15_LP): Likewise.
42577
b985be81
L
425782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42579
42580 * sysdeps/x86_64/x32/dl-machine.h: New file.
42581
6a4888ff
AJ
425822012-05-14 Andreas Jaeger <aj@suse.de>
42583
42584 * manual/Makefile (subdir): Remove export of subdir.
42585 (all): Remove target.
42586 (.PHONY): Remove all from list.
42587 (mkinstalldirs): Remove.
42588 (.PHONY): Remove installdirs from list.
42589 ($(inst_infodir)/libc.info): Use make-target-directory.
42590 (installdirs): Remove.
42591 (subdir_%): Remove.
42592 (glibc-targets): Remove.
42593 (lib): Remove.
42594 (stubs): Remove.
42595 ($(objpfx)stubs ../po/manual.pot): Remove.
42596 ($(objpfx)stamp%): Remove.
42597 (make-target-directory): Remove.
42598 (subdir_install): Remove.
42599 (routines): Remove.
42600 (aux): Remove.
42601 (sources): Remove.
42602 (objects): Remove.
42603 (headers): Remove.
42604
42605 [BZ #13750]
42606 * manual/.gitignore: Remove, it's not needed anymore.
42607 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42608 all files in it.
42609 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42610 directory.
42611 (texis): Renamed to $(objpfx)texis.
42612 (texis-path): New, contains path to generated files.
42613 (chapters.%): Use texis-path for complete path, add extra argument
42614 libc-texinfo.sh.
42615 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42616 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42617 (summary,texi, stamp-summary): Use complete path of
42618 files. Generate files in build dir.
42619 (dir-add.texi): Build in build dir.
42620 (libm-err.texi,stamp-libm-err): Likewise.
42621 (version.texi, stamp-version): Likewise.
42622 (.%c.texi): Likewise.
42623 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42624 (mostlyclean): Remove target.
42625 (realclean): Remove target.
42626 (generated): Add new variable with contents from mostlyclean and
42627 realclean, remove entries duplicated in common-mostlyclean, add
42628 stamp-libm-err and stamp-version.
42629 (generated-dirs): Add libc directory.
42630 ($(inst_infodir)/libc.info): Install files from build dir.
42631
42632 * manual/install.texi (Configuring and compiling): Adjust since
42633 the info files are not part of the tar ball anymore.
42634
7ac77294
AJ
426352012-05-14 Andreas Jaeger <aj@suse.de>
42636
42637 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42638 variable.
42639
ffb7875d
JM
426402012-05-14 Joseph Myers <joseph@codesourcery.com>
42641
42642 [BZ #13717]
42643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42644 to 2.2.0 where earlier.
42645 * sysdeps/unix/sysv/linux/configure: Regenerated.
42646 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42647 Remove conditional code.
42648 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42649 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42650 Remove conditional code.
42651 [!__NR_lchown]: Likewise.
42652 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42653 [__NR_lchown]: Likewise.
42654 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42655 comment referencing __ASSUME_LCHOWN_SYSCALL.
42656 * sysdeps/unix/sysv/linux/i386/sigaction.c
42657 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42658 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42659 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42660 Remove conditional code.
42661 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42662 (__protocol_available): Remove #if 0 code.
42663 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42664 conditional code.
42665 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42666 * sysdeps/unix/sysv/linux/kernel-features.h
42667 (__ASSUME_GETCWD_SYSCALL): Don't define.
42668 (__ASSUME_REALTIME_SIGNALS): Likewise.
42669 (__ASSUME_PREAD_SYSCALL): Likewise.
42670 (__ASSUME_PWRITE_SYSCALL): Likewise.
42671 (__ASSUME_POLL_SYSCALL): Likewise.
42672 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42673 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42674 non-SPARC.
42675 (__ASSUME_SIOCGIFNAME): Don't define.
42676 (__ASSUME_MSG_NOSIGNAL): Likewise.
42677 (__ASSUME_SENDFILE): Define unconditionally.
42678 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42679 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42680 conditional code.
42681 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42682 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42683 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42684 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42685 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42686 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42687 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42692 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42704 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42710 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42712 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42713 Remove conditional code.
42714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42715 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42716 Remove conditional code.
42717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42718 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42719 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42720 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42721 Remove conditional code.
42722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42723 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42724 Remove conditional code.
42725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42726 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42727 Remove conditional code.
42728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42729 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42730 Remove conditional code.
42731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42732 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42733 Remove conditional code.
42734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42735 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42738 * sysdeps/unix/sysv/linux/sigaction.c
42739 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42740 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42741 * sysdeps/unix/sysv/linux/sigpending.c
42742 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42743 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42744 * sysdeps/unix/sysv/linux/sigprocmask.c
42745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42747 * sysdeps/unix/sysv/linux/sigsuspend.c
42748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42750 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42751 (__libc_missing_rt_sigs): Remove.
42752 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42753 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42754 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42755 Remove conditional code.
42756 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42757 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42758 return 1.
42759 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42760 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42761 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42762 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42763
1bfb7291
AJ
427642012-05-14 Andreas Jaeger <aj@suse.de>
42765
caae5a81
AJ
42766 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42767 it's not used in glibc.
42768 (__coshm1): Likewise.
42769 (__acosh1p): Likewise.
42770 (__sgn): Likewise.
42771
1bfb7291
AJ
42772 * manual/string.texi (Copying and Concatenation): Add missing
42773 variable in concat example.
42774 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42775
c044d724
L
427762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42777
144c5467 42778 [BZ #14103]
c044d724
L
42779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42780 __builtin_clzl with __builtin_clzll.
42781
2523c62b
L
427822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42783
42784 [BZ #14104]
42785 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42786 libc_freeres_ptr.
42787
d7bb4c42
LD
427882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42789
42790 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42791 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42792 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42793 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42794
9dc4e1fb
MF
427952012-05-14 Mike Frysinger <vapier@gentoo.org>
42796
42797 * NEWS: Update ia64 info.
42798
c7df0112
AS
427992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42800
42801 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42802 used as bcopy.
42803
dc70356c
TS
428042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42805
42806 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42807 * sysdeps/unix/syscalls.list (dup3): Likewise.
42808 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42809 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42810
9fb1a21f
L
428112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42812
42813 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42814 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42815
4822a2a5
L
428162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42817
42818 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42819 thread pointer.
42820 (TLS_IE): Use mov/add instead of movq/addq to load thread
42821 pointer.
42822 (TLS_GD_PREFIX): New.
42823 (TLS_GD): Use it.
42824
842b81d6
DM
428252012-05-11 David S. Miller <davem@davemloft.net>
42826
42827 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42828 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42829 (_FPU_SETCW): Likewise.
42830
1cf463cd
L
428312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42832
42833 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42834 is 32-byte aligned.
42835
60cc4a18
AS
428362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42837
42838 [BZ #11837]
42839 * iconvdata/gb18030.c: Update tables.
42840 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42841 characters specially.
42842 (BODY for TO_LOOP): Add encoding of missing ranges.
42843
febb44a4
TS
428442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42845
42846 [BZ #13673]
42847 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42848 * sysdeps/mach/hurd/dup3.c: Likewise.
42849 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42850 * sysdeps/powerpc/memmove.c:: Likewise.
42851
0a10fb9e
L
428522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42853
42854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42855 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42856
df8a552f
L
428572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42858
42859 * elf/elf.h (R_X86_64_RELATIVE64): New.
42860 (R_X86_64_NUM): Updated.
42861 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42862 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42863 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42864 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42865 tst-quad1pie tst-quad2pie
42866 (modules-names): Add tst-quadmod1 tst-quadmod2.
42867 ($(objpfx)tst-quad1): New dependency.
42868 ($(objpfx)tst-quad2): Likewise.
42869 ($(objpfx)tst-quad1pie): Likewise.
42870 ($(objpfx)tst-quad2pie): Likewise.
42871 * sysdeps/x86_64/tst-quad1.c: New file.
42872 * sysdeps/x86_64/tst-quad1pie.c: New file.
42873 * sysdeps/x86_64/tst-quad2.c: Likewise.
42874 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42875 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42876 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42877 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42878 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42879
f34d6f84
ST
428802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42881
f42d41d1
ST
42882 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42883 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42884 * streams/stropts.h (t_scalar_t): Define type.
42885
3c3571fc
ST
42886 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42887 (_PATH_PRESERVE): Set to "/var/lib".
42888 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42889
61f06bd3
ST
42890 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42891 instead of int.
42892
918d4d71
ST
42893 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42894 if __dir_mkfile succeeded.
42895
f34d6f84
ST
42896 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42897 checking for _hurd_dtablesize. Unlock it right after having
42898 finished _hurd_dtable allocation.
42899
10589b4a
TS
429002012-05-10 Thomas Schwinge <thomas@schwinge.name>
42901
674cdbc7
TS
42902 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42903 * sysdeps/mach/hurd/configure: Regenerated.
42904 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42905 special-casing to...
42906 * sysdeps/gnu/configure.in: ... this new file.
42907 * sysdeps/unix/sysv/linux/configure: Regenerated.
42908 * sysdeps/gnu/configure: New generated file.
42909
8e41b99f
TS
42910 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42911 for Linux: use nsec instead of usec, as well as:
42912 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42913 members of type struct timespec.
42914 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42915 New macros.
42916 (struct stat64): Likewise.
42917 (_STATBUF_ST_NSEC): New macro.
42918 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42919
10589b4a
TS
42920 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42921 __strtoul_internal rather than strtoul.
42922
63643c85
PT
429232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42924
42925 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42926 and reject them.
42927
3faebe6a
ST
429282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42929
42930 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42931 which preserves existing values.
42932 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42933
c6474b07
PT
429342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42935
42936 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42937 TIMEOUT values. Return EINVAL for NFDS values either negative or
42938 greater than FD_SETSIZE.
42939
1043890b
ST
429402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42941
42942 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42943 allocated, call __vm_protect to finish enabling the existing space, and
42944 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42945 allocate the remainder.
42946
37ed8b9b
PT
429472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42948
42949 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42950 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42951
db653660
ST
429522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42953
37ed8b9b
PT
42954 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42955 sysdeps/mach/hurd/readlink.c.
b29d4053 42956
db653660
ST
42957 * posix/tst-sysconf.c (posix_options): Only use
42958 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42959 _POSIX_SYNCHRONIZED_IO when they are defined
42960 * sysdeps/mach/hurd/bits/posix_opt.h:
42961 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42962 (_XOPEN_REALTIME): Undefine macro.
42963 (_XOPEN_REALTIME_THREADS): Undefine macro.
42964 (_XOPEN_SHM): Undefine macro.
42965 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42966 macro to -1.
42967 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42968 macro to -1.
42969 (_POSIX_ASYNC_IO): Undefine macro.
42970 (_POSIX_PRIORITIZED_IO): Undefine macro.
42971 (_POSIX_SPIN_LOCKS): Define macro to -1.
42972
ee16e894
ST
42973 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42974 SA_NODEFER, SA_RESETHAND.
42975 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42976 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42977 F_DUPFD_CLOEXEC.
42978
6103ae3b
TS
429792012-05-10 Thomas Schwinge <thomas@schwinge.name>
42980
42981 * elf/Makefile (pldd-modules): Define unconditionally.
42982
80b4e5f3
TS
429832012-05-10 Thomas Schwinge <thomas@schwinge.name>
42984
42985 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42986
edadcbd6
ST
429872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42988
42989 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42990 Return ENOENT when name is empty.
42991 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42992
80694780
TS
429932012-05-10 Thomas Schwinge <thomas@schwinge.name>
42994
1792c087
TS
42995 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42996
80694780
TS
42997 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42998
6b645f0d
ST
429992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43000
80694780
TS
43001 Fix mlock in all cases except non-readable pages.
43002 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43003 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43004
6b645f0d
ST
43005 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43006 (__mkdir): When path is `/', just fail with EEXIST.
43007 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43008
e468f8a3
TS
430092012-05-10 Thomas Schwinge <thomas@schwinge.name>
43010
43011 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43012 <sys/uio.h> (for writev).
43013 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43014 and <sys/param.h> (for MIN).
43015
a4186cff
PT
430162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43017
43018 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43019 REQUESTED_TIME. Properly set the remaining time and return EINTR
43020 if interrupted.
43021
510bbf14
TS
430222012-05-10 Thomas Schwinge <thomas@schwinge.name>
43023
43024 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43025 Depend on against $(link-rpcuserlibs).
43026
5d5722e8
ST
430272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43028
a4186cff
PT
43029 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43030 (__libc_stack_end): Do not use attribute_relro.
43031 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43032 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43033 to libthread-provided value.
a4186cff
PT
43034 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43035 attribute_relro.
5d5722e8 43036
37233df9
TS
430372012-05-10 Thomas Schwinge <thomas@schwinge.name>
43038
be971a2b
TS
43039 [BZ #3748]
43040 * bits/libc-lock.h (__libc_once_get): New macro.
43041 * sysdeps/mach/bits/libc-lock.h: Likewise.
43042 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43044 instead of using implementation details.
43045
37233df9
TS
43046 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43047 * libio/freopen.c: Likewise.
43048 * libio/freopen64.c: Likewise.
43049 * misc/syslog.c: Likewise.
43050 * nscd/connections.c: Likewise.
43051 * nscd/netgroupcache.c: Likewise.
43052 * sysdeps/posix/getcwd.c: Likewise.
43053
38de94a5
RM
430542012-05-10 Roland McGrath <roland@hack.frob.com>
43055
43056 * math/w_ilogbf.c: Add #include <limits.h>.
43057
67530489
ST
430582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43059
a4186cff 43060 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43061 path instead of returning without unlocking.
43062
67530489
ST
43063 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43064 immediate-write ioctls.
43065 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43066
5aa3a74a
TS
430672012-05-10 Thomas Schwinge <thomas@schwinge.name>
43068
18bad2ae
TS
43069 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43070 __builtin_frame_address instead of making assumptions about the
43071 location of the return address relative to DATA. Force early load of
43072 the return address.
43073 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43074 __builtin_frame_address.
43075
5aa3a74a
TS
43076 dup3 for GNU Hurd.
43077 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43078 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43079 implement dup3 and do some further code clean-ups.
43080 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43081 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43082
ecd0de9a
ST
430832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43084
cd9fa985
ST
43085 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43086
a4186cff
PT
43087 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43088 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43089 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43090 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43091 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43092 d->port.lock.
802ca5a5 43093
a4186cff
PT
43094 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43095 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43096 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43097
bcf55240
TS
430982012-05-10 Thomas Schwinge <thomas@schwinge.name>
43099
6960eb42
TS
43100 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43101 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43102 definitions.
43103
eb43375f
TS
43104 accept4 for GNU Hurd.
43105 * include/sys/socket.h (__libc_accept4): New prototype.
43106 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43107 to implement __libc_accept4.
43108 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43109 __libc_accept4.
43110 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43111
bcf55240
TS
43112 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43113 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43114 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43115 signal-defines.sym.
43116
6178c55b
ST
431172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43118
a4186cff 43119 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43120
6f080c2f
TS
431212012-05-10 Thomas Schwinge <thomas@schwinge.name>
43122
43123 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43124 assertion on O_CLOEXEC flag.
43125 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43126 * hurd/intern-fd.c: Likewise.
43127 * hurd/port2fd.c: Likewise.
43128
bcfe3a54
ST
431292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43130
43131 [BZ #3906]
43132 * bits/in.h (IPV6_PKTINFO): Define new macro.
43133 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43134
89c9aa49
AZ
431352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43136
43137 [BZ #13954]
43138 [BZ #13955]
43139 [BZ #13956]
43140 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43141 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43142 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43143 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43145 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43146 * math/libm-test.inc (logb_test) : Additional logb tests.
43147
021db4be
AJ
431482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43149 Andreas Jaeger <aj@suse.de>
43150
43151 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43152 * configure: Regenerated.
43153 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43154 * config.make.in (link-obsolete-rpc): New substituted variable.
43155 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43156 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43157 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43158 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43159 so that libc.a contains the symbols.
43160 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43161 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43162 * sunrpc/auth_none.c: Likewise.
43163 * sunrpc/auth_unix.c: Likewise.
43164 * sunrpc/authdes_prot.c: Likewise.
43165 * sunrpc/authuxprot.c: Likewise.
43166 * sunrpc/clnt_gen.c: Likewise.
43167 * sunrpc/clnt_perr.c: Likewise.
43168 * sunrpc/clnt_raw.c: Likewise.
43169 * sunrpc/clnt_simp.c: Likewise.
43170 * sunrpc/clnt_tcp.c: Likewise.
43171 * sunrpc/clnt_udp.c: Likewise.
43172 * sunrpc/clnt_unix.c: Likewise.
43173 * sunrpc/des_crypt.c: Likewise.
43174 * sunrpc/des_soft.c: Likewise.
43175 * sunrpc/get_myaddr.c: Likewise.
43176 * sunrpc/key_call.c: Likewise.
43177 * sunrpc/key_prot.c: Likewise.
43178 * sunrpc/netname.c: Likewise.
43179 * sunrpc/pm_getmaps.c: Likewise.
43180 * sunrpc/pm_getport.c: Likewise.
43181 * sunrpc/pmap_clnt.c: Likewise.
43182 * sunrpc/pmap_prot.c: Likewise.
43183 * sunrpc/pmap_prot2.c: Likewise.
43184 * sunrpc/pmap_rmt.c: Likewise.
43185 * sunrpc/publickey.c: Likewise.
43186 * sunrpc/rpc_cmsg.c: Likewise.
43187 * sunrpc/rpc_common.c: Likewise.
43188 * sunrpc/rpc_dtable.c: Likewise.
43189 * sunrpc/rpc_prot.c: Likewise.
43190 * sunrpc/rpc_thread.c: Likewise.
43191 * sunrpc/rtime.c: Likewise.
43192 * sunrpc/svc.c: Likewise.
43193 * sunrpc/svc_auth.c: Likewise.
43194 * sunrpc/svc_raw.c: Likewise.
43195 * sunrpc/svc_run.c: Likewise.
43196 * sunrpc/svc_tcp.c: Likewise.
43197 * sunrpc/svc_udp.c: Likewise.
43198 * sunrpc/svc_unix.c: Likewise.
43199 * sunrpc/svcauth_des.c: Likewise.
43200 * sunrpc/xcrypt.c: Likewise.
43201 * sunrpc/xdr.c: Likewise.
43202 * sunrpc/xdr_array.c: Likewise.
43203 * sunrpc/xdr_float.c: Likewise.
43204 * sunrpc/xdr_intXX_t.c: Likewise.
43205 * sunrpc/xdr_mem.c: Likewise.
43206 * sunrpc/xdr_rec.c: Likewise.
43207 * sunrpc/xdr_ref.c: Likewise.
43208 * sunrpc/xdr_sizeof.c: Likewise.
43209 * sunrpc/xdr_stdio.c: Likewise.
43210
b5c086a2
RM
432112012-05-10 Roland McGrath <roland@hack.frob.com>
43212
43213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43214 change. Update copyright years.
43215
6d74dd09
JM
432162012-05-10 Joseph Myers <joseph@codesourcery.com>
43217
43218 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43219
28e72501
MK
432202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43221 Joseph Myers <joseph@codesourcery.com>
43222 Paul Pluzhnikov <ppluzhnikov@google.com>
43223
43224 [BZ #14012]
43225 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43226 requiring rpcgen.
43227 [cross-compiling] (extra-libs): Likewise.
43228 [cross-compiling] (extra-libs-others): Likewise.
43229 [cross-compiling] (librpcsvc-routines): Likewise.
43230 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43231 [cross-compiling] (omit-deps): Likewise.
43232 (sunrpc-CPPFLAGS): New variable.
43233 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43234 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43235 (cross-rpcgen-objs): New variable.
43236 (extra-objs): Append $(cross-rpcgen-objs).
43237 ($(cross-rpcgen-objs)): New rule.
43238 ($(objpfx)cross-rpcgen): Likewise.
43239 (rpcgen-cmd): Define to use $(built-program-file). Expand
43240 comment.
43241 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43242 ($(objpfx)x%.stmp): Likewise.
43243 * sunrpc/proto.h [IS_IN_build] (_): Define.
43244 [IS_IN_build] (_libc_intl_domainname): Likewise.
43245
c8c59454
L
432462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43247
43248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43249 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43250 and R_X86_64_TPOFF64.
43251
6f27cd16
JM
432522012-05-10 Joseph Myers <joseph@codesourcery.com>
43253
43254 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43255 sysdeps/unix/sysv/syscalls.list.
43256 (stime): Likewise.
43257 (utime): Likewise.
43258 * sysdeps/unix/sysv/syscalls.list: Remove file.
43259
02467e1c
PE
432602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43261
43262 [BZ #3440]
43263 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43264 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43265 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43266 (__LC_IDENTIFICATION): Make these macros useful in #if
43267 expressions, as required by C99.
43268
da392631
AS
432692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43270
43271 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43272 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43273 after this.
43274
8115f29b
L
432752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43276
43277 * stdlib/longlong.h: Updated from GCC.
43278
bdd74070
AJ
432792012-05-09 Andreas Jaeger <aj@suse.de>
43280
edfe0dbe
AJ
43281 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43282 default is first entry.
43283 (run_mode): Set type.
43284 (main): Remove informal message about syslog.
43285 (options): Fix typo.
43286
bcfe3a54
ST
43287 [BZ #14053]
43288 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43289 to asm.
bcfe3a54
ST
43290 (lrint): Likewise.
43291 (llrintf): Likewise.
43292 (llrint): Likewise.
43293 (rint): Likewise.
43294 (rintf): Likewise.
43295 (nearbyint): Likewise.
43296 (nearbyintf): Likewise.
bdd74070 43297
91d8d69e
AJ
432982012-05-09 Andreas Jaeger <aj@suse.de>
43299 Pedro Alves <palves@redhat.com>
43300
43301 * nscd/nscd.c (run_mode): Use enum.
43302 (main): Cleanup coding style issue.
43303
bb90b80b
AJ
433042012-05-09 Alexandre Oliva <aoliva@redhat.com>
43305 Andreas Jaeger <aj@suse.de>
43306
bcfe3a54
ST
43307 * nscd/nscd.c (go_background): Replaced with...
43308 (run_mode): ... this.
bb90b80b 43309 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43310 (options): Add -F --foreground.
43311 (main): Implement it.
43312 (parse_opt): Parse it.
bb90b80b 43313
1a4b75a1
AJ
433142012-05-09 Andreas Jaeger <aj@suse.de>
43315
43316 [BZ #14083]
43317 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43318 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43319 -Wconversion warning.
43320 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43321 Likewise.
43322
b1cc2472
JM
433232012-05-09 Joseph Myers <joseph@codesourcery.com>
43324
43325 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43326 == 0.
43327 (LC_ALL): Use macro-int-constant.
43328 (LC_COLLATE): Likewise.
43329 (LC_CTYPE): Likewise.
43330 (LC_MESSAGES): Likewise.
43331 (LC_MONETARY): Likewise.
43332 (LC_NUMERIC): Likewise.
43333 (LC_TIME): Likewise.
43334 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43335 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43337 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43338 Specify type.
43339 [C99-based standards] (float_t): Expect type.
43340 [C99-based standards] (double_t): Expect type.
43341 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43342 type.
43343 [C99-based standards] (HUGE_VALL): Likewise.
43344 [C99-based standards] (INFINITY): Likewise.
43345 [C99-based standards] (NAN): Likewise.
43346 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43347 [C99-based standards] (FP_NAN): Likewise.
43348 [C99-based standards] (FP_NORMAL): Likewise.
43349 [C99-based standards] (FP_SUBNORMAL): Likewise.
43350 [C99-based standards] (FP_ZERO): Likewise.
43351 [C99-based standards] (FP_FAST_FMA): Use
43352 optional-macro-int-constant. Specify type. Require == 1.
43353 [C99-based standards] (FP_FAST_FMAF): Likewise.
43354 [C99-based standards] (FP_FAST_FMAL): Likewise.
43355 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43356 [C99-based standards] (FP_ILOGBNAN): Likewise.
43357 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43358 Specify type.
43359 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43360 [C99-based standards] (math_errhandling): Specify type.
43361 [ISO99 || ISO11] (signgam): Do not allow.
43362 [non-C99-based standards] (copysignf): Do not allow.
43363 [non-C99-based standards] (exp2f): Likewise.
43364 [non-C99-based standards] (log2f): Likewise.
43365 [non-C99-based standards] (modff): Allow.
43366 [non-C99-based standards] (erff): Do not allow.
43367 [non-C99-based standards] (erfcf): Likewise.
43368 [non-C99-based standards] (gammaf): Likewise.
43369 [non-C99-based standards] (hypotf): Likewise.
43370 [non-C99-based standards] (j0f): Likewise.
43371 [non-C99-based standards] (j1f): Likewise.
43372 [non-C99-based standards] (jnf): Likewise.
43373 [non-C99-based standards] (lgammaf): Likewise.
43374 [non-C99-based standards] (tgammaf): Likewise.
43375 [non-C99-based standards] (y0f): Likewise.
43376 [non-C99-based standards] (y1f): Likewise.
43377 [non-C99-based standards] (ynf): Likewise.
43378 [non-C99-based standards] (isnanf): Likewise.
43379 [non-C99-based standards] (acoshf): Likewise.
43380 [non-C99-based standards] (asinhf): Likewise.
43381 [non-C99-based standards] (atanhf): Likewise.
43382 [non-C99-based standards] (cbrtf): Likewise.
43383 [non-C99-based standards] (expm1f): Likewise.
43384 [non-C99-based standards] (ilogbf): Likewise.
43385 [non-C99-based standards] (log1pf): Likewise.
43386 [non-C99-based standards] (logbf): Likewise.
43387 [non-C99-based standards] (nextafterf): Likewise.
43388 [non-C99-based standards] (remainderf): Likewise.
43389 [non-C99-based standards] (rintf): Likewise.
43390 [non-C99-based standards] (scalbf): Likewise.
43391 [non-C99-based standards] (copysignl): Likewise.
43392 [non-C99-based standards] (exp2l): Likewise.
43393 [non-C99-based standards] (log2l): Likewise.
43394 [non-C99-based standards] (modfl): Allow.
43395 [non-C99-based standards] (erfl): Do not allow.
43396 [non-C99-based standards] (erfcl): Likewise.
43397 [non-C99-based standards] (gammal): Likewise.
43398 [non-C99-based standards] (hypotl): Likewise.
43399 [non-C99-based standards] (j0l): Likewise.
43400 [non-C99-based standards] (j1l): Likewise.
43401 [non-C99-based standards] (jnl): Likewise.
43402 [non-C99-based standards] (lgammal): Likewise.
43403 [non-C99-based standards] (tgammal): Likewise.
43404 [non-C99-based standards] (y0l): Likewise.
43405 [non-C99-based standards] (y1l): Likewise.
43406 [non-C99-based standards] (ynl): Likewise.
43407 [non-C99-based standards] (isnanl): Likewise.
43408 [non-C99-based standards] (acoshl): Likewise.
43409 [non-C99-based standards] (asinhl): Likewise.
43410 [non-C99-based standards] (atanhl): Likewise.
43411 [non-C99-based standards] (cbrtl): Likewise.
43412 [non-C99-based standards] (expm1l): Likewise.
43413 [non-C99-based standards] (ilogbl): Likewise.
43414 [non-C99-based standards] (log1pl): Likewise.
43415 [non-C99-based standards] (logbl): Likewise.
43416 [non-C99-based standards] (nextafterl): Likewise.
43417 [non-C99-based standards] (remainderl): Likewise.
43418 [non-C99-based standards] (rintl): Likewise.
43419 [non-C99-based standards] (scalbl): Likewise.
43420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43421 [non-C99-based standards] (FP_*): Do not allow.
43422 [C99-based standards] (FP_*): Change to
43423 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43424 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43425 allow.
43426 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43427 (SIG_ERR): Likewise.
43428 [X/Open-based standards] (SIG_HOLD): Likewise.
43429 (SIG_IGN): Likewise.
43430 (SIGABRT): Use macro-int-constant. Specify type. Require
43431 positive value.
43432 (SIGFPE): Likewise.
43433 (SIGILL): Likewise.
43434 (SIGINT): Likewise.
43435 (SIGSEGV): Likewise.
43436 (SIGTER): Likewise.
43437 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43438 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43439 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43440 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43441 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43443 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43444 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43445 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43446 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43447 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43448 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43449 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43450 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43451 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43452 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43453 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43454 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43455 [X/Open-based standards] (SIGTRAP): Likewise.
43456 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43457 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43458 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43459 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43460 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43461 allow.
43462
b9f1922d
IW
434632012-05-08 Ian Wienand <ianw@vmware.com>
43464
43465 [BZ #14080]
43466 * time/tzset.c (__tzset_parse_tz): Update default rules for
43467 daylight time changes in the Energy Policy Act of 2005.
43468
1db86e88
AJ
434692012-05-09 Andreas Jaeger <aj@suse.de>
43470
43471 [BZ #13983]
43472 * elf/ldconfig.c (parse_conf): Change string to make clear that
43473 ldconfig only issued a warning if ld.so.conf does not exist.
43474
dee4a4e3
DM
434752012-05-08 David S. Miller <davem@davemloft.net>
43476
ee0db190
DM
43477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43478 movxtod instead of popping the value on the stack.
43479
dee4a4e3
DM
43480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43481
6a43ec98
CD
434822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43483
43484 * config.h.in: Add HAVE_ARM_PCS_VFP.
43485
05c2c961
RMG
434862012-05-08 Roland Mc Grath <roland@hack.frob.com>
43487
bcfe3a54
ST
43488 [BZ #13979]
43489 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43490 checking but the checks are disabled for any reason.
05c2c961 43491
4b30f61a
L
434922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43493
43494 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43495 and ELF64_R_TYPE with ELFW(R_TYPE).
43496
eee2bc67
JM
434972012-05-08 Joseph Myers <joseph@codesourcery.com>
43498
7ea5391a
JM
43499 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43500 (ulimit): Likewise.
43501
eee2bc67
JM
43502 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43503 (settimeofday): Likewise.
43504
abb66a67
MF
435052012-05-08 Mike Frysinger <vapier@gentoo.org>
43506
43507 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43508 a struct th_u2 inside the union, and move tu_block/tu_code into
43509 a new th_u3 union of tu_block/tu_code inside of that. Move
43510 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43511 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43512 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43513 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43514 (th_stuff): Change to th_u1.tu_stuff.
43515 (th_data): Define.
43516 (th_msg): Change to th_u1.th_u2.tu_data.
43517
7f18b530
DM
435182012-05-07 David S. Miller <davem@davemloft.net>
43519
05760585
DM
43520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43521
7f18b530
DM
43522 [BZ #14074]
43523 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43524 (SETUP_PIC_REG): Use it.
43525 (SETUP_PIC_REG_LEAF): Use it.
43526
495fd99f
JM
435272012-05-07 Joseph Myers <joseph@codesourcery.com>
43528
43529 [BZ #13885]
43530 [BZ #13923]
43531 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43532 USE_AS_EXPM1L.
43533 (EXPL_FINITE): Likewise.
43534 (FLDLOG): Likewise.
43535 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43536 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43537 e_expl.S.
43538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43539 USE_AS_EXPM1L.
43540 (EXPL_FINITE): Likewise.
43541 (FLDLOG): Likewise.
43542 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43543 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43544 e_expl.S.
43545 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43546 test of -max_value argument for long double.
43547 * sysdeps/i386/fpu/libm-test-ulps: Update.
43548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43549
6693d694
DM
435502012-05-06 David S. Miller <davem@davemloft.net>
43551
43552 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43553 quad soft-float symbols whose references which are compiler
43554 generated.
43555 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43556
6c23e11c
JM
435572012-05-06 Joseph Myers <joseph@codesourcery.com>
43558
d8b82cad
JM
43559 [BZ #13884]
43560 [BZ #13914]
43561 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43562 USE_AS_EXP10L.
43563 (EXPL_FINITE): Likewise.
43564 (FLDLOG): Likewise.
43565 (c0): Likewise.
43566 (c1): Likewise.
43567 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43568 Adjust comments for base varying.
43569 (__expl_finite): Change alias to EXPL_FINITE.
43570 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43571 e_expl.S.
43572 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43573 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43574 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43575 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43576 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43577 USE_AS_EXP10L.
43578 (EXPL_FINITE): Likewise.
43579 (FLDLOG): Likewise.
43580 (c0): Likewise.
43581 (c1): Likewise.
43582 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43583 Adjust comments for base varying.
43584 (__expl_finite): Change alias to EXPL_FINITE.
43585 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43586 tests for bugs.
43587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43588
6c23e11c
JM
43589 [BZ #14064]
43590 * math/libm-test.inc (check_float_internal): Correct ulp
43591 calculation for subnormal expected results.
43592
29ba805c
AJ
435932012-05-06 Andreas Jaeger <aj@suse.de>
43594
43595 * Makeconfig (+math-flags): New, set to -frounding-math.
43596 (+cflags): Add +math-flags so that all of glibc gets compiled with
43597 it.
43598
43599 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43600
7b17aeda
JM
436012012-05-05 Joseph Myers <joseph@codesourcery.com>
43602
5779f134
JM
43603 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43604 Disable one test.
43605
41498f4d
JM
43606 [BZ #13787]
43607 [BZ #13922]
43608 [BZ #14036]
43609 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43610 (__ieee754_expl): Allow for and saturate large arguments.
43611 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43612 (u_threshold): Likewise.
43613 (__exp): Call __ieee754_exp before checking for overflow and
43614 underflow.
43615 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43616 (u_threshold): Likewise.
43617 (__expf): Call __ieee754_expf before checking for overflow and
43618 underflow.
43619 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43620 (u_threshold): Likewise.
43621 (__expl): Call __ieee754_expl before checking for overflow and
43622 underflow.
43623 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43624 (__ieee754_expl): Allow for and saturate large arguments.
43625 * math/libm-test.inc (exp_test): Add another test. Do not allow
43626 missing overflow exception on overflow.
43627 (expm1_test): Do not allow missing overflow exception on overflow.
43628
6698b8bf
JM
43629 * sysdeps/i386/fpu/e_expl.c: Move to ...
43630 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43631 rather than using inline asm.
43632 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43633 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43634 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43635
7b17aeda
JM
43636 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43637 (nice): Likewise.
43638 (poll): Likewise.
43639 (signal): Likewise.
43640 (time): Likewise.
43641 (times): Likewise.
43642
f7c85819
JM
436432012-05-04 Joseph Myers <joseph@codesourcery.com>
43644
43645 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43646 sysdeps/unix/common/syscalls.list.
43647 (fchmod): Likewise.
43648 (fchown): Likewise.
43649 (ftruncate): Likewise.
43650 (getrusage): Likewise.
43651 (gettimeofday): Likewise.
43652 (setpgid): Likewise.
43653 (setregid): Likewise.
43654 (setreuid): Likewise.
43655 (sigaction): Likewise.
43656 (truncate): Likewise.
43657 (vhangup): Likewise.
43658 * sysdeps/unix/common/syscalls.list: Remove file.
43659 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43660 * sysdeps/unix/sysv/linux/Implies: Likewise.
43661
336270d0
L
436622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43663
43664 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43666 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43667 Moved to ...
43668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43669 Here.
43670 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43671 to ...
43672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43673 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43674 to ...
43675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43676 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43677 to ...
43678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43679 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43680 to ...
43681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43682 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43683 to ...
43684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43685 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43686 to ...
43687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43688 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43689 to ...
43690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43691 Here.
43692 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43693 to ...
43694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43695 Here.
43696 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43697 to ...
43698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43699 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43700 Moved to ...
43701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43702 Here.
43703 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43704 to ...
43705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43706
d128e450
JM
437072012-05-04 Joseph Myers <joseph@codesourcery.com>
43708
fa8ee516
JM
43709 * sysdeps/unix/common/bits/dirent.h: Remove file.
43710 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43711
d128e450
JM
43712 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43713 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43714 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43715 * sysdeps/unix/bsd/isatty.c: Likewise.
43716 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43717 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43718 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43719
ff8faaf0 437202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43721
62881be4 43722 [BZ #13563]
31dc8730
AZ
43723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43724 long double comparison inaccuracies.
43725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43727
6fef930c
AS
437282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43729
43730 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43732
8f203e6c
JM
437332012-05-04 Joseph Myers <joseph@codesourcery.com>
43734
43735 [BZ #14049]
43736 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43737 nonzero digits before rounding a hex value.
43738 * stdlib/tst-strtod.c (tests): Add another test.
43739
5197d9c2
AK
437402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43741
43742 * sysdeps/s390/fpu/libm-test-ulps: Update.
43743
f0c1dedf
AJ
437442012-05-03 Andreas Jaeger <aj@suse.de>
43745
43746 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43747 does not get optimized out.
43748 (malloc_opt_barrier): New.
43749
a65ef2ae 437502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43751 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43752
2b942cb7 43753 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43754 intermediate file deletion.
2b942cb7 43755 (generated): Add .symlist files.
a65ef2ae 43756
54b71e02
JM
437572012-05-03 Joseph Myers <joseph@codesourcery.com>
43758
43759 [BZ #13775]
43760 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43761 Redirect under this condition.
43762 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43763 [__USE_GNU] (__dprintf_chk): Not under this condition.
43764 [__USE_GNU] (__vdprintf_chk): Likewise.
43765 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43766 under this condition.
43767 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43768 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43769 [__USE_XOPEN2K8] (vdprintf): Likewise.
43770 [__USE_GNU] (__dprintf_chk): Not under this condition.
43771 [__USE_GNU] (__vdprintf_chk): Likewise.
43772 [__USE_GNU] (dprintf): Likewise.
43773 [__USE_GNU] (vdprintf): Likewise.
43774
d3dfcc41
RM
437752012-05-03 Roland McGrath <roland@hack.frob.com>
43776
43777 * elf/Makefile (common-generated): Set this instead of generated for
43778 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43779 $(all-built-dso)-derived lists.
43780
7ac30cc5
AJ
437812012-05-03 Andreas Jaeger <aj@suse.de>
43782
0c51e550
AJ
43783 * sysdeps/i386/fpu/libm-test-ulps: Update.
43784
7ac30cc5
AJ
43785 * FAQ: Removed.
43786 * FAQ.in: Likewise.
43787 * scripts/gen-FAQ.pl: Likewise.
43788 * manual/install.texi (Installation): Point to online location of
43789 FAQ.
43790 * Makefile (files-for-dist): Remove FAQ.
43791 (FAQ): Remove.
43792
d4c2917f
AM
437932012-05-02 Allan McRae <allan@archlinux.org>
43794
43795 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43796 (LDFLAGS-reldepmod5.so): Likewise.
43797 (LDFLAGS-reldep6mod1.so): Likewise.
43798 (LDFLAGS-reldep6mod4.so): Likewise.
43799 (LDFLAGS-reldep8mod3.so): Likewise.
43800 (LDFLAGS-unload4mod1.so): Likewise.
43801 (LDFLAGS-unload4mod2.so): Likewise.
43802 (LDFLAGS-tst-initorder): Likewise.
43803 (LDFLAGS-tst-initordera2.so): Likewise.
43804 (LDFLAGS-tst-initordera3.so): Likewise.
43805 (LDFLAGS-tst-initordera4.so): Likewise.
43806 (LDFLAGS-tst-initorderb2.so): Likewise.
43807 (LDFLAGS-noload): Likewise.
43808 (LDFLAGS-next): Likewise.
43809 (LDFLAGS-order2mod1.so): Likewise.
43810 (LDFLAGS-order2mod2.so): Likewise.
43811 (LDFLAGS-tst-initorder2): Likewise.
43812 (LDFLAGS-tst-initorder2a.so): Likewise.
43813 (LDFLAGS-tst-initorder2b.so): Likewise.
43814 (LDFLAGS-tst-initorder2c.so): Likewise.
43815 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43816
d77f993f
DM
438172012-05-02 David S. Miller <davem@davemloft.net>
43818
43819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43820
171a70b4
PP
438212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43822
43823 [BZ #14055]
43824 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43825
0be196ad
AJ
438262012-05-02 Andreas Jaeger <aj@suse.de>
43827
43828 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43829 since we manipulate rounding mode.
43830 (CPPFLAGS-test-idouble.c): Likewise.
43831 (CPPFLAGS-test-ifloat.c): Likewise.
43832 (CFLAGS-test-ldouble.c): Likewise.
43833 (CFLAGS-test-double.c): Likewise.
43834 (CFLAGS-test-float.c): Likewise.
43835 (CFLAGS-test-misc.c): Likewise.
43836 (CFLAGS-test-test-fenv.c): Likewise.
43837
4f9d04aa
AZ
438382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43839
2b942cb7
RM
43840 [BZ #2550]
43841 [BZ #2570]
43842 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43843 comparisons to determine direction to adjust input.
4f9d04aa 43844
82a79e7d
RM
438452012-05-01 Roland McGrath <roland@hack.frob.com>
43846
f5a01ca9
RM
43847 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43848 output to the target.
43849
90fe4186
RM
43850 * scripts/localplt.awk: New file.
43851 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43852 (check-localplt-CFLAGS): Variable removed.
43853 ($(all-built-dso:=.jmprel)): New static pattern rule.
43854 (generated): Add those targets.
43855 (localplt-built-dso): New variable.
43856 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43857
43858 * elf/check-localplt.c: File removed.
43859
82397ed6
RM
43860 * scripts/check-execstack.awk: New file.
43861 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43862 (check-execstack-CFLAGS): Variable removed.
43863 ($(objpfx)check-execstack.h): Target removed.
43864 ($(objpfx)execstack-default): New target.
43865 (generated): Add that instead of check-execstack.h.
43866 ($(all-built-dso:=.phdr)): New static pattern rule.
43867 (generated): Add those targets.
43868 * elf/check-execstack.c: File removed.
43869
82a79e7d
RM
43870 * scripts/check-textrel.awk: New file.
43871 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43872 (check-textrel-CFLAGS): Variable removed.
43873 (all-built-dso): Use := to define.o
43874 ($(all-built-dso:=.dyn)): New static pattern rule.
43875 (generated): Add those targets.
43876 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43877 * config.make.in (READELF): New substituted variable.
43878 * elf/check-textrel.c: File removed.
43879
62fde54f 438802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43881
615605c9
JM
43882 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43883 allow.
43884 * conform/data/ctype.h-data [C99-based standards] (isblank):
43885 Expect function.
43886 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43887 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43889 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43890 Specify type. Require positive value.
43891 (EILSEQ): Likewise.
43892 (ERANGE): Likewise.
43893 [ISO || POSIX] (EILSEQ): Do not expect.
43894 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43895 Specify type. Require positive value.
43896 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43905 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43910 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43911 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43912 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43913 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43914 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43915 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43916 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43917 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43918 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43919 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43920 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43921 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43922 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43923 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43924 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43925 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43926 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43927 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43928 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43931 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43932 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43933 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43934 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43935 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43936 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43937 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43938 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43939 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43940 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43942 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43947 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43948 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43949 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43950 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43951 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43952 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43954 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43955 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43956 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43957 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43958 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43959 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43960 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43961 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43962 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43963 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43964 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43965 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43966 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43967 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43968 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43969 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43970 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43971 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43972 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43973 Require >= 2.
43974 (FLT_ROUNDS): Expect as macro, not constant.
43975 (FLT_MANT_DIG): Use macro-int-constant.
43976 (DBL_MANT_DIG): Likewise.
43977 (LDBL_MANT_DIG): Likewise.
43978 (FLT_DIG): Likewise.
43979 (DBL_DIG): Likewise.
43980 (LDBL_DIG): Likewise.
43981 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43982 (DBL_MIN_EXP): Likewise.
43983 (LDBL_MIN_EXP): Likewise.
43984 (FLT_MAX_EXP): Use macro-int-constant.
43985 (DBL_MAX_EXP): Likewise.
43986 (LDBL_MAX_EXP): Likewise.
43987 (FLT_MAX_10_EXP): Likewise.
43988 (DBL_MAX_10_EXP): Likewise.
43989 (LDBL_MAX_10_EXP): Likewise.
43990 (FLT_MAX): Use macro-constant.
43991 (DBL_MAX): Likewise.
43992 (LDBL_MAX): Likewise.
43993 (FLT_EPSILON): Use macro-constant. Give upper bound.
43994 (DBL_EPSILON): Likewise.
43995 (LDBL_EPSILON): Likewise.
43996 (FLT_MIN): Likewise.
43997 (DBL_MIN): Likewise.
43998 (LDBL_MIN): Likewise.
43999 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44000 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44001 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44002 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44003 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44004 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44005 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44006 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44007 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44008 [ISO11] (FLT_TRUE_MIN): Likewise.
44009 [ISO11] (LDBL_TRUE_MIN): Likewise.
44010 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44011 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44012 (SCHAR_MIN): Use macro-int-constant. Specify type.
44013 (SCHAR_MAX): Likewise.
44014 (UCHAR_MAX): Likewise.
44015 (CHAR_MIN): Likewise.
44016 (CHAR_MAX): Likewise.
44017 (MB_LEN_MAX): Use macro-int-constant.
44018 (SHRT_MIN): Use macro-int-constant. Specify type.
44019 (SHRT_MAX): Likewise.
44020 (USHRT_MAX): Likewise.
44021 (INT_MAX): Likewise.
44022 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44023 bound negative.
44024 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44025 bound with "U".
44026 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44027 bound with "L".
44028 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44029 bound negative. Suffix upper bound with "L".
44030 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44031 bound with "UL".
44032 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44033 Specify type.
44034 [C99-based standards] (LLONG_MAX): Likewise.
44035 [C99-based standards] (ULLONG_MAX): Likewise.
44036 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44037 == 0.
44038 [ISO11] (max_align_t): Require type.
44039 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44040
c9140a62
JM
44041 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44042 from $CFLAGS, without defining away __attribute__ calls.
44043 (checknamespace): Use $CFLAGS_namespace.
44044
9af0bf29
JM
44045 * conform/conformtest.pl (@keywords): Only include C99 keywords
44046 for standards based on C99 or C11.
44047
343222a2
JM
44048 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44049 Disable tests.
44050 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44051 UNIX98]: Likewise.
44052
661f8cf0
JM
44053 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44054 usability of symbols in #if.
44055
ee74b9cb
JM
44056 * conform/conformtest.pl: If macro or constant types start
44057 "promoted:", expect the symbol to be of the following type
44058 promoted by the integer promotions.
62fde54f 44059
aafc49b3
JM
44060 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44061 in one place. Also handle "macro-constant".
44062
fefdf574
JM
44063 * conform/conformtest.pl: Only accept expected macro values with
44064 "==". Parse all "macro" lines in one place.
44065 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44066
f2d922fe
JM
44067 * conform/conformtest.pl: Handle braced types on "constant" lines
44068 instead of handling "typed-constant".
44069 * conform/data/signal.h-data: Use "constant" instead of
44070 "typed-constant".
44071
d22956c9
JM
44072 * conform/conformtest.pl: Handle "optional-" at start of lines in
44073 one place rather than duplicating several cases. Handle each
44074 format of "macro" line with initial "optional-".
44075
028e2e38
JM
44076 * conform/conformtest.pl: Only accept expected constant or
44077 optional-constant values with "==". Parse all "constant" lines in
44078 one place. Parse all "optional-constant" lines in one place.
44079 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44080 * conform/data/fmtmsg.h-data: Likewise.
44081 * conform/data/netinet/in.h-data: Likewise.
44082 * conform/data/tar.h-data: Likewise.
44083 * conform/data/limits.h-data: Use "==" form on "constant" and
44084 "optional-constant" lines.
44085
1b8f2850
JM
44086 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44087 Use -std=c99 for XOPEN2K.
44088 (@knownproblems): Remove.
44089 (newtoken): Don't check %isknown.
44090
a05a144b
JM
44091 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44092 Do not expect macro.
44093 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44105 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44106 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44111 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44112 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44113 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44114 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44115 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44118 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44119 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44123 [XPG3] (acosh): Likewise.
44124 [XPG3] (asinh): Likewise.
44125 [XPG3] (atanh): Likewise.
44126 [XPG3] (cbrt): Likewise.
44127 [XPG3] (expm1): Likewise.
44128 [XPG3] (ilogb): Likewise.
44129 [XPG3] (log1p): Likewise.
44130 [XPG3] (logb): Likewise.
44131 [XPG3] (nextafter): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44134 [XPG3] (remainder): Likewise.
44135 [XPG3] (rint): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44143 [UNIX98 || XOPEN2K] (scalb): Expect.
44144 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44145 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44281
73c5ebe3
JM
44282 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44283 _XOPEN_SOURCE_EXTENDED for XPG4.
44284
39c33b6c
JM
44285 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44286
62fde54f
JM
44287 * Makeconfig (localtime): Remove variable.
44288 (inst_localtime-file): Likewise.
44289
0741d64c
AS
442902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44291
44292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44293 Update.
44294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44295 Update.
44296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44297 Update.
44298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44299 Update.
44300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44301 Update.
44302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44303 Update.
44304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44305 Update.
44306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44307 Update.
44308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44309 Update.
44310
7cb029ee
JM
443112012-05-01 Joseph Myers <joseph@codesourcery.com>
44312
44313 [BZ #2550]
44314 [BZ #2570]
44315 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44316 comparisons to determine direction to adjust input.
44317 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44318 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44320 Likewise.
44321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44322 Likewise.
44323 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44324 Likewise.
44325 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44326 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44327 Likewise.
44328 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44329 Likewise.
44330 * math/libm-test.inc (nexttoward_test): Add more tests.
44331
412bd966
AS
443322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44333
44334 [BZ #14040]
44335 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44336 in version GLIBC_2.1, not GLIBC_2.0.
44337 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44338 Likewise.
44339
9568c0c2
JM
443402012-04-30 Joseph Myers <joseph@codesourcery.com>
44341
adfbc8ac
JM
44342 [BZ #13942]
44343 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44344 (1 - x) * (1 + x).
44345 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44346 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44347 * math/libm-test.inc (acos_test): Add more tests.
44348 (asin_test): Likewise.
44349 * sysdeps/i386/fpu/libm-test-ulps: Update.
44350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44351
5ba3cc69
JM
44352 [BZ #14034]
44353 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44354 of square root.
44355 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44356 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44357 * math/libm-test.inc (acos_test_tonearest): New function.
44358 (acos_test_towardzero): Likewise.
44359 (acos_test_downward): Likewise.
44360 (acos_test_upward): Likewise.
44361 (asin_test_tonearest): Likewise.
44362 (asin_test_towardzero): Likewise.
44363 (asin_test_downward): Likewise.
44364 (asin_test_upward): Likewise.
44365 (main): Call the new functions.
44366 * sysdeps/i386/fpu/libm-test-ulps: Update.
44367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44368
9568c0c2
JM
44369 [BZ #13884]
44370 [BZ #13924]
44371 * math/e_exp10.c: Include <float.h>.
44372 (__ieee754_exp10): Handle underflow here rather than multiplying
44373 large negative argument by M_LN10.
44374 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44375 of __ieee754_expf.
44376 * math/e_exp10l.c: Include <float.h>.
44377 (__ieee754_exp10l): Handle underflow here rather than multiplying
44378 large negative argument by M_LN10l.
44379 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44380 spurious overflow exception on underflow.
44381
5ac3ea17
MP
443822012-04-29 Marek Polacek <polacek@redhat.com>
44383
44384 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44385 (__fortify_function): New macro.
44386 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44387 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44388 __extern_always_inline.
44389 * libio/bits/stdio2.h: Likewise.
44390 * libio/bits/stdio.h: Likewise.
44391 * string/string.h: Likewise.
44392 * string/bits/string3.h: Likewise.
44393 * include/stdio.h: Likewise.
44394 * stdlib/bits/stdlib.h: Likewise.
44395 * stdlib/stdlib.h: Likewise.
44396 * rt/bits/mqueue2.h: Likewise.
44397 * rt/mqueue.h: Likewise.
44398 * posix/bits/unistd.h: Likewise.
44399 * posix/unistd.h: Likewise.
44400 * io/bits/poll2.h: Likewise.
44401 * io/bits/fcntl2.h: Likewise.
44402 * io/fcntl.h: Likewise.
44403 * io/sys/poll.h: Likewise.
44404 * misc/bits/syslog.h: Likewise.
44405 * misc/bits/syslog-ldbl.h: Likewise.
44406 * misc/sys/syslog.h: Likewise.
44407 * socket/bits/socket2.h: Likewise.
44408 * socket/sys/socket.h: Likewise.
44409 * debug/tst-chk1.c: Likewise.
44410 * wcsmbs/bits/wchar2.h: Likewise.
44411 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44412 * wcsmbs/wchar.h: Likewise.
44413
ecf0ebfb
AJ
444142012-04-29 Andreas Jaeger <aj@suse.de>
44415
44416 * Makerules (tests): Remove enable-check-abi protection.
44417 (check-abi-warn): Remove.
44418 (check-abi-%): Remove check-abi-warn usage.
44419
44420 * configure.in: Remove check-abi configure option.
44421 * configure: Regenerated.
44422 * config.make.in (enable-check-abi): Remove.
44423
6d5c57fa
AS
444242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44425
24c5d07e 44426 [BZ #14033]
ded5180a
AS
44427 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44428 double functions to double *_finite functions.
44429
7e0d315d
AS
44430 [BZ #13941]
44431 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44432 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44433 LDBL_MIN_EXP.
44434 * stdio-common/Makefile (tests): Add tst-sprintf3.
44435 * stdio-common/tst-sprintf3.c: New file.
44436
6d5c57fa
AS
44437 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44438 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44439
0749ff8b
JM
444402012-04-28 Joseph Myers <joseph@codesourcery.com>
44441
44442 * conform/conformtest.pl: Remove duplicate typed-constant
44443 handling.
44444
8dbd5d7b
DM
444452012-04-28 David S. Miller <davem@davemloft.net>
44446
44447 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44448 (check-abi-%): Remove AWK script prerequisite and explicit
44449 abilist directory.
44450 (check-abi): Rewrite to just diff the symlist with the abilist.
44451 (config-tls, config-abi-config): Delete, no longer used.
44452 (update-abi-%): Remove AWK script and explicit abilist directory.
44453 (update-abi): Rewrite to simply compare and conditionally copy the
44454 symlist and the sysdep abilist file. Remove update-abi-config
44455 checks.
44456 * abilist/ld.abilist: Remove.
44457 * abilist/libBrokenLocale.abilist: Remove.
44458 * abilist/libanl.abilist: Remove.
44459 * abilist/libcrypt.abilist: Remove.
44460 * abilist/libdl.abilist: Remove.
44461 * abilist/librt.abilist: Remove.
44462 * abilist/libthread_db.abilist: Remove.
44463 * abilist/libutil.abilist: Remove.
44464 * scripts/extract-abilist.awk: Remove.
44465 * scripts/merge-abilist.awk: Remove.
44466 * sysdeps/generic/libcidn.abilist: New file.
44467 * sysdeps/generic/libnss_compat.abilist: New file.
44468 * sysdeps/generic/libnss_db.abilist: New file.
44469 * sysdeps/generic/libnss_dns.abilist: New file.
44470 * sysdeps/generic/libnss_files.abilist: New file.
44471 * sysdeps/generic/libnss_hesiod.abilist: New file.
44472 * sysdeps/generic/libnss_nis.abilist: New file.
44473 * sysdeps/generic/libnss_nisplus.abilist: New file.
44474 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44475 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44476 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44477 file.
44478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44479 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44480 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44481 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44482 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44483 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44484 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44485 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44486 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44487 file.
44488 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44489 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44490 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44491 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44492 file.
44493 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44494 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44495 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44496 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44497 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44498 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44499 file.
44500 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44501 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44502 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44503 file.
44504 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44506 New file.
44507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44508 New file.
44509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44510 New file.
44511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44512 New file.
44513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44514 New file.
44515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44516 New file.
44517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44518 New file.
44519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44520 New file.
44521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44522 New file.
44523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44524 New file.
44525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44526 New file.
44527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44528 New file.
44529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44530 New file.
44531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44532 file.
44533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44534 New file.
44535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44536 New file.
44537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44538 file.
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44540 New file.
44541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44542 New file.
44543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44544 file.
44545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44546 New file.
44547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44548 New file.
44549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44550 New file.
44551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44552 New file.
44553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44554 New file.
44555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44556 New file.
44557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44559 file.
44560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44561 New file.
44562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44563 file.
44564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44565 file.
44566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44567 file.
44568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44569 file.
44570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44571 file.
44572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44573 New file.
44574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44575 file.
44576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44577 file.
44578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44579 New file.
44580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44581 file.
44582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44584 file.
44585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44586 New file.
44587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44588 file.
44589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44590 file.
44591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44592 file.
44593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44594 file.
44595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44596 file.
44597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44598 New file.
44599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44600 file.
44601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44602 file.
44603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44604 New file.
44605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44606 file.
44607 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44608 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44609 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44610 file.
44611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44612 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44613 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44614 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44615 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44616 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44617 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44618 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44619 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44620 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44623 file.
44624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44625 New file.
44626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44627 file.
44628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44629 file.
44630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44631 file.
44632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44633 file.
44634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44635 file.
44636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44637 New file.
44638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44639 New file.
44640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44641 file.
44642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44643 New file.
44644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44645 file.
44646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44648 file.
44649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44650 New file.
44651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44652 file.
44653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44654 file.
44655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44656 file.
44657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44658 file.
44659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44660 file.
44661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44662 New file.
44663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44664 New file.
44665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44666 file.
44667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44668 New file.
44669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44670 file.
44671
41d73a1b
JM
446722012-04-28 Joseph Myers <joseph@codesourcery.com>
44673
44674 * conform/conformtest.pl: Fix typo in handling typed-constant from
44675 allow-header.
44676
28aeeda4
JM
446772012-04-27 Joseph Myers <joseph@codesourcery.com>
44678
adae8f5e
JM
44679 * README: Cut down references to pre-2.6 Linux kernels and
44680 Linuxthreads. Update lists of configurations in libc and ports
44681 and sort alphabetically. Say "or newer" with Linux kernel version
44682 requirements.
44683
28aeeda4
JM
44684 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44685
a462cb63
RA
446862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44687
44688 [BZ #887]
44689 * math/libm-test.inc (logb_test_downward): New test to expose
44690 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44691 rounding mode.
44692
6ad3493e
JM
446932012-04-27 Joseph Myers <joseph@codesourcery.com>
44694
44695 [BZ #14027]
44696 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44697 to be done.
44698 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44699 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44700
2ce4f015
JM
447012012-04-26 Joseph Myers <joseph@codesourcery.com>
44702
5aeb141a
JM
44703 * sysdeps/unix/i386/brk.S: Remove file.
44704 * sysdeps/unix/i386/dl-brk.S: Likewise.
44705 * sysdeps/unix/i386/pipe.S: Likewise.
44706 * sysdeps/unix/i386/sigreturn.S: Likewise.
44707 * sysdeps/unix/i386/syscall.S: Likewise.
44708 * sysdeps/unix/i386/vfork.S: Likewise.
44709 * sysdeps/unix/i386/wait.S: Likewise.
44710
7143acae
JM
44711 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44712 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44713
2ce4f015
JM
44714 * configure.in (arm*-none*): Do not allow without
44715 --enable-hacker-mode.
44716 (netbsd*): Remove case setting base_os.
44717 (386bsd*): Likewise.
44718 (freebsd*): Likewise.
44719 (bsdi*): Likewise.
44720 (osf*): Likewise.
44721 (sunos*): Likewise.
44722 (ultrix*): Likewise.
44723 (newsos*): Likewise.
44724 (dynix*): Likewise.
44725 (*bsd*): Likewise.
44726 (sysv*): Likewise.
44727 (isc*): Likewise.
44728 (esix*): Likewise.
44729 (sco*): Likewise.
44730 (minix*): Likewise.
44731 (irix4*): Likewise.
44732 (irix6*): Likewise.
44733 (solaris[2-9]*): Likewise.
44734 (none): Likewise.
44735 * configure: Regenerated.
44736
0ac229c8
AZ
447372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44738
44739 [BZ #11521]
44740 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44741 overflow or cancellation in calculating denominator.
44742 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44744 down expression to avoid unexpected rounding in newer GCCs.
44745 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44746
33f244f4
DM
447472012-04-26 David S. Miller <davem@davemloft.net>
44748
44749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44750 long-double compat symbols.
44751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44764
cfa1f3e8
DM
447652012-04-25 David S. Miller <davem@davemloft.net>
44766
44767 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44768 HWCAP_* values only after the memory barriers have been defined.
44769 (atomic_full_barrier): Define.
44770 (atomic_read_barrier): Define.
44771 (atomic_write_barrier): Define.
44772
6e236b92
SP
447732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44774
44775 * shlib-versions: Add libgcc_s version information.
44776 * sysdeps/generic/libgcc_s.h: Remove.
44777 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44778 libgcc_s.h.
44779 * sysdeps/gnu/unwind-resume.c: Likewise.
44780 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44781
aab39a09
DM
447822012-04-25 David S. Miller <davem@davemloft.net>
44783
44784 * sysdeps/unix/sparc/brk.S: Delete.
44785 * sysdeps/unix/sparc/dl-brk.S: Delete.
44786 * sysdeps/unix/sparc/pipe.S: Delete.
44787 * sysdeps/unix/sparc/sysdep.S: Delete.
44788 * sysdeps/unix/sparc/sysdep.h: Delete.
44789 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44790 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44791 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44792 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44793 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44794 (JUMPTARGET): Remove.
44795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44796 sysdeps/unix/sparc/sysdep.h
44797 (ENTRY, END): Remove.
44798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44799
a3cc4f48
JM
448002012-04-25 Joseph Myers <joseph@codesourcery.com>
44801
2ed8cda2
JM
44802 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44803 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44804 -DIS_IN_build.
44805
35d76d59
JM
44806 * timezone/README: Update upstream location and email address for
44807 tzcode and tzdata.
44808 * timezone/zdump.c: Update from tzcode 2012b.
44809 * timezone/zic.c: Likewise.
44810
a3cc4f48
JM
44811 * configure.in (libc_cv_as_needed): Remove test.
44812 * configure: Regenerated.
44813 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44814 conditional definition.
44815 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44816 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44817 * config.make.in (have-as-needed): Remove variable.
44818
ceab42c3
SP
448192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44820 Paul Pluzhnikov <ppluzhnikov@google.com>
44821
44822 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44823 strings correctly.
44824
3ce2865f
CLT
448252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44826
44827 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44828 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44829 * sysdeps/sh/strlen.S: Likewise.
44830
f37e0d68
JM
448312012-04-24 Joseph Myers <joseph@codesourcery.com>
44832
ae186e9a
JM
44833 * sysdeps/unix/fork.S: Remove file.
44834 * sysdeps/unix/i386/fork.S: Likewise.
44835 * sysdeps/unix/sparc/fork.S: Likewise.
44836
b96914af
JM
44837 * sysdeps/unix/system.c: Remove file.
44838 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44839
f37e0d68
JM
44840 * sysdeps/unix/getegid.S: Remove file.
44841 * sysdeps/unix/geteuid.S: Likewise.
44842
87ef29ca
RM
448432012-04-24 Roland McGrath <roland@hack.frob.com>
44844
83bcd236
RM
44845 * scripts/check-localplt.awk: New file.
44846 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44847 of diff.
44848 * scripts/data/localplt-generic.data: Add a comment.
44849
87ef29ca
RM
44850 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44851 NODE when __dir_mkfile failed.
44852 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44853 Reported by Ludovic Courtès <ludo@gnu.org>.
44854
e5a6e567
AJ
448552012-04-24 Andreas Jaeger <aj@suse.de>
44856
44857 * Makerules (common-clean): Also remove gen-as-const-headers
44858 files.
44859
c1820385
JM
448602012-04-24 Joseph Myers <joseph@codesourcery.com>
44861
44862 * Makerules (native-compile): Do not change working directory for
44863 build. Use $(OUTPUT_OPTION) in command.
44864 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44865
94e02fc4
AZ
448662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44867
44868 [BZ #13886]
44869 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44870 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44871 * math/libm-test.inc (floor_test): Add more tests.
44872 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44873
3a533ca3
JM
448742012-04-24 Joseph Myers <joseph@codesourcery.com>
44875
940ab4b3
JM
44876 * sysdeps/unix/getdents.c: Remove file.
44877 * sysdeps/unix/sysv/getdents.c: Likewise.
44878 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44879
90e037bd
JM
44880 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44881 sysdeps/unix/mman/syscalls.list.
44882 (mmap): Likewise.
44883 (mprotect): Likewise.
44884 (msync): Likewise.
44885 (munmap): Likewise.
44886 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44887 * sysdeps/unix/mman/syscalls.list: Remove.
44888 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44889
3a533ca3
JM
44890 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44891 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44892 * configure: Regenerated.
44893 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44894 $(libgcc_s_suffix).
44895 * config.make.in (libgcc_s_suffix): Remove variable.
44896
1ad743de
JM
448972012-04-23 Joseph Myers <joseph@codesourcery.com>
44898
4ad451e2
JM
44899 * sysdeps/unix/sysv/gethostname.c: Move to ...
44900 * sysdeps/posix/gethostname.c: ... here.
44901
5e37ce39
JM
44902 * sysdeps/unix/execve.S: Remove file.
44903
1ad743de
JM
44904 * sysdeps/unix/_exit.S: Remove file.
44905
4e681b5b
AJ
449062012-04-23 Andreas Jaeger <aj@suse.de>
44907
44908 [BZ #13739]
44909 * manual/Makefile: Remove make dist support, there's no
44910 need for a stand-alone documentation tar ball.
44911 (TEXI2DVI): Define always, it's not in Makeconfig.
44912 (dist): Removed.
44913 (tar-it): Removed.
44914 (edition): Removed.
44915 (glibc-doc-$(edition).tar): Removed
44916 (%.Z): Removed.
44917 (%.gz): Removed.
44918 (%.uu): Removed.
44919 (ETAGS): Remove, it's in Makeconfig.
44920 (move-if-change): Remove, it's in Makeconfig.
44921
38686a03 449222012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44923
44924 [BZ #13970]
44925 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44926 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44927 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44928 (strtod_l, strtof_l, strtold_l): Remove __wur.
44929 It is not necessarily an error to ignore strtol's return value.
44930 One can reliably look at the stored endptr to decide whether
44931 the number had valid syntax.
44932
7c0616fa
AJ
449332012-04-21 Andreas Jaeger <aj@suse.de>
44934
803cb6b7 44935 [BZ #13739]
7c0616fa
AJ
44936 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44937
b0fe253f
JM
449382012-04-21 Joseph Myers <joseph@codesourcery.com>
44939
44940 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44941 * sysdeps/unix/sysv/Versions: Remove file.
44942
8280f22d
MT
449432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44944
44945 [BZ #13927]
44946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44947
75ce411f 449482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44949
44950 [BZ #7064]
44951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44952 version from __vm86.
44953
097d59fa
JM
449542012-04-20 Joseph Myers <joseph@codesourcery.com>
44955
a90f3bcb
JM
44956 * sysdeps/unix/common/lxstat.c: Remove file.
44957 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44958
edc7ea78
JM
44959 * sysdeps/unix/sysv/Makefile: Remove file.
44960
cb78c221
JM
44961 * sysdeps/unix/sysv/direct.h: Remove file.
44962
efa6a45f
JM
44963 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44964 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44965 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44966 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44967 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44968 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44969 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44970
9c9f2d0c
JM
44971 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44972
4541c83b
JM
44973 * sysdeps/unix/xmknod.c: Remove file.
44974 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44975
f5d153a0
JM
44976 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44977
aa746595
JM
44978 * sysdeps/unix/sysv/i386/time.S: Remove file.
44979
cce5905e
JM
44980 * sysdeps/unix/fxstat.c: Remove file.
44981 * sysdeps/unix/xstat.c: Likewise.
44982 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44983
37fa3841
JM
44984 * sysdeps/unix/sysv/sigaction.c: Remove file.
44985
ff1962a3
JM
44986 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44987 (sysdep_headers): Remove variable.
44988 [termio.h not in sysdep_headers] (generated): Likewise.
44989 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44990 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44991 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44992 * sysdeps/unix/sysv/tcflow.c: Likewise.
44993 * sysdeps/unix/sysv/tcflush.c: Likewise.
44994 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44995 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44996 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44997 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44998 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44999
e7740d31
JM
45000 * sysdeps/unix/siglist.c: Remove file.
45001
ee06f18b
JM
45002 * sysdeps/unix/getppid.S: Remove file.
45003
097d59fa
JM
45004 * sysdeps/unix/mkdir.c: Remove file.
45005 * sysdeps/unix/rmdir.c: Likewise.
45006
ff3d51ec
AS
450072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45008
45009 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45010 ERR_MAX value.
45011 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45012 errlist-compat value.
45013
50f81fd7
DM
450142012-04-18 David S. Miller <davem@davemloft.net>
45015
45016 * sysdeps/generic/memcopy.h (reg_char): Delete.
45017 * debug/strcat_chk.c: Use char, not reg_char.
45018 * debug/strcpy_chk.c: Likewise.
45019 * debug/strncat_chk.c: Likewise.
45020 * debug/strncpy_chk.c: Likewise.
45021 * string/memchr.c: Likewise.
45022 * string/memrchr.c: Likewise.
45023 * string/rawmemchr.c: Likewise.
45024 * string/strcat.c: Likewise.
45025 * string/strchr.c: Likewise.
45026 * string/strchrnul.c: Likewise.
45027 * string/strcmp.c: Likewise.
45028 * string/strcpy.c: Likewise.
45029 * string/strncat.c: Likewise.
45030 * string/strncmp.c: Likewise.
45031 * string/strncpy.c: Likewise.
45032
8ff41c46
WS
450332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45034
45035 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45036 __builtin_memcopy is called when src and dest ranges are known to not
45037 overlap.
45038
6b652f46
WS
450392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45040
45041 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45042 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45043 fwd_align_merge macro call.
45044 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45045 bwd_align_merge macro call.
45046 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45047
b282631e
WS
450482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45049
45050 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45051 bwd_align_merge macros.
45052 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45053 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45054 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45055
95aa737c
DM
450562012-04-18 David S. Miller <davem@davemloft.net>
45057
45058 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45059
7a99a614
AJ
450602012-04-18 Andreas Jaeger <aj@suse.de>
45061
45062 [BZ# 6794]
45063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45064 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45066
45067 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45068 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45070
45071 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45072 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45073 Adjust for changed ldbl-128 files.
45074
45075 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45076 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45077 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45078
e5270c23
DM
450792012-04-17 David S. Miller <davem@davemloft.net>
45080
45081 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45082
fb5e92c9
AS
450832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45084
45085 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45086 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45087 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45088 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45089 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45090 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45091
76da7265
AZ
450922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45093
45094 [BZ #6794]
45095 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45096 * math/libm-test.inc: Add ilogb errno and exception tests.
45097 * math/w_ilogb.c: New file: ilogb wrapper.
45098 * math/w_ilogbf.c: New file: ilogbf wrapper.
45099 * math/w_ilogbl.c: New file: ilogbl wrapper.
45100 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45101 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45102 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45103 exception being thrown with 0.0 as argument.
45104 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45105 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45106 exception being thrown with 0.0 as argument.
45107 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45108 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45109 exception being thrown with 0.0 as argument.
45110 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45111 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45112 exception being thrown with 0.0 as argument.
45113 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45114 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45116 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45118 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45119 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45120 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45121 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45122
0396e69d
PB
451232012-04-17 Petr Baudis <pasky@ucw.cz>
45124
45125 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45126 with altivec.
45127
750b5926
MP
451282012-04-16 Marek Polacek <polacek@redhat.com>
45129
45130 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45131
751728a1
MP
451322012-04-16 Marek Polacek <polacek@redhat.com>
45133
45134 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45135 operands of fdivp instruction.
45136
34a27407
L
451372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45138
45139 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45140 * elf/tst-auditmod3b.c: Likewise.
45141 * elf/tst-auditmod4b.c: Likewise.
45142 * elf/tst-auditmod5b.c: Likewise.
45143 * elf/tst-auditmod6b.c: Likewise.
45144 * elf/tst-auditmod6c.c: Likewise.
45145 * elf/tst-auditmod7b.c: Likewise.
45146 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45147 * sysdeps/x86_64/preconfigure.in: Likewise.
45148 * sysdeps/x86_64/preconfigure: Regenerated.
45149
7e73e17d
L
451502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45151
45152 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45153 __ILP32__.
45154
c7a6ab72
AB
451552012-04-13 Antoine Balestrat <merkil33@gmail.com>
45156
45157 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45158 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45159
a9e8e0e0
CL
451602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45161
45162 [BZ #13973]
45163 * locale/iso-639.def: Fix gl language name. Spotted by
45164 Yaron Shahrabani.
45165
ec98af7d
RM
451662012-04-12 Roland McGrath <roland@hack.frob.com>
45167
45168 [BZ #2074]
45169 * libio/libio.h (__io_write_fn): Update comment.
45170
247c3ede
PB
451712012-04-12 Petr Baudis <pasky@ucw.cz>
45172
45173 [BZ #2074]
45174 * stdio.texi (Hook Functions): The user provided writer function
45175 is not allowed to return -1.
45176
55939d6d
DM
451772012-04-11 David S. Miller <davem@davemloft.net>
45178
45179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45180
90020f5a
MF
451812012-04-11 Mike Frysinger <vapier@gentoo.org>
45182
45183 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45184 Add a leading slash to rtkaio.
45185
288f9098
JM
451862012-04-11 Jim Meyering <meyering@redhat.com>
45187
90020f5a
MF
45188 [BZ #11959]
45189 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45190 It is not necessarily an error to ignore fwrite's return
45191 value. One can reliably use ferror to test for errors after
45192 the fact.
288f9098 45193
4be2b570
L
451942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45195
45196 * bits/types.h (__snseconds_t): New type.
45197 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45198
45199 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45201 (__SNSECONDS_T_TYPE): Likewise.
45202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45203 (__SNSECONDS_T_TYPE): Likewise.
45204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45205 (__SNSECONDS_T_TYPE): Likewise.
45206
288f9098 452072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45208
45209 [BZ #2636]
45210 * manual/time.texi (Processor Time): Return type of times is
45211 elapsed real time since an arbitrary point in the past.
45212 (CPU Time): Move CLK_TCK from here...
45213 (Processor Time): ...to here. Correct description.
45214 * manual/conf.texi (Constants for Sysconf): Correct description of
45215 _SC_CLK_TCK.
45216
d7dd4413
DM
452172012-04-10 David S. Miller <davem@davemloft.net>
45218
45219 [BZ #13967]
45220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45221 where the is a gap between DT_REL(A) and DT_JMPREL.
45222
b46068fc
L
452232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45224
45225 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45226 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45227 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45228
73d65cc3
SP
452292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45230
45231 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45232 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45233 (dl_main): Handle --inhibit-cache.
45234 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45235 _dl_inhibit_cache.
45236 * elf/dl-load.c (_dl_map_object): Use it.
45237 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45238
bcc8d661
JM
452392012-04-09 Joseph Myers <joseph@codesourcery.com>
45240
8f9a2fae
JM
45241 [BZ #13872]
45242 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45243 (__ieee754_powl): Saturate large exponents rather than testing for
45244 overflow of y*log2(x).
45245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45246 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45247 exceptions.
45248
bcc8d661
JM
45249 [BZ #11521]
45250 * math/s_ctan.c: Include <float.h>.
45251 (__ctan): Avoid internal overflow or cancellation in calculating
45252 denominator.
45253 * math/s_ctanf.c: Likewise.
45254 * math/s_ctanl.c: Likewise.
45255 * math/s_ctanh.c: Likewise.
45256 * math/s_ctanhf.c: Likewise.
45257 * math/s_ctanhl.c: Likewise.
45258 * math/libm-test.inc (ctan_test): Add more tests.
45259 (ctanh_test): Likewise.
45260 * sysdeps/i386/fpu/libm-test-ulps: Update.
45261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45262
823fbbb4
AJ
452632012-04-09 Andreas Jaeger <aj@suse.de>
45264
03879793
AJ
45265 [BZ #6894]
45266 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45267 is an optional BSD extension.
45268
823fbbb4
AJ
45269 [BZ #10254]
45270 * manual/stdio.texi (Opening Streams): Document additional fopen
45271 parameters.
45272
8de131cb
RM
452732012-04-09 Roland McGrath <roland@hack.frob.com>
45274
45275 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45276 %eax without telling the compiler.
45277
c0ed9d7d
CD
452782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45279
45280 [BZ # 13963]
45281 * manual/install.texi: Use sourceware.org.
45282
c483f6b4
JM
452832012-04-09 Joseph Myers <joseph@codesourcery.com>
45284
d7dd9453
JM
45285 [BZ #13873]
45286 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45287 (__ieee754_pow): Generate overflow and underflow using huge*huge
45288 and tiny*tiny rather than just returning constant infinity or zero
45289 for large exponents.
45290 * math/libm-test.inc (pow_test): Require overflow exceptions for
45291 applicable cases of large exponents.
45292
c483f6b4
JM
45293 [BZ #706]
45294 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45295 (__ieee754_pow): Use iterative multiplication algorithm only for
45296 integer exponents with absolute value below 1024. Check for odd
45297 integer exponents when using algorithm for real exponents.
45298 * math/libm-test.inc (pow_test): Add more tests.
45299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45300
d2de7579
JM
453012012-04-08 Joseph Myers <joseph@codesourcery.com>
45302
45303 [BZ #13705]
45304 * math/libm-test.inc (exp_test): Do not allow overflow exception
45305 on underflow test.
45306
f77f1232
AJ
453072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45308
45309 [BZ #13705]
45310 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45311 instead of __kernel_standard_f.
45312
3884932b
MF
453132012-04-08 Mike Frysinger <vapier@gentoo.org>
45314
45315 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45316 * sysdeps/x86_64/memset_chk.S: Likewise.
45317
54472e9c
AJ
453182012-04-08 Andreas Jaeger <aj@suse.de>
45319
6ab0fbfc
AJ
45320 [BZ #10153]
45321 * manual/startup.texi (Environment Access): Describe return value
45322 for putenv and setenv.
45323
61efba8c
AJ
45324 [BZ #6895]
45325 * manual/filesys.texi (Directory Entries): Add description for
45326 DT_LNK.
45327
95c3f29a
AJ
45328 [BZ #6890]
45329 * manual/filesys.texi (Directory Entries): Clarify that it's file
45330 system not operating system in the description of DT_UNKNOWN.
45331
54472e9c
AJ
45332 [BZ #6578]
45333 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45334
624254b1
SC
453352012-04-08 Stephen Compall <s11@member.fsf.org>
45336
45337 [BZ #6649]
45338 * manual/llio.texi (Opening and Closing Files): Add cross
45339 reference to explain mode argument.
45340
1e4920e0
MF
453412012-04-07 Mike Frysinger <vapier@gentoo.org>
45342
45343 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45344 * sysdeps/x86_64/memset_chk.S: Likewise.
45345
5ed848f3
DM
453462012-04-07 David S. Miller <davem@davemloft.net>
45347
45348 * elf/elf.h (R_SPARC_WDISP10): Define.
45349 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45350 R_SPARC_SIZE32.
45351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45352 R_SPARC_SIZE64 and R_SPARC_H34.
45353
96154cd8
CD
453542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45355
45356 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45357 conditions and remove no longer applicable assertion.
45358
9904dc47
L
453592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45360
45361 * bits/byteswap.h: Include <features.h>.
45362 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45363 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45364
f8887d0a
L
453652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45366
45367 * bits/byteswap.h (__bswap_16): Removed.
45368 Include <bits/byteswap-16.h> to get __bswap_16.
45369 * sysdeps/i386/bits/byteswap.h: Likewise.
45370 * sysdeps/s390/bits/byteswap.h: Likewise.
45371 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45372 * bits/byteswap-16.h: New file.
45373 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45374 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45375 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45376 * string/Makefile (headers): Add bits/byteswap-16.h.
45377
62470f60
PP
453782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45379
45380 [BZ #13895]
45381 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45382 extra indirection.
45383 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45384 * nss/tst-nss-static.c: New.
45385
4dad7bab
RM
453862012-04-06 Robert Millan <rmh@gnu.org>
45387
45388 [BZ #6486]
45389 * manual/llio.texi (File Position Primitive): lseek
45390 refers to WHENCE when it really means OFFSET.
45391
e9142a17
AJ
453922012-04-06 Andreas Jaeger <aj@suse.de>
45393
2c040eff
AJ
45394 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45395 strncmp declarations.
45396
e9142a17
AJ
45397 * abilist/libc.abilist: Add __poll and __ppoll.
45398
ff9f1c5f
DM
453992012-04-05 David S. Miller <davem@davemloft.net>
45400
dcd2ae90
DM
45401 * scripts/check-local-headers.sh: Accept a host triplet in the
45402 path matched by the exclude regexp.
45403
993eb054
DM
45404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45405 definition.
45406 * sysdeps/powerpc/powerpc32/dl-machine.h
45407 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45408 * sysdeps/s390/s390-32/dl-machine.h
45409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45410 * sysdeps/sparc/sparc32/dl-machine.h
45411 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45412 * sysdeps/sparc/sparc64/dl-machine.h
45413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45414
ff9f1c5f
DM
45415 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45416 lazy binding.
48e2e132 45417 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45418 undefined symbol errors.
45419
48e2e132 45420 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45421 DT_NEEDED entries.
45422
e80d6f94
MM
454232012-04-05 Michael Matz <matz@suse.de>
45424
45425 [BZ #13592]
45426 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45427
349fa79f
AJ
454282012-04-05 Andreas Jaeger <aj@suse.de>
45429
45430 [BZ #13908]
45431 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45432 comment.
45433
f402708f
KK
454342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45435
45436 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45437 which ROUND is no valid rounding mode.
45438
2ecccfc9
KK
454392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45440
45441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45442 read again.
45443 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45444
8a53f50f
KK
454452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45446
45447 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45448 an exception using FPU order intentionally.
45449
454502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45451
45452 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45453 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45454 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45455 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45456
d653abb7
SJ
454572012-04-05 Simon Josefsson <simon@josefsson.org>
45458
45459 [BZ #12340]
45460 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45461 EINVAL when BUFLEN is too smal.
45462
c3b1bf7d
TS
454632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45464
45465 [BZ #13553]
45466 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45467 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45468
b1aa60f3
AJ
454692012-04-03 Andreas Jaeger <aj@suse.de>
45470
c3b1bf7d 45471 [BZ #13938]
67f60a26
AJ
45472 * manual/setjmp.texi (System V contexts): Fix sentence.
45473
b1aa60f3
AJ
45474 [BZ #13926]
45475 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45476 New macro for this case.
45477 [!__GNUC__] (__bswap_64): New inline function for this case.
45478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45479 * bits/byteswap.h: Likewise.
45480 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45481 ull, guard with __GLIBC_HAVE_LONG_LONG.
45482
45483 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45484 __GLIBC_HAVE_LONG_LONG.
45485
45486 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45487 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45488
39c59c35
TMQMF
454892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45490
45491 [BZ #13691]
45492 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45493 inptr and inend, rather than using last_ch.
45494
135ffda8
DM
454952012-04-02 David S. Miller <davem@davemloft.net>
45496
45497 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45498 * stdio-common/printf-parse.h (read_int): Change return type to
45499 'int', return -1 on INT_MAX overflow.
45500 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45501 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45502 overflows INT_MAX. Check for overflow of in-format-string precision
45503 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45504 SIZE_MAX not INT_MAX for integer overflow test.
45505 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45506 skip the construct in the format string but do not record anything.
45507 * stdio-common/bug22.c: Adjust to test both width/prevision
45508 INT_MAX overflow as well as total length INT_MAX overflow. Check
45509 explicitly for proper errno values.
45510
228c019e
TS
455112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45512
302cadd3
TS
45513 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45514 CHAR_MAX.
45515 * string/test-strcmp.c [! WIDE]: Likewise.
45516 * time/tst-mktime2.c: Likewise for INT_MAX.
45517 * string/test-string.h: #include <sys/param.h> for MIN.
45518
228c019e
TS
45519 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45520 * sysdeps/i386/init-first.c (init): Likewise.
45521 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45522 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45523 * sysdeps/sh/init-first.c (init): Likewise.
45524
cfa633f5
UD
455252012-04-01 Ulrich Drepper <drepper@gmail.com>
45526
45527 * po/ru.po: Update from translation team.
d1635ef8 45528 * po/vi.po: Likewise.
cfa633f5 45529
6cd0a5ea
SP
455302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45531
45532 * resolv/nss_dns/dns-host.c: Merge copyright years.
45533
4b43400f
LD
455342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45535
45536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45537 Optimize memcpy with prefetch if
45538 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45539 src, dst pointers have unequal 16 byte alignments.
45540
48c41d04
SP
455412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45542
45543 [BZ #13928]
45544 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45545 from a CNAME entry and return the minimum ttl for the query.
45546 (gaih_getanswer_slice): Likewise.
45547
b8dc394d
JL
455482012-03-30 Jeff Law <law@redhat.com>
45549
45550 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45551 due to long keys.
45552 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45553 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45554
2f5a5ed0
JL
45555 * resolv/nss_dns/dns-host.c: Update copyright year.
45556
1d39e359
UD
455572012-03-30 Ulrich Drepper <drepper@gmail.com>
45558
c030f70c 45559 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45560 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45561
1d39e359
UD
45562 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45563 comments for sendmmsg.
45564
455652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45566
45567 [BZ #13691]
45568 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45569 with only 1 character between 0x0041 and 0x01b0.
45570 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45571 * wcsmbs/tst-mbsnrtowcs.c: New file.
45572
20fde227
DM
455732012-03-29 David S. Miller <davem@davemloft.net>
45574
45575 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45576 small copies by hand.
45577
984a4237
JL
455782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45579
45580 [BZ #13761]
57f41c40
AS
45581 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45582 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45583 group memberships.
984a4237 45584
18c9d62b
DM
455852012-03-28 David S. Miller <davem@davemloft.net>
45586
88d85d4f
DM
45587 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45588 that branches into memcpy.
45589 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45590 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45592 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45594 bits.
45595 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45596 implementation too.
45597 * sysdeps/sparc/mempcpy.S: New file.
45598
e5aa83e1
DM
45599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45600 the IFUNC routine in the libc case.
45601 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45602
88570753
DM
45603 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45604 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45605 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45606 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45607 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45608 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45609 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45610 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45611
249d7567
DM
45612 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45613 loop to 256 bytes instead of 64 bytes and fix test signedness.
45614
18c9d62b
DM
45615 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45616 * sysdeps/sparc/sparc32/Makefile: rather than here...
45617 * sysdeps/sparc/sparc64/Makefile: and here.
45618
05f3d1f6
UD
456192012-03-28 Ulrich Drepper <drepper@gmail.com>
45620
45621 * malloc/mallocbug.c: Avoid warnings about unused variables.
45622
86ae07a8
JL
456232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45624
45625 [BZ #13760]
45626 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45627 in the right place. Discard and retry query if response is
45628 larger than input buffer size.
45629
41bf21a1
JM
456302012-03-28 Joseph Myers <joseph@codesourcery.com>
45631
d6270972
JM
45632 [BZ #369]
45633 [BZ #2678]
45634 [BZ #3866]
45635 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45636 x for large integer exponent.
45637 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45638 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45639 sign of result as needed afterwards.
45640 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45641 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45642 result for underflowing pow the same as for overflow.
45643 (__kernel_standard_l): Handle powl overflow and underflow here
45644 rather than calling __kernel_standard.
45645 * math/libm-test.inc (pow_test): Add more tests.
45646
414fca03 45647 [BZ #3868]
41bf21a1
JM
45648 [BZ #13879]
45649 [BZ #13910]
45650 [BZ #13911]
45651 [BZ #13912]
45652 [BZ #13913]
45653 [BZ #13915]
45654 [BZ #13916]
45655 [BZ #13917]
45656 [BZ #13918]
45657 [BZ #13919]
45658 [BZ #13920]
45659 [BZ #13921]
45660 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45661 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45662 (__kernel_standard_l): New function.
45663 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45664 __kernel_standard.
45665 * math/w_acosl.c (__acosl): Likewise.
45666 * math/w_asinl.c (__asinl): Likewise.
45667 * math/w_atan2l.c (__atan2l): Likewise.
45668 * math/w_atanhl.c (__atanhl): Likewise.
45669 * math/w_coshl.c (__coshl): Likewise.
45670 * math/w_exp10l.c (__exp10l): Likewise.
45671 * math/w_exp2l.c (__exp2l): Likewise.
45672 * math/w_fmodl.c (__fmodl): Likewise.
45673 * math/w_hypotl.c (__hypotl): Likewise.
45674 * math/w_j0l.c (__j0l, __y0l): Likewise.
45675 * math/w_j1l.c (__j1l, __y1l): Likewise.
45676 * math/w_jnl.c (__jnl, __ynl): Likewise.
45677 * math/w_lgammal.c (__lgammal): Likewise.
45678 * math/w_log10l.c (__log10l): Likewise.
45679 * math/w_log2l.c (__log2l): Likewise.
45680 * math/w_logl.c (__logl): Likewise.
45681 * math/w_powl.c (__powl): Likewise.
45682 * math/w_remainderl.c (__remainderl): Likewise.
45683 * math/w_scalbl.c (sysv_scalbl): Likewise.
45684 * math/w_sinhl.c (__sinhl): Likewise.
45685 * math/w_sqrtl.c (__sqrtl): Likewise.
45686 * math/w_tgammal.c (__tgammal): Likewise.
45687 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45688 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45689 * math/libm-test.inc (acos_test): Add more tests.
45690 (acosh_test): Likewise.
45691 (asin_test): Likewise.
45692 (atanh_test): Likewise.
45693 (exp_test): Likewise.
45694 (exp10_test): Likewise.
45695 (exp2_test): Likewise.
45696 (expm1_test): Likewise.
45697 (lgamma_test): Likewise.
45698 (log_test): Likewise.
45699 (log10_test): Likewise.
45700 (log1p_test): Likewise.
45701 (log2_test): Likewise.
45702 (pow_test): Do not allow some spurious overflow exceptions.
45703 (sqrt_test): Add more tests.
45704 (tgamma_test): Likewise.
45705 (y0_test): Likewise.
45706 (y1_test): Likewise.
45707 (yn_test): Likewise.
45708
dd62fda6
AB
457092012-03-27 Anton Blanchard <anton@samba.org>
45710
45711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45712 MAP_HUGETLB.
45713 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45714 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45715 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45716
1e3cdfda
AJ
457172012-03-27 David S. Miller <davem@davemloft.net>
45718
b855ab85
DM
45719 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45720
1e3cdfda
AJ
45721 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45722 have-as-vis3 check.
45723
457242012-03-27 Andreas Jaeger <aj@suse.de>
45725
45726 * sysdeps/x86_64/elf/configure.in: Moved to ...
45727 * sysdeps/x86_64/configure.in: ... here.
45728 * sysdeps/x86_64/elf/start.S: Moved to ...
45729 * sysdeps/x86_64/start.S: ... here.
45730 * sysdeps/x86_64/elf/configure: Delete.
45731
45732 * sysdeps/x86_64/configure.in: Merge contents from
45733 sysdeps/i386/configure.in (without i686 check).
45734
45735 * sysdeps/i386/elf/Versions: Merge into ...
45736 * sysdeps/i386/Versions: ... this.
45737 * sysdeps/i386/elf/Versions: Delete file.
45738 * sysdeps/i386/elf/start.S: Moved to ...
45739 * sysdeps/i386/start.S: ...here.
45740 * sysdeps/i386/elf/configure.in: Merge into...
45741 * sysdeps/i386/configure.in: ...here.
45742 * sysdeps/i386/elf/configure.in: Delete file.
45743 * sysdeps/i386/elf/configure: Delete file.
45744
45745 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45746 * debug/backtracesyms.c: ... here.
45747 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45748 * debug/backtracesymsfd.c: ... here.
45749 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45750 * sysdeps/generic/ifunc-sel.h: ... here.
45751
45752 * sysdeps/unix/i386/start.c: Delete file.
45753 * sysdeps/unix/sparc/start.c: Delete file.
45754 * sysdeps/unix/start.c: Delete file.
45755
45756 * sysdeps/sh/elf/configure.in: Moved to ...
45757 * sysdeps/sh/configure.in: ... here.
45758 * sysdeps/sh/elf/start.S: Moved to ...
45759 * sysdeps/sh/start.S: ... here.
45760 * sysdeps/sh/elf/configure: Delete file.
45761
45762 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45763 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45764 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45765 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45766 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45767 * sysdeps/powerpc/powerpc64/start.S: here.
45768 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45769 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45770 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45771 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45772 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45773
45774 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45775 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45776 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45777 * sysdeps/powerpc/powerpc32/start.S: ... here.
45778 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45779 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45780 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45781
45782 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45783 * sysdeps/powerpc/ifunc-sel.h: ... here.
45784 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45785 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45786
45787 * sysdeps/sparc/elf/configure.in: Moved to ...
45788 * sysdeps/sparc/configure.in: ... here.
45789 * sysdeps/sparc/elf/configure: Delete file.
45790 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45791 * sysdeps/sparc/sparc32/start.S: ... here.
45792 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45793 * sysdeps/sparc/sparc64/start.S: ... here.
45794 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45795 * sysdeps/sparc/sparc32/Makefile: ... this.
45796 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45797 * sysdeps/sparc/sparc64/Makefile: ... this.
45798
45799 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45800 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45801 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45802 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45803 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45804 * sysdeps/s390/s390-32/setjmp.S: ... here.
45805 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45806 * sysdeps/s390/s390-32/configure.in: ... here.
45807 * sysdeps/s390/s390-32/elf/configure: Delete file.
45808 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45809 * sysdeps/s390/s390-32/start.S: ... here.
45810
45811 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45812 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45813 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45814 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45815 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45816 * sysdeps/s390/s390-64/setjmp.S: ... here.
45817 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45818 * sysdeps/s390/s390-64/configure.in: ... here
45819 * sysdeps/s390/s390-64/elf/configure: Delete file.
45820 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45821 * sysdeps/s390/s390-64/start.S: ... here.
45822 * sysdeps/s390/s390-64/elf/configure: Delete.
45823
45824 * configure.in: Remove support for elf directories in sysdeps.
45825
45826 * configure: Regenerated.
45827 * sysdeps/i386/configure: Regenerated.
45828 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45829 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45830 * sysdeps/s390/s390-32/configure: Regenerated.
45831 * sysdeps/s390/s390-64/configure: Regenerated.
45832 * sysdeps/sh/configure: Regenerated.
45833 * sysdeps/sparc/configure: Regenerated.
45834 * sysdeps/x86_64/configure: Regenerated.
45835
a3f61311
AS
458362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45837
c876e002
AS
45838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45839
a3f61311
AS
45840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45841 denormal result into account.
45842
ac4c54f0
RM
458432012-03-25 Roland McGrath <roland@hack.frob.com>
45844
45845 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45846 Reported by Allan McRae <allan@archlinux.org>.
45847
6a9b9c02
JL
458482012-03-23 Jeff Law <law@redhat.com>
45849
45850 * nss/getnssent.c (__nss_getent): Fix typo.
45851
4c42a0c1
DM
458522012-03-23 David S. Miller <davem@davemloft.net>
45853
45854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45855
1532c7ac
L
458562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45857
45858 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45859 to pad to uint64_t for each field.
45860 (dl_tls_index): Replace unsigned long with uint64_t.
45861
3ff42526
PP
458622012-03-23 Daniel Jacobowitz <dmj@google.com>
45863 Paul Pluzhnikov <ppluzhnikov@google.com>
45864
45865 [BZ #6528]
45866 * grp/Makefile (otherlibs): Don't set it.
45867 * inet/Makefile (otherlibs): Likewise.
45868 * login/Makefile (otherlibs): Likewise.
45869 * nscd/Makefile (otherlibs): Likewise.
45870 * posix/Makefile (otherlibs): Likewise.
45871 * pwd/Makefile (otherlibs): Likewise.
45872 * rt/Makefile (otherlibs): Likewise.
45873 * sunrpc/Makefile (otherlibs): Likewise.
45874 * nss/Makefile (otherlibs): Likewise.
45875 Add libnss_files to routines and static-only-routines.
45876 ($(objpfx)getent): Remove rule.
45877 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45878 static-only-routines.
45879
7c69cd14
JM
458802012-03-22 Joseph Myers <joseph@codesourcery.com>
45881
45882 [BZ #13892]
45883 * math/s_cexp.c: Include <float.h>.
45884 (__cexp): Handle exp result overflowing not necessarily
45885 overflowing both real and imaginary parts of result.
45886 * math/s_cexpf.c: Likewise.
45887 * math/s_cexpl.c: Likewise.
45888 * math/libm-test.inc (cexp_test): Add more tests.
45889 * sysdeps/i386/fpu/libm-test-ulps: Update.
45890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45891
81b035fe
L
458922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45893
45894 * include/link.h (ELFW): New macro.
45895 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45896 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45897
1da7940c
L
458982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45899
45900 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45901 with uint64_t.
45902
b749dbb9
L
459032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45904
45905 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45906 declaration.
45907 (struct La_x32_retval): Likewise.
45908
2ff87f3f
L
459092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45910
45911 * sysdeps/x86_64/preconfigure.in: New file.
45912 * sysdeps/x86_64/preconfigure: New generated file.
45913
c0df8e69
JM
459142012-03-22 Joseph Myers <joseph@codesourcery.com>
45915
48e44791
JM
45916 [BZ #13824]
45917 * math/e_exp2l.c: Include <float.h>.
45918 (__ieee754_exp2l): Handle overflow and underflow cases
45919 separately. Only pass fractional part of argument to
45920 __ieee754_expl.
45921 * math/libm-test.inc (exp2_test): Add more tests.
45922
c0df8e69
JM
45923 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45924 negating x to take absolute value.
45925 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45926 Likewise.
45927 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45928 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45929 Likewise.
45930 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45931 computing low part if x was negated.
45932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45933
c8e43ba7
L
459342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45935
45936 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45937 la_x32_gnu_pltexit.
45938 (pltexit): Cast int_retval to ptrdiff_t.
45939 * elf/tst-auditmod3b.c: Likewise.
45940 * elf/tst-auditmod4b.c: Likewise.
45941 * elf/tst-auditmod5b.c: Likewise.
45942 * elf/tst-auditmod6b.c: Likewise.
45943 * elf/tst-auditmod6c.c: Likewise.
45944 * elf/tst-auditmod7b.c: Likewise.
45945
45946 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45947 and x32_gnu_pltexit.
45948
45949 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45950 __ELF_NATIVE_CLASS.
45951 (La_x32_regs): New macro.
45952 (La_x32_retval): Likewise.
45953 (la_x32_gnu_pltenter): New function prototype.
45954 (la_x32_gnu_pltexit): Likewise.
45955
7998fa78
AS
459562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45957
dcb33988
AS
45958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45959 exponent.
45960
233fc563
AS
45961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45962
7998fa78
AS
45963 * configure.in (libc_cv_cc_nofma): Check for option to disable
45964 generation of FMA instructions.
45965 * configure: Regenerate.
45966 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45967 * sysdeps/ieee754/dbl-64/Makefile: New file.
45968 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45969 Remove brandred-fma4.
45970 (CFLAGS-brandred-fma4.c): Remove.
45971 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45972 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45973 define.
45974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45975 define.
45976
8e95c99a
L
459772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45978
45979 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45980 LLONG_MAX != LONG_MAX.
45981 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45982 (_fitoa_word): Likewise.
45983 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45984 LLONG_MAX != LONG_MAX.
45985 * stdio-common/_itowa.h: Include <_itoa.h>.
45986 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45987 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45988 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45989 only if not defined.
45990 (_ITOA_WORD_TYPE): Likewise.
45991 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45992 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45993
6f4db457
DM
459942012-03-21 David S. Miller <davem@davemloft.net>
45995
45996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45997
7785fe5a
L
459982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45999
46000 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46001 of x86_64 when setting libc_cv_slibdir, libdir and
46002 libc_cv_localedir.
46003 * sysdeps/unix/sysv/linux/configure: Regenerated.
46004
4535cd55
JM
460052012-03-21 Joseph Myers <joseph@codesourcery.com>
46006
46007 * manual/lang.texi (Old Varargs): Remove section.
46008 (How Variadic): Update menu.
46009 (va_start): Do not mention varargs.h.
46010
17228132
TS
460112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46012 Joseph Myers <joseph@codesourcery.com>
46013
46014 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46015 link test.
46016 * configure: Regenerated.
46017
8149f976
TS
460182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46019
05f3d1f6
UD
46020 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46021 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46022 conformtest.pl
8149f976 46023
1a4ac776
JM
460242012-03-21 Joseph Myers <joseph@codesourcery.com>
46025
be22ce65
JM
46026 * NOTES: Remove.
46027 * Makefile (files-for-dist): Remove NOTES.
46028 (NOTES): Remove rule.
46029 * README: Don't refer to NOTES.
46030 * manual/creature.texi: Don't include macros.texi.
46031 * manual/intro.texi (creature.texi): Remove comment referring to
46032 NOTES.
46033
40b601fb
JM
46034 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46035 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46036 * configure: Regenerated.
46037 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46038 LIBC_TRY_CC_OPTION.
46039 (libc_cv_as_i686): Likewise.
46040 (libc_cv_cc_avx): Likewise.
46041 (libc_cv_cc_sse2avx): Likewise.
46042 (libc_cv_cc_fma4): Likewise.
46043 (libc_cv_cc_novzeroupper): Likewise.
46044 * sysdeps/i386/configure: Regenerated.
46045
1a4ac776
JM
46046 [BZ #13883]
46047 * sysdeps/i386/fpu/s_cexp.S: Remove.
46048 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46049 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46050 * math/libm-test.inc (cexp_test): Add more tests.
46051 * sysdeps/i386/fpu/libm-test-ulps: Update.
46052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46053
a458e7fe
AM
460542012-03-21 Allan McRae <allan@archlinux.org>
46055
46056 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46057
0cb7efc5
JM
460582012-03-21 Joseph Myers <joseph@codesourcery.com>
46059
46060 [BZ #13871]
46061 * math/w_exp2.c: Do not include <float.h>.
46062 (o_threshold, u_threshold): Remove.
46063 (__exp2): Calculate result before checking finiteness and calling
46064 __kernel_standard.
46065 * math/w_exp2f.c: Likewise.
46066 * math/w_exp2l.c: Likewise.
46067 * math/libm-test.inc (exp2_test): Require overflow exception for
46068 1e6 input.
2460d3aa
JM
46069
46070 [BZ #3866]
46071 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46072 range of signed 64-bit integers before using fistpll. Remove
46073 checks for whether integers fit in mantissa bits.
46074 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46075 the range of signed 32-bit integers before using fistpl. Remove
46076 checks for whether integers fit in mantissa bits.
46077 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46078 (__ieee754_powl): Test for y outside the range of signed 64-bit
46079 integers before using fistpll. Reduce 64-bit values to 63-bit
46080 ones as needed.
46081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46082 divide-by-zero is raised for zero to large negative powers.
46083 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46084 (__ieee754_powl): Test for y outside the range of signed 64-bit
46085 integers before using fistpll. Reduce 64-bit values to 63-bit
46086 ones as needed.
46087 * math/libm-test.inc (pow_test): Add more tests.
46088
eb96ffb0
L
460892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46090
46091 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46092 <stdio-common/_itoa.h>.
46093 * debug/segfault.c: Likewise.
46094 * elf/dl-cache.c: Likewise.
46095 * elf/dl-minimal.c: Likewise.
46096 * elf/dl-misc.c: Likewise.
46097 * elf/dl-sysdep.c: Likewise.
46098 * elf/dl-version.c: Likewise.
46099 * elf/rtld.c: Likewise.
46100 * hurd/hurdsock.c: Likewise.
46101 * hurd/lookup-retry.c: Likewise.
46102 * malloc/malloc.c: Likewise.
46103 * malloc/mtrace.c: Likewise.
46104 * nscd/nscd_getgr_r.c: Likewise.
46105 * nscd/nscd_getpw_r.c: Likewise.
46106 * nscd/nscd_getserv_r.c: Likewise.
46107 * posix/getopt_init.c: Likewise.
46108 * posix/wordexp.c: Likewise.
46109 * stdio-common/_itoa.c: Likewise.
46110 * stdio-common/printf_fphex.c: Likewise.
46111 * stdio-common/vfprintf.c: Likewise.
46112 * string/_strerror.c: Likewise.
46113 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46114 * sysdeps/i386/i686/hp-timing.h: Likewise.
46115 * sysdeps/mach/_strerror.c: Likewise.
46116 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46117 * sysdeps/mach/hurd/sethostid.c: Likewise.
46118 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46119 * sysdeps/mach/xpg-strerror.c: Likewise.
46120 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46121 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46122 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46123 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46124 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46125 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46126 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46127 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46128 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46129 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46130 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46131 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46132 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46133 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46134 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46135 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46136 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46137 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46138 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46139 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46140 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46141
46142 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46143
46144 * stdio-common/_itoa.h: Moved to ...
46145 * sysdeps/generic/_itoa.h: Here.
46146
46147 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46148
46149 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46150 instead of "_itoa.h" and "_itowa.h".
46151 * stdio-common/vfprintf.: Likewise.
46152
d1af992d
L
461532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46154
46155 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46156 <bits/wordsize.h>.
46157 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46158 (__signbit): Likwise.
46159 (llrintf): Likwise.
46160 (llrint): Likwise.
46161
114883e0
L
461622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46163
46164 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46165 __WORDSIZE != 64.
46166
c135cc1b
JM
461672012-03-20 Joseph Myers <joseph@codesourcery.com>
46168
46169 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46170 OVERFLOW_EXCEPTION_OK.
46171 * math/libm-test.inc ("Philosophy"): Update comment about
46172 exception testing.
46173 (OVERFLOW_EXCEPTION): Define.
46174 (OVERFLOW_EXCEPTION_OK): Likewise.
46175 (INVALID_EXCEPTION_OK): Renumber.
46176 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46177 (IGNORE_ZERO_INF_SIGN): Likewise.
46178 (test_exceptions): Handle FE_OVERFLOW.
46179 (exp10_test): Expect overflow exceptions.
46180 (exp2_test): Likewise.
46181 (expm1_test): Likewise.
46182 (nextafter_test): Likewise.
46183 (pow_test): Likewise.
46184 (scalbn_test): Likewise.
46185 (scalbln_test): Likewise.
46186
95443d88
L
461872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46188
46189 * sysdeps/x86_64/bits/atomic.h
46190 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46191 64bit integer.
46192 (atomic_exchange_acq): Likewise.
46193 (__arch_exchange_and_add_body): Likewise.
46194 (__arch_add_body): Likewise.
46195 (atomic_add_negative): Likewise.
46196 (atomic_add_zero): Likewise.
46197
490df6c4
L
461982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46199
c2722551 46200 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46201 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46202
5e52b189
L
462032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46204
46205 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46206 Check __x86_64__ instead of __WORDSIZE.
46207
a9879d4c
L
462082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46209
46210 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46211
5df98260
DM
462122012-03-19 David S. Miller <davem@davemloft.net>
46213
e1497744
DM
46214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46215
5df98260
DM
46216 * sysdeps/sparc/fpu/fenv_private.h: New file.
46217 * sysdeps/sparc/fpu/math_private.h: Use it.
46218 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46219 Remove.
57f41c40 46220 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46221 (libc_feholdexcept_setroundl): Remove.
46222 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46223 Remove.
46224 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46225 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46226
b4c35121
L
462272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46228
46229 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46230 int64_t instead of long int.
46231 (INSERT_WORDS64): Likwise.
46232
56965fd7
L
462332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46234
46235 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46236 _Unwind_GetCFA return to _Unwind_Ptr first.
46237
83d1aec8
JM
462382012-03-19 Joseph Myers <joseph@codesourcery.com>
46239
1897ad44
JM
46240 [BZ #13629]
46241 * math/s_clog.c: Include <float.h>.
46242 (__clog): Scale large or subnormal inputs.
46243 * math/s_clogf.c: Likewise.
46244 * math/s_clogl.c: Likewise.
46245 * math/s_clog10.c: Include <float.h>.
46246 (M_LOG10_2): Define.
46247 (__clog10): Scale large or subnormal inputs.
46248 * math/s_clog10f.c: Likewise.
46249 * math/s_clog10l.c: Likewise.
46250 * math/libm-test.inc (clog_test): Add more tests.
46251 (clog10_test): Likewise.
46252 * sysdeps/i386/fpu/libm-test-ulps: Update.
46253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46254
7726d6a9
JM
46255 [BZ #11451]
46256 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46257 x and y.
46258 * math/libm-test.inc (atan2_test): Add another test.
46259
83d1aec8
JM
46260 * Makerules (common-objdir-compile): Remove.
46261 * sysdeps/unix/Makefile (config-generated): Do not add
46262 $(unix-generated) to variable.
46263 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46264 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46265 Remove rule.
46266 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46267 Likewise.
46268 [generic bits/local_lim.h] (before-compile): Do not append to
46269 variable.
46270 [generic bits/local_lim.h] (common-generated): Likewise.
46271 [generic sys/param.h] (before-compile): Do not append to variable.
46272 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46273 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46274 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46275 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46276 include.
46277 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46278 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46279 [generic sys/param.h] ($(addprefix
46280 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46281 [generic sys/param.h] (common-generated): Do not append to
46282 variable.
46283 [generic sys/param.h] (sysdep_headers): Likewise.
46284 [generic bits/errno.h] (before-compile): Do not append to
46285 variable.
46286 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46287 rule.
46288 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46289 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46290 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46291 [generic bits/errno.h] (common-generated): Do not append to
46292 variable.
46293 [generic bits/ioctls.h] (before-compile): Do not append to
46294 variable.
46295 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46296 rule.
46297 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46298 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46299 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46300 rule.
46301 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46302 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46303 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46304 [generic bits/ioctls.h] (common-generated): Do not append to
46305 variable.
46306 [generic sys/syscall.h] (syscall.h): Remove variable.
46307 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46308 rule.
46309 [generic sys/syscall.h] (before-compile): Do not append to
46310 variable.
46311 [generic sys/syscall.h] (common-generated): Likewise.
46312 * sysdeps/unix/errnos-tmpl.c: Remove file.
46313 * sysdeps/unix/errnos.awk: Likewise.
46314 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46315 * sysdeps/unix/ioctls.awk: Likewise.
46316 * sysdeps/unix/mk-local_lim.c: Likewise.
46317 * sysdeps/unix/snarf-ioctls: Likewise.
46318
4851a949
RH
463192012-03-19 Richard Henderson <rth@twiddle.net>
46320
bd37f2ee
RH
46321 * sysdeps/i386/fpu/fenv_private.h: New file.
46322 * sysdeps/i386/fpu/math_private.h: Use it.
46323 (math_opt_barrier, math_force_eval): Remove.
46324 (libc_feholdexcept_setround_53bit): Remove.
46325 (libc_feupdateenv_53bit): Remove.
46326 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46327 (math_opt_barrier, math_force_eval): Remove.
46328 (libc_feholdexcept): Remove.
46329 (libc_feholdexcept_setround): Remove.
46330 (libc_fetestexcept, libc_fesetenv): Remove.
46331 (libc_feupdateenv_test): Remove.
46332 (libc_feupdateenv, libc_feholdsetround): Remove.
46333 (libc_feresetround): Remove.
46334
d0adc922
RH
46335 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46336 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46337
0fe0f1f8
RH
46338 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46339 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46340 (libc_feupdateenv_testl): New.
46341 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46342 (libc_feupdateenv_testf): New.
46343 (libc_feupdateenv): Use libc_feupdateenv_test.
46344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46345 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46346
eb92c487
RH
46347 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46348 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46349 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46350 (libc_feresetround_noex): New.
46351 (libc_feresetround_noexf): New.
46352 (libc_feresetround_noexl): New.
46353 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46354 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46355 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46356 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46357 SET_RESTORE_ROUND.
46358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46359 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46360 (__cos): Likewise.
46361 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46362 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46363 SET_RESTORE_ROUND_NOEX.
46364 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46365 SET_RESTORE_ROUND_NOEXF.
46366 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46367 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46368 (libc_feholdsetroundf): New.
46369 (libc_feresetround, libc_feresetroundf): New.
46370
7d2e8012
RH
46371 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46372 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46373 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46374
b4dabbb4
RH
46375 * sysdeps/generic/math_private.h: Include <fenv.h>.
46376 (default_libc_feholdexcept): New.
46377 (default_libc_feholdexcept_setround): New.
46378 (default_libc_fesetenv, default_libc_feupdateenv): New.
46379 (libc_feholdexcept): Only define if undefined.
46380 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46381 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46382 (libc_feholdexcept_setroundl): Likewise.
46383 (libc_feholdexcept_setround_53bit): Likewise.
46384 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46385 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46386 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46387 (libc_feupdateenv_53bit): Likewise.
46388 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46389 (libc_feholdexcept): Convert from macro to inline function.
46390 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46391 (libc_fesetenv, libc_feupdateenv): Likewise.
46392
4851a949
RH
46393 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46394 not previously defined.
46395 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46396 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46397 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46398 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46399 * sysdeps/ieee754/flt-32/math_private.h: New file.
46400 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46401 math_private.h below SET_FLOAT_WORD.
46402 (__isnan, __isinf_ns, __finite): Remove.
46403 (__isnanf, __isinf_nsf, __finitef): Remove.
46404
e79d442e
AS
464052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46406
46407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46408
90b80344
DM
464092012-03-17 David S. Miller <davem@davemloft.net>
46410
46411 [BZ #6471]
46412 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46413 for 2.16.
46414
edc21804
DM
464152012-03-16 David S. Miller <davem@davemloft.net>
46416
77e927af
DM
46417 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46418 warnings.
46419
374976dd
DM
46420 [BZ #6471]
46421 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46422 properly.
46423 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46424 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46425 sysdep_routines when subdir is sysvipc.
46426 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46427 __getshmlba helper.
46428
edc21804
DM
46429 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46430
473c3ef3
L
464312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46432
46433 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46434 [__LP64__].
46435
eb0f39b6
L
464362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46437
46438 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46439 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46440 (__lround): Renamed to ...
46441 (__llround): This. Replace long int with long long int.
46442 Define lround functions as aliases of llround functions.
46443 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46444
6b6cd74b
L
464452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46446
46447 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46448 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46449 adresses to uintptr_t. Replace "long int" and "unsigned long
46450 int" with "greg_t" on va_arg.
46451
f1a77b01
L
464522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46453
46454 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46455 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46456
46457 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46458 Move e_machine check before EI_CLASS check. Handle x32
46459 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46460 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46461 SKIP_EM_IA_64 and include
46462 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46463
46464 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46465 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46466 (add_system_dir): New macro.
46467
46468 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46469 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46470
11b90b9f
JM
464712012-03-16 Joseph Myers <joseph@codesourcery.com>
46472
c36e1d23
JM
46473 [BZ #2551]
46474 [BZ #2552]
46475 [BZ #2553]
46476 [BZ #2554]
46477 [BZ #2562]
46478 [BZ #2563]
46479 [BZ #2565]
46480 [BZ #2566]
46481 [BZ #2576]
46482 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46483 (y0): Likewise.
46484 * math/w_j0f.c (j0f): Likewise.
46485 (y0f): Likewise.
46486 * math/w_j0l.c (__j0l): Likewise.
46487 (__y0l): Likewise.
46488 * math/w_j1.c (j1): Likewise.
46489 (y1): Likewise.
46490 * math/w_j1f.c (j1f): Likewise.
46491 (y1f): Likewise.
46492 * math/w_j1l.c (__j1l): Likewise.
46493 (__y1l): Likewise.
46494 * math/w_jn.c (jn): Likewise.
46495 (yn): Likewise.
46496 * math/w_jnf.c (jnf): Likewise.
46497 (ynf): Likewise.
46498 * math/w_jnl.c (__jnl): Likewise.
46499 (__ynl): Likewise.
46500 * math/libm-test.inc (j0_test): Add more tests.
46501 (j1_test): Likewise.
46502 (jn_test): Likewise. Add trailing semicolon to existing test.
46503 (y0_test): Likewise.
46504 (y1_test): Likewise.
46505 * sysdeps/i386/fpu/libm-test-ulps: Update.
46506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46507
11b90b9f
JM
46508 [BZ #13851]
46509 [BZ #13854]
46510 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46511 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46512 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46513 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46514 (__tanl): Set errno for infinite argument.
46515 * sysdeps/i386/fpu/mptan.c: Remove.
46516 * sysdeps/i386/fpu/s_tan.S: Likewise.
46517 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46518 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46519 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46520 * math/libm-test.inc (tan_test): Add more tests and enable more
46521 tests for double and long double.
46522 * sysdeps/i386/fpu/libm-test-ulps: Update.
46523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46524
6a1bd2a1
JK
465252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46526
46527 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46528 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46529
10a803e0
RM
465302012-03-16 Roland McGrath <roland@hack.frob.com>
46531
46532 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46533 * configure.in: Use it for both main tree and add-ons.
46534 * configure: Regenerated.
46535
f196c7f7
L
465362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46537
46538 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46539
8848d99d
JM
465402012-03-16 Joseph Myers <joseph@codesourcery.com>
46541
96cbe7f4
JM
46542 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46543 in comment.
46544
8848d99d
JM
46545 [BZ #13851]
46546 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46547 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46551 infinite argument.
46552 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46554 != 0 for prec == 2.
46555 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46556 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46557 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46558 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46559 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46560 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46561 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46562 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46563 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46564 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46565 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46566 * math/libm-test.inc (cos_test): Add more tests and enable more
46567 tests for long double.
46568 (sin_test): Likewise.
46569 (sincos_test): Likewise.
46570 * sysdeps/i386/fpu/libm-test-ulps: Update.
46571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46572
dd7f4703
DM
465732012-03-16 David S. Miller <davem@davemloft.net>
46574
46575 * sysdeps/sparc/fpu/math_private.h: New file.
46576
006f1daa
DM
465772012-03-15 David S. Miller <davem@davemloft.net>
46578
c0c83bc8
DM
46579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46580 file.
e6a62e18 46581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46583 file.
e6a62e18
DM
46584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46590 sysdep routines.
46591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46592
88cb87d9
DM
46593 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46594 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46595
006f1daa 46596 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46598 sparc-ifunc.h
006f1daa 46599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46601 Likewise.
46602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46603 Likewise.
006f1daa
DM
46604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46608 Likewise.
006f1daa
DM
46609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46614 Likewise.
46615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46616 Likewise.
006f1daa
DM
46617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46641
11e0098e
AS
466422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46643
46644 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46645 scaling.
46646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46647
e85b09d0
AJ
466482012-03-15 Andreas Jaeger <aj@suse.de>
46649
46650 [BZ #13852]
46651 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46652 ieee754/flt-32 implementation for sin, cos and sincos.
46653 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46654 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46655 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46656 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46657 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46658 ieee754/flt-32 implementation for tan.
46659
46660 * math/libm-test.inc (cos_test): Enable some large input tests for
46661 float as well
46662 (sin_test): Likewise.
46663 (sincos_test): Likewise.
46664 (tan_test): Add tests for large input.
46665
46666 * sysdeps/i386/fpu/libm-test-ulps: Update.
46667
81c64153
AJ
466682012-03-15 Andreas Jaeger <aj@suse.de>
46669
46670 [BZ #13658]
46671 * math/libm-test.inc (cos_test): Add more test cases.
46672 (sin_test): Likewise.
46673 (sincos_test): Likewise.
46674
7bbfa5c6
AJ
466752012-03-15 Andreas Jaeger <aj@suse.de>
46676
46677 [BZ #13837]
46678 * math/libm-test.inc (cos_test): Add a test case for large input
46679 value.
46680 (sin_test): Likewise.
46681 (sincos_test): Likewise.
46682
57f41c40
AS
466832012-03-15 Andreas Jaeger <aj@suse.de>
46684 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46685
46686 [BZ #13658]
0671f479 46687 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46688 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46689 * sysdeps/i386/fpu/branred.c: Likewise.
46690 * sysdeps/i386/fpu/dosincos.c: Likewise.
46691 * sysdeps/i386/fpu/mpa.c: Likewise.
46692 * sysdeps/i386/fpu/s_cos.S: Likewise.
46693 * sysdeps/i386/fpu/s_sin.S: Likewise.
46694 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46695 * sysdeps/i386/fpu/sincos32.c: Likewise.
46696
46697 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46698 Define.
46699 (libc_feupdateenv_53bit): Define.
46700 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46701 Define.
46702 (libc_feupdateenv_53bit): Define.
46703
46704 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46705 53 bit (without extend i386 double precision).
46706
46707 * math/libm-test.inc (sincos_test): Add tests for large input.
46708 (sin): Likewise.
46709 (cos): Likewise.
46710
46711 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46712
9cad04ea
AS
467132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46714
46715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46716
f7062b9a
DM
467172012-03-15 David S. Miller <davem@davemloft.net>
46718
46719 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46720 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46721 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46722 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46735 file.
f7062b9a 46736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46738 file.
f7062b9a 46739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46741 file.
f7062b9a 46742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46744 file.
f7062b9a
DM
46745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46747 fmin/fmax sysdep routines.
46748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46749
7bd951ff
DM
467502012-03-14 David S. Miller <davem@davemloft.net>
46751
559398ab
DM
46752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46757 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46758 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46759 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46781 routines.
46782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46783 file.
559398ab 46784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46786 file.
559398ab 46787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46789 file.
559398ab 46790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46792 file.
559398ab 46793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46795 file.
559398ab 46796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46798 file.
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46800 file.
46801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46802 file.
46803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46804 file.
46805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46806 New file.
46807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46808 file.
46809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46810 file.
559398ab 46811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46813 file.
559398ab 46814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46816 file.
559398ab 46817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46819 file.
559398ab 46820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46822 VIS3 routines.
559398ab
DM
46823
46824 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46825 New file.
46826
5a1c1e32
DM
46827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46828
eae47a36
DM
46829 * sysdeps/sparc/configure.in: New file.
46830 * sysdeps/sparc/configure: Generate.
46831 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46832 * configure: Regenerate.
46833 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46834 * config.make.in (have-as-vis3): New.
46835 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46836 available use -Av9d instead of -Av9a.
46837 * sysdeps/sparc/sparc64/Makefile: Likewise.
46838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46840 New file.
46841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46842 file.
46843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46844 New file.
46845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46846 file.
eae47a36
DM
46847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46849 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46852
c0c83bc8
DM
46853 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46854 fzeros/fnegs to load 0x80000000 into a float register instead of
46855 using the stack.
7bd951ff
DM
46856 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46857
bd951ccb
JM
468582012-03-14 Joseph Myers <joseph@codesourcery.com>
46859
46860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46861 bits/syscall.h.
46862 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46863 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46864 ($(inst_includedir)/bits/syscall.h): Remove rule.
46865 ($(objpfx)bits/syscall.d): Include instead of
46866 $(objpfx)syscall-list.d.
46867 (generated): Change syscall-list.h and syscall-list.d to
46868 bits/syscall.h and bits/syscall.d.
46869
bb4e6db2
RM
468702012-03-14 Roland McGrath <roland@hack.frob.com>
46871
46872 [BZ #13846]
46873 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46874
aa4a2ae1
JM
468752012-03-14 Joseph Myers <joseph@codesourcery.com>
46876
e456826d
JM
46877 [BZ #13841]
46878 * math/s_csqrt.c: Include <float.h>.
46879 (__csqrt): Scale large or subnormal inputs.
46880 * math/s_csqrtf.c: Likewise.
46881 * math/s_csqrtl.c: Likewise.
46882 * math/libm-test.inc (csqrt_test): Add more tests.
46883 * sysdeps/i386/fpu/libm-test-ulps: Update.
46884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46885
aa4a2ae1
JM
46886 [BZ #13840]
46887 * math/libm-test.inc (hypot_test): Add more tests.
46888
7c10fd35
DM
468892012-03-13 David S. Miller <davem@davemloft.net>
46890
46891 [BZ #13840]
46892 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46893 double-precision for the calculation instead of scaling.
46894
f453b98b
JM
468952012-03-13 Joseph Myers <joseph@codesourcery.com>
46896
46897 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46898 manipulate bits before adding and subtracting TWO52[sx].
46899 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46900 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46901 Likewise.
46902 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46903
09a3453f
DM
469042012-03-13 David S. Miller <davem@davemloft.net>
46905
8e59da90
DM
46906 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46907 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46909 rtld-global-offsets.h
46910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46911
2a8ab7f2
DM
46912 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46913 large parameters.
46914
10f62770
DM
46915 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46916
5f0bdb18
DM
46917 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46918 'err' in the ifdef scope in which it is actually used.
46919
09a3453f
DM
46920 * nss/nss_db/db-init.c: Include string.h
46921
b4b2eb5e
DM
469222012-03-12 David S. Miller <davem@davemloft.net>
46923
98bb2f1c
DM
46924 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46925 masking out of the most significant byte of random value used.
46926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46927 Fix coding style in previous change.
46928
b4b2eb5e
DM
46929 * sysdeps/unix/sysv/linux/kernel-features.h
46930 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46931 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46932 expression.
46933 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46934 later.
46935
6e226b09
DM
469362012-03-11 David S. Miller <davem@davemloft.net>
46937
a1bcbd40
DM
46938 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46939 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46941 for 'resultvar' otherwise things get truncated on 64-bit.
46942
cb9d6174
DM
46943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46944 Fix masking out of the most significant byte of random value used.
46945
6e226b09
DM
46946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46947
058c132d
AS
469482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46949
46950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46951
2d2cd515
DM
469522012-03-09 David S. Miller <davem@davemloft.net>
46953
46954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46955 variables with appropriate CPP guards.
57f41c40
AS
46956 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46957 from the frame pointer, not the stack pointer. Correct layout
46958 comments. Fix test on resulting framesize and the management of
46959 the outregs buffer for pltexit. Preserve floating point return
46960 values across _dl_call_pltexit call.
2d2cd515
DM
46961 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46962 framesize and the management of the outregs buffer for pltexit.
46963 Preserve floating point return values across _dl_call_pltexit
46964 call.
57f41c40
AS
46965 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46966 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46967 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46968 (print_exit): Fix format string for return register value.
46969
9a07f9d0
JM
469702012-03-10 Joseph Myers <joseph@codesourcery.com>
46971
46972 * sunrpc/Makefile (others): Add rpcgen.
46973 ($(objpfx)rpcgen): Remove special build rule and dependency on
46974 libc.
46975 * sunrpc/rpcgen.c: New file.
46976
547b5e30
PE
469772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46978
c524201a
PE
46979 [BZ #13673]
46980 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46981 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46982 * sysdeps/i386/crti.S: Likewise.
46983 * sysdeps/i386/crtn.S: Likewise.
46984 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46985 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46986 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46987 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46988 * sysdeps/sh/crti.S: Likewise.
46989 * sysdeps/sh/crtn.S: Likewise.
46990 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46991
7b6235f2
PE
46992 [BZ #13673]
46993 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46994 with URL.
46995 * locale/programs/locfile-kw.gperf: Likewise.
46996 * locale/programs/charmap-kw.h: Regenerated.
46997 * locale/programs/locfile-kw.h: Likewise.
46998
547b5e30
PE
46999 [BZ #13673]
47000 * intl/plural.y: Replace FSF snail mail address with URL.
47001 * intl/plural.c: Regenerated.
47002
5f0a5dae
RH
470032012-03-09 Richard Henderson <rth@twiddle.net>
47004
47005 * include/math_private.h: Remove file.
47006 * math/math_private.h: Move file ...
47007 * sysdeps/generic/math_private.h: ... here.
47008
b8c03620
RH
47009 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47010 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47011 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47012
4e234f5d 47013 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47014 and <math_private.h>.
47015 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47016 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47017 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47018 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47019 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47034 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47047 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47048 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47058 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47059 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47060 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47061 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47062 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47063 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47071 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47084 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47089 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47095 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47103 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47104 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47105 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47106 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47108 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47109 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47120 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47121 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47122 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47123 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47124 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47125 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47126 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47128 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47129 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47131 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47132 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47133 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47134 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47135 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47136 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47138 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47139 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47140 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47142 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47143 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47144 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47145 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47146 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47147 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47148 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47149 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47150 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47153 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47154 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47155 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47156 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47157 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47158 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47159 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47160 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47161 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47163 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47164 * sysdeps/ieee754/k_standard.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47196 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47268 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47269 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47297 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47312 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47313 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47314 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47315 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47324 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47325 * sysdeps/ieee754/s_lib_version.c: Likewise.
47326 * sysdeps/ieee754/s_matherr.c: Likewise.
47327 * sysdeps/ieee754/s_signgam.c: Likewise.
47328 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47330 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47331 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47333 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47334 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47335 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47336 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47337 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47338 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47339 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47340 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47341 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47342 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47343 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47344 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47345 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47349
1991fa03
JM
473502012-03-09 Joseph Myers <joseph@codesourcery.com>
47351
47352 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47353 * sunrpc/rpc_main.c: Likewise.
47354 * sunrpc/rpc_svcout.c: Likewise.
47355
60d6f5a6
DM
473562012-03-09 David S. Miller <davem@davemloft.net>
47357
47358 * include/math_private.h: New file.
47359
4962050e
JM
473602012-03-09 Joseph Myers <joseph@codesourcery.com>
47361
02a6f887
JM
47362 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47363 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47364 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47365 from <bits/socket_type.h>.
47366 (enum __socket_type): Don't define here.
47367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47369 bits/socket_type.h.
47370
c6e013c1
JM
47371 [BZ #13566]
47372 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47373 checking __USE_GNU.
47374
4962050e
JM
47375 * Makerules ($(inst_includedir)/%.h): New rule.
47376 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47377 (install-others): Remove variable setting.
47378 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47379
38842f45
RH
473802012-03-08 Richard Henderson <rth@twiddle.net>
47381
67bb6da6
RH
47382 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47383 from macro to inline function; merge with the
47384 !__LIBC_INTERNAL_MATH_INLINES version.
47385 (__ieee754_sqrtf): Likewise.
47386
15194b4b
RH
47387 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47388 to inline function.
47389 (__rintf, __floor, __floorf): Likewise.
47390
64e21ede
RH
47391 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47392 macro to inline function.
47393 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47394
38842f45
RH
47395 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47396 not <math/math_private.h>.
47397
c64bf5fe
DM
473982012-03-08 David S. Miller <davem@davemloft.net>
47399
47400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47401 copyright year.
47402 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47403
82d86f28
TS
474042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47405
47406 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47407 normalization.
47408 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47409 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47410
aea5d727
UD
474112012-03-08 Ulrich Drepper <drepper@gmail.com>
47412
47413 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47414 be defined individually, they must be defined as a block. Define
47415 S for printing a string instead of hidint the different by using a
47416 macro for adding the 'l'.
47417 * stdio-common/tst-fphex-wide.c: Adjust.
47418
70bca0a3
MP
474192012-03-07 Marek Polacek <polacek@redhat.com>
47420
47421 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47422
65b81130
MP
474232012-03-08 Marek Polacek <polacek@redhat.com>
47424
47425 [BZ #13806]
47426 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47427 * stdio-common/tst-fphex.c: Define a few macros to make the
47428 test reusable. Use them.
47429 * stdio-common/tst-fphex-wide.c: New file.
47430
07037eeb
JM
474312012-03-08 Joseph Myers <joseph@codesourcery.com>
47432
a7a93d50
JM
47433 [BZ #6911]
47434 * manual/macros.texi (gnusystems): New macro.
47435 (nongnusystems): Likewise.
47436 (gnulinuxhurdsystems): Likewise.
47437 (gnuhurdsystems): Likewise..
47438 (gnulinuxsystems): Likewise.
47439 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47440 variants of the GNU system, not "GNU system".
47441 * manual/conf.texi: Likewise.
47442 * manual/errno.texi: Likewise. Update example of errno macro
47443 expansion.
47444 * manual/filesys.texi: Likewise.
47445 (getumask): Document as specific to GNU/Hurd.
47446 * manual/install.texi: Likewise. Reword some references to
47447 GNU/Linux.
47448 * manual/intro.texi: Likewise.
47449 * manual/io.texi: Likewise.
47450 (File Name Portability): Detail which constraints are inapplicable
47451 to all GNU systems and which are only inapplicable to GNU/Hurd.
47452 * manual/job.texi: Likewise.
47453 * manual/llio.texi: Likewise.
47454 (O_NOCTTY): Document as present on GNU/Linux.
47455 * manual/maint.texi: Likewise.
47456 * manual/memory.texi: Likewise.
47457 * manual/pattern.texi: Likewise.
47458 * manual/pipe.texi: Likewise.
47459 * manual/process.texi: Likewise.
47460 * manual/resource.texi: Likewise.
47461 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47462 child on GNU/Hurd.
47463 * manual/setjmp.texi: Likewise.
47464 * manual/signal.texi: Likewise.
47465 * manual/startup.texi: Likewise.
47466 * manual/stdio.texi: Likewise.
47467 * manual/terminal.texi: Likewise.
47468 (ONLCR): Document as POSIX.
47469 (OXTABS): Document availability on GNU/Linux as XTABS.
47470 (ONOEOT): Document availability separately from other bits.
47471 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47472 * manual/time.texi: Likewise.
47473 * manual/users.texi: Likewise.
47474 * INSTALL: Regenerated.
47475 * sysdeps/gnu/errlist.c: Regenerated.
47476
07037eeb
JM
47477 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47478 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47479 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47480 puts.
47481 * configure: Regenerated.
47482
d1d3431a
JM
474832012-03-07 Joseph Myers <joseph@codesourcery.com>
47484
af6a1e37
JM
47485 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47486 default includes instead of AC_HEADER_CHECK.
47487 * sysdeps/i386/configure: Regenerated.
47488
d1d3431a
JM
47489 [BZ #10716]
47490 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47491 * math/s_cacoshf.c (__cacoshf): Likewise.
47492 * math/s_cacoshl.c (__cacoshl): Likewise.
47493 * math/s_casinh.c (__casinh): Set signs of result from argument.
47494 * math/s_casinhf.c (__casinhf): Likewise.
47495 * math/s_casinhl.c (__casinhl): Likewise.
47496 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47497 (casinh_test): Add more tests.
47498 * sysdeps/i386/fpu/libm-test-ulps: Update.
47499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47500
482ff4da
UD
475012012-03-07 Ulrich Drepper <drepper@gmail.com>
47502
872fda05
UD
47503 * po/zh_TW.po: Update from translation team.
47504
a4300c7a
UD
47505 * login/Makefile (distribute): Remove variable.
47506 * catgets/Makefile: Likewise.
47507 * mach/Makefile: Likewise.
47508 * malloc/Makefile: Likewise.
47509 * misc/Makefile: Likewise.
47510 * iconv/Makefile: Likewise.
47511 * nscd/Makefile: Likewise.
47512 * hurd/Makefile: Likewise.
47513 * manual/Makefile: Likewise.
47514 * locale/Makefile: Likewise.
47515 * intl/Makefile: Likewise.
47516 * conform/Makefile: Likewise.
47517 * nss/Makefile: Likewise.
47518 * time/Makefile: Likewise.
47519 * soft-fp/Makefile: Likewise.
47520 * dirent/Makefile: Likewise.
47521 * gmon/Makefile: Likewise.
47522 * po/Makefile: Likewise.
47523 * rt/Makefile: Likewise.
47524 * socket/Makefile: Likewise.
47525 * math/Makefile: Likewise.
47526 * signal/Makefile: Likewise.
47527 * debug/Makefile: Likewise.
47528 * elf/Makefile: Likewise.
47529 * timezone/Makefile: Likewise.
47530 * stdlib/Makefile: Likewise.
47531 * iconvdata/Makefile: Likewise.
47532 * sunrpc/Makefile: Likewise.
47533 * io/Makefile: Likewise.
47534 * argp/Makefile: Likewise.
47535 * inet/Makefile: Likewise.
47536 * hesiod/Makefile: Likewise.
47537 * grp/Makefile: Likewise.
47538 * csu/Makefile: Likewise.
47539 * wctype/Makefile: Likewise.
47540 * crypt/Makefile: Likewise.
47541 * libio/Makefile: Likewise.
47542 * string/Makefile: Likewise.
47543 * nis/Makefile: Likewise.
47544 * resolv/Makefile: Likewise.
47545 * stdio-common/Makefile: Likewise.
47546 * wcsmbs/Makefile: Likewise.
47547 * dlfcn/Makefile: Likewise.
47548 * posix/Makefile: Likewise.
47549
3b7c4e74 47550 [BZ #6959]
482ff4da
UD
47551 * timezone/Makefile: Don't install timezone files, just the programs
47552 and scripts.
47553
f72ed77d
UD
475542012-03-06 Ulrich Drepper <drepper@gmail.com>
47555
a000466f
UD
47556 * nss/databases.def: Add missing gshadow entry.
47557
f72ed77d
UD
47558 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47559
a53b7a4e
MP
475602012-03-06 Marek Polacek <polacek@redhat.com>
47561
47562 [BZ #13726]
47563 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47564 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47565 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47566 * stdio-common/tst-long-dbl-fphex.c: New file.
47567
e9258400
DM
475682012-03-06 David S. Miller <davem@davemloft.net>
47569
47570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47571 (set_obp_int): New function.
47572 (get_obp_int): New function.
47573 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47574 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47575 Avoid unused variable warnings on 'val' and use builtin_expect.
47576 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47577 __builtin_expect.
e9258400
DM
47578 (INLINE_CLONE_SYSCALL): Likewise.
47579
3bd2c723
DM
475802012-03-05 David S. Miller <davem@davemloft.net>
47581
47582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47583
bbb78d03
AS
475842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47585
884c5db4
AS
47586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47587
bbb78d03
AS
47588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47589 only for |x| >= 40.
47590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47591
1c9f702a 475922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47593
47594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47595 Replace gettimeofday with __vdso_gettimeofday.
47596
7be16f82
RM
47597 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47598 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47599 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47600
47601 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47602 time with __vdso_time.
47603
ed58a00f
JM
476042012-03-05 Joseph Myers <joseph@codesourcery.com>
47605
47606 * manual/lang.texi (size_t): Note types to which size_t may be
47607 equivalent with the GNU C Library, but do not describe when
47608 differences between them are significant.
47609
30ee4ced
AJ
476102012-03-05 Andreas Jaeger <aj@suse.de>
47611
47612 * sysdeps/i386/fpu/libm-test-ulps: Update.
47613
b7cd39e8
JM
476142012-03-05 Joseph Myers <joseph@codesourcery.com>
47615
47616 [BZ #3976]
47617 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47618 (__ieee754_pow): Save and restore rounding mode and use
47619 round-to-nearest for main computations.
47620 * math/libm-test.inc (pow_test_tonearest): New function.
47621 (pow_test_towardzero): Likewise.
47622 (pow_test_downward): Likewise.
47623 (pow_test_upward): Likewise.
47624 (main): Call the new functions.
47625 * sysdeps/i386/fpu/libm-test-ulps: Update.
47626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47627
47628 [BZ #3976]
47629 * math/libm-test.inc (cosh_test_tonearest): New function.
47630 (cosh_test_towardzero): Likewise.
47631 (cosh_test_downward): Likewise.
47632 (cosh_test_upward): Likewise.
47633 (sinh_test_tonearest): Likewise.
47634 (sinh_test_towardzero): Likewise.
47635 (sinh_test_downward): Likewise.
47636 (sinh_test_upward): Likewise.
47637 (main): Call the new functions.
47638 * sysdeps/i386/fpu/libm-test-ulps: Update.
47639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47640
6c6a98c9
TV
476412012-03-05 Tom de Vries <tom@codesourcery.com>
47642
47643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47644 default stack guard is set in last bytes.
47645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47646
21bb2d2e 476472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47648
21bb2d2e 47649 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47650
21bb2d2e
AJ
47651 [BZ #13656]
47652 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47653 possibly allocate from heap instead of stack.
47654 * stdio-common/bug-vfprintf-nargs.c: New file.
47655 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47656
c6922934
AS
476572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47658
47659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47660
bc957d53
MP
476612012-03-03 Marek Polacek <polacek@redhat.com>
47662
47663 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47664 * math/math_private.h: Likewise.
47665 * stdlib/tst-strtod.c: Likewise.
47666 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47667 * sysdeps/x86_64/bits/atomic.h: Likewise.
47668
6358490d
DM
476692012-03-02 David S. Miller <davem@davemloft.net>
47670
47671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47675 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47676 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47677 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47678 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47679
01ae168d
RM
476802012-03-02 Roland McGrath <roland@hack.frob.com>
47681
d9a17c07
RM
47682 [BZ #13792]
47683 * manual/examples/README: New file, says the example source files
47684 can be used under GPL>=2.
47685 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47686 line containing just "*/".
47687 * manual/examples/add.c: Add copyright header (GPL>=2).
47688 * manual/examples/argp-ex1.c: Likewise.
47689 * manual/examples/argp-ex2.c: Likewise.
47690 * manual/examples/argp-ex3.c: Likewise.
47691 * manual/examples/argp-ex4.c: Likewise.
47692 * manual/examples/atexit.c: Likewise.
47693 * manual/examples/db.c: Likewise.
47694 * manual/examples/dir.c: Likewise.
47695 * manual/examples/dir2.c: Likewise.
47696 * manual/examples/execinfo.c: Likewise.
47697 * manual/examples/filecli.c: Likewise.
47698 * manual/examples/filesrv.c: Likewise.
47699 * manual/examples/fmtmsgexpl.c: Likewise.
47700 * manual/examples/genpass.c: Likewise.
47701 * manual/examples/inetcli.c: Likewise.
47702 * manual/examples/inetsrv.c: Likewise.
47703 * manual/examples/isockad.c: Likewise.
47704 * manual/examples/longopt.c: Likewise.
47705 * manual/examples/memopen.c: Likewise.
47706 * manual/examples/memstrm.c: Likewise.
47707 * manual/examples/mkfsock.c: Likewise.
47708 * manual/examples/mkisock.c: Likewise.
47709 * manual/examples/mygetpass.c: Likewise.
47710 * manual/examples/pipe.c: Likewise.
47711 * manual/examples/popen.c: Likewise.
47712 * manual/examples/rprintf.c: Likewise.
47713 * manual/examples/search.c: Likewise.
47714 * manual/examples/select.c: Likewise.
47715 * manual/examples/setjmp.c: Likewise.
47716 * manual/examples/sigh1.c: Likewise.
47717 * manual/examples/sigusr.c: Likewise.
47718 * manual/examples/stpcpy.c: Likewise.
47719 * manual/examples/strdupa.c: Likewise.
47720 * manual/examples/strftim.c: Likewise.
47721 * manual/examples/strncat.c: Likewise.
47722 * manual/examples/subopt.c: Likewise.
47723 * manual/examples/swapcontext.c: Likewise.
47724 * manual/examples/termios.c: Likewise.
47725 * manual/examples/testopt.c: Likewise.
47726 * manual/examples/testpass.c: Likewise.
47727 * manual/examples/timeval_subtract.c: Likewise.
47728
01ae168d
RM
47729 [BZ #13792]
47730 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47731 function to ...
47732 * manual/timeval_subtract.c.texi: ... here, new file.
47733
49efa33d
DM
477342012-03-02 David S. Miller <davem@davemloft.net>
47735
47736 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47737
28afd92d
JM
477382012-03-02 Joseph Myers <joseph@codesourcery.com>
47739
804360ed
JM
47740 [BZ #3976]
47741 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47742 (__sin): Save and restore rounding mode and use round-to-nearest
47743 for all computations.
47744 (__cos): Save and restore rounding mode and use round-to-nearest
47745 for all computations.
47746 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47747 <fenv.h>.
47748 (tan): Save and restore rounding mode and use round-to-nearest for
47749 all computations.
47750 * math/libm-test.inc (cos_test_tonearest): New function.
47751 (cos_test_towardzero): Likewise.
47752 (cos_test_downward): Likewise.
47753 (cos_test_upward): Likewise.
47754 (sin_test_tonearest): Likewise.
47755 (sin_test_towardzero): Likewise.
47756 (sin_test_downward): Likewise.
47757 (sin_test_upward): Likewise.
47758 (tan_test_tonearest): Likewise.
47759 (tan_test_towardzero): Likewise.
47760 (tan_test_downward): Likewise.
47761 (tan_test_upward): Likewise.
47762 (main): Call the new functions.
47763 * sysdeps/i386/fpu/libm-test-ulps: Update.
47764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47765
a6d06d7b
JM
47766 [BZ #10135]
47767 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47768 small n, then large n, before computing and testing k+n.
47769 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47771 Likewise.
47772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47773 Likewise.
47774 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47775 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47780 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47782 * math/libm-test.inc (scalbn_test): Add more tests.
47783 (scalbln_test): Likewise.
47784
07e12bb3
JM
47785 * manual/filesys.texi (mode_t): Describe constraints on size and
47786 signedness, not exact equivalence to a particular type.
47787 (ino_t): Likewise.
47788 (ino64_t): Likewise.
47789 (dev_t): Likewise.
47790 (nlink_t): Likewise.
47791 (blkcnt_t): Likewise.
47792 (blkcnt64_t): Likewise.
47793 * manual/llio.texi (off_t): Likewise.
47794
28afd92d
JM
47795 [BZ #3976]
47796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47797 (__ieee754_exp): Save and restore rounding mode and use
47798 round-to-nearest for all computations.
47799 * math/libm-test.inc (exp_test_tonearest): New function.
47800 (exp_test_towardzero): Likewise.
47801 (exp_test_downward): Likewise.
47802 (exp_test_upward): Likewise.
47803 (main): Call the new functions.
47804 * sysdeps/i386/fpu/libm-test-ulps: Update.
47805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47806
b1eeb65d
CD
478072012-03-01 Chris Demetriou <cgd@google.com>
47808
47809 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47810 have predictable order.
47811
53362a4b
DM
478122012-03-01 David S. Miller <davem@davemloft.net>
47813
3c969083
DM
47814 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47815
759707de
DM
47816 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47817 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47818 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47819 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47820
dfdb8ff2
DM
47821 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47822 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47823 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47825 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47826 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47827 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47828 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47829 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47830
ead89f96
DM
47831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47832
7f66bd07
DM
47833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47834 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47835 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47836
53362a4b
DM
47837 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47839 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47844 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47845 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47846 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47847 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47850 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47853 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47854 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47855 * sysdeps/sparc/elf/configure: Regenerated.
47856
7b1902cb
JM
478572012-03-01 Joseph Myers <joseph@codesourcery.com>
47858
bec039bc
JM
47859 * configure.in (AS, LD): Require binutils 2.20 or later.
47860 * configure: Regenerated.
47861 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47862 as required minimum version.
47863 * INSTALL: Regenerated.
47864
7b1902cb
JM
47865 [BZ #2541]
47866 [BZ #4108]
47867 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47868 before squaring exponent.
47869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47870 bottom long double and 27 bits of top long double before squaring
47871 exponent.
47872 * math/libm-test.inc (erfc_test): Add more tests.
47873 * sysdeps/i386/fpu/libm-test-ulps: Update.
47874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47876
f775c276
KT
478772012-03-01 Kai Tietz <ktietz@redhat.com>
47878
47879 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47880 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47881 containing bit-fields.
47882 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47883 * soft-fp/single.h (_FP_UNION_S): Likewise.
47884 * soft-fp/double.h (_FP_UNION_D): Likewise.
47885
5b8a4d4a
JM
478862012-02-29 Joseph Myers <joseph@codesourcery.com>
47887
0bab47b6
JM
47888 [BZ #13786]
47889 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47890 not include ../strcmp.S.
47891 [USE_AS_STRNCASECMP_L]: Likewise.
47892 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47893 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47894 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47895 (__strncasecmp_l_ia32): Define as alias to
47896 __strncasecmp_l_nonascii.
47897
0fcad3e2
JM
47898 [BZ #5794]
47899 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47900 * sysdeps/i386/fpu/libm-test-ulps: Update.
47901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47902
5b8a4d4a
JM
47903 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47905
8fdceb2e
JL
479062012-02-29 Jeff Law <law@redhat.com>
47907
47908 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47909 out of bounds read.
47910
1f393a11
MP
479112012-02-29 Marek Polacek <polacek@redhat.com>
47912
47913 [BZ #13706]
47914 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47915 * elf/Makefile: Add rules to run tst-unused-dep.out.
47916
8847f037
DM
479172012-02-28 David S. Miller <davem@davemloft.net>
47918
47919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47923 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47924 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47925
169d7f11
JM
479262012-02-29 Joseph Myers <joseph@codesourcery.com>
47927
47928 * math/libm-test.inc (llround_test): Move one test from
47929 lround_test. Use TEST_f_L in moved test.
47930 (lround_test): Move misplaced test to llround_test. Add testcase
47931 from bug 2561.
47932
39adf059
UD
479332012-02-28 Ulrich Drepper <drepper@gmail.com>
47934
47935 * sysdeps/x86_64/fpu/e_expf.S: New file.
47936 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47937
71b5d1c5
SB
479382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47939
47940 [BZ #13637]
47941 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47942 of remain_len that may cause incomplete multi-byte character and
47943 false match.
47944 * posix/bug-regex33.c: New file.
47945 * posix/Makefile (tests): Add bug-regex33.
47946
1f77f049
JM
479472012-02-28 Joseph Myers <joseph@codesourcery.com>
47948
47949 * manual/macros.texi: New file.
47950 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47951 * manual/libc.texinfo: Include macros.texi.
47952 * manual/creatute.texi: Likewise.
47953 * manual/install.texi: Likewise.
47954 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47955 @glibcadj{} in references to the GNU C Library.
47956 * manual/charset.texi: Likewise.
47957 * manual/conf.texi: Likewise.
47958 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47959 when not using those macros.
47960 * manual/creature.texi: Likewise.
47961 * manual/crypt.texi: Likewise.
47962 * manual/errno.texi: Likewise.
47963 * manual/filesys.texi: Likewise.
47964 * manual/header.texi: Likewise.
47965 * manual/install.texi: Likewise.
47966 * manual/intro.texi: Likewise.
47967 * manual/io.texi: Likewise.
47968 * manual/job.texi: Likewise.
47969 * manual/lang.texi: Likewise.
47970 * manual/libc.texiinfo: Likewise.
47971 * manual/llio.texi: Likewise.
47972 * manual/locale.texi: Likewise.
47973 * manual/maint.texi: Likewise.
47974 * manual/math.texi: Likewise.
47975 * manual/memory.texi: Likewise.
47976 * manual/message.texi: Likewise.
47977 * manual/nss.texi: Likewise.
47978 * manual/pattern.texi: Likewise.
47979 * manual/process.texi: Likewise.
47980 * manual/resource.texi: Likewise.
47981 * manual/search.texi: Likewise.
47982 * manual/setjmp.texi: Likewise.
47983 * manual/signal.texi: Likewise.
47984 * manual/socket.texi: Likewise.
47985 * manual/startup.texi: Likewise.
47986 * manual/stdio.texi: Likewise.
47987 * manual/string.texi: Likewise.
47988 * manual/sysinfo.texi: Likewise.
47989 * manual/syslog.texi: Likewise.
47990 * manual/terminal.texi: Likewise.
47991 * manual/time.texi: Likewise.
47992 * manual/users.texi: Likewise.
47993 * INSTALL: Regenerated.
47994 * NOTES: Regenerated.
d40c5d54 47995 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47996
450bf206
AS
479972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47998
47999 * include/dirent.h: Include <dirstream.h> before
48000 <dirent/dirent.h>.
48001
741a235b
DM
480022012-02-28 David S. Miller <davem@davemloft.net>
48003
48004 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48005 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48006 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48007 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48008
d6b5aa58
DM
480092012-02-27 David S. Miller <davem@davemloft.net>
48010
1aff59a3
DM
48011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48013 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48014 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48015
d6b5aa58
DM
48016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48017 frame pointer instead of stack pointer relative arg slot.
48018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48021
433f48bf
CD
480222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48023
48024 [BZ #3992]
48025 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48026
d674b76d
DM
480272012-02-27 David S. Miller <davem@davemloft.net>
48028
48029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48033 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48034 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48035 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48036 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48037
0e7727f7
JM
480382012-02-27 Joseph Myers <joseph@codesourcery.com>
48039
48040 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48041 later. Allow versions 5-9.
43be4ca2 48042 * configure: Regenerated.
0e7727f7
JM
48043 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48044 required minimum version and 4.6 as recommended version. Do not
48045 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48046 * INSTALL: Regenerated.
0e7727f7 48047
a78bc654
DM
480482012-02-27 David S. Miller <davem@davemloft.net>
48049
428d5830
DM
48050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48056 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48058
a78bc654
DM
48059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48060 manipulate bits before adding and subtracting TWO112[sx].
48061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48062
4579f81c
RM
480632012-02-27 Roland McGrath <roland@hack.frob.com>
48064
36c8acb4
RM
48065 [BZ #13775]
48066 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48067 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48068 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48069 being in POSIX, because they are in 1003.1-2008.
48070
84ad622b
RM
48071 * rt/tst-aio.c: Include <fcntl.h>.
48072 * rt/tst-aio7.c: Likewise.
48073 * rt/tst-aio64.c: Likewise.
48074
4579f81c
RM
48075 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48076
abd923db
JM
480772012-02-27 Joseph Myers <joseph@codesourcery.com>
48078
48079 * manual/install.texi (--with-headers): Describe headers as
48080 interface headers, not private headers.
48081 (Specific advice for GNU/Linux systems): Describe use of headers
48082 from "make headers_install", not private headers from older
48083 kernels.
43be4ca2 48084 * INSTALL: Regenerated.
abd923db
JM
48085 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48086 Change to 2.6.19.
48087 * sysdeps/unix/sysv/linux/configure: Regenerated.
48088
6664049b
JM
48089 * manual/llio.texi (fclean): Remove documentation.
48090
bb8b6697
JM
48091 * manual/Makefile (libc-texi-generated): New variable. Include
48092 version.texi.
48093 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48094 $(libc-texi-generated), not duplicated list of files.
48095 (version.texi, stamp-version): New rules.
48096 (realclean): Remove $(libc-texi-generated), not individual files
48097 from that list. Do not remove dir-add.texinfo.
48098 * manual/libc.texinfo: Comment out uses of edition numbers and
48099 references to printed manual. Remove last-updated dates.
48100 (EDITION): Comment out.
48101 (ISBN): Likewise.
48102 (VERSION, UPDATED): Remove.
48103 (version.texi): Include.
48104
12e5c3b9
AS
481052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48106
48107 * sysdeps/posix/spawni.c: Include <signal.h>.
48108 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48109 * sysdeps/pthread/aio_fsync.c: Likewise.
48110
4efeffc1 481112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48112
ba63ba08
UD
48113 * conform/Makefile (tests): Run only when not cross-compiling and
48114 when fast-check is not defined.
48115
d94a4670
UD
48116 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48117 * conform/data/limits.h-data: Fixes for POSIX2008.
48118 * conform/run-conformtest.sh: Run all tests.
48119 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48120 headers.
48121 * include/bits/dlfcn.h: Likewise.
48122 * include/langinfo.h: Likewise.
48123 * include/monetary.h: Likewise.
48124 * include/sys/poll.h: Likewise.
48125
48126 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48127 for __USE_GNU.
48128 * posix/spawn.h: Define __need_sigset_t.
48129 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48130 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48131 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48132 to get sigevent_t only.
48133 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48134 only for __USE_GNU.
48135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48136 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48137 process_vm_writev only for __USE_GNU.
48138 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48139
48140 * conform/Makefile: For now ignore errors from run-conformtest.
48141 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48142 POSIX to avoid namespace pollution. Don't prepend headers.
48143 * conform/data/aio.h-data: Fixes for POSIX testing.
48144 * conform/data/fcntl.h-data: Likewise.
48145 * conform/data/glob.h-data: Likewise.
48146 * conform/data/grp.h-data: Likewise.
48147 * conform/data/pthread.h-data: Likewise.
48148 * conform/data/pwd.h-data: Likewise.
48149 * conform/data/signal.h-data: Likewise.
48150 * conform/data/spawn.h-data: Likewise.
48151 * conform/data/stdio.h-data: Likewise.
48152 * conform/data/stdlib.h-data: Likewise.
48153 * conform/data/stropts.h-data: Likewise.
48154 * conform/data/sys/mman.h-data: Likewise.
48155 * conform/data/sys/stat.h-data: Likewise.
48156 * conform/data/sys/types.h-data: Likewise.
48157 * conform/data/sys/wait.h-data: Likewise.
48158 * conform/data/time.h-data: Likewise.
48159 * conform/data/unistd.h-data: Likewise.
48160 * conform/data/utime.h-data: Likewise.
48161
48162 * io/sys/stat.h: fchmod was always in POSIX.
48163 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48164 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48165 * rt/aio.h: Define __need_timespec before including <time.h>.
48166 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48167 struct. Add forward declaration of pthread_attr_t and use it in
48168 sigevent.
48169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48171 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48172 always remove CLK_TCK definition.
48173
c20105c3
AS
481742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48175
48176 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48177
7a270350
UD
481782012-02-25 Ulrich Drepper <drepper@gmail.com>
48179
31341567
UD
48180 * conform/run-conformtest.sh: New file.
48181 * conform/Makefile: Run run-conformtest for tests.
48182 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48183 support.
48184
48185 * conform/data/uchar.h-data: New file.
48186 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48187 * conform/data/arpa/inet.h-data: Likewise.
48188 * conform/data/assert.h-data: Likewise.
48189 * conform/data/complex.h-data: Likewise.
48190 * conform/data/cpio.h-data: Likewise.
48191 * conform/data/ctype.h-data: Likewise.
48192 * conform/data/dirent.h-data: Likewise.
48193 * conform/data/dlfcn.h-data: Likewise.
48194 * conform/data/errno.h-data: Likewise.
48195 * conform/data/fcntl.h-data: Likewise.
48196 * conform/data/float.h-data: Likewise.
48197 * conform/data/fmtmsg.h-data: Likewise.
48198 * conform/data/fnmatch.h-data: Likewise.
48199 * conform/data/ftw.h-data: Likewise.
48200 * conform/data/glob.h-data: Likewise.
48201 * conform/data/grp.h-data: Likewise.
48202 * conform/data/iconv.h-data: Likewise.
48203 * conform/data/inttypes.h-data: Likewise.
48204 * conform/data/langinfo.h-data: Likewise.
48205 * conform/data/libgen.h-data: Likewise.
48206 * conform/data/limits.h-data: Likewise.
48207 * conform/data/locale.h-data: Likewise.
48208 * conform/data/math.h-data: Likewise.
48209 * conform/data/monetary.h-data: Likewise.
48210 * conform/data/mqueue.h-data: Likewise.
48211 * conform/data/ndbm.h-data: Likewise.
48212 * conform/data/net/if.h-data: Likewise.
48213 * conform/data/netdb.h-data: Likewise.
48214 * conform/data/netinet/in.h-data: Likewise.
48215 * conform/data/nl_types.h-data: Likewise.
48216 * conform/data/poll.h-data: Likewise.
48217 * conform/data/pthread.h-data: Likewise.
48218 * conform/data/pwd.h-data: Likewise.
48219 * conform/data/regex.h-data: Likewise.
48220 * conform/data/sched.h-data: Likewise.
48221 * conform/data/search.h-data: Likewise.
48222 * conform/data/semaphore.h-data: Likewise.
48223 * conform/data/setjmp.h-data: Likewise.
48224 * conform/data/signal.h-data: Likewise.
48225 * conform/data/spawn.h-data: Likewise.
48226 * conform/data/stdarg.h-data: Likewise.
48227 * conform/data/stdio.h-data: Likewise.
48228 * conform/data/stdlib.h-data: Likewise.
48229 * conform/data/string.h-data: Likewise.
48230 * conform/data/strings.h-data: Likewise.
48231 * conform/data/stropts.h-data: Likewise.
48232 * conform/data/sys/ipc.h-data: Likewise.
48233 * conform/data/sys/mman.h-data: Likewise.
48234 * conform/data/sys/msg.h-data: Likewise.
48235 * conform/data/sys/resource.h-data: Likewise.
48236 * conform/data/sys/select.h-data: Likewise.
48237 * conform/data/sys/sem.h-data: Likewise.
48238 * conform/data/sys/shm.h-data: Likewise.
48239 * conform/data/sys/socket.h-data: Likewise.
48240 * conform/data/sys/stat.h-data: Likewise.
48241 * conform/data/sys/statvfs.h-data: Likewise.
48242 * conform/data/sys/time.h-data: Likewise.
48243 * conform/data/sys/timeb.h-data: Likewise.
48244 * conform/data/sys/times.h-data: Likewise.
48245 * conform/data/sys/types.h-data: Likewise.
48246 * conform/data/sys/uio.h-data: Likewise.
48247 * conform/data/sys/un.h-data: Likewise.
48248 * conform/data/sys/utsname.h-data: Likewise.
48249 * conform/data/sys/wait.h-data: Likewise.
48250 * conform/data/syslog.h-data: Likewise.
48251 * conform/data/tar.h-data: Likewise.
48252 * conform/data/termios.h-data: Likewise.
48253 * conform/data/utime.h-data: Likewise.
48254 * conform/data/utmpx.h-data: Likewise.
48255 * conform/data/varargs.h-data: Likewise.
48256 * conform/data/wchar.h-data: Likewise.
48257 * conform/data/wctype.h-data: Likewise.
48258 * conform/data/wordexp.h-data: Likewise.
48259
48260 * include/stropts.h: New file.
48261 * include/uchar.h: New file.
48262 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48263 * include/assert.h: Likewise.
48264 * include/ctype.h: Likewise.
48265 * include/dirent.h: Likewise.
48266 * include/dlfcn.h: Likewise.
48267 * include/fcntl.h: Likewise.
48268 * include/fnmatch.h: Likewise.
48269 * include/glob.h: Likewise.
48270 * include/grp.h: Likewise.
48271 * include/libio.h: Likewise.
48272 * include/locale.h: Likewise.
48273 * include/math.h: Likewise.
48274 * include/net/if.h: Likewise.
48275 * include/netdb.h: Likewise.
48276 * include/netinet/in.h: Likewise.
48277 * include/pthread.h: Likewise.
48278 * include/pwd.h: Likewise.
48279 * include/regex.h: Likewise.
48280 * include/sched.h: Likewise.
48281 * include/search.h: Likewise.
48282 * include/setjmp.h: Likewise.
48283 * include/signal.h: Likewise.
48284 * include/stdio.h: Likewise.
48285 * include/stdlib.h: Likewise.
48286 * include/string.h: Likewise.
48287 * include/sys/cdefs.h: Likewise.
48288 * include/sys/mman.h: Likewise.
48289 * include/sys/msg.h: Likewise.
48290 * include/sys/resource.h: Likewise.
48291 * include/sys/select.h: Likewise.
48292 * include/sys/socket.h: Likewise.
48293 * include/sys/stat.h: Likewise.
48294 * include/sys/statvfs.h: Likewise.
48295 * include/sys/time.h: Likewise.
48296 * include/sys/times.h: Likewise.
48297 * include/sys/uio.h: Likewise.
48298 * include/sys/utsname.h: Likewise.
48299 * include/sys/wait.h: Likewise.
48300 * include/termios.h: Likewise.
48301 * include/time.h: Likewise.
48302 * include/ulimit.h: Likewise.
48303 * include/unistd.h: Likewise.
48304 * include/utime.h: Likewise.
48305 * include/wchar.h: Likewise.
48306 * include/wctype.h: Likewise.
48307 * include/wordexp.h: Likewise.
48308
48309 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48310
7a270350
UD
48311 * time/time.h: TIME_UTC must be a macro.
48312 Make timespec_get available for ISO C11 only as well.
48313
7724defc
UD
483142012-02-24 Ulrich Drepper <drepper@gmail.com>
48315
48316 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48317 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48318
6b1d1d46
JM
483192012-02-24 Joseph Myers <joseph@codesourcery.com>
48320
48321 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48322
0f8bbd69
JM
483232012-02-24 Joseph Myers <joseph@codesourcery.com>
48324
48325 * manual/texinfo.tex: Update to version 2012-01-19.16.
48326
66ab80bc
JM
483272012-02-24 Joseph Myers <joseph@codesourcery.com>
48328
48329 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48330
74981cc5
RM
483312012-02-24 Roland McGrath <roland@hack.frob.com>
48332
ee968201
RM
48333 [BZ #13738]
48334 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48335 * manual/fdl-1.3.texi: New file.
48336 * manual/fdl-1.1.texi: File removed.
48337
74981cc5
RM
48338 [BZ #13738]
48339 * manual/libc.texinfo (FDL_VERSION): New @set.
48340 Use it for mention of FDL in cover text.
48341 (Documentation License): Use it in @include file name.
48342
7bb764bc
JM
483432012-02-22 Joseph Myers <joseph@codesourcery.com>
48344 Roland McGrath <roland@hack.frob.com>
48345
48346 [BZ #5461]
57f41c40
AS
48347 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48348 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48349 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48350 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48351 name.
48352 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48353
6cbeae47
JM
483542012-02-22 Joseph Myers <joseph@codesourcery.com>
48355
48356 [BZ #2547]
48357 [BZ #11365]
48358 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48359 manipulate bits before adding and subtracting TWO23[sx].
48360 * math/libm-test.inc (nearbyint_test): Add more tests.
48361
fe45ce09
JM
483622012-02-22 Joseph Myers <joseph@codesourcery.com>
48363
48364 [BZ #2548]
48365 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48366 bits before adding and subtracting TWO23[sx].
48367 * math/libm-test.inc (rint_test): Add more tests.
48368 (rint_test_tonearest): Likewise.
48369 (rint_test_towardzero): Likewise.
48370 (rint_test_downward): Likewise.
48371 (rint_test_upward: Likewise.
48372
ff3b3d82
JM
483732012-02-22 Joseph Myers <joseph@codesourcery.com>
48374
48375 [BZ #10110]
48376 * include/stdc-predef.h: New file. Extracted from features.h.
48377 * include/features.h: Include stdc-predef.h.
48378 * Makefile (headers): Add stdc-predef.h.
48379 * CONFORMANCE (Compiler limitations): Update.
48380
ef0aab35
JM
483812012-02-22 Joseph Myers <joseph@codesourcery.com>
48382
48383 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48384
58639409
DM
483852012-02-21 David S. Miller <davem@davemloft.net>
48386
48387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48389
c0e70b25
DM
483902012-02-20 David S. Miller <davem@davemloft.net>
48391
48392 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48393 using a normal save/restore sequence, rather than allocating a
48394 dummy stack frame just to store a frame pointer and restore.
48395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48396
fb06851d
JM
483972012-02-21 Joseph Myers <joseph@codesourcery.com>
48398
48399 * manual/install.texi: Fix stray word in line-wrapped comment.
48400
7a8b71c3
DM
484012012-02-20 David S. Miller <davem@davemloft.net>
48402
d510c123
DM
48403 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48404 both binutils and gcc support GOTDATA.
48405
0722d7c2
DM
48406 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48407 "rd %pc" in the PIC register setup sequences.
48408
3d2b3019
DM
48409 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48410 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48411 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48412 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48413 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48418 (SYSCALL_ERROR_HANDLER): Likewise.
48419 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48420 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48422 (SYSCALL_ERROR_HANDLER): Likewise.
48423
c80098a9
DM
48424 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48425 (HAVE_GCC_GOTDATA): New.
48426 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48427 relocation support in both binutils and gcc.
48428 * sysdeps/sparc/elf/configure: Regenerate.
48429
3a2545a0
DM
48430 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48431 * sysdeps/sparc/sparc32/elf/configure: Delete.
48432 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48433 * sysdeps/sparc/sparc64/elf/configure: Delete.
48434 * sysdeps/sparc/elf/configure.in: New file.
48435 * sysdeps/sparc/elf/configure: Generate.
48436
7a8b71c3
DM
48437 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48438 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48439 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48440 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48441 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48442
f1e86fca
JM
484432012-02-21 Joseph Myers <joseph@codesourcery.com>
48444
48445 * manual/install.texi: Do not mention specific glibc version
48446 numbers.
48447 * manual/libc.texinfo (VERSION, UPDATED): Update.
48448 (@copying): Use @copyright{} and range of years.
48449
0e7dfaef
JM
484502012-02-21 Joseph Myers <joseph@codesourcery.com>
48451
48452 [BZ #13695]
48453 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48454 [crti.S not in sysdirs] (generated): Do not append.
48455 [crti.S not in sysdirs] (omit-deps): Likewise.
48456 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48457 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48458 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48459 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48460 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48461 Likewise.
48462 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48463 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48464 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48465 * csu/defs.awk: Remove file.
48466 * sysdeps/generic/initfini.c: Likewise.
48467 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48468 variable.
48469 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48470 Likewise.
48471
599af3ca
JM
484722012-02-20 Joseph Myers <joseph@codesourcery.com>
48473
48474 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48476 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48479 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48480 <bits/epoll.h>.
48481 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48482 (__EPOLL_PACKED): Define to empty if not defined by
48483 <bits/epoll.h>.
48484 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48486 bits/epoll.h.
48487
0e499750
JM
484882012-02-20 Joseph Myers <joseph@codesourcery.com>
48489
48490 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48491 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48493 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48494 <bits/timerfd.h>.
48495 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48497 bits/timerfd.h.
48498
5ad91f6e
JM
484992012-02-20 Joseph Myers <joseph@codesourcery.com>
48500
48501 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48502 in C locale.
48503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48507
06b99b02
AJ
485082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48509
48510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48512
7638c0fd
AS
485132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48514
48515 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48516 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48517 defined.
48518 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48519 Likewise.
48520 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48521 entry for 2.16.
48522
92221550
AJ
485232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48524
48525 * math/w_acos.c: Use non-signaling floating-point comparisons.
48526 * math/w_acosf.c: Likewise.
48527 * math/w_acosh.c: Likewise.
48528 * math/w_acoshf.c: Likewise.
48529 * math/w_acoshl.c: Likewise.
48530 * math/w_acosl.c: Likewise.
48531 * math/w_asin.c: Likewise.
48532 * math/w_asinf.c: Likewise.
48533 * math/w_asinl.c: Likewise.
48534 * math/w_atanh.c: Likewise.
48535 * math/w_atanhf.c: Likewise.
48536 * math/w_atanhl.c: Likewise.
48537 * math/w_exp2.c: Likewise.
48538 * math/w_exp2f.c: Likewise.
48539 * math/w_exp2l.c: Likewise.
48540 * math/w_j0.c: Likewise.
48541 * math/w_j0f.c: Likewise.
48542 * math/w_j0l.c: Likewise.
48543 * math/w_j1.c: Likewise.
48544 * math/w_j1f.c: Likewise.
48545 * math/w_j1l.c: Likewise.
48546 * math/w_jn.c: Likewise.
48547 * math/w_jnf.c: Likewise.
48548 * math/w_log.c: Likewise.
48549 * math/w_log10.c: Likewise.
48550 * math/w_log10f.c: Likewise.
48551 * math/w_log10l.c: Likewise.
48552 * math/w_log2.c: Likewise.
48553 * math/w_log2f.c: Likewise.
48554 * math/w_log2l.c: Likewise.
48555 * math/w_logf.c: Likewise.
48556 * math/w_logl.c: Likewise.
48557 * math/w_sqrt.c: Likewise.
48558 * math/w_sqrtf.c: Likewise.
48559 * math/w_sqrtl.c: Likewise.
48560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48561 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48565
ebaf36eb
JM
485662012-02-19 Joseph Myers <joseph@codesourcery.com>
48567
48568 [BZ #9739]
48569 * manual/string.texi (strnlen): Use correct parameter name in
48570 equivalent expression.
48571
71c254a6
JM
485722012-02-19 Joseph Myers <joseph@codesourcery.com>
48573
48574 [BZ #11174]
48575 * manual/users.texi (seteuid): Consistently use neweuid for
48576 argument name.
48577
16d2c631
JM
485782012-02-19 Joseph Myers <joseph@codesourcery.com>
48579
48580 [BZ #13704]
48581 * manual/nss.texi (Services in the NSS configuration): Correct
48582 list of services in example configuration file.
48583
cd837b09
NB
485842012-02-19 Nick Bowler <nbowler@draconx.ca>
48585
48586 [BZ #11322]
48587 * manual/arith.texi: Remove statements about negative zero
48588 behaving identically to zero.
48589
02c4bbad
JM
485902012-02-18 Joseph Myers <joseph@codesourcery.com>
48591
48592 [BZ #5993]
48593 * manual/install.texi: Do not document upgrading from libc5.
48594
366842e7
JM
485952012-02-18 Joseph Myers <joseph@codesourcery.com>
48596
48597 [BZ #4596]
48598 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48599
dd54084d
DM
486002012-02-18 David S. Miller <davem@davemloft.net>
48601
48602 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48603 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48604 %o7 across the call.
48605 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48606 instead.
48607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48608 SETUP_PIC_REG_LEAF.
48609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48610 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48611 * sysdeps/sparc/crtn.S: Likewise.
48612
2bcc53a3
UD
486132012-02-17 Ulrich Drepper <drepper@gmail.com>
48614
48615 * aout/Makefile: Remove.
48616
09c093b5
RK
486172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48618
48619 [BZ #13058]
48620 * manual/examples/argp-ex1.c (main): Format definition in GNU
48621 style.
48622 * manual/examples/argp-ex2.c (main): Likewise.
48623 * manual/examples/argp-ex3.c (main): Likewise.
48624 * manual/examples/argp-ex4.c (main): Likewise.
48625 * manual/examples/longopt.c (main): Use new-style prototype
48626 definition.
48627 * manual/examples/strncat.c (main): Specify return type and use
48628 (void) for arguments.
48629 * manual/examples/subopt.c (main): Use char **argv argument.
48630
2ee633a2
JM
486312012-02-17 Joseph Myers <joseph@codesourcery.com>
48632
48633 [BZ #5077]
48634 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48635 rounding modes.
48636
0520adde
FB
486372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48638
48639 [BZ #6907]
48640 * manual/string.texi (strchr): Change when strchrnul is
48641 recommended.
48642
3f4081cd
DGM
486432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48644
48645 [BZ #174]
48646 * manual/locale.texi (setlocale): Document LOCPATH.
48647
d1b10e78
JM
486482012-02-17 Joseph Myers <joseph@codesourcery.com>
48649
48650 [BZ #10210]
48651 * manual/process.texi (execle): Move @dots{} before last argument.
48652
79c6869c
PB
486532012-02-17 Paul Bolle <pebolle@tiscali.nl>
48654
48655 [BZ #12047]
48656 * manual/charset.texi (Generic Charset Conversion): Fix typo
48657 (LC_TYPE -> LC_CTYPE).
48658
cc6e48bc
NB
486592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48660
48661 [BZ #5805]
48662 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48663 (scalbnf): Likewise.
48664 (scalbnl): Likewise.
48665 (scalbln): Likewise.
48666 (scalblnf): Likewise.
48667 (scalblnl): Likewise.
48668 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48669 (vwarnx): Likewise.
48670 (verr): Likewise.
48671 (verrx): Likewise.
48672 * manual/filesys.texi (telldir): Use braces around return type.
48673 * manual/llio.texi (mmap): Add space after comma.
48674 (mmap64): Likewise.
48675 * manual/math.texi (jn): Use @var{} on parameter names.
48676 (jnf): Likewise.
48677 (jnl): Likewise.
48678 (yn): Likewise.
48679 (ynf): Likewise.
48680 (ynl): Likewise.
48681 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48682 line.
48683 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48684 "...".
48685 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48686 (sched_get_priority_max): Likewise.
48687 * manual/signal.texi (sigvec): Add space after comma.
48688 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48689 names.
48690 (if_indextoname): Likewise.
48691 (if_freenameindex): Likewise.
48692 (sendto): Use ',' instead of '.' in prototype.
48693 * manual/startup.texi (syscall): Use @dots{} instead of literal
48694 "...".
48695 * manual/stdio.texi (__fpending): Separate initial words of
48696 paragraph from @deftypefun line.
48697 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48698 "...".
48699 (vsyslog): Use @var{} on parameter names.
48700 * manual/terminal.texi (stty): Use @var{} on parameter names.
48701 * manual/users.texi (getutmp): Use @var{} on parameter names.
48702 (getutmpx): Likewise.
48703
5b23062f
JM
487042012-02-17 Joseph Myers <joseph@codesourcery.com>
48705
48706 [BZ #6884]
48707 * manual/stdio.texi (fopen): Fix typos in description of
48708 ",ccs=STRING".
48709
8dee4833
AJ
487102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48711
48712 [BZ #4026]
48713 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48714 get clock_id definition.
48715
9078ce93
TS
487162012-02-17 Thomas Schwinge <thomas@schwinge.name>
48717
48718 [BZ #4822]
48719 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48720 (madvise): Cast every argument to void on its own.
48721
3835c55f
JM
487222012-02-17 Joseph Myers <joseph@codesourcery.com>
48723
48724 [BZ #9902]
48725 * manual/startup.texi (Exit Status): Fix typo.
48726
35c47e37
JM
487272012-02-17 Joseph Myers <joseph@codesourcery.com>
48728
48729 [BZ #10140]
48730 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48731 * manual/examples/argp-ex2.c: Likewise.
48732 * manual/examples/argp-ex3.c: Likewise.
48733
e3b69ca7
RH
487342012-02-16 Richard Henderson <rth@redhat.com>
48735
48736 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48737 * sysdeps/s390/s390-32/initfini.c: Remove.
48738 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48739 * sysdeps/s390/s390-64/initfini.c: Remove.
48740
df83af67
KK
487412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48742
48743 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48744 compiler output for sysdeps/generic/initfini.c.
48745 * sysdeps/sh/elf/initfini.c: Remove file.
48746
f63f3380
DM
487472012-02-16 David S. Miller <davem@davemloft.net>
48748
fb59b3a4
DM
48749 [BZ #11494]
48750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48751
f63f3380
DM
48752 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48753 * sysdeps/sparc/crti.S: New file.
48754 * sysdeps/sparc/crtn.S: New file.
48755 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48756 * sysdeps/sparc/sparc64/Makefile: Likewise.
48757
df6a4a4a
MF
487582012-02-15 Mike Frysinger <vapier@gentoo.org>
48759
6dd8f3dc 48760 [BZ #3335]
df6a4a4a
MF
48761 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48762
1cac7236
RM
487632012-02-15 Roland McGrath <roland@hack.frob.com>
48764
d2c736f8
RM
48765 [BZ #4822]
48766 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48767
1cac7236
RM
48768 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48769 (write, read, close): Likewise.
48770 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48771
8e475601
JM
487722012-02-15 Joseph Myers <joseph@codesourcery.com>
48773
48774 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48775 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48776 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48777 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48778 <bits/signalfd.h>.
48779 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48781 bits/signalfd.h.
48782
ed656b40
MP
487832012-02-14 Marek Polacek <polacek@redhat.com>
48784
48785 * sysdeps/x86_64/crti.S: New file.
48786 * sysdeps/x86_64/crtn.S: New file.
48787 * sysdeps/x86_64/elf/initfini.c: Remove file.
48788
2a979d3a
JM
487892012-02-13 Joseph Myers <joseph@codesourcery.com>
48790
48791 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48792 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48793 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48794 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48795 <bits/inotify.h>.
48796 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48798 bits/inotify.h.
48799
2a418ac3
JM
488002012-02-13 Joseph Myers <joseph@codesourcery.com>
48801
48802 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48803 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48804 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48805 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48806 <bits/eventfd.h>.
48807 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48809 bits/eventfd.h.
48810
fb779be7
TS
488112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48812
e19e83c5
RM
48813 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48814 __feraiseexcept instead of feraiseexcept.
7c35ffed 48815
fb779be7
TS
48816 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48817 nanosleep invocations.
48818 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48819 strings, and add error checking for a nanosleep invocations.
48820
59ba27a6
PE
488212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48822
48823 Replace FSF snail mail address with URLs, as per GNU coding standards.
48824 Most of the snail mail addresses were wrong anyway, and omitting
48825 them makes the source code easier to maintain. Almost all of the
48826 changes are to license notices and to locale LC_IDENTIFICATION
48827 addresses, except for this one:
48828 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48829 not its snail mail address.
48830
57b957eb
RH
488312012-02-09 Richard Henderson <rth@twiddle.net>
48832
af850b1c
RH
48833 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48834 of kernel-features.h.
48835
57b957eb
RH
48836 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48837
6b73181a
MP
488382012-02-08 Marek Polacek <polacek@redhat.com>
48839
48840 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48841 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48842 * sysdeps/gnu/_G_config.h: Likewise.
48843 * sysdeps/generic/_G_config.h: Likewise.
48844
26ecc33a
AS
488452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48846
6c6dbc63
AS
48847 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48848 tests.
48849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48850
e216c012
AS
48851 * sysdeps/powerpc/powerpc32/crti.S: New file.
48852 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48853 * sysdeps/powerpc/powerpc64/crti.S: New file.
48854 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48855
26ecc33a
AS
48856 * Makeconfig (have-initfini): Don't set.
48857 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48858 * configure.in (nopic_initfini): Don't substitute.
48859 * config.h.in (HAVE_INITFINI): Don't #undef.
48860 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48861 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48862
3add8e13
JM
488632012-02-08 Joseph Myers <joseph@codesourcery.com>
48864
48865 Support crti.S and crtn.S provided directly by architectures.
48866 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48867 [crti.S in sysdirs] (omit-deps): Likewise.
48868 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48869 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48870 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48871 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48872 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48873 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48874 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48875 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48876 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48877 compiler output for sysdeps/generic/initfini.c.
48878 * sysdeps/i386/elf/Makefile: Remove file.
48879 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48880
a22f12b4
MP
488812012-02-07 Marek Polacek <polacek@redhat.com>
48882
48883 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48884 * sysdeps/gnu/_G_config.h: Likewise.
48885 * sysdeps/mach/hurd/_G_config.h: Likewise.
48886
148cf100
MP
488872012-02-07 Marek Polacek <polacek@redhat.com>
48888
48889 * math/Makefile (tests): Add tst-CMPLX2.
48890 * math/tst-CMPLX2.c: New file.
48891
cfdc0dd7
AS
488922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48893
84ba42c4
AS
48894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48895
cfdc0dd7
AS
48896 * math/libm-test.inc (jn_test): Add missing L suffix.
48897
622c86f4
MP
488982012-02-06 Marek Polacek <polacek@redhat.com>
48899
48900 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48901 * sysdeps/i386/fpu/e_powf.S: Likewise.
48902 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48903 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48905 * sysdeps/i386/fpu/e_pow.S: Likewise.
48906 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48908 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48910 * sysdeps/i386/fpu/e_log2.S: Likewise.
48911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48912 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48913 * sysdeps/i386/fpu/e_powl.S: Likewise.
48914 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48916 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48917 * sysdeps/i386/fpu/e_logl.S: Likewise.
48918 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48919 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48920 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48921 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48922 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48923 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48924 * sysdeps/i386/fpu/e_log.S: Likewise.
48925 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48926 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48927 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48928 * sysdeps/i386/fpu/e_logf.S: Likewise.
48929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48930 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48931 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48932 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48933 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48934 * sysdeps/i386/fpu/e_log10.S: Likewise.
48935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48940 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48941 * sysdeps/i386/asm-syntax.h: Likewise.
48942 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48944 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48945 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48946 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48947 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48948 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48949 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48951 * sysdeps/powerpc/sysdep.h: Likewise.
48952 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48954
d4a54ac6
JM
489552012-02-06 Joseph Myers <joseph@codesourcery.com>
48956
48957 [BZ #411]
48958 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48959
314054ea
JM
489602012-02-06 Joseph Myers <joseph@codesourcery.com>
48961
48962 * sysdeps/i386/sysdep.h: Include <features.h>.
48963 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48964 version.
48965
d8e0ca50
JM
489662012-02-05 Joseph Myers <joseph@codesourcery.com>
48967
48968 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48969 Define.
48970 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48971 LOAD_PIC_REG_STR.
48972
b1da7dd9
JM
489732012-02-03 Joseph Myers <joseph@codesourcery.com>
48974
48975 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48976 (SETUP_PIC_REG): Use GET_PC_THUNK.
48977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48978 macro.
48979
9a1d9254
JM
489802012-02-03 Joseph Myers <joseph@codesourcery.com>
48981
48982 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48983 for non-PIC compilation.
48984 (SETUP_PIC_REG): Add .p2align directive.
48985 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48986 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48987 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48988 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49007 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49008 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49012 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49013 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49014 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49015 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49018 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49019 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49020 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49021 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49022 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49023 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49024 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49025 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49026
65dc3b75
JM
490272012-02-03 Joseph Myers <joseph@codesourcery.com>
49028
49029 * math/tst-CMPLX.c: Include <stdio.h>.
49030
d55bf177
JM
490312012-01-31 Joseph Myers <joseph@codesourcery.com>
49032
49033 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49034 float.
49035 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49036 * sysdeps/sparc/bits/mathdef.h: Likewise.
49037
69db4f8f
MP
490382012-01-31 Marek Polacek <polacek@redhat.com>
49039
49040 * libio/libio.h: Don't define _PARAMS.
49041 * locale/programs/config.h: Don't define PARAMS.
49042 * stdlib/strtol_l.c: Likewise.
49043 (__strtol_l): Remove PARAMS from the prototype.
49044
41b81892
UD
490452012-01-31 Ulrich Drepper <drepper@gmail.com>
49046
3b49edc0
UD
49047 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49048 names. Just use the correct names. Remove unnecessary wrapper
49049 functions.
49050 * malloc/arena.c: Likewise.
49051 * malloc/hooks.c: Likewise.
49052
41b81892
UD
49053 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49054 ARENA_TEST says not to. Simplify test for creation of a new arena.
49055 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49056
27a25b6e
UD
490572012-01-30 Ulrich Drepper <drepper@gmail.com>
49058
49059 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49060 into tail calls.
49061 (update_get_addr): New function.
49062 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49063 GET_ADDR_MODULE parameter.
49064
c8a89e7d
JM
490652012-01-30 Joseph Myers <joseph@codesourcery.com>
49066
49067 * crypt/cert.c: Remove __STDC__ conditionals.
49068 * crypt/crypt-entry.c: Likewise.
49069 * crypt/crypt_util.c: Likewise.
49070 * libio/filedoalloc.c: Likewise.
49071 * libio/fileops.c: Likewise.
49072 * libio/genops.c: Likewise.
49073 * libio/iofclose.c: Likewise.
49074 * libio/iofdopen.c: Likewise.
49075 * libio/iofopen.c: Likewise.
49076 * libio/iofopen64.c: Likewise.
49077 * libio/iogetdelim.c: Likewise.
49078 * libio/iopopen.c: Likewise.
49079 * libio/obprintf.c: Likewise.
49080 * libio/oldfileops.c: Likewise.
49081 * libio/oldiofclose.c: Likewise.
49082 * libio/oldiofdopen.c: Likewise.
49083 * libio/oldiofopen.c: Likewise.
49084 * libio/oldiopopen.c: Likewise.
49085 * libio/wfiledoalloc.c: Likewise.
49086 * libio/wgenops.c: Likewise.
49087 * locale/programs/xmalloc.c: Likewise.
49088 * misc/syslog.c: Likewise.
49089 * stdio-common/xbug.c: Likewise.
49090 * string/memchr.c: Likewise.
49091 * string/memcmp.c: Likewise.
49092 * string/memrchr.c: Likewise.
49093 * string/rawmemchr.c: Likewise.
49094 * sysdeps/posix/getcwd.c: Likewise.
49095 * time/strftime_l.c: Likewise.
49096
3b100462
JM
490972012-01-30 Joseph Myers <joseph@codesourcery.com>
49098
49099 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49100 * config.make.in (config-cflags-sse2avx): Define.
49101 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49102 Fix typo.
49103
607998af
CM
491042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49105
49106 * scripts/config.guess: Update from upstream config git repository.
49107 * scripts/config.sub: Likewise.
49108
3601428f
CM
491092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49110
3ac8b282
CM
49111 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49112 (EM_NUM): Update.
49113 (R_TILEPRO_*, R_TILEGX_*): New macros.
49114
e034841e
CM
49115 * scripts/firstversions.awk: Fix bug in version range handling.
49116
540d7568
CM
49117 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49118
3601428f
CM
49119 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49120
463de862
CM
49121 * include/sys/epoll.h: New file.
49122 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49123 libc_hidden_def.
49124
73139a76
UD
491252012-01-28 Ulrich Drepper <drepper@gmail.com>
49126
96bc5b45
UD
49127 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49128 Avoid unnecessary __WORDSIZE == 64 test.
49129 (fmaxf): Use VEX format if possible.
49130 (fmax): Likewise.
49131 (fminf): Likewise.
49132 (fmin): Likewise.
49133
56f6f6a2
UD
49134 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49135 * math/math_private.h: Remove libc_fegetround* and
49136 libc_fesetround*.
49137 * sysdeps/i386/configure.in: Check for -msse2avx.
49138 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49139 also if SSE2AVX is defined.
49140 Remove libc_fegetround* and libc_fesetround*.
49141 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49142 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49144 of HAS_YMM_USABLE.
49145 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49146 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49149 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49150
73139a76
UD
49151 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49152
d73f93a4
AZ
491532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49154
49155 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49156 size is not set.
49157 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49158
6ee65ed6
UD
491592012-01-27 Ulrich Drepper <drepper@gmail.com>
49160
49161 [BZ #13618]
49162 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49163 relocation.
49164 * Makeconfig (libm): Define.
49165 * elf/Makefile: Add rules to build and run tst-relsort1.
49166 * elf/tst-relsort1.c: New file.
49167 * elf/tst-relsort1mod1.c: New file.
49168 * elf/tst-relsort1mod2.c: New file.
49169
8db21882
JM
491702012-01-27 Joseph Myers <joseph@codesourcery.com>
49171
49172 * math/s_ldexp.c: Remove __STDC__ conditionals.
49173 * math/s_ldexpf.c: Likewise.
49174 * math/s_ldexpl.c: Likewise.
49175 * math/s_nextafter.c: Likewise.
49176 * math/s_nexttowardf.c: Likewise.
49177 * math/s_significand.c: Likewise.
49178 * math/s_significandf.c: Likewise.
49179 * math/s_significandl.c: Likewise.
49180 * math/w_jnl.c: Likewise.
49181 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49182 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49183 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49184 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49185 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49187 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49190 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49191 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49192 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49197 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49198 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49202 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49203 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49205 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49206 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49208 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49209 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49210 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49211 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49212 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49215 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49216 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49217 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49218 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49219 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49220 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49221 * sysdeps/ieee754/k_standard.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49231 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49232 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49240 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49271 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49286 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49288 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49292 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49294 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49295 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49296 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49297 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49299 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49300 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49301 * sysdeps/ieee754/s_matherr.c: Likewise.
49302 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49303 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49306
965a54a4
JM
493072012-01-26 Joseph Myers <joseph@codesourcery.com>
49308
49309 * crypt/md5.h: Remove __STDC__ conditionals.
49310 * libio/libioP.h: Likewise.
49311 * locale/programs/config.h: Likewise.
49312 * sysdeps/generic/sysdep.h: Likewise.
49313 * sysdeps/i386/asm-syntax.h: Likewise.
49314 * sysdeps/s390/asm-syntax.h: Likewise.
49315 * sysdeps/unix/sysdep.h: Likewise.
49316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49318
7071ad79
JM
493192012-01-26 Joseph Myers <joseph@codesourcery.com>
49320
49321 * libio/libio.h: Remove __STDC__ conditionals.
49322 * malloc/obstack.h: Likewise.
49323 * math/complex.h: Likewise.
49324 * math/math.h: Likewise.
49325 * sysdeps/generic/_G_config.h: Likewise.
49326 * sysdeps/gnu/_G_config.h: Likewise.
49327 * sysdeps/mach/hurd/_G_config.h: Likewise.
49328 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49329 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49330 * sysdeps/sparc/bits/mathdef.h: Likewise.
49331
afc5ed09
UD
493322012-01-26 Ulrich Drepper <drepper@gmail.com>
49333
49334 [BZ #13583]
49335 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49336 Clean up HAS_* macros.
afc5ed09 49337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49338 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49339 possible.
49340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49341 HAS_AVX.
49342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49343 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49347
bdb6de1d
JM
493482012-01-25 Joseph Myers <joseph@codesourcery.com>
49349
49350 * elf/tst-unique3.cc (gets): Remove declaration.
49351 * elf/tst-unique3lib.cc (gets): Likewise.
49352 * elf/tst-unique3lib2.cc (gets): Likewise.
49353 * elf/tst-unique4.cc (gets): Likewise.
49354
b15549e6
UD
493552012-01-24 Ulrich Drepper <drepper@gmail.com>
49356
49357 * include/stdio.h: Add C++ protection. Add gets declarations and
49358 definitions.
49359 * debug/tst-chk1.c: Don't declare gets here.
49360 * stdio-common/tst-gets.c: Likewise.
49361
a037381f
JM
493622012-01-24 Joseph Myers <joseph@codesourcery.com>
49363
49364 * posix/glob: Remove directory.
49365
f1d4aa75
JM
493662012-01-24 Joseph Myers <joseph@codesourcery.com>
49367
49368 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49369
81c0c964
PT
493702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49371
49372 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49373 of the non-standard EPFNOSUPPORT.
49374
0ea698ae
ST
493752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49376
49377 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49378 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49379 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49380
d220b117
UD
493812012-01-21 Ulrich Drepper <drepper@gmail.com>
49382
49383 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49384
3e1aa84e
UD
493852012-01-20 Ulrich Drepper <drepper@gmail.com>
49386
49387 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49388 transient errors.
49389 * nscd/grpcache.c (cache_addgr): Likewise.
49390 * nscd/hstcache.c (cache_addhst): Likewise.
49391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49392 * nscd/pwdcache.c (cache_addpw): Likewise.
49393 * nscd/servicescache.c (cache_addserv): Likewise.
49394
400aa020
UD
493952012-01-16 Ulrich Drepper <drepper@gmail.com>
49396
d77e7869
UD
49397 * malloc/malloc.c: Various cleanups.
49398 * malloc/hooks.c: Likewise.
49399
400aa020
UD
49400 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49401 * stdlib/bug-fmtmsg1.c: New file.
49402
49403 * stdlib/fmtmsg.c (init): Add missing unlock.
49404 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49405
e0a309cf
MP
494062012-01-12 Marek Polacek <polacek@redhat.com>
49407
49408 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49409 and _GNU_SOURCE.
49410
929d11c7
WS
494112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49412
49413 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49415 macro to ensure uniqueness of label name.
49416 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49417 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49418
41d0e869
UD
494192012-01-11 Ulrich Drepper <drepper@gmail.com>
49420
0cc5ed3b
UD
49421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49422
41d0e869
UD
49423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49424 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49425 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49427
a47a831a
UD
494282012-01-10 Ulrich Drepper <drepper@gmail.com>
49429
daa891c0
UD
49430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49431
49432 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49433 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49434 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49435
e58ef0f2
UD
49436 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49437
a47a831a 49438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49442
49443 * math/bits/math-finite.h: Add ldexp support.
49444
a0bfc9c7
MP
494452012-01-10 Marek Polacek <polacek@redhat.com>
49446
49447 * locale/programs/localedef.h (show_archive_content): Add noreturn
49448 attribute.
49449
d6e97a1d
UD
494502012-01-09 Ulrich Drepper <drepper@gmail.com>
49451
49452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49453
d5835c26
UD
494542012-01-08 Ulrich Drepper <drepper@gmail.com>
49455
e5f484c6
UD
49456 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49457
d5835c26
UD
49458 * io/Makefile (headers): Add bits/poll2.h.
49459
d1f741e9
WS
494602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49461
49462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49463 typo #include statement.
49464
ec09c1c4
UD
494652012-01-08 Ulrich Drepper <drepper@gmail.com>
49466
49467 * include/sys/cdefs.h: Define __attribute_alloc_size.
49468 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49469 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49470 * elf/pldd.c: Likewise.
49471 * iconv/iconv_charmap.c: Likewise.
49472 * iconv/iconvconfig.c: Likewise.
49473 * iconv/strtab.c: Likewise.
49474 * locale/programs/locale.c: Likewise.
49475 * locale/programs/localedef.h: Likewise.
49476 * locale/programs/simple-hash.c: Likewise.
49477 * nscd/nscd.h: Likewise.
49478 * nss/makedb.c: Likewise.
49479 * sysdeps/generic/ldconfig.h: Likewise.
49480 * locale/programs/localedef.c: Remove xmalloc prototype.
49481 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49482
20b38e03
PP
494832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49484
49485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49486 appropriate.
49487
a0da5fe1
UD
494882012-01-08 Ulrich Drepper <drepper@gmail.com>
49489
1d5a644a 49490 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49491 * math/tst-CMPLX.c: New file.
1d5a644a 49492
8784a6db
UD
49493 * math/complex.h (CMPLXL): Fix typo.
49494
d9a216c0
UD
49495 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49496 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49497 GLIBC_2.16.
49498 * debug/tst-chk1.c: Add poll and ppoll tests.
49499 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49500 * include/sys/poll.h: Add hidden proto for ppoll.
49501 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49502 * sysdeps/mach/hurd/ppoll.c: Likewise.
49503 * io/ppoll.c: Likewise.
49504 * debug/poll_chk.c: New file.
49505 * debug/ppoll_chk.c: New file.
49506 * include/bits/poll2.h: New file.
49507 * io/bits/poll2.h: New file.
49508
ac097f5c
UD
49509 [BZ #1350]
49510 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49511
2119dcfa
UD
49512 * configure.in: static is always set to yes. Remove.
49513 * config.make.in: Don't set build-static.
49514 * Makeconfig: Remove use of build-static.
49515 * dlfcn/Makefile: Likewise.
49516 * elf/Makefile: Likewise.
49517 * math/Makefile: Likewise.
49518 * misc/Makefile: Likewise.
49519 * nptl/Makefile: Likewise.
49520 * sysdeps/mach/hurd/Makefile: Likewise.
49521
121766a9
UD
49522 * configure.in: PWD_P is not used anymore.
49523 * config.make.in: Remove PWD_P entry.
49524
51a1d39c 49525 * configure.in: Remove last remnants of RANLIB.
8720d066 49526 No need to check for signed size_t anymore.
215f4bdc
UD
49527 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49528 and IA-64.
3857022a 49529 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49530 * aclocal.m4: Likewise.
49531
d3ed7225
UD
49532 * wcsmbs/mbrtoc16.c: Implement using towc function.
49533 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49534 * wcsmbs/wcsmbsload.c: Likewise.
49535 * iconv/gconv_simple.c: Likewise.
49536 * iconv/gconv_int.h: Likewise.
49537 * iconv/gconv_builtin.h: Likewise.
49538 * iconv/iconv_prog.c: Remove CHAR16 handling.
49539
49540 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49541
49542 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49543
a0da5fe1
UD
49544 * configure.in: Remove --with-elf and --enable-bounded options.
49545 Dont set base_machine for ia64. More non-ELF conditions removed.
49546 Remove testing and setting of leading underscore information.
49547 * config.make.in (build-bounded): Set to no.
49548 * config.h.in: Remove NO_UNDERSCORES entry.
49549 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49550 them.
49551 * csu/start.c: Remove !NO_UNDERSCORE code.
49552 * locale/localeinfo.h: Likewise.
49553 * sysdeps/generic/machine-gmon.h: Likewise.
49554 * sysdeps/generic/sysdep.h: Likewise.
49555 * sysdeps/i386/sysdep.h: Likewise.
49556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49557 * sysdeps/mach/sysdep.h: Likewise.
49558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49560 * sysdeps/sh/sysdep.h: Likewise.
49561 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49562 * sysdeps/unix/i386/sysdep.S: Likewise.
49563 * sysdeps/unix/sparc/start.c: Likewise.
49564 * sysdeps/unix/sparc/sysdep.S: Likewise.
49565 * sysdeps/unix/sparc/sysdep.h: Likewise.
49566 * sysdeps/unix/start.c: Likewise.
49567 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49568 * sysdeps/x86_64/sysdep.h: Likewise.
49569
df78418a
UD
495702012-01-07 Ulrich Drepper <drepper@gmail.com>
49571
a784e502
UD
49572 [BZ #13553]
49573 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49574 for non-gcc.
49575 * argp/argp-fmtstream.h: Use const instead __const.
49576 * argp/argp.h: Likewise.
49577 * assert/assert.h: Likewise.
49578 * bits/fenv.h: Likewise.
49579 * bits/sched.h: Likewise.
49580 * bits/sigset.h: Likewise.
49581 * bits/sigthread.h: Likewise.
49582 * catgets/nl_types.h: Likewise.
49583 * conform/data/pthread.h-data: Likewise.
49584 * crypt/crypt-private.h: Likewise.
49585 * crypt/crypt.h: Likewise.
49586 * crypt/crypt_util.c: Likewise.
49587 * ctype/ctype.h: Likewise.
49588 * debug/execinfo.h: Likewise.
49589 * debug/mbsnrtowcs_chk.c: Likewise.
49590 * debug/mbsrtowcs_chk.c: Likewise.
49591 * debug/wcsnrtombs_chk.c: Likewise.
49592 * debug/wcsrtombs_chk.c: Likewise.
49593 * debug/wcstombs_chk.c: Likewise.
49594 * dirent/dirent.h: Likewise.
49595 * dlfcn/dlfcn.h: Likewise.
49596 * elf/neededtest4.c: Likewise.
49597 * grp/grp.h: Likewise.
49598 * gshadow/gshadow.h: Likewise.
49599 * iconv/gconv.h: Likewise.
49600 * iconv/gconv_int.h: Likewise.
49601 * iconv/gconv_simple.c: Likewise.
49602 * iconv/iconv.h: Likewise.
49603 * iconv/loop.c: Likewise.
49604 * iconv/skeleton.c: Likewise.
49605 * include/aio.h: Likewise.
49606 * include/aliases.h: Likewise.
49607 * include/argz.h: Likewise.
49608 * include/arpa/inet.h: Likewise.
49609 * include/assert.h: Likewise.
49610 * include/dirent.h: Likewise.
49611 * include/dlfcn.h: Likewise.
49612 * include/execinfo.h: Likewise.
49613 * include/fcntl.h: Likewise.
49614 * include/fenv.h: Likewise.
49615 * include/glob.h: Likewise.
49616 * include/grp.h: Likewise.
49617 * include/libintl.h: Likewise.
49618 * include/mntent.h: Likewise.
49619 * include/netdb.h: Likewise.
49620 * include/pwd.h: Likewise.
49621 * include/rpc/netdb.h: Likewise.
49622 * include/sched.h: Likewise.
49623 * include/search.h: Likewise.
49624 * include/shadow.h: Likewise.
49625 * include/signal.h: Likewise.
49626 * include/stdio.h: Likewise.
49627 * include/stdlib.h: Likewise.
49628 * include/string.h: Likewise.
49629 * include/sys/socket.h: Likewise.
49630 * include/sys/stat.h: Likewise.
49631 * include/sys/statfs.h: Likewise.
49632 * include/sys/statvfs.h: Likewise.
49633 * include/sys/syslog.h: Likewise.
49634 * include/sys/time.h: Likewise.
49635 * include/sys/uio.h: Likewise.
49636 * include/time.h: Likewise.
49637 * include/unistd.h: Likewise.
49638 * include/utmp.h: Likewise.
49639 * include/wchar.h: Likewise.
49640 * include/wctype.h: Likewise.
49641 * inet/aliases.h: Likewise.
49642 * inet/arpa/inet.h: Likewise.
49643 * inet/netinet/ether.h: Likewise.
49644 * inet/netinet/in.h: Likewise.
49645 * intl/libintl.h: Likewise.
49646 * io/bits/fcntl2.h: Likewise.
49647 * io/fcntl.h: Likewise.
49648 * io/ftw.h: Likewise.
49649 * io/sys/poll.h: Likewise.
49650 * io/sys/stat.h: Likewise.
49651 * io/sys/statfs.h: Likewise.
49652 * io/sys/statvfs.h: Likewise.
49653 * io/utime.h: Likewise.
49654 * libio/bits/stdio.h: Likewise.
49655 * libio/bits/stdio2.h: Likewise.
49656 * libio/libio.h: Likewise.
49657 * libio/libioP.h: Likewise.
49658 * libio/stdio.h: Likewise.
49659 * locale/lc-ctype.c: Likewise.
49660 * locale/locale.h: Likewise.
49661 * login/utmp.h: Likewise.
49662 * malloc/arena.c: Likewise.
49663 * malloc/malloc.c: Likewise.
49664 * malloc/malloc.h: Likewise.
49665 * malloc/mcheck.c: Likewise.
49666 * malloc/mtrace.c: Likewise.
49667 * math/bits/mathcalls.h: Likewise.
49668 * math/fenv.h: Likewise.
49669 * math/math_private.h: Likewise.
49670 * misc/bits/error.h: Likewise.
49671 * misc/bits/syslog.h: Likewise.
49672 * misc/err.h: Likewise.
49673 * misc/error.h: Likewise.
49674 * misc/fstab.h: Likewise.
49675 * misc/mntent.h: Likewise.
49676 * misc/regexp.h: Likewise.
49677 * misc/search.h: Likewise.
49678 * misc/sgtty.h: Likewise.
49679 * misc/sys/mman.h: Likewise.
49680 * misc/sys/syslog.h: Likewise.
49681 * misc/sys/uio.h: Likewise.
49682 * misc/sys/xattr.h: Likewise.
49683 * misc/ttyent.h: Likewise.
49684 * nis/rpcsvc/ypclnt.h: Likewise.
49685 * nss/nss.h: Likewise.
49686 * posix/bits/unistd.h: Likewise.
49687 * posix/fnmatch.h: Likewise.
49688 * posix/glob.h: Likewise.
49689 * posix/sched.h: Likewise.
49690 * posix/spawn.h: Likewise.
49691 * posix/sys/wait.h: Likewise.
49692 * posix/unistd.h: Likewise.
49693 * posix/wordexp.h: Likewise.
49694 * pwd/pwd.h: Likewise.
49695 * resolv/netdb.h: Likewise.
49696 * resource/sys/resource.h: Likewise.
49697 * rt/aio.h: Likewise.
49698 * rt/bits/mqueue2.h: Likewise.
49699 * rt/mqueue.h: Likewise.
49700 * shadow/shadow.h: Likewise.
49701 * signal/signal.h: Likewise.
49702 * socket/send.c: Likewise.
49703 * socket/sendto.c: Likewise.
49704 * socket/sys/socket.h: Likewise.
49705 * stdio-common/printf.h: Likewise.
49706 * stdlib/bits/stdlib.h: Likewise.
49707 * stdlib/fmtmsg.h: Likewise.
49708 * stdlib/monetary.h: Likewise.
49709 * stdlib/stdlib.h: Likewise.
49710 * stdlib/ucontext.h: Likewise.
49711 * streams/stropts.h: Likewise.
49712 * string/argz.h: Likewise.
49713 * string/bits/string2.h: Likewise.
49714 * string/string.h: Likewise.
49715 * string/strings.h: Likewise.
49716 * sunrpc/rpc/auth.h: Likewise.
49717 * sunrpc/rpc/auth_des.h: Likewise.
49718 * sunrpc/rpc/clnt.h: Likewise.
49719 * sunrpc/rpc/netdb.h: Likewise.
49720 * sunrpc/rpc/pmap_clnt.h: Likewise.
49721 * sunrpc/rpc/xdr.h: Likewise.
49722 * sysdeps/generic/inttypes.h: Likewise.
49723 * sysdeps/generic/net/if.h: Likewise.
49724 * sysdeps/generic/sys/swap.h: Likewise.
49725 * sysdeps/gnu/net/if.h: Likewise.
49726 * sysdeps/gnu/utmpx.h: Likewise.
49727 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49728 * sysdeps/i386/i486/bits/string.h: Likewise.
49729 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49730 * sysdeps/s390/bits/string.h: Likewise.
49731 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49732 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49733 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49734 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49735 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49736 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49737 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49738 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49739 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49740 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49741 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49742 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49743 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49744 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49745 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49746 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49747 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49749 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49750 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49753 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49754 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49755 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49756 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49757 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49759 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49761 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49762 * sysvipc/sys/ipc.h: Likewise.
49763 * sysvipc/sys/msg.h: Likewise.
49764 * sysvipc/sys/sem.h: Likewise.
49765 * sysvipc/sys/shm.h: Likewise.
49766 * termios/termios.h: Likewise.
49767 * time/sys/time.h: Likewise.
49768 * time/time.h: Likewise.
49769 * wcsmbs/bits/wchar2.h: Likewise.
49770 * wcsmbs/uchar.h: Likewise.
49771 * wcsmbs/wchar.h: Likewise.
49772 * wctype/wctype.h: Likewise.
49773
0269750c
UD
49774 [BZ #13551]
49775 * Makeconfig: Remove all but ELF support including AIX support.
49776 * Makerules: Likewise.
49777 * config.h.in: Likewise.
49778 * config.make.in: Likewise.
49779 * configure: Likewise.
49780 * configure.in: Likewise.
49781 * csu/Makefile: Likewise.
49782 * csu/version.c: Likewise.
49783 * debug/Makefile: Likewise.
49784 * dlfcn/Makefile: Likewise.
49785 * elf/Makefile: Likewise.
49786 * extra-lib.mk: Likewise.
49787 * iconv/Makefile: Likewise.
49788 * include/libc-symbols.h: Likewise.
49789 * include/shlib-compat.h: Likewise.
49790 * resolv/Makefile: Likewise.
49791 * resolv/res_libc.c: Likewise.
49792 * rt/Makefile: Likewise.
49793 * sysdeps/i386/asm-syntax.h: Likewise.
49794 * sysdeps/i386/sysdep.h: Likewise.
49795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49796 * sysdeps/mach/sysdep.h: Likewise.
49797 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49798 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49799 * sysdeps/s390/asm-syntax.h: Likewise.
49800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49802 * sysdeps/sh/sysdep.h: Likewise.
49803 * sysdeps/unix/sparc/sysdep.h: Likewise.
49804 * sysdeps/wordsize-32/divdi3.c: Likewise.
49805 * sysdeps/x86_64/sysdep.h: Likewise.
49806
00bbd29b
UD
49807 * argp/Versions: Remove _argp_unlock_xxx.
49808
49809 [BZ #13559]
49810 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49811 * abilist/libBrokenLocale.abilist: Likewise.
49812 * abilist/libanl.abilist: Likewise.
49813 * abilist/libc.abilist: Likewise.
49814 * abilist/libcrypt.abilist: Likewise.
49815 * abilist/libdl.abilist: Likewise.
49816 * abilist/libm.abilist: Likewise.
49817 * abilist/libnsl.abilist: Likewise.
49818 * abilist/libpthread.abilist: Likewise.
49819 * abilist/libresolv.abilist: Likewise.
49820 * abilist/librt.abilist: Likewise.
49821 * abilist/libthread_db.abilist: Likewise.
49822 * abilist/libutil.abilist: Likewise.
49823 * abilist/libnss_db.abilist: New file.
49824
49825 * scripts/abilist.awk: Add support for indirect functions.
49826
a2693a0e
UD
49827 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49828
3f05895f
UD
49829 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49830
ecb6fb48
UD
49831 * shlib-versions: Remove entries for ports architectures.
49832
664f8cb9
UD
49833 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49834 files in ports.
49835 * elf/stackguard-macros.h: Remove support for IA-64.
49836 * elf/tst-auditmod1.c: Likewise.
49837 * sysdeps/generic/ldsodefs.h: Likewise.
49838
7ae81d88
UD
49839 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49840 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49841 configure files.
49842
bdeba135
UD
49843 [BZ #13552]
49844 * configure.in: Remove --enable-omitfp support.
49845 * FAQ.in: Adjust.
49846 * config.make.in: Likewise.
49847 * Makeconfig: Likewise.
49848 * manual/install.texi: Likewise.
49849
d75a0a62
UD
49850 In case anyone cares, the IA-64 architecture could move to ports.
49851 * sysdeps/ia64/*: Removed.
49852 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49853 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49854
dcc9756b
UD
49855 [BZ #13555]
49856 * configure.in: Remove entries for unsupported architectures.
49857
d3761ebc 49858 [BZ #13533]
9954432e
UD
49859 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49860 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49861 routines.
49862 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49863 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49864 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49865 fall back to using wcrtomb.
49866 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49867 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49868 renaming.
49869 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49870 * wcsmbs/tst-c16c32-1.c: New file.
49871
49872 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49873 local variable.
49874
c3a87236
UD
49875 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49876
28926a1b
UD
49877 * elf/tst-unique3.cc: Add explicit declaration of gets.
49878 * elf/tst-unique3lib.cc: Likewise.
49879 * elf/tst-unique3lib2.cc: Likewise.
49880 * elf/tst-unique4.cc: Likewise.
49881
df78418a
UD
49882 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49883
8ecd6b2a
JM
498842012-01-06 Joseph Myers <joseph@codesourcery.com>
49885
49886 [BZ #13566]
49887 * assert/assert.h (static_assert): Don't define for C++.
49888 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49889 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49890
9f115170
UD
498912012-01-03 Ulrich Drepper <drepper@gmail.com>
49892
5e0d0300
UD
49893 * iconv/loop.c (single loop): Fix assertion in storing of
49894 remaining bytes.
49895
9f115170
UD
49896 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49897
81fb02b0
UD
498982012-01-01 Ulrich Drepper <drepper@gmail.com>
49899
49900 * posix/getconf.c: Update copyright year.
49901 * nss/getent.c: Likewise.
a316c1f6 49902 * nss/makedb.c: Likewise.
81fb02b0
UD
49903 * iconv/iconvconfig.c: Likewise.
49904 * iconv/iconv_prog.c: Likewise.
49905 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49906 * elf/pldd.c: Likewise.
49907 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49908 * catgets/gencat.c: Likewise.
49909 * csu/version.c: Likewise.
49910 * elf/ldd.bash.in: Likewise.
49911 * elf/sprof.c (print_version): Likewise.
49912 * locale/programs/locale.c: Likewise.
49913 * locale/programs/localedef.c: Likewise.
a316c1f6 49914 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49915 * nscd/nscd.c (print_version): Likewise.
49916 * debug/xtrace.sh: Likewise.
49917 * malloc/memusage.sh: Likewise.
49918 * malloc/mtrace.pl: Likewise.
49919 * debug/catchsegv.sh: Likewise.
49920
2ba92745
JJ
499212011-12-30 Jakub Jelinek <jakub@redhat.com>
49922
49923 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49924 pure attribute.
49925
dadebdae
UD
499262011-12-24 Ulrich Drepper <drepper@gmail.com>
49927
d3761ebc 49928 [BZ #13533]
db6af3eb
UD
49929 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49930 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49931 transformations.
49932 * iconv/gconv_int.h: Likewise.
49933 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49934 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49935 from libc for GLIBC_2.16.
49936 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49937 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49938 * wcsmbs/uchar.h: Really define mbstate_t.
49939 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49940 * wcsmbs/c16rtomb.c: New file.
49941 * wcsmbs/mbrtoc16.c: New file.
49942 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49943 for C/POSIX locale.
49944 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49945 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49946
dadebdae
UD
49947 * wcsmbs/wchar.h: Add missing __restrict.
49948
67371b56
UD
499492011-12-23 Ulrich Drepper <drepper@gmail.com>
49950
74033a25
UD
49951 [BZ #13532]
49952 * time/Makefile (routines): Add timespec_get.
49953 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49954 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49955 timespec for ISO C11.
49956 * time/timespec_get.c: New file.
49957 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49958 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49959
380d7e87
UD
49960 [BZ #13531]
49961 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49962 * stdlib/stdlib.h: Declare aligned_alloc.
49963 * Versions.def: Add GLIBC_2.16 for libc.
49964 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49965
4e9e7a35
UD
49966 [BZ 13527]
49967 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49968 ISO C11.
49969
380d7e87 49970 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49971 code.
49972
03a71829
UD
49973 [BZ #13528]
49974 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49975
839e283e
UD
49976 [BZ #13529]
49977 * assert/assert.h (static_assert): Define.
49978
ce5294e2 49979 * version.h: Update for 2.16 development version.
90fa7312 49980
8d44e150 49981 [BZ #13526]
d7809905
UD
49982 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49983 _ISOC11_SOURCE.
49984
c0da14cd
UD
49985 * version.h (RELEASE): Bump for 2.15 release.
49986 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49987
530a3249
MP
49988 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49989 Patch by Marek Polacek <mpolacek@redhat.com>.
49990
67371b56
UD
49991 * bits/byteswap.h: Protect long long constants with __extension__.
49992 * sysdeps/i386/bits/byteswap.h: Likewise.
49993 * sysdeps/ia64/bits/byteswap.h: Likewise.
49994 * sysdeps/s390/bits/byteswap.h: Likewise.
49995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49996
15db4de1
LD
499972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49998
49999 [BZ #13540]
bbe315ea
LD
50000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50001 destination buffer.
15db4de1
LD
50002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50003
2b2596b1
MP
500042011-12-23 Marek Polacek <polacek@redhat.com>
50005
50006 * elf/dl-addr.c (determine_info): Add inline keyword.
50007 * elf/tst-auditmod4b.c (check_avx): Likewise.
50008 * elf/tst-auditmod6b.c (check_avx): Likewise.
50009 * elf/tst-auditmod6c.c (check_avx): Likewise.
50010 * elf/tst-auditmod7b.c (check_avx): Likewise.
50011
70c6c246
UD
500122011-12-23 Ulrich Drepper <drepper@gmail.com>
50013
50014 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50015 !__SSE_MATH__.
50016
c044cf14
LD
500172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50018
15db4de1 50019 [BZ #13540]
c044cf14
LD
50020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50021 processing for last bytes.
50022
6b13d9d9
BH
500232011-08-06 Bruno Haible <bruno@clisp.org>
50024
d455f537
BH
50025 [BZ #13061]
50026 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50027 U+0385, not to U+1FEE.
50028
6b13d9d9
BH
50029 [BZ #13062]
50030 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50031 entry for U+00A5 U+0301.
50032
db910efd
UD
500332011-12-22 Ulrich Drepper <drepper@gmail.com>
50034
27deeafc
UD
50035 [BZ #13166]
50036 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50037 buffer for the output is too small.
50038
aed9d171
UD
50039 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50040 optimization.
50041
db910efd
UD
50042 [BZ #13185]
50043 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50044 SSE flags if possible.
50045
2bd779ae
LD
500462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50047
e7f9dac3 50048 [BZ #13540]
2bd779ae
LD
50049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50050 processing for last bytes.
50051
154bfc16
JM
500522011-12-22 Joseph Myers <joseph@codesourcery.com>
50053
50054 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50055 (syscall-list-default-options, syscall-list-default-condition)
50056 (syscall-list-includes): Define.
50057 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50058 list of ABIs and options and #if conditions for each ABI. Do not
50059 handle common syscalls between ABIs specially.
50060 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50061 Remove.
50062 (syscall-list-variants, syscall-list-32bit-options)
50063 (syscall-list-32bit-condition, syscall-list-64bit-options)
50064 (syscall-list-64bit-condition): Define.
50065 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50066 (syscall-list-variants, syscall-list-32bit-options)
50067 (syscall-list-32bit-condition, syscall-list-64bit-options)
50068 (syscall-list-64bit-condition): Define.
50069 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50070 Remove.
50071 (syscall-list-variants, syscall-list-32bit-options)
50072 (syscall-list-32bit-condition, syscall-list-64bit-options)
50073 (syscall-list-64bit-condition): Define.
50074 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50075 Remove.
50076 (syscall-list-variants, syscall-list-32bit-options)
50077 (syscall-list-32bit-condition, syscall-list-64bit-options)
50078 (syscall-list-64bit-condition): Define.
50079
21eaf3a5
UD
500802011-12-22 Ulrich Drepper <drepper@gmail.com>
50081
16c6f992
UD
50082 * locale/iso-639.def: Add brx entry.
50083
41043168
UD
50084 [BZ #13328]
50085 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50086 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50087
21eaf3a5
UD
50088 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50089 __feraiseexcept_renamed.
50090
e3a851a2
UD
500912011-12-21 Ulrich Drepper <drepper@gmail.com>
50092
4920765e
UD
50093 [BZ #13538]
50094 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50095 EPOLLET with unsigned values.
50096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50097 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50098
e3a851a2
UD
50099 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50100 to large cancellation.
50101 * math/s_cacoshf.c: Likewise.
50102 * math/s_cacoshl.c: Likewise.
50103
b27e24b8
RK
501042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50105
50106 [BZ #13305]
aebefeee 50107 [BZ #12786]
b27e24b8
RK
50108 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50109 * math/s_cacoshf.c: Likewise.
50110 * math/s_cacoshl.c: Likewise.
50111
ee190f67
UD
501122011-12-21 Ulrich Drepper <drepper@gmail.com>
50113
50114 [BZ #13439]
50115 * iconv/gconv.h: Define __GCONV_SWAP.
50116 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50117 * iconvdata/utf-16.c: Likewise.
50118 * iconvdata/utf-32.c: Likewise.
50119
707f25df
AS
501202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50121
50122 [BZ #13524]
50123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50124 numerator after shifting it by one limb.
50125
d2daaa1e
RÁE
501262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50127
50128 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50129 under [__USE_EXTERN_INLINES].
50130
a4647e72
UD
501312011-12-17 Ulrich Drepper <drepper@gmail.com>
50132
50133 [BZ #13446]
50134 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50135
f0b264f1
AZ
501362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50137
50138 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50139 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50140 optimized code.
50141 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50143 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50144 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50145 for strncasecmp/strncasecmp_l compilation.
50146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50147 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50148
8ef4f244
MP
501492011-12-08 Marek Polacek <mpolacek@redhat.com>
50150
50151 [BZ #13484]
50152 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50153 of __asm__.
50154
97ac2654
UD
501552011-12-17 Ulrich Drepper <drepper@gmail.com>
50156
50157 [BZ #13506]
50158 * time/tzfile.c (__tzfile_read): Check values from file header.
50159
91d2a845
WS
501602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50161
50162 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50163 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50164 * powerpc/powerpc32/dl-start.S: Likewise.
50165 * powerpc/powerpc32/elf/start.S: Likewise.
50166 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50167 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50168 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50169 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50170 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50171 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50172 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50173 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50174 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50175 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50176 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50177 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50178 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50179 * powerpc/powerpc32/memset.S: Likewise.
50180 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50181 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50182 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50183 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50184 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50185 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50186 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50187 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50188 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50189 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50190 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50191 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50192 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50193
a1267ba1
AZ
501942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50195
50196 * math/libm-test.inc: Added more nearbyint tests.
50197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50201
ad8ac1bd
RL
502022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50203
50204 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50205 FD_CLOEXEC.
50206
1d3e4b61
UD
502072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50208
50209 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50210 Add wcscpy-ssse3 wcscpy-c.
50211 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50212 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50213 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50214 * sysdeps/x86_64/wcschr.S: New file.
50215 * sysdeps/x86_64/wcsrchr.S: New file.
50216 * string/test-strcmp.c: Remove checking of wcscmp function for
50217 wrong alignments.
50218 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50219 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50220 wcsrchr-sse2 wcsrchr-c.
50221 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50222 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50223 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50224 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50225 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50226 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50227 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50228 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50229 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50230 * wcsmbc/wcschr.c (WCSCHR): New macro.
50231
5b330a2d
UD
502322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50233
50234 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50235 * wcsmbs/test-wcsrchr.c: New file.
50236 * string/test-strrchr.c: Add wcsrchr support.
50237 (WIDE): New macro.
50238 * wcsmbs/test-wcscpy.c: New file.
50239 * string/test-strcpy.c: Add wcscpy support.
50240 (WIDE): New macro.
26428b7c 50241
f039c043
UD
502422011-12-10 Ulrich Drepper <drepper@gmail.com>
50243
50244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50245 the inner loop.
50246
850fb039
AS
502472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50248
50249 [BZ #13472]
50250 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50251
4efbd5cb
UD
502522011-12-04 Ulrich Drepper <drepper@gmail.com>
50253
52ff5dd0 50254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50255 Minor optimizations.
52ff5dd0 50256
4efbd5cb
UD
50257 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50258 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50259 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50260
8a426e12
UD
502612011-12-03 Ulrich Drepper <drepper@gmail.com>
50262
aff2453d
UD
50263 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50264 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50265 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50266 for gcc to avoid warnings.
50267 * inet/Makefile (tests): Add tst-checks.
50268 * inet/tst-checks.c: New file.
50269
50270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50271 warning.
50272
50273 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50274 __wmemcmp_sse2.
50275
50276 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50277 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50278
8a426e12
UD
50279 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50280
9bea3473
UD
502812011-12-02 Ulrich Drepper <drepper@gmail.com>
50282
3a965496
UD
50283 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50284 problem.
50285
9bea3473
UD
50286 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50287
f101631b
UD
502882011-11-29 Joseph Myers <joseph@codesourcery.com>
50289
50290 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50291 conditional on GCC version.
50292 (__arch_compare_and_exchange_val_8_acq)
50293 (__arch_compare_and_exchange_val_16_acq)
50294 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50295 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50296 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50297
a98275aa
UD
502982011-12-02 Joseph Myers <joseph@codesourcery.com>
50299
50300 * sysdeps/sh/backtrace.c: New file.
50301
d4cc29a2
AS
503022011-12-02 Andreas Schwab <schwab@redhat.com>
50303
50304 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50305 parenthesis.
50306
6257af2d
AS
503072011-12-01 Andreas Schwab <schwab@redhat.com>
50308
50309 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50310 falling back to utime.
50311
b5f44c1a
AS
503122011-11-30 Andreas Schwab <schwab@redhat.com>
50313
50314 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50315 expectations for float.
50316
f3a6cc0a
AS
503172011-11-29 Andreas Schwab <schwab@redhat.com>
50318
50319 * locale/weight.h (findidx): Add parameter len.
50320 * locale/weightwc.h (findidx): Likewise.
50321 * posix/fnmatch_loop.c (FCT): Adjust caller.
50322 * posix/regcomp.c (build_equiv_class): Likewise.
50323 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50324 * posix/regexec.c (check_node_accept_bytes): Likewise.
50325 * string/strcoll_l.c (STRCOLL): Likewise.
50326 * string/strxfrm_l.c (STRXFRM): Likewise.
50327
9d65ea3a
UD
503282011-11-17 Ulrich Drepper <drepper@gmail.com>
50329
50330 * Makefile.in: Remove CVSOPT handling.
50331 * configure.in: Remove use of AC_REVISION.
50332 * iconvdata/Makefile (distribute): No need to filter out CVS.
50333 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50334 handling.
50335
5583a086
AS
503362011-11-16 Andreas Schwab <schwab@redhat.com>
50337
50338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50339 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50340 [USE_AS_STRNCASECMP_L]: Likewise.
50341 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50342 NO_TLS_DIRECT_SEG_REFS.
50343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50344 Fix argument offsets for non-PIC.
50345 [USE_AS_STRNCASECMP_L]: Likewise.
50346 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50347 NO_TLS_DIRECT_SEG_REFS.
50348
d62a8200
UD
503492011-11-15 Ulrich Drepper <drepper@gmail.com>
50350
9d65ea3a 50351 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50352 O_CLOEXEC.
50353 * locale/loadlocale.c (_nl_load_locale): Likewise.
50354
09f93bd3
AS
503552011-11-15 Andreas Schwab <schwab@redhat.com>
50356
446514f9
AS
50357 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50358 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50360 (SYSCALL_GETTIME): Set errno on error.
50361
09f93bd3
AS
50362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50363 count references to noai6ai_cached.
50364
312be3f9
UD
503652011-11-15 Ulrich Drepper <drepper@gmail.com>
50366
50367 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50368
50369 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50370 FD_CLOEXEC for /proc/self/maps.
50371
50372 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50373 FD_CLOEXEC for /proc/meminfo.
50374
50375 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50376 gai.conf.
50377
50378 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50379 FD_CLOEXEC for given file.
50380
50381 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50382
50383 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50384 FD_CLOEXEC for /etc/hosts.
50385 (_gethtent): Likewise.
50386
50387 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50388
50389 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50390 cancellation and set FD_CLOEXEC for /etc/netgroup.
50391
50392 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50393 reading /etc/publickey.
50394
50395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50396 allow cancellation when reading /etc/group.
50397
50398 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50399 cancellation.
50400 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50401
50402 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50403 when using data file.
50404
50405 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50406
50407 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50408 (write_nis_obj): Use "c" and "e" in fopen.
50409
50410 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50411
50412 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50413
50414 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50415
50416 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50417
50418 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50419 locale.alias.
50420
50421 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50422
50423 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50424
50425 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50426
50427 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50428 file parsing and set FD_CLOEXEC.
50429
82af0fa8
UD
504302011-11-14 Ulrich Drepper <drepper@gmail.com>
50431
50432 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50433
a5fb313c
AS
504342011-11-14 Andreas Schwab <schwab@redhat.com>
50435
50436 * malloc/arena.c (arena_get2): Don't call reused_arena when
50437 _int_new_arena failed.
50438
6abf3465
UD
504392011-11-14 Ulrich Drepper <drepper@gmail.com>
50440
50441 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50442 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50444 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50447 to compile strcasecmp and strncasecmp.
50448 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50449 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50450
50451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50452
76e3966e
UD
504532011-11-13 Ulrich Drepper <drepper@gmail.com>
50454
50455 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50456 locale-defines.sym to gen-as-const-headers.
50457 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50458 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50460 to compile strcasecmp and strncasecmp.
50461 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50462 strcasecmp_l and strncasecmp_l.
50463 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50464 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50465 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50466 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50467 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50468 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50469 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50470 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50471 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50472 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50473 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50474
ab26144e
UD
504752011-11-12 Ulrich Drepper <drepper@gmail.com>
50476
7edb22ef
UD
50477 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50478 result of SYSDEP_GETTIME_CPU to retval.
50479 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50480 parameter list to macro. Remove trailing semicolon. Adjust users.
50481
9694fc44
UD
50482 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50483 variable.
50484
8ad89ef8
UD
50485 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50486 mantissa words.
50487 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50488
0c822ef9
UD
50489 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50490 from unused variable.
50491
874e0564
UD
50492 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50493 DWARF definitions.
50494 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50495 for assembling.
50496
3a2edc79
UD
50497 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50498 over namespaces.
50499
f3c2577f
UD
50500 * sunrpc/rpc_prot.c (rejected): Fix case value.
50501
294ce126
UD
50502 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50503 unsigned long long int to avoid warnings in shift.
50504
5e2b63c6
UD
50505 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50506 of use of trans.
50507 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50508 variable tmp.
50509
e7f4b08e
UD
50510 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50511 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50512 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50513
ab26144e
UD
50514 * nis/nis_table.c (nis_list): Use variable of correct type for
50515 result of __follow_path call.
50516
8a6d5255
AZ
505172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50518
50519 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50520 of math functions ceil, trunc, floor, round, and sqrt, when
50521 avaliable on the platform.
50522 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50523 name clash.
50524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50525 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50526 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50527
aaddc98c
MP
505282011-10-30 Marek Polacek <mpolacek@redhat.com>
50529
50530 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50532
95b7042b
RM
505332011-11-11 Roland McGrath <roland@hack.frob.com>
50534
50535 * include/unistd.h: Fix __readlink return type.
50536 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50537
57769839
UD
505382011-11-11 Ulrich Drepper <drepper@gmail.com>
50539
50540 * stdlib/ucontext.h: Undo last change for makecontext.
50541
edc5984d
AS
505422011-11-11 Andreas Schwab <schwab@redhat.com>
50543
98591e58
AS
50544 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50545
edc5984d
AS
50546 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50547 * setjmp/setjmp.h: Mark functions as non-leaf.
50548 * setjmp/bits/setjmp2.h: Likewise.
50549 * stdlib/ucontext.h: Likewise.
50550
77cdc054
AS
505512011-11-10 Andreas Schwab <schwab@redhat.com>
50552
50553 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50554 (reused_arena): Don't check arena limit.
50555 (arena_get2): Atomically check arena limit.
50556
fe72eebd
UD
505572011-11-08 Ulrich Drepper <drepper@gmail.com>
50558
5f078c32
UD
50559 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50560 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50561
fe72eebd
UD
50562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50563 instructions.
50564
ae1bc2fa
AS
505652011-11-07 Andreas Schwab <schwab@redhat.com>
50566
7583a88d
AS
50567 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50568 handler when locking.
50569
ae1bc2fa
AS
50570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50571 Fix size of allocated buffer.
50572
10fb0bfa
AS
505732011-11-04 Andreas Schwab <schwab@redhat.com>
50574
998832a4
AS
50575 [BZ #10103]
50576 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50577 declarations for long double functions.
50578 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50579
10fb0bfa
AS
50580 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50581
3d7ba52b
AS
505822011-11-03 Andreas Schwab <schwab@redhat.com>
50583
a9ae54a1
AS
50584 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50585 installed.
50586
3d7ba52b
AS
50587 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50588 is disabled.
50589
bc8db248
ST
505902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50591
50592 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50593
45b96dd6
AS
505942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50595
647776f6
AS
50596 * include/alloca.h (stackinfo_alloca_round): Define.
50597 (extend_alloca): Use it.
50598 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50599 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50600 here.
50601
d91a8b93
AS
50602 * scripts/check-local-headers.sh: Ignore libaudit.h.
50603
45b96dd6
AS
50604 * nscd/Makefile (extra-objs): Make recursively expanded.
50605
432d41ce
UD
506062011-11-01 Ulrich Drepper <drepper@gmail.com>
50607
34372fc6
UD
50608 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50609 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50610
fadb59f8
UD
50611 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50612 * posix/tst-rfc3484-2.c: Likewise.
50613 * posix/tst-rfc3484-3.c: Likewise.
50614
78239589
UD
50615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50616 process_vm_writev.
50617 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50618 process_vm_writev.
50619 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50620 process_vm_writev from libc using GLIBC_2.15 version.
50621
432d41ce
UD
50622 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50623
02f9c6cf
PP
506242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50625
50626 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50627 stack usage.
50628
3a2c0242
UD
506292011-10-31 Ulrich Drepper <drepper@gmail.com>
50630
f4ec4833
UD
50631 [BZ #13367]
50632 * nss/getent.c (initgroups_keys): Show error message in case no group
50633 names are given.
50634
3a2c0242
UD
50635 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50636 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50637 __bump_nl_timestamp.
50638 * nscd/connections (nscd_init): When host database is served open
50639 netlink socket and request notification about configuration changes.
50640 (main_loop_poll): Track netlink file descriptor and bump timestamp
50641 in case data becomes available.
50642 (main_loop_epoll): Likewise.
50643 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50644 (database_pers_head): Add extra_data fileds.
50645 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50646 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50647 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50648 Adjust caller.
50649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50650 in6ai data, call __free_in6ai.
50651 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50652 Add -DHAVE_NETLINK.
50653 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50654 interface information. Reuse previous data if netlink timestamp
50655 is not changed.
50656 (__bump_nl_timestamp): New function.
50657 (__free_in6ai): New function.
50658
636064eb
UD
506592011-10-30 Ulrich Drepper <drepper@gmail.com>
50660
50661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50662 close_not_cancel_no_status here.
50663 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50664
9beb2334
UD
506652011-10-29 Ulrich Drepper <drepper@gmail.com>
50666
6ef76f3b
UD
50667 [BZ #13276]
50668 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50669 return value.
50670
0ffc4f3e 50671 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50672 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50673 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50674
cb95113e
UD
506752011-07-03 Andreas Jaeger <aj@suse.de>
50676
50677 [BZ #10709]
50678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50679 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50680 * math/libm-test.inc (sin_test): Add test case.
50681
a1b560ff
UD
506822011-10-29 Ulrich Drepper <drepper@gmail.com>
50683
c9aaface
UD
50684 [BZ #13337]
50685 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50686 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50687
d272e7f1
UD
50688 * elf/chroot_canon.c (chroot_canon): Cleanups.
50689
1bc33071
UD
50690 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50691
1760874d
TJ
50692 [BZ #13335]
50693 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50694 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50695
51d91b18
UD
50696 * string/test-strchr.c: Make usable for strchrnul testing.
50697 * string/test-strchrnul.c: New file.
50698 * string/Makefile (strop-tests): Add strchrnul.
50699
a1b560ff 50700 * po/it.po: Update from translation team.
b611fb81 50701 * po/es.po: Likewise.
a1b560ff 50702
a5b81e1f
UD
507032011-10-28 Ulrich Drepper <drepper@gmail.com>
50704
fd52bc6d
UD
50705 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50706 the three constants needed as parameters. Drop the others.
50707 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50708 __m128i_strloadu_tolower.
52e4b9eb
UD
50709 Create and initialize variable zero and use it in all the places
50710 where _mm_setzero_si128 was used.
fd52bc6d 50711
a5b81e1f
UD
50712 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50713 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50714 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50716 anymore.
50717 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50718 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50719 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50720 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50722 __mpranred, __mptan.
50723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50727 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50728 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50731 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50732
b4343346
AS
507332011-10-28 Andreas Schwab <schwab@redhat.com>
50734
0c92d8a8
AS
50735 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50736 redefine if SHARED.
50737 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50738
b4343346
AS
50739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50740 wide char related routines to wcsmbs subdir.
50741
3871f58f
AS
507422011-10-27 Andreas Schwab <schwab@redhat.com>
50743
50744 [BZ #13344]
50745 * misc/sys/cdefs.h (__THROWNL): Define.
50746 * posix/unistd.h: Use __THREADNL instead of __THREAD
50747 for memory synchronization functions.
50748
94d44d9f
RM
507492011-10-26 Roland McGrath <roland@hack.frob.com>
50750
21b64b15 50751 [BZ #13349]
94d44d9f
RM
50752 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50753 doesn't exist.
50754 * manual/stdio.texi (Obstack Streams): Node removed.
50755
f6ce9294
AS
507562011-10-26 Andreas Schwab <schwab@redhat.com>
50757
80479147
AS
50758 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50760 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50761
f6ce9294
AS
50762 * math/math_private.h (math_force_eval): Allow non-addressable
50763 arguments.
50764 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50765
618280a1
UD
507662011-10-25 Ulrich Drepper <drepper@gmail.com>
50767
e0016b11
UD
50768 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50769 file is not needed.
50770
50771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50774 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50778 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50779 Add AVX variants.
50780 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50781 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50782 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50783 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50785 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50786 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50790 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50791 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50793 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50794 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50795 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50796 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50797 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50798 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50799
50800 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50801 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50802
618280a1
UD
50803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50804 place. Use VEX encoding when compiling for AVX.
50805
37822576
AS
508062011-10-25 Andreas Schwab <schwab@redhat.com>
50807
1f1e1947
AS
50808 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50809 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50810
37822576
AS
50811 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50812
31ea014d
UD
508132011-10-25 Ulrich Drepper <drepper@gmail.com>
50814
d7826aa1 50815 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50816 useless if() expression.
d7826aa1
UD
50817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50818 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50821 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50824 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50828 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50831 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50832 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50833 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50835 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50836
31ea014d
UD
50837 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50838
16437fec
AS
508392011-10-25 Andreas Schwab <schwab@redhat.com>
50840
50841 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50842 condition.
50843 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50844
31d3cc00
UD
508452011-10-25 Ulrich Drepper <drepper@gmail.com>
50846
50847 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50848 .text section. Avoid duplicate constants.
50849 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50858 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50859 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50861 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50862 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50863 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50865 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50866 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50867 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50869 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50870 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50871 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50872 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50873 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50874 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50875 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50879 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50880 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50882 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50883 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50884 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50885 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50886 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50887 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50888 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50891 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50892 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50893 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50894
58985aa9
UD
508952011-10-24 Ulrich Drepper <drepper@gmail.com>
50896
202c9deb
UD
50897 * sysdeps/x86_64/dla.h: Move to ...
50898 * sysdeps/x86_64/fpu/dla.h: ...here.
50899 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50900 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50901
af968f62
UD
50902 * config.make.in: Add have-mfma4 entry.
50903 * configure.in: Substitute libc_cv_cc_fma4.
50904 * math/Makefile (dbl-only-routines): Add sincostab.
50905 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50906 Use __sincostab not sincos.
50907 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50908 name is a macro.
50909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50913 using __copysign.
50914 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50915 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50916 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50917 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50918 and __inv.
50919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50920 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50921 __copysign.
50922 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50923 define aliases when function name is a macro.
50924 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50925 sysdeps/ieee754/dbl-64/sincos.tbl.
50926 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50927 fma4-enabled routines.
50928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50929 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50932 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50933 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50937 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50938 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50939 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50940 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50951 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50953 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50955 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50956 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50958
58985aa9
UD
50959 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50960 rename.
50961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50969
a201fbcf
AS
509702011-10-24 Andreas Schwab <schwab@redhat.com>
50971
50972 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50973
fc2ee42a
LD
509742011-10-23 Ulrich Drepper <drepper@gmail.com>
50975
bb3129bd
UD
50976 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50977
0275fff8
UD
50978 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50979 prediction.
50980 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50981
2fa2ae85
UD
50982 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50983 Remove unused variable magic_bits.
50984 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50985
fc2ee42a
LD
50986 * string/strnlen.c: Define and use STRNLEN macro.
50987 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50988 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50990 * wcsmbs/wcslen.c: Define and use WCSLEN.
50991 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50992 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50993 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50994 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50995 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50996 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50997 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50998
ce7dd29f
LD
509992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51000
51001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51002 strnlen-sse2-no-bsf.
51003 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51005 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51006 Add strnlen support.
51007 (USE_AS_STRNLEN): New macro.
51008 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51009 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51010 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51011 * sysdeps/x86_64/wcslen.S: New file.
51012
979c70a3
MZ
510132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51014
51015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51016 XMM-moves are used for copying on small sizes.
51017
2d09f82f
LD
510182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51019
51020 * wcsmbs/Makefile (strop-tests): Add wcschr.
51021 * wcsmbs/test-wcschr.c: New file.
51022 * string/test-strchr.c: Update.
51023 Add wcschr support.
51024 (WIDE): New macro.
51025
619fccca
LD
510262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51027
2d09f82f 51028 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51029 * wcsmbs/test-wcslen.c: New file.
51030 * string/test-strlen.c: Update.
51031 Add wcslen support.
51032 (WIDE): New macro.
51033
09f699ea
UD
510342011-10-23 Ulrich Drepper <drepper@gmail.com>
51035
51036 * po/it.po: Update from translation team.
51037
95584d3b
LD
510382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51039
51040 * sysdeps/x86_64/wcscmp.S: Update.
51041 Fix wrong comparison semantics.
51042 wcscmp shall use signed comparison not unsigned.
51043 Don't use substraction to avoid overflow bug.
51044 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51045 * wcsmbc/wcscmp.c: Likewise.
51046 * string/test-strcmp.c: Likewise.
51047 Add new tests to check cases with negative values.
51048
c8b3296b
UD
510492011-10-23 Ulrich Drepper <drepper@gmail.com>
51050
51051 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51052 * sysdeps/x86_64/dla.h: ...here. New file.
51053 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51060 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51062
246ad57a
AS
510632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51064
51065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51066 __ynl_finite aliases.
51067
a1a87169
UD
510682011-10-22 Ulrich Drepper <drepper@gmail.com>
51069
0d355eb7
UD
51070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51071
a1a87169
UD
51072 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51073 define DLA_FMA.
51074 [DLA_FMA] (EMULV): Use DLA_FMA.
51075 [DLA_FMA] (MUL12): Use EMULV.
51076 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51077 that are not needed.
51078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51085
ee2aafe0
AS
510862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51087
51088 * math/s_nan.c: Undef __nan.
51089 * math/s_nanf.c: Undef __nanf.
51090 * math/s_nanl.c: Undef __nanl.
51091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51092 "math_private.h".
51093
bc62c2fb
UD
510942011-10-22 Ulrich Drepper <drepper@gmail.com>
51095
77425c63
UD
51096 * math/s_catan.c: Add branch predictions.
51097 * math/s_catanf.c: Likewise.
51098 * math/s_catanh.c: Likewise.
51099 * math/s_catanhf.c: Likewise.
51100 * math/s_catanhl.c: Likewise.
51101 * math/s_catanl.c: Likewise.
51102 * math/s_cexp.c: Likewise.
51103 * math/s_cexpf.c: Likewise.
51104 * math/s_cexpl.c: Likewise.
51105 * math/s_clog.c: Likewise.
51106 * math/s_clog10.c: Likewise.
51107 * math/s_clog10f.c: Likewise.
51108 * math/s_clog10l.c: Likewise.
51109 * math/s_clogf.c: Likewise.
51110 * math/s_clogl.c: Likewise.
51111 * math/s_csqrt.c: Likewise.
51112 * math/s_csqrtf.c: Likewise.
51113 * math/s_csqrtl.c: Likewise.
51114 * math/s_ctanf.c: Likewise.
51115 * math/s_ctanh.c: Likewise.
51116 * math/s_ctanhf.c: Likewise.
51117 * math/s_ctanhl.c: Likewise.
51118 * math/s_ctanl.c: Likewise.
51119
bc62c2fb
UD
51120 * math/math_private.h: Define __nan, __nanf, __nanl.
51121 * math/s_cacosh.c: Include <math_private.h>.
51122 * math/s_cacoshl.c: Likewise.
51123 * math/s_casinh.c: Likewise.
51124 * math/s_casinhf.c: Likewise.
51125 * math/s_casinhl.c: Likewise.
51126 * math/s_ccos.c: Rely entire on ccosh.
51127 * math/s_ccosf.c: Rely entire on ccoshf.
51128 * math/s_ccosl.c: Rely entirely on ccoshl.
51129 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51130 Remove tests for FE_INVALID.
51131 * math/s_ccoshf.c: Likewise.
51132 * math/s_ccoshl.c: Likewise.
51133 * math/s_csin.c: Likewise.
51134 * math/s_csinf.c: Likewise.
51135 * math/s_csinh.c Likewise.
51136 * math/s_csinhf.c: Likewise.
51137 * math/s_csinhl.c: Likewise.
51138 * math/s_csinl.c: Likewise.
51139 * math/s_ctan.c: Likewise.
51140 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51141 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51142 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51143
8ec250a4
UD
511442011-10-21 Ulrich Drepper <drepper@gmail.com>
51145
c196fed8
UD
51146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51147 compilation problems.
51148
8ec250a4
UD
51149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51150 __builtin_expect.
51151
8d4f46c6
UD
511522011-10-20 Ulrich Drepper <drepper@gmail.com>
51153
ed72b654
UD
51154 * sysdeps/i386/configure.in: Test for -mfma4 option.
51155 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51156 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51157 COMMON_CPUID_INDEX_80000001.
51158 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51159 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51160 use it if FMA3 is not supported.
51161 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51162
8d4f46c6
UD
51163 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51164 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51165
d45c60c2
AS
511662011-10-20 Andreas Schwab <schwab@redhat.com>
51167
51168 [BZ #12892]
51169 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51170 it would create a cycle with a link time dependency.
51171
d9a4d2ab
UD
511722011-10-19 Ulrich Drepper <drepper@gmail.com>
51173
855d1560
UD
51174 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51175 instruction.
51176 * string/Makefile (strop-tests): Add rawmemchr.
51177 * string/test-rawmemchr.c: New file.
51178
d9a4d2ab
UD
51179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51181 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51182 when compiling str{,n}casecmp and when AVX is available. Hook up
51183 new optimized code in initializers.
51184
8f3b1ffe
AS
511852011-10-19 Andreas Schwab <schwab@redhat.com>
51186
51187 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51188 __feraiseexcept instead of feraiseexcept.
51189
d38f1dba
UD
511902011-10-18 Ulrich Drepper <drepper@gmail.com>
51191
d9a8d0ab
UD
51192 * math/math_private.h: Define defaults for libc_fetestexcept and
51193 libc_feupdateenv.
51194 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51195 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51196 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51199 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51200 libc_fetestexcept and libc_feupdateenv.
51201
4855e3dd
UD
51202 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51203 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51204 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51205 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51206 libc_feholdexcept_setround.
51207
581d30e3
UD
51208 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51209 Add s_nearbyint-c and s_nearbyintf-c.
51210 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51211 nearbyintf inlines.
51212 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51213 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51214 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51215 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51216
d38f1dba
UD
51217 * math/math_private.h: Define defaults for libc_fegetround,
51218 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51219 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51220 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51222 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51223 standard functions.
51224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51225 Remove comments and hacks for old compiler versions.
51226 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51227 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51228 libc_feholdexceptl.
51229
caa6c9d8
AS
512302011-10-18 Andreas Schwab <schwab@redhat.com>
51231
51232 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51233 (__feraiseexcept_renamed): Add __NTH.
51234 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51235 namespace violations.
51236
97c066e6
UD
512372011-10-17 Ulrich Drepper <drepper@gmail.com>
51238
99ce7b04
UD
51239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51240
1004d182
UD
51241 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51242
228a984d
UD
51243 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51244 recently added interfaces.
51245 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51246
c8553a6a
UD
51247 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51248 about macro parameter expansion.
51249
ed22dcf6
UD
51250 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51251 __NO_MATH_INLINES is defined. Cleanups.
51252
51253 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51254 and __floorf is target has SSE4.1.
51255 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51256 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51257 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51259
b171c137
UD
51260 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51261 name.
51262 (floorf): Likewise.
51263
97c066e6
UD
51264 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51265
629f62ef
AS
512662011-10-17 Andreas Schwab <schwab@redhat.com>
51267
49a43d80
AS
51268 * misc/sys/cdefs.h: Fix last change.
51269
629f62ef
AS
51270 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51271 database lookup.
51272
e453f6cd
UD
512732011-10-16 Ulrich Drepper <drepper@gmail.com>
51274
aa78043a
UD
51275 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51276
ad0f5cad
UD
51277 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51279 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51280 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51285 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51286 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51287 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51288 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51289 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51290 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51291 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51292 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51293 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51294 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51295 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51296 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51298 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51299
51300 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51301 ceil, ceilf, floor, floorf.
51302
51303 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51304 Perform IRELATIVE relocations last.
51305
e453f6cd
UD
51306 * elf/do-rel.h: Add another parameter nrelative, replacing the
51307 local variable with the same name. Change name of the function
51308 to end in Rel or Rela (uppercase).
51309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51310 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51311 elf_dynamic_do_##reloc function.
51312
fd5bdc09
UD
513132011-10-15 Ulrich Drepper <drepper@gmail.com>
51314
79b195b5
UD
51315 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51316 is sufficient, at least on modern CPUs.
51317
d4a28569
UD
51318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51319
b61099b5
UD
51320 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51321 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51322
bcf01e6d
UD
51323 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51324 __expl_finite.
51325 * math/bits/math-finite.h: Add entries for exp.
51326 * math/e_expl.c: Add __*_finite alias.
51327 * sysdeps/i386/fpu/e_exp.S: Likewise.
51328 * sysdeps/i386/fpu/e_expf.S: Likewise.
51329 * sysdeps/i386/fpu/e_expl.c: Likewise.
51330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51331 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51334 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51335 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51336 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51337
ba1a0d59
UD
51338 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51339 is sufficient, at least on modern CPUs.
51340
fd5bdc09
UD
51341 * ctype/ctype-info.c (__ctype_init): Define.
51342 * include/ctype.h (__ctype_init): Declare.
51343 (__ctype_b_loc): The variable is always initialized.
51344 (__ctype_toupper_loc): Likewise.
51345 (__ctype_tolower_loc): Likewise.
51346 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51347 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51348
7872cfb0
AS
513492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51350
b468825a
AS
51351 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51352
7872cfb0
AS
51353 * configure.in: Also look in $cxxmachine/include for C++ system
51354 headers.
51355
be13f7bf
LD
513562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51357
51358 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51359 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51360 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51361 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51363 (USE_AS_WMEMCMP): New macro.
51364 Fixing indents.
51365 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51366 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51367 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51368 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51370 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51371 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51373 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51374 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51375 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51376 (USE_AS_WMEMCMP): New macro.
51377 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51378 * sysdeps/string/test-memcmp.c: Update.
51379 Fix simple_wmemcmp.
51380 Add new tests.
51381 * wcsmbs/wmemcmp.c: Update.
51382 (WMEMCMP): New macro.
51383 Fix overflow bug.
51384
556a2007
AJ
513852011-10-12 Andreas Jaeger <aj@suse.de>
51386
51387 [BZ #13268]
51388 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51389
538faaa7
UD
513902011-10-15 Ulrich Drepper <drepper@gmail.com>
51391
ab6737ff
UD
51392 * libio/iofwide.c (do_length): Avoid warning.
51393
538faaa7
UD
51394 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51395
396a21b1
UD
513962011-10-14 Ulrich Drepper <drepper@gmail.com>
51397
cdf2901f
UD
51398 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51399
38ad40ce
UD
51400 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51401 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51402 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51403 * sysdeps/i386/i686/fpu/e_log.S: New file.
51404 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51405 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51406
396a21b1
UD
51407 * ctype/ctype.h: Add support for inlined isXXX functions when
51408 compiling C++ code.
51409
6b1f68c9
AS
514102011-10-14 Andreas Schwab <schwab@redhat.com>
51411
349290c0
AS
51412 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51413
6b1f68c9
AS
51414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51415
f2282d42
RM
514162011-10-13 Roland McGrath <roland@hack.frob.com>
51417
51418 [BZ #13291]
51419 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51420
5298ffa8
AS
514212011-10-13 Andreas Schwab <schwab@redhat.com>
51422
714fad23
AS
51423 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51424 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51425 feraiseexcept.
51426
81dcc7fb
AS
51427 * sysdeps/x86_64/memrchr.S: Check for zero size.
51428
5298ffa8
AS
51429 * string/stratcliff.c: Add memrchr tests.
51430
951fbcec
LD
514312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51432
51433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51434 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51435 rawmemchr-sse2 rawmemchr-sse2-bsf.
51436 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51437 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51438 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51439 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51440 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51441 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51442 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51443 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51444 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51445 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51446 * string/memrchr.c (MEMRCHR): New macro.
51447
0ac5ae23
UD
514482011-10-12 Ulrich Drepper <drepper@gmail.com>
51449
51450 Add integration with gcc's -ffinite-math-only and optimize wrapper
51451 functions in libm.
51452 * Versions.def: Define GLIBC_2.15 version for libm.
51453 * math/Makefile (headers): Add bits/math-finite.h.
51454 * math/bits/math-finite.h: New file.
51455 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51456 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51457 * math/e_acoshl.c: Add __*_finite alias.
51458 * math/e_acosl.c: Likewise.
51459 * math/e_asinl.c: Likewise.
51460 * math/e_atan2l.c: Likewise.
51461 * math/e_atanhl.c: Likewise.
51462 * math/e_coshl.c: Likewise.
51463 * math/e_exp10.c: Likewise.
51464 * math/e_exp10f.c: Likewise.
51465 * math/e_exp10l.c: Likewise.
51466 * math/e_exp2l.c: Likewise.
51467 * math/e_fmodl.c: Likewise.
51468 * math/e_gammal_r.c: Likewise.
51469 * math/e_hypotl.c: Likewise.
51470 * math/e_j0l.c: Likewise.
51471 * math/e_j1l.c: Likewise.
51472 * math/e_jnl.c: Likewise.
51473 * math/e_lgammal_r.c: Likewise.
51474 * math/e_log10l.c: Likewise.
51475 * math/e_log2l.c: Likewise.
51476 * math/e_logl.c: Likewise.
51477 * math/e_powl.c: Likewise.
51478 * math/e_sinhl.c: Likewise.
51479 * math/e_sqrtl.c: Likewise.
51480 * math/e_scalb.c: Completely rewritten and optimized.
51481 * math/e_scalbf.c: Likewise.
51482 * math/e_scalbl.c: Likewise.
51483 * math/w_acos.c: Likewise.
51484 * math/w_acosf.c: Likewise.
51485 * math/w_acosl.c: Likewise.
51486 * math/w_acosh.c: Likewise.
51487 * math/w_acoshf.c: Likewise.
51488 * math/w_acoshl.c: Likewise.
51489 * math/w_asin.c: Likewise.
51490 * math/w_asinf.c: Likewise.
51491 * math/w_asinl.c: Likewise.
51492 * math/w_atan2.c: Likewise.
51493 * math/w_atan2f.c: Likewise.
51494 * math/w_atan2l.c: Likewise.
51495 * math/w_atanh.c: Likewise.
51496 * math/w_atanhf.c: Likewise.
51497 * math/w_atanhl.c: Likewise.
51498 * math/w_exp10.c: Likewise.
51499 * math/w_exp10f.c: Likewise.
51500 * math/w_exp10l.c: Likewise.
51501 * math/w_fmod.c: Likewise.
51502 * math/w_fmodf.c: Likewise.
51503 * math/w_fmodl.c: Likewise.
51504 * math/w_j0.c: Likewise.
51505 * math/w_j0f.c: Likewise.
51506 * math/w_j0l.c: Likewise.
51507 * math/w_j1.c: Likewise.
51508 * math/w_j1f.c: Likewise.
51509 * math/w_j1l.c: Likewise.
51510 * math/w_jn.c: Likewise.
51511 * math/w_jnf.c: Likewise.
51512 * math/w_log.c: Likewise.
51513 * math/w_logf.c: Likewise.
51514 * math/w_logl.c: Likewise.
51515 * math/w_log10.c: Likewise.
51516 * math/w_log10f.c: Likewise.
51517 * math/w_log10l.c: Likewise.
51518 * math/w_log2.c: Likewise.
51519 * math/w_log2f.c: Likewise.
51520 * math/w_log2l.c: Likewise.
51521 * math/w_pow.c: Likewise.
51522 * math/w_powf.c: Likewise.
51523 * math/w_powl.c: Likewise.
51524 * math/w_remainder.c: Likewise.
51525 * math/w_remainderf.c: Likewise.
51526 * math/w_remainderl.c: Likewise.
51527 * math/w_scalb.c: Likewise.
51528 * math/w_scalbf.c: Likewise.
51529 * math/w_scalbl.c: Likewise.
51530 * math/w_sqrt.c: Likewise.
51531 * math/w_sqrtf.c: Likewise.
51532 * math/w_sqrtl.c: Likewise.
51533 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51534 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51535 used.
51536 * math/math_private.h: Declare __kernel_standard_f.
51537 * math/w_cosh.c: Remove cruft and optimize a bit.
51538 * math/w_coshf.c: Likewise.
51539 * math/w_coshl.c: Likewise.
51540 * math/w_exp2.c: Likewise.
51541 * math/w_exp2f.c: Likewise.
51542 * math/w_exp2l.c: Likewise.
51543 * math/w_hypot.c: Likewise.
51544 * math/w_hypotf.c: Likewise.
51545 * math/w_hypotl.c: Likewise.
51546 * math/w_lgamma.c: Likewise.
51547 * math/w_lgamma_r.c: Likewise.
51548 * math/w_lgammaf.c: Likewise.
51549 * math/w_lgammaf_r.c: Likewise.
51550 * math/w_lgammal.c: Likewise.
51551 * math/w_lgammal_r.c: Likewise.
51552 * math/w_sinh.c: Likewise.
51553 * math/w_sinhf.c: Likewise.
51554 * math/w_sinhl.c: Likewise.
51555 * math/w_tgamma.c: Likewise.
51556 * math/w_tgammaf.c: Likewise.
51557 * math/w_tgammal.c: Likewise.
51558 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51560 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51561 Minor optimizations. Pretty printing. Remove cruft.
51562 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51564 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51566 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51567 * sysdeps/i386/fpu/e_asin.S: Likewise.
51568 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51569 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51570 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51571 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51572 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51573 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51574 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51575 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51576 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51577 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51578 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51579 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51580 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51581 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51582 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51583 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51584 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51585 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51586 * sysdeps/i386/fpu/e_log.S: Likewise.
51587 * sysdeps/i386/fpu/e_log10.S: Likewise.
51588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51589 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51590 * sysdeps/i386/fpu/e_log2.S: Likewise.
51591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51592 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51593 * sysdeps/i386/fpu/e_logf.S: Likewise.
51594 * sysdeps/i386/fpu/e_logl.S: Likewise.
51595 * sysdeps/i386/fpu/e_pow.S: Likewise.
51596 * sysdeps/i386/fpu/e_powf.S: Likewise.
51597 * sysdeps/i386/fpu/e_powl.S: Likewise.
51598 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51599 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51600 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51603 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51604 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51605 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51606 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51612 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51613 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51623 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51624 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51627 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51628 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51629 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51630 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51631 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51633 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51634 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51635 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51645 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51646 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51647 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51648 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51657 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51677 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51678 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51683 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51684 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51686 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51687 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51688 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51690 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51692 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51694 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51695 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51696 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51700 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51701 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51702 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51703 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51704 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51705 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51706 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51707 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51708 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51709 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51710 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51712 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51715 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51716 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51717 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51718 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51719 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51720 (__isnanf): Likewise.
51721 (__isinf_ns): Likewise.
51722 (__isinf_nsf): Likewise.
51723 (__finite): Likewise.
51724 (__finitef): Likewise.
51725 (__ieee754_sqrt): Define as macro.
51726 (__ieee754_sqrtf): Define as macro.
51727 (__ieee754_sqrtl): Define as macro.
51728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51729 inlined copy.
51730 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51731 __FINITE_MATH_ONLY__ consistent.
51732 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51733
12cc2fcd
AS
517342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51735
a843a204
AS
51736 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51737 of rawmemchr.
51738
12cc2fcd
AS
51739 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51740
c853acd5
UD
517412011-10-09 Ulrich Drepper <drepper@gmail.com>
51742
51743 * po/ja.po: Update from translation team.
51744
c658d255
RM
517452011-10-08 Roland McGrath <roland@hack.frob.com>
51746
110946e4
RM
51747 * locale/programs/locarchive.c (prepare_address_space): New function.
51748 (create_archive, enlarge_archive, open_archive): Use it.
51749
50604220
RM
51750 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51751 inside [SHARED], where it is used.
51752
c658d255
RM
51753 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51754
51755 * nss/getent.c (netgroup_keys): Remove unused variable.
51756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51757
6a621eb7
UD
517582011-10-08 Ulrich Drepper <drepper@gmail.com>
51759
7edb55ce
UD
51760 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51761 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51763 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51764 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51765 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51766 * math/Makefile (libm-calls): Add s_isinf_ns.
51767 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51768 * math/multc3.c: Likewise.
51769 * math/s_casin.c: Likewise.
51770 * math/s_casinf.c: Likewise.
51771 * math/s_casinl.c: Likewise.
51772 * math/s_ccos.c: Likewise.
51773 * math/s_ccosf.c: Likewise.
51774 * math/s_ccosl.c: Likewise.
51775 * math/s_ctan.c: Likewise.
51776 * math/s_ctanf.c: Likewise.
51777 * math/s_ctanh.c: Likewise.
51778 * math/s_ctanhf.c: Likewise.
51779 * math/s_ctanhl.c: Likewise.
51780 * math/s_ctanl.c: Likewise.
51781 * math/w_fmod.c: Likewise.
51782 * math/w_fmodf.c: Likewise.
51783 * math/w_fmodl.c: Likewise.
51784 * math/w_remainder.c: Likewise.
51785 * math/w_remainderf.c: Likewise.
51786 * math/w_remainderl.c: Likewise.
51787 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51788 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51791 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51792 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51793 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51794 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51795
187da0ae
UD
51796 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51797 of the number.
51798 * stdio-common/printf_fphex.c: Likewise.
51799 * stdio-common/printf_size.c: Likewise.
51800
9277c064
UD
51801 * math/e_exp10.c: Include math_private.h using <...> not "...".
51802 * math/e_exp10f.c: Likewise.
51803 * math/e_exp10l.c: Likewise.
51804 * math/e_exp2l.c: Likewise.
51805 * math/e_j0l.c: Likewise.
51806 * math/e_j1l.c: Likewise.
51807 * math/e_jnl.c: Likewise.
51808 * math/e_lgammal_r.c: Likewise.
51809 * math/e_rem_pio2l.c: Likewise.
51810 * math/e_scalb.c: Likewise.
51811 * math/e_scalbf.c: Likewise.
51812 * math/e_scalbl.c: Likewise.
51813 * math/k_cosl.c: Likewise.
51814 * math/k_sinl.c: Likewise.
51815 * math/k_tanl.c: Likewise.
51816 * math/s_cacoshf.c: Likewise.
51817 * math/s_catan.c: Likewise.
51818 * math/s_catanf.c: Likewise.
51819 * math/s_catanh.c: Likewise.
51820 * math/s_catanhf.c: Likewise.
51821 * math/s_catanhl.c: Likewise.
51822 * math/s_catanl.c: Likewise.
51823 * math/s_ccosh.c: Likewise.
51824 * math/s_ccoshf.c: Likewise.
51825 * math/s_ccoshl.c: Likewise.
51826 * math/s_cexp.c: Likewise.
51827 * math/s_cexpf.c: Likewise.
51828 * math/s_cexpl.c: Likewise.
51829 * math/s_clog.c: Likewise.
51830 * math/s_clog10.c: Likewise.
51831 * math/s_clog10f.c: Likewise.
51832 * math/s_clog10l.c: Likewise.
51833 * math/s_clogf.c: Likewise.
51834 * math/s_clogl.c: Likewise.
51835 * math/s_csin.c: Likewise.
51836 * math/s_csinf.c: Likewise.
51837 * math/s_csinh.c: Likewise.
51838 * math/s_csinhf.c: Likewise.
51839 * math/s_csinhl.c: Likewise.
51840 * math/s_csinl.c: Likewise.
51841 * math/s_csqrt.c: Likewise.
51842 * math/s_csqrtf.c: Likewise.
51843 * math/s_csqrtl.c: Likewise.
51844 * math/s_ctan.c: Likewise.
51845 * math/s_ctanf.c: Likewise.
51846 * math/s_ctanh.c: Likewise.
51847 * math/s_ctanhf.c: Likewise.
51848 * math/s_ctanhl.c: Likewise.
51849 * math/s_ctanl.c: Likewise.
51850 * math/s_ldexp.c: Likewise.
51851 * math/s_ldexpf.c: Likewise.
51852 * math/s_ldexpl.c: Likewise.
51853 * math/s_significand.c: Likewise.
51854 * math/s_significandf.c: Likewise.
51855 * math/s_significandl.c: Likewise.
51856 * math/w_acos.c: Likewise.
51857 * math/w_acosf.c: Likewise.
51858 * math/w_acosh.c: Likewise.
51859 * math/w_acoshf.c: Likewise.
51860 * math/w_acoshl.c: Likewise.
51861 * math/w_acosl.c: Likewise.
51862 * math/w_asin.c: Likewise.
51863 * math/w_asinf.c: Likewise.
51864 * math/w_asinl.c: Likewise.
51865 * math/w_atan2.c: Likewise.
51866 * math/w_atan2f.c: Likewise.
51867 * math/w_atan2l.c: Likewise.
51868 * math/w_atanh.c: Likewise.
51869 * math/w_atanhf.c: Likewise.
51870 * math/w_atanhl.c: Likewise.
51871 * math/w_cosh.c: Likewise.
51872 * math/w_coshf.c: Likewise.
51873 * math/w_coshl.c: Likewise.
51874 * math/w_dremf.c: Likewise.
51875 * math/w_exp10.c: Likewise.
51876 * math/w_exp10f.c: Likewise.
51877 * math/w_exp10l.c: Likewise.
51878 * math/w_exp2.c: Likewise.
51879 * math/w_exp2f.c: Likewise.
51880 * math/w_fmod.c: Likewise.
51881 * math/w_fmodf.c: Likewise.
51882 * math/w_fmodl.c: Likewise.
51883 * math/w_hypot.c: Likewise.
51884 * math/w_hypotf.c: Likewise.
51885 * math/w_hypotl.c: Likewise.
51886 * math/w_j0.c: Likewise.
51887 * math/w_j0f.c: Likewise.
51888 * math/w_j0l.c: Likewise.
51889 * math/w_j1.c: Likewise.
51890 * math/w_j1f.c: Likewise.
51891 * math/w_j1l.c: Likewise.
51892 * math/w_jn.c: Likewise.
51893 * math/w_jnf.c: Likewise.
51894 * math/w_jnl.c: Likewise.
51895 * math/w_lgamma.c: Likewise.
51896 * math/w_lgamma_r.c: Likewise.
51897 * math/w_lgammaf.c: Likewise.
51898 * math/w_lgammaf_r.c: Likewise.
51899 * math/w_lgammal.c: Likewise.
51900 * math/w_lgammal_r.c: Likewise.
51901 * math/w_log.c: Likewise.
51902 * math/w_log10.c: Likewise.
51903 * math/w_log10f.c: Likewise.
51904 * math/w_log10l.c: Likewise.
51905 * math/w_log2.c: Likewise.
51906 * math/w_log2f.c: Likewise.
51907 * math/w_log2l.c: Likewise.
51908 * math/w_logf.c: Likewise.
51909 * math/w_logl.c: Likewise.
51910 * math/w_pow.c: Likewise.
51911 * math/w_powf.c: Likewise.
51912 * math/w_powl.c: Likewise.
51913 * math/w_remainder.c: Likewise.
51914 * math/w_remainderf.c: Likewise.
51915 * math/w_remainderl.c: Likewise.
51916 * math/w_scalb.c: Likewise.
51917 * math/w_scalbf.c: Likewise.
51918 * math/w_scalbl.c: Likewise.
51919 * math/w_sinh.c: Likewise.
51920 * math/w_sinhf.c: Likewise.
51921 * math/w_sinhl.c: Likewise.
51922 * math/w_sqrt.c: Likewise.
51923 * math/w_sqrtf.c: Likewise.
51924 * math/w_sqrtl.c: Likewise.
51925 * math/w_tgamma.c: Likewise.
51926 * math/w_tgammaf.c: Likewise.
51927 * math/w_tgammal.c: Likewise.
51928
6a621eb7
UD
51929 * po/ja.po: Update from translation team.
51930
bf582445
AJ
519312011-09-29 Andreas Jaeger <aj@suse.de>
51932
f9efbf3a
AJ
51933 [BZ #13179]
51934 * sunrpc/netname.c (netname2host): Fix logic.
51935
bf582445
AJ
51936 [BZ #6779]
51937 [BZ #6783]
51938 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51939 correctly.
51940 * math/w_remainder.c (__remainder): Likewise.
51941 * math/w_remainderf.c (__remainderf): Likewise.
51942 * math/libm-test.inc (remainder_test): Add test cases.
51943
48693bea
AK
519442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51945
51946 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51947 sdiv_qrnnd.
51948
42622229
LD
519492011-10-07 Ulrich Drepper <drepper@gmail.com>
51950
51951 * string/test-memcmp.c: Avoid unncessary #defines.
51952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51953
093ecf92
LD
519542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51955
51956 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51957 Use new sse2 version for core i3 - i7 as it's faster
51958 than sse42 version.
51959 (bit_Prefer_PMINUB_for_stringop): New.
51960 * sysdeps/x86_64/rawmemchr.S: Update.
51961 Replace with faster SSE2 version.
51962 * sysdeps/x86_64/memrchr.S: New file.
51963 * sysdeps/x86_64/memchr.S: Update.
51964 Replace with faster SSE2 version.
51965
fde56e5c
MP
519662011-09-12 Marek Polacek <mpolacek@redhat.com>
51967
51968 * elf/dl-load.c (lose): Add cast to avoid warning.
51969
21fd49a9
UD
519702011-10-07 Ulrich Drepper <drepper@gmail.com>
51971
5a06e643
UD
51972 * po/ca.po: Update from translation team.
51973
684ae515
UD
51974 * inet/getnetgrent_r.c: Hook up nscd.
51975 * nscd/Makefile (routines): Add nscd_netgroup.
51976 (nscd-modules): Add netgroupcache.
51977 (CFLAGS-netgroupcache.c): Define.
51978 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51979 (cache_search): Add const to second parameter.
51980 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51981 INNETGR.
51982 (dbs): Add netgrdb entry.
51983 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51984 (verify_persistent_db): Handle netgrdb.
51985 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51986 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51987 GETFDNETGR.
51988 (netgroup_response_header): Define.
51989 (innetgroup_response_header): Define.
51990 (datahead): Add netgroup_response_header and innetgroup_response_header
51991 elements.
51992 * nscd/nscd.conf: Add entries for netgroup cache.
51993 * nscd/nscd.h (dbtype): Add netgrdb.
51994 (_PATH_NSCD_NETGROUP_DB): Define.
51995 (netgroup_iov_disabled): Declare.
51996 (xmalloc, xcalloc, xrealloc): Move declarations here.
51997 (cache_search): Adjust prototype.
51998 Add netgroup-related prototypes.
51999 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52000 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52001 (__nscd_innetgr): Declare.
52002 * nscd/selinux.c (perms): Use access_vector_t as element type and
52003 add netgroup-related initializers.
52004 * nscd/netgroupcache.c: New file.
52005 * nscd/nscd_netgroup.c: New file.
52006 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52007 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52008 For four parameters use innetgr.
52009 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52010 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52011 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52012 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52013
21fd49a9
UD
52014 * nscd/connections.c (register_traced_file): Don't register file
52015 for disabled databases.
52016
054c0457
UD
520172011-10-06 Ulrich Drepper <drepper@gmail.com>
52018
32b63198
UD
52019 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52020
054c0457
UD
52021 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52022 from tree and freeing node.
52023
64031225
JO
520242011-09-25 Jiri Olsa <jolsa@redhat.com>
52025
52026 * nss/nsswitch.c (__nss_database_lookup): Handle
52027 nss_parse_service_list out of memory case.
52028
0490345c
JO
520292011-09-15 Jiri Olsa <jolsa@redhat.com>
52030
52031 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52032 out of memory case.
52033
3a62d00d
AS
520342011-10-04 Andreas Schwab <schwab@redhat.com>
52035
52036 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52037 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52038 pass it down.
52039 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52040 elf_machine_rela, elf_machine_lazy_rel.
52041 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52042 (ELF_DYNAMIC_DO_REL): Likewise.
52043 (ELF_DYNAMIC_DO_RELA): Likewise.
52044 (ELF_DYNAMIC_RELOCATE): Likewise.
52045 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52046 to ELF_DYNAMIC_DO_REL.
52047 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52048 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52049 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52050 elf_machine_rela.
52051 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52052 skip_ifunc, don't call ifunc function if non-zero.
52053 (elf_machine_rela): Likewise.
52054 (elf_machine_lazy_rel): Likewise.
52055 (elf_machine_lazy_rela): Likewise.
52056 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52057 (elf_machine_lazy_rel): Likewise.
52058 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52059 Likewise.
52060 (elf_machine_lazy_rel): Likewise.
52061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52062 Likewise.
52063 (elf_machine_lazy_rel): Likewise.
52064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52065 (elf_machine_lazy_rel): Likewise.
52066 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52067 (elf_machine_lazy_rel): Likewise.
52068 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52069 (elf_machine_lazy_rel): Likewise.
52070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52071 (elf_machine_lazy_rel): Likewise.
52072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52073 (elf_machine_lazy_rel): Likewise.
52074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52075 (elf_machine_lazy_rel): Likewise.
52076
68577918
UD
520772011-09-28 Ulrich Drepper <drepper@gmail.com>
52078
52079 * nss/nss_files/files-init.c (_nss_files_init): Use static
52080 initialization for all the *_traced_file variables.
52081
68822d74
AS
520822011-09-28 Andreas Schwab <schwab@redhat.com>
52083
52084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52085
2056100b
RM
520862011-09-27 Roland McGrath <roland@hack.frob.com>
52087
52088 [BZ #13226]
52089 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52090
32c76b63
AS
520912011-09-27 Andreas Schwab <schwab@redhat.com>
52092
52093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52094 Reread the line before reparsing it.
52095
bf972c9d
AS
520962011-09-26 Andreas Schwab <schwab@redhat.com>
52097
52098 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52099
e057a1b5
JM
521002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52101 Maxim Kuvyrkov <maxim@codesourcery.com>
52102 Joseph Myers <joseph@codesourcery.com>
52103
52104 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52105 if needed for __stack_chk_guard.
52106
bc7e1c36
RM
521072011-09-19 Roland McGrath <roland@hack.frob.com>
52108
ecb1482f
RM
52109 * sysdeps/posix/spawni.c (script_execute): Always define it.
52110 It will be optimized away if unused.
52111 (maybe_script_execute): New function.
52112 (__spawni): Call it.
52113
bc7e1c36
RM
52114 * Makerules: Don't include tls.make.
52115 (config-tls): Always set to thread.
52116 * tls.make.c: File removed.
52117
1c3b002b
MF
521182011-09-19 Mike Frysinger <vapier@gentoo.org>
52119
52120 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52121 * config.make.in (CPPFLAGS-config): New substituted variable.
52122
2840865d
UD
521232011-09-15 Ulrich Drepper <drepper@gmail.com>
52124
88738eb6
UD
52125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52126
cbf645a6 52127 [BZ #13192]
2840865d
UD
52128 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52129 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52130
b402e91a
RM
521312011-09-15 Roland McGrath <roland@hack.frob.com>
52132
52133 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52134 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52136 (CALL_FAIL): Likewise.
52137 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52138 (CALL_FAIL): Macro removed.
52139 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52140
4c1a1f71
UD
521412011-09-15 Ulrich Drepper <drepper@gmail.com>
52142
52143 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52144 for __FINITE_MATH_ONLY__ == 1.
52145
edc121be
AS
521462011-09-15 Andreas Schwab <schwab@redhat.com>
52147
52148 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52149 __ieee754_sqrt instead of sqrt.
52150 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52151 __ieee754_sqrtf instead of sqrtf.
52152 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52153 __floorf instead of floorf.
52154 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52155 __floorf, __truncf instead of floorf, truncf.
52156
cd205654
UD
521572011-09-14 Ulrich Drepper <drepper@gmail.com>
52158
ee4d0315
UD
52159 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52160
cd205654
UD
52161 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52162 __extern_always_inline.
52163 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52164 32-bit.
52165
48b67d71
AS
521662011-09-14 Andreas Schwab <schwab@redhat.com>
52167
52168 * elf/rtld.c (dl_main): Also relocate in dependency order when
52169 doing symbol dependency testing.
52170
1ae12c75
AS
521712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52172
52173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52174 Always define `refsym'.
52175
995a80df
AS
521762011-09-13 Andreas Schwab <schwab@redhat.com>
52177
e529793b
AS
52178 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52179 (__FD_ELT): Renamed from __FDELT.
52180 * misc/bits/select2.h (__FD_ELT): Likewise.
52181 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52182 __FD_MASK instead of __FDELT, __FDMASK.
52183 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52184 Likewise.
52185 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52186 Likewise.
52187
52d4fef8
AS
52188 * elf/Makefile (gen-ldd): Fix pattern.
52189
995a80df
AS
52190 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52191 (init_tls): Likewise.
52192
8682f8b0
UD
521932011-09-12 Ulrich Drepper <drepper@gmail.com>
52194
52195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52196
de82006d
AS
521972011-09-12 Andreas Schwab <schwab@redhat.com>
52198
a7c8e6a1
AS
52199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52200 `struct cmsghdr *' instead of `void *'.
52201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52202 Likewise.
52203
0f31fe77
AS
522042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52205
52206 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52207 if non-absolute.
52208 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52209 ldd_rewrite_script.
0f31fe77 52210
32b4c839
UD
522112011-09-11 Ulrich Drepper <drepper@gmail.com>
52212
83cd1420
UD
52213 * configure.in: Remove --with-tls option.
52214 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52215 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52216 out in case it is missing.
52217 * sysdeps/ia64/elf/configure.in: Likewise.
52218 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52219 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52220 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52221 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52222 * sysdeps/sh/elf/configure.in: Likewise.
52223 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52224 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52225 * sysdeps/x86_64/elf/configure.in: Likewise.
52226 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52227 * sysdeps/mach/hurd/tls.h: Likewise.
52228
633f745d
UD
52229 [BZ #13067]
52230 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52231
f318beb8
UD
52232 [BZ #13090]
52233 * configure.in: Fix use of AC_INIT.
52234
32b4c839
UD
52235 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52236
3ce1f295
UD
522372011-09-10 Ulrich Drepper <drepper@gmail.com>
52238
bb016596
UD
52239 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52240 __set_errno.
8e58439c
UD
52241 * malloc/hooks.c: Likewise.
52242
aebae053 52243 [BZ #11929]
02d46fc4
UD
52244 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52245 variables statically.
52246 (narenas): Initialize.
52247 (list_lock): Initialize.
bb016596
UD
52248 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52249 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52250 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52251 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52252 Add initializers to main_arena and mp_.
52253 (malloc_state): Remove pagesize member. Change all users to use
52254 GLRO(dl_pagesize).
52255
52256 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52257 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52258 is always initialized.
52259
22a89187
UD
52260 * malloc/malloc.c: Removed unused configurations and dead code.
52261 * malloc/arena.c: Likewise.
52262 * malloc/hooks.c: Likewise.
02d46fc4 52263 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52264
d063d164
UD
52265 * include/tls.h: Removed. USE___THREAD must always be defined.
52266 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52267 * elf/dl-libc.c: Likewise.
52268 * elf/dl-tsd.c: Likewise.
52269 * include/errno.h: Likewise.
52270 * include/netdb.h: Likewise.
52271 * include/resolv.h: Likewise.
52272 * inet/herrno-loc.c: Likewise.
52273 * inet/herrno.c: Likewise.
52274 * malloc/arena.c: Likewise.
52275 * malloc/hooks.c: Likewise.
52276 * malloc/malloc.c: Likewise.
52277 * resolv/res-state.c: Likewise.
52278 * resolv/res_libc.c: Likewise.
52279 * sysdeps/i386/dl-machine.h: Likewise.
52280 * sysdeps/ia64/dl-machine.h: Likewise.
52281 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52282 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52283 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52284 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52285 * sysdeps/sh/dl-machine.h: Likewise.
52286 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52287 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52288 * sysdeps/unix/i386/sysdep.S: Likewise.
52289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52290 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52295 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52299 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52300 * sysdeps/x86_64/dl-machine.h: Likewise.
52301 * tls.make.c: Likewise.
52302
3ce1f295
UD
52303 * configure.in: Remove --with-__thread option. Make tests for
52304 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52305 tls_model attribute fail if no support is available. Remove
52306 USE_IN_LIBIO.
52307 * Makeconfig: Adjust for dropped configure option. All features are
52308 now mandatory.
52309 * Makerules: Likewise.
52310 * Versions.def: Likewise.
52311 * argp/argp-fmtstream.c: Likewise.
52312 * argp/argp-fmtstream.h: Likewise.
52313 * argp/argp-help.c: Likewise.
52314 * assert/assert.c: Likewise.
52315 * config.h.in: Likewise.
52316 * config.make.in: Likewise.
52317 * configure: Likewise.
52318 * configure.in: Likewise.
52319 * csu/Versions: Likewise.
52320 * csu/init.c: Likewise.
52321 * elf/tst-audit2.c: Likewise.
52322 * elf/tst-tls10.c: Likewise.
52323 * elf/tst-tls10.h: Likewise.
52324 * elf/tst-tls11.c: Likewise.
52325 * elf/tst-tls12.c: Likewise.
52326 * elf/tst-tls14.c: Likewise.
52327 * elf/tst-tlsmod11.c: Likewise.
52328 * elf/tst-tlsmod12.c: Likewise.
52329 * elf/tst-tlsmod13.c: Likewise.
52330 * elf/tst-tlsmod13a.c: Likewise.
52331 * elf/tst-tlsmod14a.c: Likewise.
52332 * elf/tst-tlsmod15b.c: Likewise.
52333 * elf/tst-tlsmod16a.c: Likewise.
52334 * elf/tst-tlsmod16b.c: Likewise.
52335 * elf/tst-tlsmod7.c: Likewise.
52336 * elf/tst-tlsmod8.c: Likewise.
52337 * elf/tst-tlsmod9.c: Likewise.
52338 * gmon/gmon.c: Likewise.
52339 * grp/fgetgrent_r.c: Likewise.
52340 * grp/putgrent.c: Likewise.
52341 * hurd/fopenport.c: Likewise.
52342 * include/libc-symbols.h: Likewise.
52343 * include/tls.h: Likewise.
52344 * intl/gettextP.h: Likewise.
52345 * intl/loadinfo.h: Likewise.
52346 * locale/global-locale.c: Likewise.
52347 * locale/localeinfo.h: Likewise.
52348 * mach/devstream.c: Likewise.
52349 * malloc/arena.c: Likewise.
52350 * malloc/set-freeres.c: Likewise.
52351 * misc/err.c: Likewise.
52352 * misc/getttyent.c: Likewise.
52353 * misc/mntent_r.c: Likewise.
52354 * posix/getopt.c: Likewise.
52355 * posix/wordexp.c: Likewise.
52356 * pwd/fgetpwent_r.c: Likewise.
52357 * resolv/Versions: Likewise.
52358 * resolv/res_hconf.c: Likewise.
52359 * shadow/fgetspent_r.c: Likewise.
52360 * shadow/putspent.c: Likewise.
52361 * stdio-common/printf_fphex.c: Likewise.
52362 * stdio-common/tmpfile.c: Likewise.
52363 * stdlib/abort.c: Likewise.
52364 * stdlib/fmtmsg.c: Likewise.
52365 * sunrpc/auth_unix.c: Likewise.
52366 * sunrpc/clnt_perr.c: Likewise.
52367 * sunrpc/clnt_tcp.c: Likewise.
52368 * sunrpc/clnt_udp.c: Likewise.
52369 * sunrpc/clnt_unix.c: Likewise.
52370 * sunrpc/openchild.c: Likewise.
52371 * sunrpc/svc_simple.c: Likewise.
52372 * sunrpc/svc_tcp.c: Likewise.
52373 * sunrpc/svc_udp.c: Likewise.
52374 * sunrpc/svc_unix.c: Likewise.
52375 * sunrpc/xdr.c: Likewise.
52376 * sunrpc/xdr_array.c: Likewise.
52377 * sunrpc/xdr_rec.c: Likewise.
52378 * sunrpc/xdr_ref.c: Likewise.
52379 * sunrpc/xdr_stdio.c: Likewise.
52380
1248c1c4
PB
523812011-09-09 Ulrich Drepper <drepper@gmail.com>
52382
52383 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52384
523852011-07-03 Andreas Jaeger <aj@suse.de>
52386
52387 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52388 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52389 regenerate with gen-libm-tests.pl.
52390
523912010-05-12 Petr Baudis <pasky@suse.cz>
52392
52393 [BZ #11589]
52394 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52395 around j0() zero points by switching to j1().
52396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52400
f22e1074
UD
524012011-09-09 Ulrich Drepper <drepper@gmail.com>
52402
f19009c1
UD
52403 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52404 instead of 0.
52405 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52406 instead of 0.
f19009c1
UD
52407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52408 Patch in part by Pavel Roskin <proski@gnu.org>.
52409
3f8cc204
UD
52410 [BZ #13138]
52411 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52412 realloc.
52413 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52414 Free memory block if necessary.
52415
f22e1074
UD
52416 [BZ #12847]
52417 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52418 be NULL. Don't lock in this case.
52419
0a2349f9
RM
524202011-09-09 Roland McGrath <roland@hack.frob.com>
52421
52422 * elf/elf.h (ELFOSABI_GNU): New macro.
52423 (ELFOSABI_LINUX): Define to that.
52424
f3cdd467
DZ
524252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52426
52427 * string/strncat.c (strncat): Undef the symbol in case it has been
52428 defined in bits/string.h.
52429
74718d13
UD
524302011-09-09 Ulrich Drepper <drepper@gmail.com>
52431
633e9e0f
UD
52432 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52433
0a2349f9 52434 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52435 link map.
52436
f9924780
AJ
524372011-08-17 Andreas Jaeger <aj@suse.de>
52438
52439 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52440
7f5517aa
PP
524412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52442 Ian Lance Taylor <iant@google.com>
52443
52444 * math/libm-test.inc (lround_test): New testcase.
52445 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52446
762011fe
UD
524472011-09-08 Ulrich Drepper <drepper@gmail.com>
52448
92963737
UD
52449 * Makefile: Remove support for automatic cvs check-ins.
52450 * Makerules: Likewise.
52451 * config.make.in: Likewise.
52452 * configure.in: Likewise.
52453 * intl/Makefile: Likewise.
52454 * locale/Makefile: Likewise.
52455 * po/Makefile: Likewise.
52456 * posix/Makefile: Likewise.
52457 * sysdeps/gnu/Makefile: Likewise.
52458 * sysdeps/mach/hurd/Makefile: Likewise.
52459 * sysdeps/sparc/sparc32/Makefile: Likewise.
52460
b0727fd8
JS
52461 [BZ #13118]
52462 * posix/Makefile (bug-regex32-ENV): Define.
52463 Patch by John Stanley <jpsinthemix@verizon.net>.
52464
a0f33f99
UD
52465 * misc/Makefile (headers): Add bits/select2.h.
52466 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52467 * misc/bits/select2.h: New file.
52468 * include/bits/select2.h: New file.
52469 * debug/Makefile (routines): Add fdelt_chk.
52470 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52471 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52472 FD_ISSET.
52473 * debug/fdelt_chk.c: New file.
52474
762011fe
UD
52475 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52476 * wcsmbs/test-wmemcmp.c: Likewise.
52477 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52478 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52479
524802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52481
52482 * string/Makefile (strop-tests): Add memcmp.
52483 * string/test-wmemcmp.c: New file.
52484 * string/test-memcmp.c: Add wmemcmp support.
52485
7f513ec8
RM
524862011-09-08 Roland McGrath <roland@hack.frob.com>
52487
0442afb4
RM
52488 [BZ #13153]
52489 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52490 2011-07-19 change.
52491
7f513ec8
RM
52492 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52493 garbage value in a __mach_port_mod_refs call in the cases of the
52494 task-self and thread-self ports.
52495
a12b2239
ST
524962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52497
52498 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52499
610f9ab4
AS
525002011-09-08 Andreas Schwab <schwab@redhat.com>
52501
7f513ec8 52502 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52503
48882a1a
LD
525042011-09-07 Ulrich Drepper <drepper@gmail.com>
52505
b49865be
UD
52506 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52507
fdc86bc9
UD
52508 * elf/dl-libc.c (dlerror_run): Pass back error code from
52509 dl_catch_error.
52510
c966526a
UD
52511 [BZ #13123]
52512 * elf/dl-load.c (lose): Free l_origin if it is valid.
52513
48882a1a
LD
52514 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52515 names.
52516 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52517 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52521 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52522
77a2a8b4
AZ
525232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52524
52525 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52526 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52529 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52530 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52531 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52532 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52533 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52534 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52535
24f579d8
AM
525362011-08-15 Alan Modra <amodra@gmail.com>
52537
52538 [BZ #13092]
52539 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52540 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52541 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52542 ppc_mcount to static-only-routines.
52543 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52544 __mcount_internal.
52545 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52546 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52547
3d4837df
UD
525482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52549
52550 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52551 for finite and infinity parameters.
52552
22700377
WS
525532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52554
52555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52556 and add nop instructions for throughput optimization.
52557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52558
5025581e
WS
525592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52560
52561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52562 aligned copy for power7 with vector-scalar instructions.
52563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52564
08a300c9
L
525652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52566
52567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52568 AVX check.
52569
59178ef9
AS
525702011-09-07 Andreas Schwab <schwab@redhat.com>
52571
52572 [BZ #13144]
52573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52574 last change.
52575
e38ba7ab
UD
525762011-09-07 Ulrich Drepper <drepper@gmail.com>
52577
52578 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52579 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52580 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52581 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52582 clock_gettime.
52583
d53a73ac
UD
525842011-09-06 Ulrich Drepper <drepper@gmail.com>
52585
fc8bffcc
UD
52586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52587 Forgot to demangle the pointer.
52588
ceaa0c5d
UD
52589 * sysdeps/i386/sysdep.h: Define atom_text_section.
52590 * sysdeps/x86_64/sysdep.h: Likewise.
52591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52592 section with atom_text_section.
52593 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52594 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52595 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52598
a77d3c17
UD
52599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52600 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52601 already be defined. Change to take two parameters and don't assign
52602 result to variable. Adjust all users.
52603 Define INTERNAL_GETTIME if not already defined.
52604 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52605 call.
52606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52607 HAVE_CLOCK_GETTIME_VSYSCALL.
52608 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52609
d53a73ac
UD
52610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52611 gettimeofday vsyscall, just use time.
52612
a8f84144
AS
526132011-09-06 Andreas Schwab <schwab@redhat.com>
52614
52615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52616 <errno.h>.
52617
ef606249
UD
526182011-09-06 Ulrich Drepper <drepper@gmail.com>
52619
52620 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52621 syscall on x86-64.
52622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52623 syscall.
52624 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52626 syscall if possible.
52627
6585cb60
UD
526282011-09-05 Ulrich Drepper <drepper@gmail.com>
52629
52630 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52631 e_ident. Don't pass to find_mapsXX.
52632 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52633
a5f524e4
LD
526342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52635
52636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52637 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52638 * sysdeps/x86_64/multiarch/strchr.S: Update.
52639 Check bit_slow_BSF bit.
52640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52641 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52642 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52643
554881ef
UD
526442011-09-05 Ulrich Drepper <drepper@gmail.com>
52645
d96de963
UD
52646 [BZ #13134]
52647 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52648 before glibc 2.15.
52649 (tryshell): Define.
52650 (__spawni): Change last parameter to be flag. Test
52651 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52652 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52653 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52654 * posix/spawni.c: Likewise.
52655 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52656 * posix/spawnp.c: Likewise. Change normal version to use
52657 SPAWN_XFLAGS_USE_PATH.
52658 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52659 SPAWN_XFLAGS_TRY_SHELL.
52660
d48e5868
UD
52661 [BZ #13150]
52662 * posix/glob.h: Remove gcc 1.x support.
52663
554881ef
UD
52664 [BZ #13068]
52665 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52666
693fb948
LD
526672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52668
52669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52670 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52671 strrchr-sse2-bsf
52672 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52673 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52676 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52678
1b48c537
UD
526792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52680
49d42c37
UD
52681 * sysdeps/x86_64/wcscmp.S: New file.
52682
1b48c537
UD
52683 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52684 wcscmp-c wcscmp-sse2
52685 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52686 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52687 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52688 * wcsmbs/wcscmp.c: Allow renaming.
52689
15c95c5d
DM
526902011-09-05 David S. Miller <davem@davemloft.net>
52691
52692 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52693 stack slot, rather than the struct return pointer slot.
52694 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52695 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52697 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52698
2f0ad8f3
UD
526992011-09-05 Ulrich Drepper <drepper@gmail.com>
52700
d88ae418
UD
52701 * po/ja.po: Update from translation team.
52702
2f0ad8f3
UD
52703 [BZ #13144]
52704 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52705 kernel in 64-bit binaries.
52706
5f4318d1
DM
527072011-09-01 David S. Miller <davem@davemloft.net>
52708
52709 * elf/elf.h (HWCAP_SPARC_*): Move to..
52710 * sysdeps/sparc/sysdep.h: this new file and add new values.
52711 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52712 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52713 _DL_HWCAP_COUNT to 24.
52714 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52715 entries.
52716 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52717 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52718 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52720 instead of magic constants.
52721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52722
3ba57516
DM
527232011-08-31 David S. Miller <davem@davemloft.net>
52724
52725 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52727 Reimplement to do errno handling inline.
52728 (SYSCALL_ERROR_HANDLER): New macro.
52729 (__SYSCALL_STRING): Do not do errno handling in asm.
52730 (__CLONE_SYSCALL_STRING): Delete.
52731 (__INTERNAL_SYSCALL_STRING): Delete.
52732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52733 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52734 (PSEUDO): Reimplement to do errno handling inline.
52735 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52736 (SYSCALL_ERROR_HANDLER): New macro.
52737 (__SYSCALL_STRING): Do not do errno handling in asm.
52738 (__CLONE_SYSCALL_STRING): Delete.
52739 (__INTERNAL_SYSCALL_STRING): Delete.
52740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52741 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52742 i386.
52743 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52744 (inline_syscall*): Add 'err' argument.
52745 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52746 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52747 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52748 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52749
52750 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52751 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52752
2bc17433
AS
527532011-08-30 Andreas Schwab <schwab@redhat.com>
52754
52755 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52756
fbeb5f4d
JO
527572011-08-29 Jiri Olsa <jolsa@redhat.com>
52758
52759 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52760 directive.
52761
ad69cc26
DM
527622011-08-24 David S. Miller <davem@davemloft.net>
52763
52764 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52765
39dd69df
AS
527662011-08-24 Andreas Schwab <schwab@redhat.com>
52767
52768 * elf/Makefile: Add rules to build and run unload8 test.
52769 * elf/unload8.c: New file.
52770 * elf/unload8mod1.c: New file.
52771 * elf/unload8mod1x.c: New file.
52772 * elf/unload8mod2.c: New file.
52773 * elf/unload8mod3.c: New file.
52774
52775 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52776 it wasn't used.
52777
2c0b250a
DM
527782011-08-23 David S. Miller <davem@davemloft.net>
52779
52780 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52781 subtract stack bias.
52782 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52783 %sp not %fp in calculations.
52784 (_JMPBUF_UNWINDS_ADJ): Likewise.
52785
22044b48
DM
52786 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52787 (aio_suspend): Call it to force an exception region around the
52788 AIO_MISC_WAIT() invocation.
52789
2cae4995
AS
527902011-08-23 Andreas Schwab <schwab@redhat.com>
52791
52792 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52793 backslash.
52794
873a772e
AJ
527952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52796
52797 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52798 protection macro.
52799 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52800 and <dl-machine.h>.
52801 (Elf64_FuncDesc): Remove.
52802
25ad0df1
DM
528032011-08-22 David S. Miller <davem@davemloft.net>
52804
52805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52806 sigaltstack check, add missing cfi directives.
52807 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52808 missing cfi directives, and sigaltstack handling.
52809
e888bcbe
AS
528102011-08-16 Andreas Schwab <schwab@redhat.com>
52811
52812 [BZ #11724]
52813 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52814 object is seen twice.
52815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52816
52817 * elf/Makefile (distribute): Add tst-initorder2.c.
52818 (tests): Add tst-initorder2.
52819 (modules-names): Add tst-initorder2a tst-initorder2b
52820 tst-initorder2c tst-initorder2d. Add rules to build them.
52821 ($(objpfx)tst-initorder2.out): New rule.
52822 * elf/tst-initorder2.c: New file.
52823 * elf/tst-initorder2.exp: New file.
52824
87162f46
AS
528252011-08-22 Andreas Schwab <schwab@redhat.com>
52826
70538b7f
AS
52827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52828
f55ffe58
AS
52829 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52830 dependencies back to end of function.
52831
87162f46
AS
52832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52833 $(elfobjdir)/ld.so.
52834
91b392a4
UD
528352011-08-21 Ulrich Drepper <drepper@gmail.com>
52836
52837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52838 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52840 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52841 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52842 of __vdso_gettimeofday.
52843 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52844 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52845 attribute_hidden.
52846 (_libc_vdso_platform_setup): Remove initialization of
52847 __vdso_gettimeofday and __vdso_time.
52848
5c43483f
UD
528492011-08-20 Ulrich Drepper <drepper@gmail.com>
52850
775a77e7
UD
52851 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52852 and fgetc_unlocked.
52853 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52854 getc_unlocked.
89f447ed 52855
49c74ba9
UD
52856 * elf/dl-open.c (add_to_global): Report additions to the global scope
52857 for LD_DEBUG=scopes.
52858 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52859 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52860
5c43483f
UD
52861 [BZ #13114]
52862 * stdio-common/Makefile (tests): Add bug24.
52863 * stdio-common/bug24.c: New file.
52864
a101b025
AJ
528652011-08-19 Andreas Jaeger <aj@suse.de>
52866
52867 [BZ #13114]
52868 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52869 non-existant file when using close-on-exec mode.
52870
c88f1766
UD
528712011-08-20 Ulrich Drepper <drepper@gmail.com>
52872
0276a718
UD
52873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52874 the very first instruction.
52875
c88f1766
UD
52876 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52877 the CFI state in the end.
52878 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52879 inclusion of dl-trampoline.h.
52880 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52881
51ccffa0
AS
528822011-08-19 Andreas Schwab <schwab@redhat.com>
52883
94d7165f
AS
52884 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52885 expectations for long double.
52886
51ccffa0
AS
52887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52888 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52889
fd708658 528902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52891
52892 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52893 artificual limit depends upon the system page size.
52894
44f0a71e
UD
528952011-08-17 Ulrich Drepper <drepper@gmail.com>
52896
52897 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52898 * resolv/Makefile: Define CFLAGS-libresolv.
52899
8de79a24
AS
529002011-08-17 Andreas Schwab <schwab@redhat.com>
52901
52902 * nss/makedb.c (compute_tables): Make variables used in nested
52903 function static.
52904
27724598
UD
529052011-08-17 Ulrich Drepper <drepper@gmail.com>
52906
c5305d88
UD
52907 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52908 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52909 if buffer was too small.
52910
27724598
UD
52911 * elf/pldd.c (main): Attach to all threads in the process.
52912 Rewrite /proc handling to use *at functions.
52913
076fe015
UD
529142011-08-16 Ulrich Drepper <drepper@gmail.com>
52915
174baab3
UD
52916 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52917 specifies first scope to show.
52918 (dl_open_worker): Update callers. Move printing scope of new
52919 object to before the relocation.
44f0a71e 52920 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52921 * sysdeps/generic/ldsodefs.h: Update declaration.
52922
076fe015
UD
52923 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52924 string for the scope number.
52925
a60df2c3
UD
529262011-08-14 Ulrich Drepper <drepper@gmail.com>
52927
52928 * nscd/servicescache.c (cache_addserv): Make sure written is always
52929 initialized.
52930
5e4287d1
RM
529312011-08-14 Roland McGrath <roland@hack.frob.com>
52932
85ae0589
RM
52933 * sysdeps/i386/i486/bits/atomic.h
52934 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52935 statement expression, so as to suppress "set but not used" warning.
52936 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52937
69f63097
RM
52938 * string/strncat.c (STRNCAT): Use prototype definition.
52939
675456ef
RM
52940 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52941 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52942 -Iprograms here.
52943 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52944 (localedef-modules): Add localedef.
52945 (locale-modules): Add locale.
52946
5e4287d1
RM
52947 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52948 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52949 to avoid a warning.
52950
9c96ff23
DM
529512011-08-14 David S. Miller <davem@davemloft.net>
52952
52953 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52954 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52955
f9ddf089
UD
529562011-08-13 Ulrich Drepper <drepper@gmail.com>
52957
44f0a71e 52958 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52959 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52960 * elf/rtld.c (dl_main): Set l_name of vDSO.
52961 Call _dl_show_scope when DL_DEBUG_SCOPES.
52962 (process_dl_debug): Recognize scopes flag and also set it for all.
52963 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52964 Declare _dl_show_scope.
52965
1dc27704
UD
52966 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52967 (do_dlopen): Pass caller_dlopen to dl_open.
52968 (__libc_dlopen_mode): Initialize caller_dlopen.
52969
f9ddf089
UD
52970 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52971 of libc. Make tolower call locale-independent. Optimize a bit by
52972 using isdigit instead of isalnum.
52973 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52974
9ac533d3
UD
529752011-08-12 Ulrich Drepper <drepper@gmail.com>
52976
52977 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52978 was a dependency or dynamically loaded.
52979
89edf2e9
UD
529802011-08-11 Ulrich Drepper <drepper@gmail.com>
52981
8e999d29
UD
52982 * intl/l10nflist.c: Allow architecture-specific pop function.
52983 * sysdeps/x86_64/l10nflist.c: New file.
52984
89edf2e9
UD
52985 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52986 classification.
52987
14d96785
AS
529882011-08-10 Andreas Schwab <schwab@redhat.com>
52989
52990 * include/dirent.h: Add libc_hidden_proto for scandirat and
52991 scandirat64. Don't declare __scandirat64.
52992 * dirent/scandirat.c: Add libc_hidden_def.
52993 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52994 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52995
6761ac04
DM
529962011-08-10 David S. Miller <davem@davemloft.net>
52997
52998 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52999 enum.
53000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53002 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53003
c55fbd1e
UD
530042011-08-09 Ulrich Drepper <drepper@gmail.com>
53005
53006 * Versions.def [libc]: Add GLIBC_2.15.
53007 * dirent/Makefile (routines): Add scandirat and scandirat64.
53008 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53009 GLIBC_2.15.
53010 * dirent/dirent.h: Declare scandirat and scandirat64.
53011 * dirent/scandirat.c: New file.
53012 * dirent/scandirat64.c: New file.
53013 * sysdeps/wordsize-64/scandirat.c: New file.
53014 * sysdeps/wordsize-64/scandirat64.c: New file.
53015 * dirent/opendir.c: Define opendirat.
53016 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53017 using scandirat.
53018 * dirent/scandir64.c: Adjust for scandir.c change.
53019 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53020 __scandirat64, and __scandir_cancel_handler.
53021 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53022 additional parameter and use openat instead of open (outside of ld.so).
53023 Add new __opendir as wrapper around __opendirat.
53024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53025 here without requiring old scandirat implementation.
53026
879165f2
UD
530272011-08-08 Ulrich Drepper <drepper@gmail.com>
53028
53029 * dirent/scandir.c (cancel_handler): Renamed to
53030 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53031 defined. Adjust users.
53032 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53034
cb7e923b
UD
530352011-08-04 Ulrich Drepper <drepper@gmail.com>
53036
16292edd
UD
53037 * string/test-string.h (IMPL): Use __STRING to expand name and then
53038 stringify it.
53039
cb7e923b
UD
53040 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53041 of cleanups.
53042
cff82933
LD
530432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53044
53045 * string/Makefile: Update.
53046 (strop-tests): Append strncat.
53047 * string/test-wcscmp.c: New file.
53048 New comprehensive test for wcscmp.
53049 * string/test-strcmp.c: Update.
53050 (WIDE): New define.
53051
9be9bfcc
AS
530522011-07-22 Andreas Schwab <schwab@redhat.com>
53053
53054 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53055 line.
53056
2e96f1c7
AS
530572011-07-26 Andreas Schwab <schwab@redhat.com>
53058
53059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53060 encoding to ACE if AI_IDN.
53061
85188888
JJ
530622011-08-01 Jakub Jelinek <jakub@redhat.com>
53063
53064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53065 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53066
5fa16e9b
LD
530672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53068
53069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53070 Fix overflow bug in strncat.
53071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53072
53073 * string/test-strncat.c: Update.
53074 Add new tests for checking overflow bugs.
53075
530762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53077
53078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53079 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53080 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53081 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53083 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53084 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53085 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53086 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53087
53088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53089 (USE_AS_STRCAT): Define.
53090 Add strcat and strncat support.
53091 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53092
8c1a459f
AS
530932011-07-25 Andreas Schwab <schwab@redhat.com>
53094
53095 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53096 __n bigger than INT_MAX+1.
53097 (__strncmp_g): Likewise.
53098
bba33c28
UD
530992011-07-23 Ulrich Drepper <drepper@gmail.com>
53100
798be72d
UD
53101 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53102 * libio/stido.h: Likewise.
53103
8accd4dc
UD
53104 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53105 (AF_NFC): Define.
53106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53107 (AF_NFC): Define.
53108
cbff0d96
UD
53109 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53110 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53112 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53114
9191c04a
UD
53115 [BZ #13021]
53116 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53117 installed.
53118
bba33c28
UD
53119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53120 typo.
53121 (_dl_x86_64_save_sse): Likewise.
53122
90f139dd
UD
531232011-07-22 Ulrich Drepper <drepper@gmail.com>
53124
1aae088a
UD
53125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53126 OSXSAVE.
53127 (_dl_x86_64_save_sse): Likewise.
53128
8e2045f5
UD
53129 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53130
90f139dd
UD
53131 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53132
1d002f25
AS
531332011-07-21 Andreas Schwab <schwab@redhat.com>
53134
53135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53136 change.
53137 (_dl_x86_64_save_sse): Use correct AVX check.
53138
21137f89
UD
531392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53140
53141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53142 bug in strncpy/strncat.
53143 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53144
a65c0b7a
UD
531452011-07-21 Ulrich Drepper <drepper@gmail.com>
53146
53147 * string/tester.c (test_strcat): Add tests for different alignments
53148 of source and destination.
53149 (test_strncat): Likewise.
53150
6986b98a
UD
531512011-07-20 Ulrich Drepper <drepper@gmail.com>
53152
90bb2039
UD
53153 [BZ #12852]
53154 * posix/glob.c (glob): Check passed in values before using them in
53155 expressions to avoid some overflows.
53156 (glob_in_dir): Likewise.
53157
5644ef54
UD
53158 [BZ #13007]
53159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53160 check for AVX enablement so that we don't crash with old kernels and
53161 new hardware.
53162 * elf/tst-audit4.c: Add same checks here.
53163 * elf/tst-audit6.c: Likewise.
53164
53165 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53166
bfc9dc9b
AS
531672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53168
53169 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53170
702e64bb
UD
531712011-07-20 Ulrich Drepper <drepper@gmail.com>
53172
53173 * po/cs.po: Update from translation team.
53174 * po/bg.po: Likewise.
53175
295e904f
MP
531762011-07-12 Marek Polacek <mpolacek@redhat.com>
53177
53178 * misc/sys/cdefs.h: Add support for const attribute.
53179 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53180 to gnu_dev_{major,minor,makedev} functions.
53181
3ff94596
MP
531822011-07-20 Marek Polacek <mpolacek@redhat.com>
53183
53184 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53185
28b59fca
AS
531862011-07-20 Andreas Schwab <schwab@redhat.com>
53187
53188 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53189 strlen results.
53190
19df733e
AK
531912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53192
53193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53194 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53195 register in order to avoid conflicts with the soft frame pointer
53196 being held in r11 when necessary.
53197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53198 (INTERNAL_VSYSCALL_NCS): Likewise.
53199
c8835729
MP
532002011-07-14 Marek Polacek <mpolacek@redhat.com>
53201
53202 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53203 * elf/dl-fini.c (_dl_fini): Adjust caller.
53204 * elf/dl-close.c (_dl_close_worker): Likewise.
53205 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53206
b902330c
MP
532072011-07-15 Marek Polacek <mpolacek@redhat.com>
53208
8991e135
MP
53209 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53210 "aux_cache->nlibs < 0".
53211
b902330c
MP
53212 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53213 in the reload-count case.
53214
99710781
LD
532152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53216
53217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53218 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53219 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53220 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53221 * sysdeps/x86_64/multiarch/strcat.S: New file.
53222 * sysdeps/x86_64/multiarch/strncat.S: New file.
53223 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53225 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53226 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53228 (USE_AS_STRCAT): Define.
53229 Add strcat and strncat support.
53230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53233 * string/strncat.c: Update.
53234 (USE_AS_STRNCAT): Define.
53235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53236 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53237 and i7.
53238 * sysdeps/x86_64/multiarch/init-arch.h
53239 (bit_Prefer_PMINUB_for_stringop): New.
53240 (index_Prefer_PMINUB_for_stringop): Likewise.
53241 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53242 bit_Prefer_PMINUB_for_stringop.
53243
7dc6bd90
UD
532442011-07-19 Ulrich Drepper <drepper@gmail.com>
53245
53246 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53247 buffer64.
53248 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53249 of casting of buffer.
53250 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53251 buffer32 and buffer64.
53252 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53253 writes instead of casting of buffer.
53254 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53255 buffer32.
53256 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53257 casting of buffer.
53258
e0e72284
AS
532592011-07-19 Andreas Schwab <schwab@redhat.com>
53260
53261 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53262
feb1eb0b
UD
532632011-07-19 Ulrich Drepper <drepper@gmail.com>
53264
53265 * nscd/nscd.c (termination_handler): Don't do anything for a database
53266 if it has not yet been initialized.
53267
298711ff
UD
532682011-07-18 Ulrich Drepper <drepper@gmail.com>
53269
53270 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53271
532722011-07-15 Marek Polacek <mpolacek@redhat.com>
53273
53274 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53275
f9d68389
UD
532762011-07-18 Ulrich Drepper <drepper@gmail.com>
53277
53278 * po/nl.po: Update from translation team.
53279 * po/sv.po: Likewise.
53280
db290cf5
RM
532812011-07-16 Roland McGrath <roland@hack.frob.com>
53282
53283 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53284 now disallowed by GCC.
5c550700 53285
fd5e21c7
RM
53286 * configure.in (use-default-link): Default to yes if a test -shared
53287 link meets our qualifications.
53288 * configure: Regenerated.
53289
5c550700
RM
53290 * config.make.in (output-format): New variable.
53291 * configure.in: Check for ld --print-output-format support.
53292 * configure: Regenerated.
53293 * Makerules ($(common-objpfx)format.lds)
53294 [$(output-format) != unknown]: Just use $(output-format),
53295 instead of the linker-script munging.
53296
9fa2c032
RM
532972011-07-14 Roland McGrath <roland@hack.frob.com>
53298
a6928d51
RM
53299 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53300 of $(common-objpfx)shlib.lds.
53301 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53302
661607b3
RM
53303 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53304 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53305
9fa2c032
RM
53306 * configure.in (-z relro check): Adjust test code to add a large
53307 writable data section after it.
53308 * configure: Regenerated.
53309
defe9061
RM
533102011-07-11 Roland McGrath <roland@hack.frob.com>
53311
53312 * configure.in (-z relro check): Fix test code to make the variable
53313 truly const.
53314 * configure: Regenerated.
53315
319b9ad4
UD
533162011-07-11 Ulrich Drepper <drepper@gmail.com>
53317
53318 * nscd/nscd.h (struct traced_file): Define.
53319 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53320 elements. Add traced_files.
53321 (inotify_fd): Declare.
53322 (register_traced_file): Declare.
53323 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53324 (inotify_fd): Export.
53325 (resolv_conf_descr): Remove.
53326 (nscd_init): Move inotify descriptor creation to main.
53327 Don't register files for notification here.
53328 (register_traced_file): New function.
53329 (invalidate_cache): Don't use reset_res to determine whether to call
53330 res_init, go through the list of registered files.
53331 (main_loop_poll): The inotify descriptors are now stored in the
53332 structures for the traced files.
53333 (main_loop_epoll): Likewise
53334 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53335 to __nss_disable_nscd.
53336 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53337 for a database anymore. Check the records for all the registered
53338 files instead.
53339 * nss/Makefile (libnss_files-routines): Add files-init.
53340 (libnss_db-routines): Add db-init.
53341 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53342 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53343 * nss/nss_db/db-init.c: New file.
53344 * nss/nss_files/files-init.c: New file.
53345 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53346 __nss_lookup_function.
53347 (__nss_lookup_function): Call nss_load_library.
53348 (nss_load_all_libraries): New function.
53349 (__nss_disable_nscd): Take parameter with callback function for files
53350 to register. Set is_nscd. Load all the DSOs for the NSS modules
53351 used for the cached services.
53352 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53353 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53354 options for features to all the files in nscd.
53355
53356 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53357
23bee3e8
RM
533582011-07-10 Roland McGrath <roland@hack.frob.com>
53359
53360 * csu/elf-init.c (__libc_csu_init): Comment typo.
53361
46a5b7f0
UD
533622011-07-09 Ulrich Drepper <drepper@gmail.com>
53363
53364 * po/pl.po: Update from translation team.
53365 * po/ja.po: Likewise.
53366 * po/ru.po: Likewise.
53367 * po/ko.po: Likewise.
53368 * po/fr.po: Likewise.
53369
d30cf5bb
RM
533702011-07-09 Roland McGrath <roland@hack.frob.com>
53371
113ddea4
RM
53372 * configure.in (.ctors/.dtors header and trailer check):
53373 Use an empirical test on a built program.
53374 * configure: Regenerated.
53375
574920b4
RM
53376 * configure.in (-z relro check): Use an empirical test on a built DSO.
53377 Detect, but do not require, on ia64.
53378 * configure: Regenerated.
53379
d30cf5bb
RM
53380 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53381 Update tests that use readelf to use $READELF instead.
53382 * configure: Regenerated.
53383
8538fdb3
UD
533842011-07-08 Ulrich Drepper <drepper@gmail.com>
53385
53386 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53387 if the result is not used.
53388
04d08991
AJ
533892011-07-05 Andreas Jaeger <aj@suse.de>
53390
53391 [BZ#9696]
53392 * stdlib/tst-strtod.c: Add testcase.
53393
de283087
AD
533942011-07-07 Ulrich Drepper <drepper@gmail.com>
53395
4e5f31c8 53396 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53397 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53398 The latter has a higher limit. Take additional parameter to pass to
53399 the new function.
53400 (__pathconf): Pass file to __statfs_link_max.
53401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53402 __statfs_link_max.
53403 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53404 __statfs_link_max.
53405
de283087
AD
53406 [BZ #12868]
53407 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53409 Handle Lustre.
53410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53411 (__statfs_filesize_max): Likewise.
53412 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53413
c75fa153
AJ
534142011-07-05 Andreas Jaeger <aj@suse.de>
53415
53416 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53417
1a544854
UD
534182011-07-06 Marek Polacek <mpolacek@redhat.com>
53419
53420 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53421 `status' variable.
53422 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53423 Likewise.
53424
6f0eec67
UD
534252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53426
53427 * Makefile (strop-tests): Add strncat.
53428 * string/test-strncat.c: New file.
53429
aae30307
UD
534302011-06-30 Marek Polacek <mpolacek@redhat.com>
53431
53432 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53433
c0cfb5eb
UD
534342011-06-21 Andreas Jaeger <aj@suse.de>
53435
53436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53437 Copy rule from iconvdata/Makefile.
53438
01636b21
UD
534392011-07-06 Ulrich Drepper <drepper@gmail.com>
53440
53441 [BZ #12922]
53442 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53443 but no long options are defined, just return 'W'.
53444
9895c8bc
UD
534452011-06-22 Marek Polacek <mpolacek@redhat.com>
53446
53447 [BZ #9696]
53448 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53449
5d4cf042
UD
534502011-07-06 Ulrich Drepper <drepper@gmail.com>
53451
53452 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53453 netgroups to read.
960e5535 53454 (innetgr): Likewise.
5d4cf042 53455
751eb97e
RM
534562011-07-05 Roland McGrath <roland@hack.frob.com>
53457
53458 * config.make.in (install_root): Default to $(DESTDIR).
53459
f15f1e45
UD
534602011-07-05 Ulrich Drepper <drepper@gmail.com>
53461
53462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53463
4e34ac6a
RM
534642011-07-02 Roland McGrath <roland@hack.frob.com>
53465
5e9b6af4
RM
53466 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53467
84f9ea0f
RM
53468 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53469 containing directory rather than embedding absolute directory names.
53470
ea5ee9f7
RM
53471 * scripts/check-local-headers.sh: Rewritten using awk.
53472 Match by word, not by line. Print error messages for matches.
53473 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53474
1b74661a
RM
53475 * Makerules [shlib-lds-flags empty]:
53476 ($(common-objpfx)libc_pic.opts): New target.
53477 ($(common-objpfx)libc_pic.os.clean): New target.
53478 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53479
53480 * config.make.in (OBJCOPY): New variable.
53481 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53482 * configure: Regenerated.
53483
f781ef40
RM
53484 * config.make.in (use-default-link): New variable.
53485 * configure.in (use_default_link): Grok --with-default-link to set it.
53486 * configure: Regenerated.
53487 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53488 (shlib-lds, shlib-lds-flags): Define to empty.
53489
2d4fa81e
RM
53490 * Makerules (shlib-lds): New variable.
53491 (shlib-lds-flags): New variable.
53492 (build-shlib, build-moduile, build-module-asneeded): Use it.
53493 ($(common-objpfx)libc.so): Use $(shlib-lds).
53494 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53495 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53496
31fffa6b
RM
53497 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53498 DT_FLAGS/DT_FLAGS_1 with zero flags.
53499
4e34ac6a
RM
53500 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53501 linker script munging.
53502
fcfc776b
UD
535032011-07-02 Ulrich Drepper <drepper@gmail.com>
53504
53505 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53506 as 128-bit value.
53507 * crypt/sha512.c (sha512_process_block): Perform total addition using
53508 128-bit if possible.
53509 (__sha512_finish_ctx): Likewise.
53510 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53511 as 64-bit value.
53512 * crypt/sha256.c (SWAP64): Define.
53513 (sha256_process_block): Perform total addition using 64-bit if
53514 possible.
53515 (__sha256_finish_ctx): Likewise.
53516
99231d9a
UD
535172011-07-01 Ulrich Drepper <drepper@gmail.com>
53518
53519 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53521 * nscd/hstcache.c (cache_addhst): Likewise.
53522 * nscd/grpcache.c (cache_addgr): Likewise.
53523 * nscd/aicache.c (addhstaiX): Likewise
53524 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53525
445b4a53
TK
535262011-07-01 Thorsten Kukuk <kukuk@suse.de>
53527
53528 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53530 * nscd/hstcache.c (cache_addhst): Likewise.
53531 * nscd/grpcache.c (cache_addgr): Likewise.
53532 * nscd/aicache.c (addhstaiX): Likewise
53533
6d4d8e8e
AS
535342011-07-01 Andreas Schwab <schwab@redhat.com>
53535
53536 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53537 domain only when needed.
53538
89f654c5
AS
535392011-06-30 Andreas Schwab <schwab@redhat.com>
53540
53541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53542 is always restored.
53543
cf3b23ff
UD
535442011-06-29 Ulrich Drepper <drepper@gmail.com>
53545
53546 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53547 are re-adding the entry.
53548 * nscd/servicescache.c (cache_addserv): Likewise.
53549
751626f9
AJ
535502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53551
53552 * sysdeps/generic/dl-irel.h: fix protection against multiple
53553 inclusions.
53554 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53555
9113ea1f
UD
535562011-06-28 Ulrich Drepper <drepper@gmail.com>
53557
5c0b8d90
UD
53558 [BZ #12935]
53559 * malloc/memusage.sh: Fix quoting in message.
53560 * debug/xtrace.sh: Likewise.
53561
9113ea1f
UD
53562 * configure.in: Remove support for --experimental-malloc option, make
53563 it the default.
53564 * config.make.in: Likewise.
53565 * malloc/Makefile: Likewise.
53566
a4172181
AS
535672011-06-27 Andreas Schwab <schwab@redhat.com>
53568
53569 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53570 two-byte characters.
53571
78a7eee7
RM
535722011-06-27 Roland McGrath <roland@hack.frob.com>
53573
62bede13
RM
53574 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53575 AC_CACHE_CHECK invocation.
53576 * configure: Regenerated.
53577
78a7eee7
RM
53578 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53579
5ce33a62
UD
535802011-06-27 Ulrich Drepper <drepper@gmail.com>
53581
034807a9
UD
53582 [BZ #12350]
53583 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53584 bit from old_res_options.
53585
4902da17
UD
53586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53587
5ce33a62
UD
53588 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53589 value type for setfct.
53590
c2344f56
L
535912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53592
53593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53594 __gettimeofday instead of gettimeofday.
53595
68468076
UD
535962011-06-26 Ulrich Drepper <drepper@gmail.com>
53597
53598 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53599
acb0d739
L
536002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53601
53602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53603
53604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53605 info.
53606
8912479f
L
536072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53608
53609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53610 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53611 strcpy-sse2-unaligned strncpy-sse2-unaligned
53612 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53613 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53614 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53615 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53616 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53617 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53619 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53620 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53621 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53622 (STRCPY): Support SSE2 and SSSE3 versions.
53623
d5495a11
UD
536242011-06-24 Ulrich Drepper <drepper@gmail.com>
53625
53626 [BZ #12874]
53627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53628 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53629 kernels which artificially limit size of requests.
53630
0b1cbaae
L
536312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53632
53633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53634 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53635 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53636 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53637 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53638 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53639 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53640 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53643 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53644 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53645 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53646 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53647 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53649 Enable unaligned load optimization for Intel Core i3, i5 and i7
53650 processors.
53651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53652 Define.
53653 (index_Fast_Unaligned_Load): Define.
53654 (HAS_FAST_UNALIGNED_LOAD): Define.
53655
07f494a0
MP
536562011-06-23 Marek Polacek <mpolacek@redhat.com>
53657
53658 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53659
fa3fc0fe
UD
536602011-06-22 Ulrich Drepper <drepper@gmail.com>
53661
53662 [BZ #12907]
53663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53664 until it is clear that the information is realy needed.
53665 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53666
e12df166
AS
536672011-06-22 Andreas Schwab <schwab@redhat.com>
53668
53669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53670
852eb34d
UD
536712011-06-22 Ulrich Drepper <drepper@gmail.com>
53672
84e2a551
UD
53673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53674 /sys/devices/system/cpu/online if it is usable.
53675
852eb34d
UD
53676 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53677 reading the information from the /proc filesystem to once a second.
53678
6e502e19
UD
536792011-06-21 Andreas Jaeger <aj@suse.de>
53680
53681 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53682 NULL after inclusion of kernel headers.
53683
75d39ff2
UD
536842011-06-21 Ulrich Drepper <drepper@gmail.com>
53685
51f9aa6a
UD
53686 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53687 calls to internal_setent.
53688
c0244a9d
UD
53689 [BZ #12885]
53690 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53691 addresses using gethostbyname4_r ignore IPv4 addresses.
53692
c5e3c2ae
UD
53693 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53694 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53695
75d39ff2
UD
53696 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53697
42675c6f
DM
536982011-06-20 David S. Miller <davem@davemloft.net>
53699
53700 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53701 inclusions.
53702 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53703
53704 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53705 (elf_irel): Use it.
53706 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53707 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53708 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53709 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53710 * sysdeps/x86_64/dl-irel.h: Likewise.
53711
53712 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53713 * elf/dl-sym.c: Likewise.
53714
57912a71
UD
537152011-06-15 Ulrich Drepper <drepper@gmail.com>
53716
53717 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53718 need to dereference resplen2.
53719
ee22793d
AS
537202011-06-14 Andreas Schwab <schwab@redhat.com>
53721
53722 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53723
a9e836b0
UD
537242011-06-15 Ulrich Drepper <drepper@gmail.com>
53725
77fb9117
UD
53726 * Makeconfig: Define vardbdir and inst_vardbdir.
53727 * nss/Makefile: Add rules to install db-Makefile.
53728
40c1b22c
UD
53729 * nss/nss_db/db-XXX.c: Cleanup.
53730
9f2da732
UD
53731 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53732 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53733 GLIBC_PRIVATE.
53734 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53735 * nss/makedb.c: Implement -g option to specify that value strings
53736 are generated and should not be added to table iterated over for
53737 get*ent calls.
53738 * nss/nss_db/db-initgroups.c: New file.
53739
82e9a1f7
UD
53740 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53741 interface.
53742
c41af17e
UD
53743 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53744 (internal_getgrouplist): Adjust to name change.
53745 Update use_initgroups_entry if this is not the first call.
53746 * nss/databases.def: Add initgroups entry.
53747
a9e836b0
UD
53748 * nss/makedb.c (compute_tables): Check result of multiple hash table
53749 sizes to minimize maximum chain length.
53750
2666d441
UD
537512011-06-14 Ulrich Drepper <drepper@gmail.com>
53752
53753 * Versions.def: Add entry for libnss_db.
53754 * shlib-versions: Likewise.
53755 * nss/Makefile: Add rules to build libnss_db.
53756 * nss/Versions: Add libnss_db information. Organize libnss_files
53757 entries better.
53758 * nss/db-Makefile: Add gshadow support. Change rules for the new
53759 makedb progra. Some minor improvements to generate smaller files.
53760 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53761 here from...
53762 * nss/makedb.c: ...here.
53763 Improve database format to be smaller and require less memory at
53764 runtime.
53765 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53766 db anymore.
53767 * nss/nss_db/db-netgrp.c: Likewise.
53768 * nss/nss_db/db-open.c: Likewise.
53769 * nss/nss_files/flies-XXX.x: Adjust comments.
53770 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53771 * nss/nss_files/files-grp.c: Likewise.
53772 * nss/nss_files/files-hosts.c: Likewise.
53773 * nss/nss_files/files-network.c: Likewise.
53774 * nss/nss_files/files-proto.c: Likewise.
53775 * nss/nss_files/files-pwd.c: Likewise.
53776 * nss/nss_files/files-rpc.c: Likewise.
53777 * nss/nss_files/files-service.c: Likewise.
53778 * nss/nss_files/files-sgrp.c: Likewise.
53779 * nss/nss_files/files-spwd.c: Likewise.
53780 * nss/nss_db/db-alias.c: Removed.
53781 * nss/nss_db/dummy-db.h: Removed.
53782
9ee76b5a
UD
537832011-06-02 Ulrich Drepper <drepper@gmail.com>
53784
53785 * nss/makedb.c: Rewritten to not use database library.
53786 * nss/Makefile: Update to build new makedb program.
53787
c71ca1f8
AJ
537882011-06-14 Andreas Jaeger <aj@suse.de>
53789
53790 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53791 memset declaration.
53792
3154bfb8
UD
537932011-06-10 Andreas Schwab <schwab@redhat.com>
53794
53795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53796 tmpbuf.
53797
b350afab
RM
537982011-06-10 Roland McGrath <roland@hack.frob.com>
53799
decd4e50
RM
53800 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53801 * elf/Makefile ($(objpfx)ld.so): Likewise.
53802
5615eaf2
RM
53803 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53804 Don't list ld.so twice in dependencies.
53805
53806 * posix/bug-regex31.c: Include <stdlib.h>.
53807
53808 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53809
53810 * nis/nss_compat/compat-spwd.c
53811 (getspent_next_nss_netgr): Remove unused variable.
53812 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53813
53814 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53815 nonmembers" output to use the right array.
53816
53817 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53818
53819 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53820
53821 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53822 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53823 * catgets/gencat.c (read_input_file): Likewise.
53824 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53825
53826 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53827 variable definition inside #if's controlling its use.
53828
53829 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53830
53831 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53832
53833 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53834
53835 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53836 unreachable code.
53837
53838 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53839
b68e08db
RM
53840 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53841 * configure: Regenerated.
53842
b350afab
RM
53843 * Makerules: Revert last change.
53844 * elf/Makefile: Likewise.
53845
28368601
RM
538462011-06-09 Roland McGrath <roland@hack.frob.com>
53847
53848 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53849 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53850 (reloc-link): Likewise.
53851
11988f8f
UD
538522011-06-09 Ulrich Drepper <drepper@gmail.com>
53853
53854 * elf/Makefile: Add rules to build pldd.
53855 * elf/pldd.c: New file.
53856 * elf/pldd-xx.c: New file.
53857
e80fab37
UD
538582011-06-07 Ulrich Drepper <drepper@gmail.com>
53859
53860 * version.h: Update for 2.15 development version.
53861
9b849836
DM
538622011-06-07 David S. Miller <davem@davemloft.net>
53863
53864 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53865 ifuncs.
53866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53867 elf_machine_lazy_rel): Likewise.
53868 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53870 elf_machine_lazy_rel): Likewise.
53871 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53872 dl_hwcap via passed in argument.
53873 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53874 Likewise.
53875
5a31b283
AK
538762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53877
53878 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53879
069e52f8
RM
538802011-06-06 Roland McGrath <roland@hack.frob.com>
53881
53882 [BZ #12849]
53883 * manual/fdl-1.1.texi: New file, verbatim from:
53884 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53885 * manual/lgpl-2.1.texi: New file, verbatim from:
53886 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53887 * manual/Makefile (licenses): New variable, list those new file names.
53888 (texis): Use it.
53889 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53890
53891 * manual/fdl.texi: File removed.
53892 * manual/lesser.texi: File removed.
53893 * manual/libc.texinfo (Copying, Documentation License):
53894 Use new @include file names, put @appendix directive before @include.
53895
f16846a5
JJ
538962011-06-04 Jakub Jelinek <jakub@redhat.com>
53897
53898 [BZ #12841]
53899 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53900 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53901 (mq_open): Add __NTH.
53902
3d29045b
L
539032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53904
53905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53906 Assume Intel Core i3/i5/i7 processor if AVX is available.
53907
8c297311
UD
539082011-05-31 Ulrich Drepper <drepper@gmail.com>
53909
53910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53911 typo.
53912
c8fc0c91
UD
539132011-05-31 Andreas Schwab <schwab@redhat.com>
53914
53915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53916 memory. Use alloca_account. Fix memory leak when retrying.
53917
5b27a807
UD
539182011-05-31 Ulrich Drepper <drepper@gmail.com>
53919
356f8bc6
UD
53920 * version.h (RELEASE): Bump for 2.14 release.
53921 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53922
5b27a807
UD
53923 * config.make.in (RANLIB): Remove entry.
53924
01f16ab0
UD
539252011-05-30 Ulrich Drepper <drepper@gmail.com>
53926
41fce8bd
UD
53927 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53928 (libc.pot): Work around missing support for .ksh extension in xgettext.
53929
4769ae77
UD
53930 [BZ #12684]
53931 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53932 if both request failed.
53933 (send_dg): In case of server errors clear resplen or *resplen2.
53934
6b1e7d19
UD
53935 [BZ #12454]
53936 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53937 when there are multiple maps.
53938 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53939 (_dl_fini): Remove test here.
53940
01f16ab0
UD
53941 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53942
b1ebd700
UD
539432011-05-29 Ulrich Drepper <drepper@gmail.com>
53944
7ae22829
UD
53945 [BZ #12350]
53946 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53947 bit from old_res_options.
53948 (gaih_inet): Likewise.
53949
553149f6 53950 [BZ #11099]
18a84741 53951 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53952 as signed.
53953
652ffab1
UD
53954 * resolv/res_init.c (res_setoptions): Make the code more compact.
53955
16985fd0
UD
53956 [BZ #11558]
53957 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53958 set RES_USEVC.
53959
0464f746
UD
53960 [BZ #11634]
53961 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53962
7d17596c
UD
53963 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53964
cf6bbbd7
UD
53965 [BZ #11781]
53966 * malloc/malloc.h: Declare malloc hook variables as volatile.
53967
13f1ab36
UD
53968 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53969 in last patch.
53970
b1ebd700
UD
53971 [BZ #11799]
53972 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53973 raise in the comment.
80e2212d
UD
53974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53977
ce67228d
UD
539782011-05-28 Ulrich Drepper <drepper@gmail.com>
53979
8887a920
UD
53980 [BZ #12811]
53981 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53982 grow the buffers more if it already has to be sufficient.
53983 (build_wcs_upper_buffer): Likewise.
53984 * posix/regexec.c (check_matching): Likewise.
53985 (clean_state_log_if_needed): Likewise.
53986 (extend_buffers): Don't enlarge buffers beyond size of the input
53987 buffer.
53988 Patches mostly by Emil Wojak <emil@wojak.eu>.
53989 * posix/bug-regex32.c: New file.
53990 * posix/Makefile (tests): Add bug-regex32.
53991
4f031072
UD
53992 * locale/findlocale.c (_nl_find_locale): Return right away if
53993 _nl_explode_name failed.
53994 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53995
d0478f0c
UD
53996 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53997
de81b246
UD
53998 * debug/xtrace.sh: Unify messages.
53999 * malloc/memusage.sh: Likewise.
54000
c738465a
UD
54001 [BZ #12813]
54002 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54003 time symbol from vDSO. Substitute with vsyscall if not available.
54004 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54005 __vdso_time.
54006
f1f929d7
UD
54007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54008 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54009 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54010 Add sendmmsg and internal_sendmmsg.
54011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54012 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54013 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54014
ce67228d
UD
54015 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54016 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54018
e57420c6
UD
540192011-05-27 Ulrich Drepper <drepper@gmail.com>
54020
a8509ca5
UD
54021 [BZ #12813]
54022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54023 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54024 available.
54025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54026 __vdso_getcpu.
54027
e57420c6
UD
54028 [BZ #12814]
54029 * iconvdata/Makefile (tests): Add bug-iconv9.
54030 * iconvdata/bug-iconv9.c: New file.
54031
4d07db15
AS
540322011-05-27 Andreas Schwab <schwab@redhat.com>
54033
54034 [BZ #12814]
54035 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54036
ea486f69
JJ
540372011-05-25 Jakub Jelinek <jakub@redhat.com>
54038
54039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54040 (struct user_regs_struct): Change intcs field back to cs.
54041
6f038433
UD
540422011-05-25 Ulrich Drepper <drepper@gmail.com>
54043
54044 * po/ja.po: Update from translation team.
54045
67f86a25
UD
540462011-05-23 Ulrich Drepper <drepper@gmail.com>
54047
54048 [BZ #12795]
54049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54050 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54051
def7fbd6
AS
540522011-05-20 Andreas Schwab <schwab@redhat.com>
54053
54054 * stdlib/longlong.h: Update from GCC.
54055
f50ef8f1
AS
540562011-05-23 Andreas Schwab <schwab@redhat.com>
54057
54058 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54059 parameter name.
54060 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54061 Add parameter name.
54062 (__sysconf): Pass it down.
54063
de7ce8f1
UD
540642011-05-22 Ulrich Drepper <drepper@gmail.com>
54065
f2962a71
UD
54066 [BZ #12671]
54067 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54068 some situations.
54069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54070 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54071 add in in __libc_use_alloca calls. Adjust callers.
54072 (glob): Use malloc in some situations.
54073
de7ce8f1
UD
54074 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54075 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54076 pltexit.
54077
aec84f53
UD
540782011-05-21 Ulrich Drepper <drepper@gmail.com>
54079
05bb4a68
UD
54080 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54081 and CLOCK_BOOTTIME_ALARM.
54082
7ea72f99
UD
54083 [BZ #12782]
54084 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54085 is returned.
54086
7e4afad5
UD
54087 * string/_strerror.c (__strerror_r): Print negative errors as signed
54088 numbers.
54089
8e211fec
UD
54090 [BZ #12777]
54091 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54092 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54093 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54094
f7d82dc9
UD
54095 * configure.in: Fix typo in redirection and correct removal of test
54096 files in two cases.
54097
cc9e536d
UD
54098 [BZ #12788]
54099 * locale/setlocale.c (new_composite_name): Fix test to check for
54100 identical name of all categories.
54101
aec84f53
UD
54102 [BZ #12792]
54103 * libio/filedoalloc.c (local_isatty): New function.
54104 (_IO_file_doallocate): Use local_isatty.
54105 * stdio-common/perror.c (perror): In case a new stream is used
54106 forward the stream error.
54107 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54108 error flag.
54109
78e64fdc
RT
541102011-05-20 Ulrich Drepper <drepper@gmail.com>
54111
34a9094f
UD
54112 [BZ #11869]
54113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54114 alloca.
54115 * include/alloca.h (extend_alloca_account): Define.
54116
78e64fdc
RT
54117 [BZ #11857]
54118 * posix/regex.h: Fix comments with documentation of user-accessible
54119 fields after compilation and describe correct free'ing of pattern
54120 after re_compile_pattern.
54121 Patch by Reuben Thomas <rrt@sc3d.org>.
54122
457bddfc
RA
541232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54124
54125 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54126 and -mno-altivec to prevent the compiler from using Altivec and/or
54127 VSX instructions when the corresponding registers are not available.
54128
a4527b51
AS
541292011-05-19 Andreas Schwab <schwab@redhat.com>
54130
54131 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54132
ed690b2f
UD
541332011-05-19 Ulrich Drepper <drepper@gmail.com>
54134
54135 * libio/freopen.c (freopen): Use __dup2, not dup2.
54136 * libio/freopen64.c (freopen64): Likewise.
54137
8db73634
L
541382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54139
54140 [BZ #12775]
54141 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54142 * math/Makefile (tests): Add test-powl.
54143 (CFLAGS-test-powl.c): Define.
54144 * math/test-powl.c: New file.
54145
0a197a9d
L
541462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54147
54148 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54149
ee30c380
UD
541502011-05-17 Ulrich Drepper <drepper@gmail.com>
54151
54152 [BZ #11837]
54153 * iconvdata/gb18030.c: Update to GB18020-2005.
54154
6ce75379
UD
541552011-05-16 Ulrich Drepper <drepper@gmail.com>
54156
a4b89fd8
AR
54157 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54158 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54159 Patch by Aharon Robbins <arnold@skeeve.com>.
54160
ea389b12
UD
54161 [BZ #11892]
54162 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54163 on the stack.
54164
68a3f91f
UD
54165 [BZ #11895]
54166 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54167 through underflows.
54168
15cc7dd1
UD
54169 [BZ #12766]
54170 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54171 point to strings before performing equality test for error_one_per_line
54172 mode.
54173
f3799213
UD
54174 [BZ #11697]
54175 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54176
d79a9c94
UD
54177 [BZ #11820]
54178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54179 (struct user_fpregs_struct): Avoid __uint*_t types.
54180
56e5eb46
UD
54181 [BZ #6420]
54182 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54183 symbol info. Use it instead of calling _dl_addr locally.
54184 (lock_and_info): New function.
54185 (tr_freehook): Call lock_and_info and pass symbol info as additional
54186 parameter to tr_where.
54187 (tr_mallochook): Likewise.
54188 (tr_reallochook): Likewise.
54189 (tr_memalignhook): Likewise.
54190
6ce75379
UD
54191 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54192 used and couldn't be at all thread-safe.
54193
f8a3b5bf
UD
541942011-05-15 Ulrich Drepper <drepper@gmail.com>
54195
94b7cc37
UD
54196 * libio/freopen.c (freopen): Don't close old file descriptor
54197 before the new one is opened. Instead dup the new file descriptor
54198 to the old one after the new stream is created.
54199 * libio/freopen64.c (freopen64): Likewise.
54200 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54201 * libio/fileops.c (_IO_new_file_close_it): Handle new
54202 _IO_FLAGS2_NOCLOSE flag.
54203 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54204 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54205 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54206 _IO_FLAGS2_NOCLOSE flag.
54207 * include/unistd.h: Add hidden_proto for dup3.
54208 Define __have_dup3.
54209 * io/dup3.c: Define hidden symbol.
54210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54211
bd25564e
UD
54212 [BZ #7101]
54213 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54214 when an incomplete long option is used.
54215 * posix/tst-getopt_long1.c: New file.
54216 * posix/Makefile (tests): Add tst-getopt_long1.
54217
c84cfef4
UD
54218 [BZ #10138]
54219 * scripts/config.guess: Update from autoconf-2.68.
54220 * scripts/config.sub: Likewise.
54221
3b85df27
UD
54222 [BZ #10157]
54223 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54224 tests into ...
54225 (has_cpuclock): ...this. New function.
54226 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54227 macro here based on has_cpuclock code.
54228
15a856b1
UD
54229 [BZ #10149]
54230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54231 First byte (not low byte) is now always NUL.
54232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54233
05f399e6
UD
54234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54235 Use non-cancelable interfaces.
54236
10a52685 54237 [BZ #9809]
94ecc67d
UD
54238 * locale/iso-639.def: Add entry for Sorani.
54239
f8a3b5bf
UD
54240 [BZ #11901]
54241 * include/stdlib.h: Move include protection to the right place.
54242 Define abort_msg_s. Declare __abort_msg with it.
54243 * stdlib/abort.c (__abort_msg): Adjust type.
54244 * assert/assert.c (__assert_fail_base): New function. Majority
54245 of code from __assert_fail. Allocate memory for __abort_msg with
54246 mmap.
54247 (__assert_fail): Now call __assert_fail_base.
54248 * assert/assert-perr.c: Remove bulk of implementation. Use
54249 __assert_fail_base.
54250 * include/assert.hL Declare __assert_fail_base.
54251 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54252 mmap.
54253 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54254
1af4e298
UD
542552011-05-14 Ulrich Drepper <drepper@gmail.com>
54256
f8a3b5bf 54257 [BZ #11952]
d26dfc60
MG
54258 [BZ #12453]
54259 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54260 until all modules are registered in the DTV.
54261 * elf/Makefile: Add rules to build and run tst-tls19.
54262 * elf/tst-tls19.c: New file.
54263 * elf/tst-tls19mod1.c: New file.
54264 * elf/tst-tls19mod2.c: New file.
54265 * elf/tst-tls19mod3.c: New file.
54266 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54267
2fc54d6f
UD
54268 [BZ #12083]
54269 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54270 correctly.
54271
98d76b46
UD
54272 [BZ #12601]
54273 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54274 two-byte sequence errors.
54275 * iconvdata/Makefile (tests): Add bug-iconv8.
54276 * iconvdata/bug-iconv8.c: New file.
54277
da3c19ef
UD
54278 [BZ #12626]
54279 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54280 buf2 definition.
54281
ca408c15
UD
54282 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54283
d6f67f7d
UD
54284 [BZ #12432]
54285 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54286 (dummy_getcfa): New function.
54287 (init): Get _Unwind_GetCFA address, use dummy if not found.
54288 (backtrace_helper): In recursion check, also check whether CFA changes.
54289 (__backtrace): Completely initialize arg.
54290
1af4e298 54291 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54292 storing incomplete byte sequence in state object. Avoid testing for
54293 guaranteed too small input if we know there is enough data available.
1af4e298 54294
da62f81b
AS
542952011-05-11 Andreas Schwab <schwab@redhat.com>
54296
54297 * Makeconfig (+link-pie): Indent.
54298 * Rules (binaries-pie): Define if $(have-fpie) and
54299 $(build-shared).
54300 (binaries-shared): Also filter out $(binaries-pie).
54301 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54302 * nscd/Makefile (others-pie): Add nscd.
54303 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54304 ($(objpfx)nscd): Remove command override.
54305 * login/Makefile (others-pie): Add pt_chown.
54306 ($(objpfx)pt_chown): Remove command override.
54307 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54308 remove command overrides.
54309
fcabc0f8
UD
543102011-05-13 Ulrich Drepper <drepper@gmail.com>
54311
20030ae6
UD
54312 * libio/tst_putwc.c: Fix error messages.
54313
fcabc0f8
UD
54314 [BZ #12724]
54315 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54316 currently writing and seek to current position when not.
54317 * libio/Makefile (tests): Add bug-fclose1.
54318 * libio/bug-fclose1.c: New file.
54319
320a5dc0
PB
543202011-05-12 Ulrich Drepper <drepper@gmail.com>
54321
54322 [BZ #12511]
54323 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54324 don't set DF_1_NODELETE here.
54325 (do_lookup_x): When entering new entry test for copy relocation
54326 and if necessary set DF_1_NODELETE flag.
54327 * elf/tst-unique4.cc: New file.
54328 * elf/tst-unique4.h: New file.
54329 * elf/tst-unique4lib.cc: New file.
54330 * elf/Makefile: Add rules to build and run tst-unique4.
54331 Patch by Piotr Bury <pbury@goahead.com>.
54332
22836f52
UD
543332011-05-11 Ulrich Drepper <drepper@gmail.com>
54334
f574184a
UD
54335 [BZ #12052]
54336 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54337
e1fb097f
UD
54338 [BZ #12625]
54339 * misc/mntent_r.c (addmntent): Flush the stream after the output
54340
22836f52
UD
54341 [BZ #12393]
54342 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54343 (is_trusted_path_normalize): Skip initial colon. Append slash
54344 to empty buffer. Duplicate is_trusted_path code but allow
54345 constructed patch to be prefix.
54346 (is_dst): Allow $ORIGIN followed by /.
54347 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54348 Correct testing of result of is_trusted_path_normalize
54349 (decompose_rpath): Fix warning.
54350
7b3b0b2a
UD
543512011-05-10 Ulrich Drepper <drepper@gmail.com>
54352
54353 [BZ #11257]
54354 * grp/initgroups.c (internal_getgrouplist): When we found the service
54355 list through the initgroups entry in nsswitch.conf do not always
54356 continue on a successful lookup. Don't always use the
eac80ce2 54357 __nss_group_database value if it is set.
7b3b0b2a
UD
54358 * nss/nsswitch.conf (initgroups): Change action for successful db
54359 lookup to continue for compatibility.
54360
2a81eaa5
UD
543612011-05-09 Ulrich Drepper <drepper@gmail.com>
54362
be97a69e
UD
54363 [BZ #11532]
54364 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54365 and CP774 modules.
54366 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54367 and CP774 modules.
54368 * iconvdata/tst-tables.sh: Likewise.
54369 * iconvdata/cp770.c: New file.
54370 * iconvdata/cp771.c: New file.
54371 * iconvdata/cp772.c: New file.
54372 * iconvdata/cp773.c: New file.
54373 * iconvdata/cp774.c: New file.
54374 * iconvdata/testdata/CP770: New file.
54375 * iconvdata/testdata/CP770..UTF8: New file.
54376 * iconvdata/testdata/CP771: New file.
54377 * iconvdata/testdata/CP771..UTF8: New file.
54378 * iconvdata/testdata/CP772: New file.
54379 * iconvdata/testdata/CP772..UTF8: New file.
54380 * iconvdata/testdata/CP773: New file.
54381 * iconvdata/testdata/CP773..UTF8: New file.
54382 * iconvdata/testdata/CP774: New file.
54383 * iconvdata/testdata/CP774..UTF8: New file.
54384
54385 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54386 END CHARMAP line.
54387 * iconvdata/gen-8bit-gap.sh: Likewise.
54388 * iconvdata/gen-8bit.sh: Likewise.
54389
c1e9e399
UD
54390 * locale/iso-639.def: Add ary entry.
54391
24c55fb3 54392 [BZ #11258]
96b4b1b0
UD
54393 * locale/C-translit.h.in: Add U20A1 transliteration.
54394
bdc2f971
KB
54395 [BZ #12178]
54396 * locale/iso-639.def: Add wae entry.
54397 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54398
2952b117
UD
54399 [BZ #12545]
54400 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54401 for n.
54402
2a81eaa5
UD
54403 [BZ #12711]
54404 * locale/C-translit.h.in: Add entry for U20B9.
54405 Patch by pravin.d.s@gmail.com.
54406
28377d1b
UD
544072011-05-08 Ulrich Drepper <drepper@gmail.com>
54408
7fb90fb8
UD
54409 [BZ #12713]
54410 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54411 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54412 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54413 in rtld. Use *stat64.
7fb90fb8 54414 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54415 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54416 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54417 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54418 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54419 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54420 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54421 __fstatat64 macros.
7fb90fb8
UD
54422 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54423 * dirent/rewinddir.c: Add libc_hidden_def.
54424 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54425 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54426
28377d1b
UD
54427 * include/dirent.h (__alloc_dir): Add flags parameter.
54428 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54429 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54430 __alloc_dir.
54431 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54432 from fdopendir if O_CLOEXEC is already set.
54433
66bdbaa4
AM
544342011-03-15 Alan Modra <amodra@gmail.com>
54435
54436 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54437 l_tls_firstbyte_offset non-zero. Save padding offset in
54438 l_tls_firstbyte_offset for later use.
54439 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54440 freeing static tls block.
54441
95721191
JN
544422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54443
54444 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54445 where #ifdef was intended. The intent is to prevent ARG_MAX from
54446 being defined by the kernel headers.
54447
f87dfb1f
UD
544482011-05-07 Ulrich Drepper <drepper@gmail.com>
54449
54450 [BZ #12734]
54451 * resolv/resolv.h: Define RES_NOTLDQUERY.
54452 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54453 no-tld-query and set RES_NOTLDQUERY.
54454 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54455 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54456 modern BIND to search name as TLD unless forbidden.
54457
47c3cd7a
UD
544582011-05-07 Petr Baudis <pasky@suse.cz>
54459 Ulrich Drepper <drepper@gmail.com>
54460
54461 [BZ #12393]
54462 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54463 (is_trusted_path): ...to here.
c1e9ea35 54464 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54465 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54466 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54467
8a35c912
PP
544682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54469
54470 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54471 __BEGIN/__END_DECLS.
54472
acd41f47
UD
544732011-05-06 Ulrich Drepper <drepper@gmail.com>
54474
54475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54476 NSS_STATUS_NOTFOUND if no record was found.
54477
597df647
AS
544782011-05-05 Andreas Schwab <schwab@redhat.com>
54479
54480 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54481 (headers-not-in-tirpc): Remove rpc/netdb.h
54482 * resolv/netdb.h: Revert last change.
54483
b9af1301
PP
544842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54485
54486 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54487 circular dependency between libgcc.a and libc.a.
54488
4e34d5f5
AS
544892011-05-05 Andreas Schwab <schwab@redhat.com>
54490
54491 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54492 * nis/Makefile: Don't install rpcsvc/*.
54493 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54494 instead of <rpc/types.h>.
54495 (MAXHOSTNAMELEN): Define.
54496
00ee369c
AS
544972011-05-03 Andreas Schwab <schwab@redhat.com>
54498
54499 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54500
0b592a30
MB
545012011-04-28 Maciej Babinski <mbabinski@google.com>
54502
54503 [BZ #12714]
54504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54505 gethostbyname4_r when IPv6 results are possible.
54506
6e04cbbe
UD
545072011-05-02 Ulrich Drepper <drepper@gmail.com>
54508
54509 [BZ #12723]
54510 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54511 _PC_PIPE_BUF handling.
54512
e4ecafe0
BH
545132011-04-30 Bruno Haible <bruno@clisp.org>
54514
54515 [BZ #12717]
54516 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54517 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54518 to 'int'.
54519 * inet/getnameinfo.c (getnameinfo): Likewise.
54520
125ee683
UD
545212011-04-29 Ulrich Drepper <drepper@gmail.com>
54522
54523 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54524 to groups setting in database lookup.
54525 * nss/nsswitch.conf: Add initgroups entry.
54526
b722481a
EB
545272011-04-22 Ulrich Drepper <drepper@gmail.com>
54528
54529 [BZ #12685]
54530 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54531 mode string.
54532 Patch by Eric Blake <eblake@redhat.com>.
54533
4df46dbd
L
545342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54535
54536 * sunrpc/Makefile (need-export-routines): Add svc_run.
54537 (routines): Remove svc_run.
54538 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54539 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54540 * sunrpc/svc_run.c (svc_run): Likewise.
54541 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54542
e84142d2
UD
545432011-04-21 Ulrich Drepper <drepper@gmail.com>
54544
54545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54546 problem in reallocation in last patch.
54547
877175d8
UD
545482011-04-20 Ulrich Drepper <drepper@gmail.com>
54549
54550 * sunrpc/Makefile: Move inclusion of Rules.
54551
ab8eed78
UD
545522011-04-19 Ulrich Drepper <drepper@gmail.com>
54553
54554 * nss/nss_files/files-initgroups.c: New file.
54555 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54556 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54557 _nss_files_initgroups_dyn.
54558
e3d8f584
RS
545592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54560
54561 * elf/elf.h (R_ARM_IRELATIVE): Define.
54562
af190f45
UD
545632011-04-19 Ulrich Drepper <drepper@gmail.com>
54564
54565 * po/ru.po: Update from translation team.
54566
53cf59ef
UD
545672011-04-17 Ulrich Drepper <drepper@gmail.com>
54568
54569 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54570 dependencies.
54571
4c559bcd
MF
545722011-02-06 Mike Frysinger <vapier@gentoo.org>
54573
54574 [BZ #12653]
54575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54576 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54580
4420675c
AS
545812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54582
54583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54584 differing bytes.
54585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54588
75ea32ab
UD
545892011-04-17 Ulrich Drepper <drepper@gmail.com>
54590
54591 [BZ #12420]
54592 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54593 storing it.
54594 * stdlib/bug-getcontext.c: New file.
54595 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54596
27390476
AK
545972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54598
54599 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54600 instructions into .machine "z9-109".
54601 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54602 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54603
10442705
AK
546042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54605
54606 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54607 between environment variables and auxiliary vector.
54608
7b57bfe5
UD
546092011-04-16 Ulrich Drepper <drepper@gmail.com>
54610
54611 * Makefile: Add rules to build linkobj/libc.so.
54612 * include/libc-symbols.h: Define libc_hidden_nolink.
54613 * include/rpc/auth.h: Mark functions which are to be hidden.
54614 * include/rpc/auth_des.h: Likewise.
54615 * include/rpc/auth_unix.h: Likewise.
54616 * include/rpc/clnt.h: Likewise.
54617 * include/rpc/des_crypt.h: Likewise.
54618 * include/rpc/key_prot.h: Likewise.
54619 * include/rpc/pmap_clnt.h: Likewise.
54620 * include/rpc/pmap_prot.h: Likewise.
54621 * include/rpc/pmap_rmt.h: Likewise.
54622 * include/rpc/rpc_msg.h: Likewise.
54623 * include/rpc/svc.h: Likewise.
54624 * include/rpc/svc_auth.h: Likewise.
54625 * include/rpc/xdr.h: Likewise.
54626 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54627 * nss/Makefile: Likewise.
54628 * sunrpc/Makefile: Don't install headers. Build library with normal
54629 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54630 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54631 for the compat linking library. Remove use of INTDEF/INTUSE.
54632 * sunrpc/auth_none.c: Likewise.
54633 * sunrpc/auth_unix.c: Likewise.
54634 * sunrpc/authdes_prot.c: Likewise.
54635 * sunrpc/authuxprot.c: Likewise.
54636 * sunrpc/clnt_gen.c: Likewise.
54637 * sunrpc/clnt_perr.c: Likewise.
54638 * sunrpc/clnt_raw.c: Likewise.
54639 * sunrpc/clnt_simp.c: Likewise.
54640 * sunrpc/clnt_tcp.c: Likewise.
54641 * sunrpc/clnt_udp.c: Likewise.
54642 * sunrpc/clnt_unix.c: Likewise.
54643 * sunrpc/des_crypt.c: Likewise.
54644 * sunrpc/des_soft.c: Likewise.
54645 * sunrpc/get_myaddr.c: Likewise.
54646 * sunrpc/key_call.c: Likewise.
54647 * sunrpc/key_prot.c: Likewise.
54648 * sunrpc/netname.c: Likewise.
54649 * sunrpc/pm_getmaps.c: Likewise.
54650 * sunrpc/pm_getport.c: Likewise.
54651 * sunrpc/pmap_clnt.c: Likewise.
54652 * sunrpc/pmap_prot.c: Likewise.
54653 * sunrpc/pmap_prot2.c: Likewise.
54654 * sunrpc/pmap_rmt.c: Likewise.
54655 * sunrpc/publickey.c: Likewise.
54656 * sunrpc/rpc_cmsg.c: Likewise.
54657 * sunrpc/rpc_common.c: Likewise.
54658 * sunrpc/rpc_dtable.c: Likewise.
54659 * sunrpc/rpc_prot.c: Likewise.
54660 * sunrpc/rpc_thread.c: Likewise.
54661 * sunrpc/rtime.c: Likewise.
54662 * sunrpc/svc.c: Likewise.
54663 * sunrpc/svc_auth.c: Likewise.
54664 * sunrpc/svc_authux.c: Likewise.
54665 * sunrpc/svc_raw.c: Likewise.
54666 * sunrpc/svc_run.c: Likewise.
54667 * sunrpc/svc_simple.c: Likewise.
54668 * sunrpc/svc_tcp.c: Likewise.
54669 * sunrpc/svc_udp.c: Likewise.
54670 * sunrpc/svc_unix.c: Likewise.
54671 * sunrpc/svcauth_des.c: Likewise.
54672 * sunrpc/xcrypt.c: Likewise.
54673 * sunrpc/xdr.c: Likewise.
54674 * sunrpc/xdr_array.c: Likewise.
54675 * sunrpc/xdr_float.c: Likewise.
54676 * sunrpc/xdr_intXX_t.c: Likewise.
54677 * sunrpc/xdr_mem.c: Likewise.
54678 * sunrpc/xdr_rec.c: Likewise.
54679 * sunrpc/xdr_ref.c: Likewise.
54680 * sunrpc/xdr_sizeof.c: Likewise.
54681 * sunrpc/xdr_stdio.c: Likewise.
54682
e6c61494
UD
546832011-04-10 Ulrich Drepper <drepper@gmail.com>
54684
54685 [BZ #12650]
54686 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54687 * sysdeps/ia64/dl-tls.h: Likewise.
54688 * sysdeps/powerpc/dl-tls.h: Likewise.
54689 * sysdeps/s390/dl-tls.h: Likewise.
54690 * sysdeps/sh/dl-tls.h: Likewise.
54691 * sysdeps/sparc/dl-tls.h: Likewise.
54692 * sysdeps/x86_64/dl-tls.h: Likewise.
54693 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54694
34fe483e
AS
546952011-03-14 Andreas Schwab <schwab@redhat.com>
54696
54697 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54698 rpath element also skip the following colon.
54699 (expand_dynamic_string_token): Add is_path parameter and pass
54700 down to DL_DST_REQUIRED and _dl_dst_substitute.
54701 (decompose_rpath): Call expand_dynamic_string_token with
54702 non-zero is_path. Ignore empty rpaths.
54703 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54704 with zero is_path.
54705
f12a32e6
AS
547062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54707
54708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54709 Make cancelable.
54710
38a7d692
UD
547112011-04-09 Ulrich Drepper <drepper@gmail.com>
54712
54713 [BZ #12655]
54714 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54715 Patch by Filipe David Manana <fdmanana@apache.org>.
54716
e451d22b
AS
547172011-04-07 Andreas Schwab <schwab@redhat.com>
54718
54719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54720 Maintain aligned stack.
54721 (CHECK_RSP): Remove unused macro.
54722
dedc7c7b
UD
547232011-04-03 Ulrich Drepper <drepper@gmail.com>
54724
54725 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54726 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54727
94521213
UD
547282011-04-02 Ulrich Drepper <drepper@gmail.com>
54729
54730 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54731
8cb700c0 54732 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54733
0354e355
L
547342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54735
54736 [BZ #12518]
54737 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54738 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54739 * sysdeps/x86_64/memmove.c: New file.
54740 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54741 (memcpy): Renamed to ...
54742 (__new_memcpy): This.
54743 (memcpy): Provide GLIBC_2_14 memcpy.
54744 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54745 (memcpy): Provide GLIBC_2_2_5 memcpy.
54746
8593482f
UD
547472011-04-01 Ulrich Drepper <drepper@gmail.com>
54748
54749 [BZ #12631]
54750 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54751
81a5726b
AS
547522011-03-30 Andreas Schwab <schwab@redhat.com>
54753
54754 * misc/syncfs.c: New file.
54755 * misc/Makefile (routines): Add syncfs.
54756 * posix/unistd.h: Declare syncfs.
54757 * sysdeps/unix/syscalls.list: Add syncfs.
54758
00e5419f
AS
547592011-04-01 Andreas Schwab <schwab@redhat.com>
54760
54761 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54762 open_by_handle_at.
54763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54768 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54770
748876bf
UD
547712011-04-01 Ulrich Drepper <drepper@gmail.com>
54772
658e451d
UD
54773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54775 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54780
748876bf
UD
54781 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54782 sync_file_range.c with -fexceptions.
54783 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54784 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54785 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54786 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54787 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54788 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54790 sync_file_range as cancellation point
54791 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54792 now a wrapper around __call_sync_file_range with cancellation handling.
54793 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54794 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54795 function name to __call_sync_file_range.
54796 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54797 Add call_sync_file_range.
748876bf 54798
6e63d5e1
AS
547992011-04-01 Andreas Schwab <schwab@redhat.com>
54800
54801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54802 bits/timex.h.
6e63d5e1 54803
46998f74
UD
548042011-04-01 Ulrich Drepper <drepper@gmail.com>
54805
4c1423ed
UD
54806 * iconv/iconv.h: Fix typo in comment.
54807 * io/fcntl.h: Likewise.
54808 * libio/stdio.h: Likewise.
54809 * posix/spawn.h: Likewise.
54810 * posix/unistd.h: Likewise.
54811 * stdlib/stdlib.h: Likewise.
54812 * time/time.h: Likewise.
54813 * wcsmbs/wchar.h: Likewise.
54814
158648c0
UD
54815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54816 open_by_handle): Add.
54817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54818 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54819 Augment a few comments.
54820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54825 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54826 open_by_handle.
54827
46998f74
UD
54828 * io/fcntl.h (AT_EMPTY_PATH): Define.
54829
83fe108b
UD
548302011-03-30 Ulrich Drepper <drepper@gmail.com>
54831
54832 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54833 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54834 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54835 to...
54836 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54837 * Versions.def: Add GLIBC_2.14.
54838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54839 Export.
83fe108b 54840
bb242059
UD
548412011-03-22 Ulrich Drepper <drepper@gmail.com>
54842
54843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54844 round counter.
54845 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54846
c97a1282
L
548472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54848
54849 [BZ #12597]
54850 * string/test-strncmp.c (do_page_test): New function.
54851 (check2): Likewise.
54852 (test_main): Call check2.
54853 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54854
2a115601
UD
548552011-03-20 Ulrich Drepper <drepper@gmail.com>
54856
54857 [BZ #12587]
54858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54859 Handle cache information in CPU leaf 4.
54860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54861
8126d904
UD
548622011-03-18 Ulrich Drepper <drepper@gmail.com>
54863
042c49c6 54864 [BZ #12583]
8126d904
UD
54865 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54866 character representation.
54867 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54868
ccfe366e
RA
548692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54870
54871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54872 END(__isnan) to END(__isnanf) to match function entry point/label
54873 EALIGN(__isnanf,...).
54874
c6e13027
JJ
548752011-03-10 Jakub Jelinek <jakub@redhat.com>
54876
54877 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54878
33f85a3f
UD
548792011-03-10 Ulrich Drepper <drepper@gmail.com>
54880
028478fa
UD
54881 [BZ #12510]
54882 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54883 copy from the symbol referenced in the relocation to initialize the
54884 used variable.
54885 Patch by Piotr Bury <pbury@goahead.com>.
54886 * elf/Makefile: Add rules to build and tst-unique3.
54887 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54888 * elf/tst-unique3.cc: New file.
54889 * elf/tst-unique3.h: New file.
54890 * elf/tst-unique3lib.cc: New file.
54891 * elf/tst-unique3lib2.cc: New file.
54892
33f85a3f
UD
54893 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54894
03592fc7
MF
548952011-03-10 Mike Frysinger <vapier@gentoo.org>
54896
54897 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54898 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54899 to _start.
03592fc7 54900
6a5ee102
UD
549012011-03-06 Ulrich Drepper <drepper@gmail.com>
54902
54903 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54904 to-be-loaded object along a path to loader is ld.so.
54905
7e4ba49c
HJ
549062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54907 Ulrich Drepper <drepper@gmail.com>
54908
54909 * sysdeps/x86_64/memset.S: After aligning destination, code
54910 branches to different locations depending on the value of
54911 misalignment, when multiarch is enabled. Fix this.
54912
549132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54914
54915 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54916 Set _x86_64_preferred_memory_instruction for AMD processsors.
54917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54918 Set bit_Prefer_SSE_for_memop for AMD processors.
54919
13a804de
UD
549202011-03-04 Ulrich Drepper <drepper@gmail.com>
54921
54922 * libio/fmemopen.c (fmemopen): Optimize a bit.
54923
9d25c392
AS
549242011-03-03 Andreas Schwab <schwab@redhat.com>
54925
54926 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54927
a5543c6a
RM
549282011-03-03 Roland McGrath <roland@redhat.com>
54929
54930 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54931
012d35f7
DM
549322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54933
7e4ba49c 54934 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54935 __bzero_ultra1 instead of __memset_ultra1.
54936
4bff6e01
AS
549372011-02-23 Andreas Schwab <schwab@redhat.com>
54938 Ulrich Drepper <drepper@gmail.com>
54939
54940 [BZ #12509]
54941 * include/link.h (struct link_map): Add l_orig_initfini.
54942 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54943 returning unsuccessfully.
54944 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54945 close of a file loaded at startup, restore the original l_initfini
54946 list.
54947 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54948 list, store the pointer.
54949 * elf/Makefile ($(objpfx)noload-mem): New rule.
54950 (noload-ENV): Define.
54951 (tests): Add $(objpfx)noload-mem.
54952 * elf/noload.c: Include <memcheck.h>.
54953 (main): Call mtrace. Close all opened handles.
54954
f2092faf
AS
549552011-02-17 Andreas Schwab <schwab@redhat.com>
54956
54957 [BZ #12454]
54958 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54959 dependencies are missing.
54960
6c8a2e88
ST
549612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54962
f2092faf 54963 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54964 Hurd needs munmap.
54965 * sysdeps/mach/hurd/ifreq.h: New file.
54966
84a42118
PB
549672011-01-27 Petr Baudis <pasky@suse.cz>
54968 Ulrich Drepper <drepper@gmail.com>
54969
071f805e 54970 [BZ 12445]#
84a42118
PB
54971 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54972 to extend_alloca().
54973 * stdio-common/bug23.c: New file.
54974 * stdio-common/Makefile (tests): Add bug23.
54975
e23fe25b
AS
549762010-09-28 Andreas Schwab <schwab@redhat.com>
54977 Ulrich Drepper <drepper@gmail.com>
54978
54979 [BZ #12489]
54980 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54981 before performing relro protection. At old place add assertion
54982 to make sure nothing changed.
54983
d3f02e10
NS
549842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54985 Glauber de Oliveira Costa <glommer@gmail.com>
54986
54987 * elf/elf.h: Add new ARM TLS relocs.
54988
d55fd7a5
RA
549892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54990
54991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54992 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54993 cast from r3.
54994 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54995 'tests' variable.
54996 * sysdeps/wordsize-64/tst-writev.c: New file.
54997
2206397e
RA
549982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54999
55000 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55001 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55002 insns in _dl_start to prevent a TOC reference before relocs are
55003 resolved.
55004
e9433893
UD
550052011-02-15 Ulrich Drepper <drepper@gmail.com>
55006
55007 [BZ #12469]
55008 * Makeconfig: Remove RANLIB definition.
55009 * Makerules: Don't use RANLIB.
55010 * aclocal.m4: Remove ranlib test.
55011 * configure.in: No need to check for ranlib.
55012 * elf/rtld-Rules: Don't use RANLIB.
55013
f75286c6
ST
550142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55015
8e31c82d
ST
55016 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55017 protection macro.
55018 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55019 inclusion protection macro.
55020
f75286c6
ST
55021 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55022 SIGRTMIN and SIGRTMAX and print information in that case only when
55023 SIGRTMIN is defined.
55024
c1d0e639
JJ
550252011-02-11 Jakub Jelinek <jakub@redhat.com>
55026
55027 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55028 arginfo fn returning -1.
55029
55030 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55031 and thousands string is zero terminated.
55032
edf9294e
AS
550332011-02-03 Andreas Schwab <schwab@redhat.com>
55034
55035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55036 sysdeps/unix/sysv/linux/bits/socket.h.
55037
2b7e92df
ST
550382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55039
edf9294e
AS
55040 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55041 (__CPU_COUNT): Remove old macros.
55042 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55043 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55044 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55045 (__sched_cpualloc, __sched_cpufree): Add declarations.
55046
a4c7ea7b
UD
550472011-02-05 Ulrich Drepper <drepper@gmail.com>
55048
55049 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55050 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55051 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55052 (readdhstai): Return value of addhstaiX call.
55053 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55054 (addgrbyX): Return value returned by cache_addgr.
55055 (readdgrbyname): Return value returned by addgrbyX.
55056 (readdgrbygid): Likewise.
55057 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55058 (addpwbyX): Return value returned by cache_addpw.
55059 (readdpwbyname): Return value returned by addhstbyX.
55060 (readdpwbyuid): Likewise.
55061 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55062 (addservbyX): Return value returned by cache_addserv.
55063 (readdservbyname): Return value returned by addservbyX:
55064 (readdservbyport): Likewise.
55065 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55066 (addhstbyX): Return value returned by cache_addhst.
55067 (readdhstbyname): Return value returned by addhstbyX.
55068 (readdhstbyaddr): Likewise.
55069 (readdhstbynamev6): Likewise.
55070 (readdhstbyaddrv6): Likewise.
55071 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55072 (readdinitgroups): Return value returned by addinitgroupsX.
55073 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55074 (prune_cache): Keep track of timeout value of re-added entries.
55075 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55076 * nscd/nscd.h: Adjust prototypes of readd* functions.
55077
a0bf67cc
RM
550782011-02-04 Roland McGrath <roland@redhat.com>
55079
55080 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55081 (nis_stats): Likewise.
55082 * nis/nis_modify.c (nis_modify): Likewise.
55083 * nis/nis_remove.c (nis_remove): Likewise.
55084 * nis/nis_add.c (nis_add): Likewise.
55085
55086 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55087
55088 * posix/fnmatch_loop.c: Add some consts.
55089
55090 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55091
435b95eb
L
550922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55093
55094 [BZ #12460]
55095 * config.make.in (config-cflags-novzeroupper): Define.
55096 * configure.in: Substitute libc_cv_cc_novzeroupper.
55097 * elf/Makefile (AVX-CFLAGS): Define.
55098 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55099 (CFLAGS-tst-auditmod4a.c): Likewise.
55100 (CFLAGS-tst-auditmod4b.c): Likewise.
55101 (CFLAGS-tst-auditmod6b.c): Likewise.
55102 (CFLAGS-tst-auditmod6c.c): Likewise.
55103 (CFLAGS-tst-auditmod7b.c): Likewise.
55104 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55105
8517b15e
UD
551062011-02-02 Ulrich Drepper <drepper@gmail.com>
55107
55108 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55109 function to the callback.
55110 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55111
10a656fe
AS
551122011-02-02 Andreas Schwab <schwab@redhat.com>
55113
55114 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55115 of errno.
55116
968dad0a
UD
551172011-01-19 Ulrich Drepper <drepper@gmail.com>
55118
9f94d2ea 55119 [BZ #11724]
968dad0a
UD
55120 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55121 of constructors.
55122 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55123 of destructors.
55124 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55125
55126 [BZ #11724]
55127 * elf/Makefile: Add rules to build and run new test.
55128 * elf/tst-initorder.c: New file.
55129 * elf/tst-initorder.exp: New file.
55130 * elf/tst-initordera1.c: New file.
55131 * elf/tst-initordera2.c: New file.
55132 * elf/tst-initordera3.c: New file.
55133 * elf/tst-initordera4.c: New file.
55134 * elf/tst-initorderb1.c: New file.
55135 * elf/tst-initorderb2.c: New file.
55136 * elf/tst-order-a1.c: New file.
55137 * elf/tst-order-a2.c: New file.
55138 * elf/tst-order-a3.c: New file.
55139 * elf/tst-order-a4.c: New file.
55140 * elf/tst-order-b1.c: New file.
55141 * elf/tst-order-b2.c: New file.
55142 * elf/tst-order-main.c: New file.
55143 New test case by George Gensure <werkt0@gmail.com>.
55144
86e92359
UD
551452010-10-01 Andreas Schwab <schwab@redhat.com>
55146
55147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55148 decoding ACE if AI_CANONIDN.
55149
5d5732b0
UD
551502011-01-18 Ulrich Drepper <drepper@gmail.com>
55151
55152 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55153
a77e8cbc
UD
551542011-01-17 Ulrich Drepper <drepper@gmail.com>
55155
6392473f
UD
55156 * version.h (RELEASE): Bump for 2.13 release.
55157 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55158
620a0529
UD
55159 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55160
18ba70a5
UD
55161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55162 MADV_NOHUGEPAGE.
32465c3e
UD
55163 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55169
c0dafcf1
UD
55170 * posix/getconf.c: Update copyright year.
55171 * catgets/gencat.c: Likewise.
55172 * csu/version.c: Likewise.
55173 * debug/catchsegv.sh: Likewise.
55174 * debug/xtrace.sh: Likewise.
55175 * elf/ldconfig.c: Likewise.
55176 * elf/ldd.bash.in: Likewise.
55177 * elf/sprof.c (print_version): Likewise.
55178 * iconv/iconv_prog.c: Likewise.
55179 * iconv/iconvconfig.c: Likewise.
55180 * locale/programs/locale.c: Likewise.
55181 * locale/programs/localedef.c: Likewise.
55182 * malloc/memusage.sh: Likewise.
55183 * malloc/mtrace.pl: Likewise.
55184 * nscd/nscd.c (print_version): Likewise.
55185 * nss/getent.c: Likewise.
55186
a77e8cbc
UD
55187 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55188 PF_CAIF, and PF_ALG.
55189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55190
77e8bddf
AS
551912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55192
1f20b93a
AS
55193 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55194 (modules-names): Use them.
55195 (ifunc-test-modules, ifunc-pie-tests): Define.
55196 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55197 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55198 (test-extras): Likewise.
55199 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55200 $(compile-command.c).
55201 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55202 (all-built-dso): Define.
55203 (check-textrel.out, check-execstack.out): Depend on it.
55204
77e8bddf
AS
55205 * configure.in: Don't override --enable-multi-arch.
55206
bc425b33
UD
552072011-01-15 Ulrich Drepper <drepper@gmail.com>
55208
55209 [BZ #6812]
55210 * nscd/hstcache.c (tryagain): Define.
55211 (cache_addhst): Return tryagain not notfound for temporary errors.
55212 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55213 failed.
55214
794c3ad3
UD
552152011-01-14 Ulrich Drepper <drepper@gmail.com>
55216
70181fdd
UD
55217 [BZ #10563]
55218 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55219 to make the syscall.
55220 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55221
794c3ad3
UD
55222 [BZ #12378]
55223 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55224 and fall back to matching as normal character if the string ends before
55225 the matching ']' is found. This is what POSIX requires.
55226 * posix/testfnm.c: Adjust test result.
55227 * posix/globtest.sh: Adjust test result. Add new test.
55228 * posix/tst-fnmatch.input: Likewise.
55229 * posix/tst-fnmatch2.c: Add new test.
55230
68dc9497
AS
552312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55232
55233 * elf/Makefile (check-execstack): Revert last change. Depend on
55234 check-execstack.h.
55235 (check-execstack.h): New target.
55236 (generated): Add check-execstack.h.
55237 * elf/check-execstack.c: Include "check-execstack.h".
55238 (main): Revert last change.
55239 (handle_file): Return zero if GNU_STACK is absent and
55240 DEFAULT_STACK_PERMS doesn't include PF_X.
55241
451f001b
UD
552422011-01-13 Ulrich Drepper <drepper@gmail.com>
55243
cfa28e56
UD
55244 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55245 in child fails because the descriptor is already closed.
8cf8ce17
UD
55246 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55247 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55248 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55249
1086d70d
UD
55250 [BZ #12397]
55251 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55252 syscall.
55253
451f001b
UD
55254 [BZ #10484]
55255 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55256 temporary buffer used to handle multi lookups locally.
a85b5cb4 55257 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55258
08769175
UD
552592011-01-12 Ulrich Drepper <drepper@gmail.com>
55260
55261 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55262 loader is ld.so.
55263
5e49c52e
UD
552642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55265
55266 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55267 alignment for SSE2.
55268
60522a5f
UD
552692011-01-12 Ulrich Drepper <drepper@gmail.com>
55270
55271 [BZ #12394]
55272 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55273 characters. When rounding increased number of integer digits recompute
55274 number of groups.
55275 * stdio-common/tst-grouping.c: New file.
55276 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55277
f257bbd7
UD
552782011-01-09 Ulrich Drepper <drepper@gmail.com>
55279
55280 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55281 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55282
55283 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55284 void.
55285 * bits/select.h: Likewise.
55286
fa9c15cb
UD
552872011-01-08 Ulrich Drepper <drepper@gmail.com>
55288
55289 * po/ja.po: Update from translation team.
55290
16c2895f
DM
552912011-01-04 David S. Miller <davem@sunset.davemloft.net>
55292
55293 [BZ #11155]
55294 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55295 implementation just like for lxstat, fxstatat, et al.
55296
2543fef2
JM
552972010-12-27 Jim Meyering <meyering@redhat.com>
55298
55299 [BZ #12348]
55300 * posix/regexec.c (build_trtable): Return failure indication upon
55301 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55302
98727dbe
UD
553032010-12-25 Ulrich Drepper <drepper@gmail.com>
55304
5bd6dc5c
UD
55305 [BZ #12201]
55306 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55307 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55308 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55310
97983464
UD
55311 [BZ #12207]
55312 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55313
98727dbe
UD
55314 [BZ #12204]
55315 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55316 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55317
4a531bb0
L
553182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55319
55320 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55321 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55322 script has SORT_BY_INIT_PRIORITY.
55323 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55324 NO_CTORS_DTORS_SECTIONS is defined.
55325 * elf/soinit.c: Likewise.
55326 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55327 NO_CTORS_DTORS_SECTIONS is defined.
55328 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55329 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55330 * sysdeps/sh/init-first.c: Likewise.
55331 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55332
07eb4b71
UD
553332010-12-24 Ulrich Drepper <drepper@gmail.com>
55334
55335 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55336 always use the slow path.
55337
30950a5f
RA
553382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55339
55340 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55341 similar rule which adds the sysdep directories to the header search in
55342 order to pick up the correct platform stackinfo.h.
55343 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55344 perform test if it is, otherwise return successfully without testing.
55345 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55346 DEFAULT_STACK_PERMS define in stackinfo.h.
55347 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55348 defined in stackinfo.h.
55349 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55350 DEFAULT_STACK_PERMS defined in stackinfo.h.
55351 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55352 * sysdeps/ia64/stackinfo.h: Likewise.
55353 * sysdeps/s390/stackinfo.h: Likewise.
55354 * sysdeps/sh/stackinfo.h: Likewise.
55355 * sysdeps/sparc/stackinfo.h: Likewise.
55356 * sysdeps/x86_64/stackinfo.h: Likewise.
55357 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55358 PF_X for powerpc64. Retain PF_X for powerpc32.
55359
db753e2c
UD
553602010-12-19 Ulrich Drepper <drepper@gmail.com>
55361
14b697f7
UD
55362 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55363 accurately.
db753e2c
UD
55364 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55365 GETDENTS_64BIT_ALIGNED.
55366
28300719
UD
553672010-12-14 Ulrich Drepper <dreper@gmail.com>
55368
14b697f7 55369 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55370
4f197237
AS
553712010-12-10 Andreas Schwab <schwab@redhat.com>
55372
dbb0472f
AS
55373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55374 _GNU_SOURCE.
55375
4f197237
AS
55376 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55377 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55378 Remove __restrict.
55379 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55380 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55381
fb88ac72
UD
553822010-12-09 Ulrich Drepper <drepper@gmail.com>
55383
55384 [BZ #11655]
55385 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55386 are initialized.
55387
42acbb92
JJ
553882010-12-09 Jakub Jelinek <jakub@redhat.com>
55389
55390 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55391
c038d98d
UD
553922010-12-03 Ulrich Drepper <drepper@gmail.com>
55393
55394 * po/it.po: Update from translation team.
55395
3a4a2499
L
553962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55397
55398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55399 unused codes.
55400
1e24cf6e
UD
554012010-11-30 Ulrich Drepper <drepper@gmail.com>
55402
55403 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55404
a7690819
AS
554052010-11-24 Andreas Schwab <schwab@redhat.com>
55406
55407 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55408 specially.
55409 (gaih_getanswer_slice): Likewise.
55410
3bf8d1b1
JJ
554112010-10-20 Jakub Jelinek <jakub@redhat.com>
55412
55413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55414
6db52fbb
PB
554152010-05-31 Petr Baudis <pasky@suse.cz>
55416
55417 [BZ #11149]
55418 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55419 silently even in the chroot mode.
55420
eaca7569
UD
554212010-11-22 Ulrich Drepper <drepper@gmail.com>
55422
55423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55424 last patch a bit. Pretty printing
55425
3056dcdb
UD
554262010-05-31 Petr Baudis <pasky@suse.cz>
55427
55428 [BZ #10085]
55429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55430 initialization of skip_initgroups_dyn.
55431
cf7c9078
UD
554322010-11-19 Ulrich Drepper <drepper@gmail.com>
55433
55434 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55436
a1fb5e3e
UD
554372010-11-16 Ulrich Drepper <drepper@gmail.com>
55438
55439 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55440
3540d66b
AS
554412010-11-11 Andreas Schwab <schwab@redhat.com>
55442
55443 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55444 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55445 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55446 ($(objpfx)tst-fnmatch-mem): New rule.
55447 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55448 * posix/tst-fnmatch.c (main): Call mtrace.
55449
13b69574
L
554502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55451
55452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55453 Support Intel processor model 6 and model 0x2c.
55454
da93d214
LM
554552010-11-10 Luis Machado <luisgpm@br.ibm.com>
55456
55457 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55458 signed comparison.
55459
8ca52c6e
L
554602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55461
55462 [BZ #12205]
55463 * string/test-strncasecmp.c (check_result): New function.
55464 (do_one_test): Use it.
55465 (check1): New function.
55466 (test_main): Use it.
55467 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55468 Support strcasecmp and strncasecmp.
55469
69da074d
UD
554702010-11-08 Ulrich Drepper <drepper@gmail.com>
55471
55472 [BZ #12194]
55473 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55475
ff02d528
L
554762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55477
55478 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55479 IFUNC support.
55480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55481 memset-x86-64.
55482 * sysdeps/x86_64/multiarch/bzero.S: New file.
55483 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55484 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55485 * sysdeps/x86_64/multiarch/memset.S: New file.
55486 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55488 Set bit_Prefer_SSE_for_memop for Intel processors.
55489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55490 Define.
55491 (index_Prefer_SSE_for_memop): Define.
55492 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55493
344d0b54
LM
554942010-11-04 Luis Machado <luisgpm@br.ibm.com>
55495
55496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55498
c0dde15b
UD
554992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55500
55501 [BZ #12191]
55502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55503 (__x86_64_raw_data_cache_size_half): Likewise.
55504 (__x86_64_raw_shared_cache_size): Likewise.
55505 (__x86_64_raw_shared_cache_size_half): Likewise.
55506
55507 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55508 (__x86_64_raw_data_cache_size_half): Likewise.
55509 (__x86_64_raw_shared_cache_size): Likewise.
55510 (__x86_64_raw_shared_cache_size_half): Likewise.
55511 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55512 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55513 and __x86_64_raw_shared_cache_size_half. Round
55514 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55515 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55516 to multiple of 256 bytes.
55517
0e516e0e
MS
555182010-11-03 Ulrich Drepper <drepper@gmail.com>
55519
55520 [BZ #12167]
55521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55522 of inacessible symlinks. Verify result of symlink before returning it.
55523 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55524 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55525
0e012e87
ER
555262010-10-28 Erich Ritz <erichritz@gmail.com>
55527
55528 * math/math.h (isinf): Fix typo in comment.
55529
de0ff7bc
UD
555302010-11-01 Ulrich Drepper <drepper@gmail.com>
55531
55532 * po/da.po: Update from translation team.
55533
fa41c84d
UD
555342010-10-26 Ulrich Drepper <drepper@gmail.com>
55535
55536 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55537 is added to the list.
55538
f0967738
AK
555392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55540 Ulrich Drepper <drepper@gmail.com>
55541
55542 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55543 the global list here. Move code to...
55544 (_dl_add_to_namespace_list): ...here. New function.
55545 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55546 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55547 * elf/dl-load.c (lose): Don't remove the element from the list.
55548 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55549 (_dl_map_object): Likewise.
55550
555512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55552
55553 [BZ #12159]
55554 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55555 into all bytes of SSE register.
55556 Patch by Richard Li <richardpku@gmail.com>.
55557
f0967738 555582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55559
55560 [BZ #12140]
55561 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55562 perturbing.
55563
d0b9e94f
MB
555642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55565
55566 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55567 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55571 submachine.
55572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55573
8e9f92e9
AS
555742010-10-22 Andreas Schwab <schwab@redhat.com>
55575
55576 * include/dlfcn.h (__RTLD_SECURE): Define.
55577 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55578 mode & __RTLD_SECURE instead.
55579 (open_path): Rename preloaded parameter to secure.
55580 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55581 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55582 * elf/dl-deps.c (openaux): Likewise.
55583 * elf/rtld.c (struct map_args): Remove is_preloaded.
55584 (map_doit): Don't use it.
55585 (dl_main): Likewise.
55586 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55587 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55588
bc96fbda
AS
555892010-09-09 Andreas Schwab <schwab@redhat.com>
55590
55591 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55592 (sysd-rules-targets): Remove duplicates.
55593 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55594 rtld-%.$o dependency.
55595
22cd1c9b
AS
555962010-10-18 Andreas Schwab <schwab@redhat.com>
55597
55598 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55599 _dl_map_object do it.
55600
18edac48
UD
556012010-10-19 Ulrich Drepper <drepper@gmail.com>
55602
55603 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55604 fast fma builtins, define the macros in the C99 standard.
55605 (FP_FAST_FMAF): Likewise.
55606 (FP_FAST_FMAL): Likewise.
55607 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55608
55609 * bits/mathdef.h: Update copyright year.
55610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55611
d2050124
MM
556122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55613
55614 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55615 builtins, define the macros in the C99 standard.
55616 (FP_FAST_FMAF): Likewise.
55617 (FP_FAST_FMAL): Likewise.
55618 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55619 multiply/add.
55620 (FP_FAST_FMAF): Likewise.
55621
475facd1
JJ
556222010-10-15 Jakub Jelinek <jakub@redhat.com>
55623
55624 [BZ #3268]
55625 * math/libm-test.inc (fma_test): Some new testcases.
55626 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55628 y and infinite z. Do multiplication by C already in long double.
55629 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55631 y and infinite z. Do bitwise or of inexact bit into u.d.
55632 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55633 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55634 * sysdeps/i386/fpu/s_fma.S: Removed.
55635 * sysdeps/i386/fpu/s_fmal.S: Removed.
55636
7c08a05c
JJ
556372010-10-16 Jakub Jelinek <jakub@redhat.com>
55638
55639 [BZ #3268]
55640 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55642 computation is not scheduled after fetestexcept. Fix value
55643 of minimum denormal long double.
55644
f3f7372d
JJ
556452010-10-14 Jakub Jelinek <jakub@redhat.com>
55646
55647 [BZ #3268]
55648 * math/libm-test.inc (fma_test): Add some more tests.
55649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55650 correctly.
55651
14d43591
AS
556522010-10-15 Andreas Schwab <schwab@redhat.com>
55653
55654 * scripts/data/localplt-s390-linux-gnu.data: New file.
55655 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55656
5e908464
JJ
556572010-10-13 Jakub Jelinek <jakub@redhat.com>
55658
55659 [BZ #3268]
55660 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55661 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55662 instead of dbl-64.
55663 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55664 inlines.
55665 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55667 if one of x and y is very large and the other is subnormal.
55668 * sysdeps/s390/fpu/s_fmaf.c: New file.
55669 * sysdeps/s390/fpu/s_fma.c: New file.
55670 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55671 * sysdeps/powerpc/fpu/s_fma.S: New file.
55672 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55673 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55674 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55675
556762010-10-12 Jakub Jelinek <jakub@redhat.com>
55677
55678 [BZ #3268]
55679 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55680 fma tests.
55681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55682 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55683 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55684 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55685 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55686 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55687 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55688
b833d51f
UD
556892010-10-12 Ulrich Drepper <drepper@redhat.com>
55690
55691 [BZ #12078]
55692 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55693 * posix/bug-regex31.input: Add test case.
55694
1751705d
UD
556952010-10-11 Ulrich Drepper <drepper@gmail.com>
55696
e9b9cbf5
UD
55697 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55698 * posix/bug-regex31.input: New file.
55699
55700 [BZ #12078]
55701 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55702 (parse_sub_exp): Fix last change, use postorder.
55703
ef06edbe
UD
55704 * posix/bug-regex31.c: New file.
55705 * posix/Makefile: Add rules to build and run bug-regex31.
55706
a129c80d
UD
55707 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55708
55709 [BZ #12078]
55710 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55711
b76b818e
UD
55712 [BZ #12108]
55713 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55714 to have entries in sys_siglist.
55715
1751705d
UD
55716 [BZ #12093]
55717 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55718 be NULL.
55719
9ff8d36f
JJ
557202010-10-07 Jakub Jelinek <jakub@redhat.com>
55721
55722 [BZ #3268]
55723 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55724 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55725 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55726 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55727 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55728 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55729 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55730 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55731 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55732 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55733 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55734 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55735 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55736 * math/ftestexcept.c (fetestexcept): Likewise.
55737 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55738 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55739 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55740 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55741 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55742 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55743 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55744
af325969
UD
557452010-10-11 Ulrich Drepper <drepper@gmail.com>
55746
c579b202 55747 [BZ #12107]
af325969
UD
55748 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55749 newline.
55750
67a67b95
UD
557512010-10-06 Ulrich Drepper <drepper@gmail.com>
55752
55753 * string/bug-strstr1.c: New file.
55754 * string/Makefile: Add rules to build and run bug-strstr1.
55755
5fb308bc
EB
557562010-10-05 Eric Blake <eblake@redhat.com>
55757
55758 [BZ #12092]
55759 * string/str-two-way.h (two_way_long_needle): Always clear memory
55760 when skipping input due to the shift table.
55761
45db99c7
UD
557622010-10-03 Ulrich Drepper <drepper@gmail.com>
55763
3b111893
UD
55764 [BZ #12005]
55765 * malloc/mcheck.c: Handle large requests.
55766
45db99c7
UD
55767 [BZ #12077]
55768 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55769 for strncmp and strncasecmp.
55770 * string/stratcliff.c: Add tests for strcmp and strncmp.
55771 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55772
cf7a1eb8
NI
557732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55774
55775 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55776 __set_fpscr.
55777
6484ba5e
AJ
557782010-09-30 Andreas Jaeger <aj@suse.de>
55779
55780 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55781 (CGROUP_SUPER_MAGIC): Define.
55782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55783 Handle btrfs and cgroup file systems.
55784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55785 Likewise.
55786
91c42559
LM
557872010-09-27 Luis Machado <luisgpm@br.ibm.com>
55788
55789 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55790 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55791
87a97932
AK
557922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55793
55794 [BZ #12067]
55795 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55796 trying to locate the ELF header.
55797
c21cc9bc
AS
557982010-09-27 Andreas Schwab <schwab@redhat.com>
55799
55800 [BZ #11611]
55801 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55802 Mask out sign-bit copies when constructing f_fsid.
55803
315970f6
PB
558042010-09-24 Petr Baudis <pasky@suse.cz>
55805
55806 * debug/stack_chk_fail_local.c: Add missing licence exception.
55807 * debug/warning-nop.c: Likewise.
55808
1ac7a2c7
JM
558092010-09-15 Joseph Myers <joseph@codesourcery.com>
55810
55811 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55812 implementing getdents64 using getdents syscall, set d_type if
55813 __ASSUME_GETDENTS32_D_TYPE.
55814
56801c50
AS
558152010-09-16 Andreas Schwab <schwab@redhat.com>
55816
55817 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55818 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55819
dda51327
UD
558202010-09-21 Ulrich Drepper <drepper@redhat.com>
55821
55822 [BZ #12037]
55823 * posix/unistd.h: Undo change of feature selection for ftruncate from
55824 2010-01-11.
55825
8ffcee4a
UD
558262010-09-20 Ulrich Drepper <drepper@redhat.com>
55827
a545ecd9 55828 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55829 detection.
55830
e24f0a8b
AS
558312010-09-20 Andreas Schwab <schwab@redhat.com>
55832
55833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55834 fanotify_mark.
55835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55836
7291c56f
AS
558372010-09-14 Andreas Schwab <schwab@redhat.com>
55838
55839 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55840 variables after CHECK_SP call.
55841 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55842
bc5fb037
AS
558432010-09-13 Andreas Schwab <schwab@redhat.com>
55844 Ulrich Drepper <drepper@redhat.com>
55845
55846 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55847 re-relocationg ld.so.
55848 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55849 _dl_init_paths call.
55850 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55851 here anymore.
55852
e66e7419
UD
558532010-09-14 Ulrich Drepper <drepper@redhat.com>
55854
55855 * resolv/res_init.c (__res_vinit): Count the default server we added.
55856
c044aa75
CLT
558572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55858 Ulrich Drepper <drepper@redhat.com>
55859
55860 [BZ #11968]
55861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55862 (____longjmp_chk): Use %ebx for saving value across system call.
55863 Add unwind info.
55864
32cf4069
AS
558652010-09-06 Andreas Schwab <schwab@redhat.com>
55866
55867 * manual/Makefile: Don't mix pattern rules with normal rules.
55868
817328ee
AS
558692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55870
55871 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55872 operation.
55873 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55874 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55875 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55876 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55878 Likewise.
55879
29fddf61
UD
558802010-09-04 Ulrich Drepper <drepper@redhat.com>
55881
55882 [BZ #11979]
55883 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55884 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55885
0959ffc9
UD
558862010-09-02 Ulrich Drepper <drepper@redhat.com>
55887
55888 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55889 * sysdeps/x86_64/addmul_1.S: Likewise.
55890 * sysdeps/x86_64/lshift.S: Likewise.
55891 * sysdeps/x86_64/mul_1.S: Likewise.
55892 * sysdeps/x86_64/rshift.S: Likewise.
55893 * sysdeps/x86_64/sub_n.S: Likewise.
55894 * sysdeps/x86_64/submul_1.S: Likewise.
55895
ece29840
ST
558962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55897
0959ffc9
UD
55898 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55899 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55900 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55901 * bits/sched.h [__need_schedparam]
ece29840 55902 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55903 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55904 (__defined_schedparam): Define to 1.
ece29840
ST
55905 (__sched_param): New structure, identical to sched_param.
55906 (__need_schedparam): Undefine.
55907
e53a31fe
MF
559082010-08-31 Mike Frysinger <vapier@gentoo.org>
55909
fdc0c10d
MF
55910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55911 (epoll_create1): Declare.
55912
e53a31fe
MF
55913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55914
a726d796
AS
559152010-08-31 Andreas Schwab <schwab@redhat.com>
55916
55917 [BZ #7066]
55918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55919 shifting retval into place.
55920
2f3e3dc7
UD
559212010-09-01 Ulrich Drepper <drepper@redhat.com>
55922
f2933da9
UD
55923 * nis/rpcsvc/nis.h: Update copyright notice.
55924 * nis/rpcsvc/nis.x: Likewise.
55925 * nis/rpcsvc/nis_callback.h: Likewise.
55926 * nis/rpcsvc/nis_callback.x: Likewise.
55927 * nis/rpcsvc/nis_object.x: Likewise.
55928 * nis/rpcsvc/nis_tags.h: Likewise.
55929 * nis/rpcsvc/yp.h: Likewise.
55930 * nis/rpcsvc/yp.x: Likewise.
55931 * nis/rpcsvc/ypupd.h: Likewise.
55932 * nis/yp_xdr.c: Likewise.
55933 * nis/ypupdate_xdr.c: Likewise.
55934
2f3e3dc7
UD
55935 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55936 mainly the body of pmap_getport. Add parameters to specify timeouts.
55937 (pmap_getport): Use __libc_rpc_getport.
55938 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55939 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55940 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55941
f3dcc2f9
AS
559422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55943
55944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55945 fanotify_mark.
55946
6d34eb5b
RM
559472010-08-27 Roland McGrath <roland@redhat.com>
55948
55949 * sysdeps/i386/i686/multiarch/Makefile
55950 (CFLAGS-varshift.c): New variable.
55951
9ea3de11
UD
559522010-08-27 Ulrich Drepper <drepper@redhat.com>
55953
c96d23fc
UD
55954 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55955 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55956
9ea3de11
UD
55957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55958
55959 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55960
623aac7f
L
559612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55962
55963 * sysdeps/x86_64/strlen.S: Unroll the loop.
55964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55965 strlen-sse2 strlen-sse2-bsf.
55966 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55967 __strlen_no_bsf if bit_Slow_BSF is set.
55968 (__strlen_sse42): Removed.
55969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55970 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55971
8b2b7715
RM
559722010-08-25 Roland McGrath <roland@redhat.com>
55973
55974 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55975 * sysdeps/x86_64/multiarch/varshift.c: New file.
55976 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55977 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55978 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55979 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55980
e73015f2
L
559812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55982
55983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55984 strlen-sse2 strlen-sse2-bsf.
55985 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55986 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55987 (__strlen_sse2): Removed.
55988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55991 bit_Slow_BSF for Atom.
55992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55993 (index_Slow_BSF): Define.
55994 (HAS_SLOW_BSF): Define.
55995
df24a73e
UD
559962010-08-25 Ulrich Drepper <drepper@redhat.com>
55997
55998 [BZ #10851]
55999 * resolv/res_init.c (__res_vinit): When no server address at all
56000 is given default to loopback.
56001
f2ac4868
RM
560022010-08-24 Roland McGrath <roland@redhat.com>
56003
09055553
RM
56004 * configure.in: Remove config-name.h generation.
56005 * configure: Regenerated.
56006 * config-name.in: File removed.
56007 * scripts/config-uname.sh: New file.
56008 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56009 ($(objdir)config-name.h): New target.
56010
f2ac4868
RM
56011 * sunrpc/rpc_parse.h: Avoid nested comment.
56012
73f27d5e
RH
560132010-08-24 Richard Henderson <rth@redhat.com>
56014 Ulrich Drepper <drepper@redhat.com>
56015 H.J. Lu <hongjiu.lu@intel.com>
56016
56017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56019 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56020 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56021 _mm_alignr_epi8 with _mm_loadu_si128.
56022 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56023 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56024 (__m128i_shift_right): Removed.
56025 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56026 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56027 * sysdeps/x86_64/multiarch/varshift.h: New file.
56028 * sysdeps/x86_64/multiarch/varshift.S: New file.
56029
84b9230c
MF
560302010-08-21 Mike Frysinger <vapier@gentoo.org>
56031
56032 * configure.in: Move assembler checks to before sysdep dir checking.
56033
9bbd0ddc
PB
560342010-08-20 Petr Baudis <pasky@suse.cz>
56035
56036 * LICENSES: Sync the sunrpc license.
56037
9da4bb31
UD
560382010-08-19 Ulrich Drepper <drepper@redhat.com>
56039
a7ab6ec8
UD
56040 * sunrpc/auth_des.c: Update copyright notice once again.
56041 * sunrpc/auth_none.c: Likewise.
56042 * sunrpc/auth_unix.c: Likewise.
56043 * sunrpc/authdes_prot.c: Likewise.
56044 * sunrpc/authuxprot.c: Likewise.
56045 * sunrpc/bindrsvprt.c: Likewise.
56046 * sunrpc/clnt_gen.c: Likewise.
56047 * sunrpc/clnt_perr.c: Likewise.
56048 * sunrpc/clnt_raw.c: Likewise.
56049 * sunrpc/clnt_simp.c: Likewise.
56050 * sunrpc/clnt_tcp.c: Likewise.
56051 * sunrpc/clnt_udp.c: Likewise.
56052 * sunrpc/clnt_unix.c: Likewise.
56053 * sunrpc/des_crypt.c: Likewise.
56054 * sunrpc/des_soft.c: Likewise.
56055 * sunrpc/get_myaddr.c: Likewise.
56056 * sunrpc/getrpcport.c: Likewise.
56057 * sunrpc/key_call.c: Likewise.
56058 * sunrpc/key_prot.c: Likewise.
56059 * sunrpc/openchild.c: Likewise.
56060 * sunrpc/pm_getmaps.c: Likewise.
56061 * sunrpc/pm_getport.c: Likewise.
56062 * sunrpc/pmap_clnt.c: Likewise.
56063 * sunrpc/pmap_prot.c: Likewise.
56064 * sunrpc/pmap_prot2.c: Likewise.
56065 * sunrpc/pmap_rmt.c: Likewise.
56066 * sunrpc/rpc/auth.h: Likewise.
56067 * sunrpc/rpc/auth_unix.h: Likewise.
56068 * sunrpc/rpc/clnt.h: Likewise.
56069 * sunrpc/rpc/des_crypt.h: Likewise.
56070 * sunrpc/rpc/key_prot.h: Likewise.
56071 * sunrpc/rpc/netdb.h: Likewise.
56072 * sunrpc/rpc/pmap_clnt.h: Likewise.
56073 * sunrpc/rpc/pmap_prot.h: Likewise.
56074 * sunrpc/rpc/pmap_rmt.h: Likewise.
56075 * sunrpc/rpc/rpc.h: Likewise.
56076 * sunrpc/rpc/rpc_des.h: Likewise.
56077 * sunrpc/rpc/rpc_msg.h: Likewise.
56078 * sunrpc/rpc/svc.h: Likewise.
56079 * sunrpc/rpc/svc_auth.h: Likewise.
56080 * sunrpc/rpc/types.h: Likewise.
56081 * sunrpc/rpc/xdr.h: Likewise.
56082 * sunrpc/rpc_clntout.c: Likewise.
56083 * sunrpc/rpc_cmsg.c: Likewise.
56084 * sunrpc/rpc_common.c: Likewise.
56085 * sunrpc/rpc_cout.c: Likewise.
56086 * sunrpc/rpc_dtable.c: Likewise.
56087 * sunrpc/rpc_hout.c: Likewise.
56088 * sunrpc/rpc_main.c: Likewise.
56089 * sunrpc/rpc_parse.c: Likewise.
56090 * sunrpc/rpc_parse.h: Likewise.
56091 * sunrpc/rpc_prot.c: Likewise.
56092 * sunrpc/rpc_sample.c: Likewise.
56093 * sunrpc/rpc_scan.c: Likewise.
56094 * sunrpc/rpc_scan.h: Likewise.
56095 * sunrpc/rpc_svcout.c: Likewise.
56096 * sunrpc/rpc_tblout.c: Likewise.
56097 * sunrpc/rpc_util.c: Likewise.
56098 * sunrpc/rpc_util.h: Likewise.
56099 * sunrpc/rpcinfo.c: Likewise.
56100 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56101 * sunrpc/rpcsvc/key_prot.x: Likewise.
56102 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56103 * sunrpc/rpcsvc/mount.x: Likewise.
56104 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56105 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56106 * sunrpc/rpcsvc/rex.x: Likewise.
56107 * sunrpc/rpcsvc/rstat.x: Likewise.
56108 * sunrpc/rpcsvc/rusers.x: Likewise.
56109 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56110 * sunrpc/rpcsvc/spray.x: Likewise.
56111 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56112 * sunrpc/rtime.c: Likewise.
56113 * sunrpc/svc.c: Likewise.
56114 * sunrpc/svc_auth.c: Likewise.
56115 * sunrpc/svc_authux.c: Likewise.
56116 * sunrpc/svc_raw.c: Likewise.
56117 * sunrpc/svc_run.c: Likewise.
56118 * sunrpc/svc_simple.c: Likewise.
56119 * sunrpc/svc_tcp.c: Likewise.
56120 * sunrpc/svc_udp.c: Likewise.
56121 * sunrpc/svc_unix.c: Likewise.
56122 * sunrpc/svcauth_des.c: Likewise.
56123 * sunrpc/xcrypt.c: Likewise.
56124 * sunrpc/xdr.c: Likewise.
56125 * sunrpc/xdr_array.c: Likewise.
56126 * sunrpc/xdr_float.c: Likewise.
56127 * sunrpc/xdr_mem.c: Likewise.
56128 * sunrpc/xdr_rec.c: Likewise.
56129 * sunrpc/xdr_ref.c: Likewise.
56130 * sunrpc/xdr_sizeof.c: Likewise.
56131 * sunrpc/xdr_stdio.c: Likewise.
56132
9da4bb31
UD
56133 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56134 handling.
56135
bdaa77bc
AS
561362010-08-19 Andreas Schwab <schwab@redhat.com>
56137
56138 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56139
fe2f79db
LM
561402010-08-19 Luis Machado <luisgpm@br.ibm.com>
56141
56142 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56143 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56144 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56145 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56146 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56147 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56148 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56149 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56151 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56152 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56153 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56154 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56155 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56156
b9b42ee0
AB
561572010-07-26 Anton Blanchard <anton@samba.org>
56158
56159 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56160 * malloc/arena.c (heap_trim): Likewise.
56161
1c06ba31
UD
561622010-08-16 Ulrich Drepper <drepper@redhat.com>
56163
56164 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56165 here. Not...
56166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56167 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56168
f8392f40
L
561692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56170
56171 * sysdeps/i386/elf/Makefile: New file.
56172
3162f12e
AS
561732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56174
56175 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56176 from fanotify_init.
56177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56179
28c90b2c
UD
561802010-08-15 Ulrich Drepper <drepper@redhat.com>
56181
56182 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56183 of strncasecmp_l.
1feccb6c 56184 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56185
ca6bb004
UD
561862010-08-14 Ulrich Drepper <drepper@redhat.com>
56187
e9f82e0d
UD
56188 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56189 strncase_l-nonascii.
56190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56191 Add strncase_l-ssse3.
56192 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56193 * sysdeps/x86_64/strcmp.S: Likewise.
56194 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56195 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56196 * sysdeps/x86_64/strncase.S: New file.
56197 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56198 * sysdeps/x86_64/strncase_l.S: New file.
56199 * string/Makefile (strop-tests): Add strncasecmp.
56200 * string/test-strncasecmp.c: New file.
56201
56202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56203 warning.
56204
ca6bb004
UD
56205 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56206 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56207
052fa7b3
AS
562082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56209
56210 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56211
962dba78
UD
562122010-08-12 Ulrich Drepper <drepper@redhat.com>
56213
56214 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56215 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56217
bebff237
AM
562182010-05-01 Alan Modra <amodra@gmail.com>
56219
56220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56221 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56222 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56223 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56224 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56225 tidying. Don't tail-call __sigjmp_save for static lib.
56226 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56227 save location.
56228 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56229 (CALL_MCOUNT): Add eh info, and nop after bl.
56230 (TAIL_CALL_SYSCALL_ERROR): New macro.
56231 (PSEUDO_RET): Use it.
56232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56233 Correct save location of integer regs and cr.
56234 (_dl_profile_resolve): Correct cr save location. Delete nops
56235 after bl when SHARED. Reduce cfi size a little by better
56236 placement of cfi directives.
56237 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56238 make a stack frame. Instead use parm save area as a temp.
56239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56240 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56242 Don't make a stack frame for parent, use parm save area.
56243 Increase child stack frame to 112 bytes. Don't save unused reg,
56244 and adjust reg usage. Set up cfi on error recovery and
56245 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56247 (__makecontext): Add dummy nop after jump to exit.
56248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56249 Use correct parm save area and cr save, reduce stack frame.
56250 Correct cfi for possible PSEUDO_RET frame setup.
56251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56252 Branch to local label emitted by PSEUDO_RET rather than
56253 __syscall_error.
56254
02637374
AS
562552010-08-12 Andreas Schwab <schwab@redhat.com>
56256
56257 [BZ #11904]
56258 * locale/programs/locale.c (print_assignment): New function.
56259 (show_locale_vars): Use it.
56260
c3e2f19b
UD
562612010-08-11 Ulrich Drepper <drepper@redhat.com>
56262
3cdaa6ad
UD
56263 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56264 field.
56265 (struct statfs64): Likewise.
56266 (_STATFS_F_FLAGS): Define.
56267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56269 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56270 (ST_VALID): Define locally.
56271 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56272 __statvfs_getflags, use the provided value.
56273 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56274 __ASSUME_STATFS_F_FLAGS.
56275
754f7da3
UD
56276 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56277
10b3bedc
UD
56278 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56279 Add sys/fanotify.h.
56280 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56281 fanotify_mask for GLIBC_2.13.
56282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56283 fanotify_init and fanotify_mark.
56284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56285 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56286
c08fb0d7
UD
56287 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56288 Add prlimit.
56289 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56290 prlimit64 for GLIBC_2.13.
56291 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56292 prlimit64.
56293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56294 syscall.
56295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56297 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56300 add prlimit alias.
56301 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56302
15bac72b
UD
56303 [BZ #11903]
56304 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56305 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56306
c3e2f19b
UD
56307 * nss/Makefile: Add rules to build and run tst-nss-test1.
56308 * shlib-versions: Add entry for libnss_test1.
56309 * nss/nss_test1.c: New file.
56310 * nss/tst-nss-test1.c: New file.
56311
56312 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56313 (__nss_configure_lookup): Set appropriate entry in
56314 __nss_configure_lookup to true.
56315 * nss/nsswitch.h: Define enum with indeces of databases in
56316 databases and __nss_database_custom arrays. Declare
56317 __nss_database_custom.
56318 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56319 to avoid using nscd when custom rules are installed.
56320 * nss/getXXbyYY_r.c: Likewise.
56321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56322
56323 * nss/nss_files/files-parse.c: Whitespace fixes.
56324
f15ce4d8
UD
563252010-08-09 Ulrich Drepper <drepper@redhat.com>
56326
56327 [BZ #11883]
56328 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56329 * posix/fnmatch_loop.c: Likewise.
56330
d22e4cc9
AK
563312010-07-17 Andi Kleen <ak@linux.intel.com>
56332
56333 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56334 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56335 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56336 * Versions.def [GLIBC_2.13]: Add.
56337
805bc17d
UD
563382010-08-06 Ulrich Drepper <drepper@redhat.com>
56339
56340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56341 Also fail if tpwd after pwuid call is NULL.
56342
5a42321d
ST
563432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56344
56345 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56346 when converting to ms.
56347
fd3ebeda
ST
563482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56349
56350 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56351 EOPNOTSUPP errors with ENOTTY.
56352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56353 EOPNOTSUPP errors with ENOTTY.
56354
73507d3a
UD
563552010-07-31 Ulrich Drepper <drepper@redhat.com>
56356
56357 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56358 Add strcasecmp_l-ssse3.
56359 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56360 strcasecmp.
56361 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56362 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56363 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56364
fe36dd02
UD
563652010-07-30 Ulrich Drepper <drepper@redhat.com>
56366
66f6765a
UD
56367 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56368
42e08a54
UD
56369 * string/Makefile (strop-tests): Add strcasecmp.
56370 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56371 strcasecmp_l-nonascii.
56372 (gen-as-const-headers): Add locale-defines.sym.
56373 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56374 * sysdeps/x86_64/strcasecmp.S: New file.
56375 * sysdeps/x86_64/strcasecmp_l.S: New file.
56376 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56377 * sysdeps/x86_64/locale-defines.sym: New file.
56378 * string/test-strcasecmp.c: New file.
56379
fe36dd02
UD
56380 * string/test-strcasestr.c: Test both ends of the range of characters.
56381 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56382
48cbc0d6
RM
563832010-07-29 Roland McGrath <roland@redhat.com>
56384
76e6d6bc 56385 [BZ #11856]
48cbc0d6
RM
56386 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56387
880113d9
UD
563882010-07-27 Ulrich Drepper <drepper@redhat.com>
56389
56390 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56391 for ld.so.
56392
deb9cabb
AS
563932010-07-27 Andreas Schwab <schwab@redhat.com>
56394
56395 * manual/memory.texi (Malloc Tunable Parameters): Document
56396 M_PERTURB.
56397
1c7570ff
RM
563982010-07-26 Roland McGrath <roland@redhat.com>
56399
56400 [BZ #11840]
56401 * configure.in (-fgnu89-inline check): Set and substitute
56402 gnu89_inline, not libc_cv_gnu89_inline.
56403 * configure: Regenerated.
56404 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56405
24fb0f88
UD
564062010-07-26 Ulrich Drepper <drepper@redhat.com>
56407
56408 * string/test-strnlen.c: New file.
56409 * string/Makefile (strop-tests): Add strnlen.
56410 * string/tester.c (test_strnlen): Add a few more test cases.
56411 * string/tst-strlen.c: Better error reporting.
56412
56413 * sysdeps/x86_64/strnlen.S: New file.
56414
8e96b93a
UD
564152010-07-24 Ulrich Drepper <drepper@redhat.com>
56416
56417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56418 lower-latency instructions.
56419
dbc676d4
UD
564202010-07-23 Ulrich Drepper <drepper@redhat.com>
56421
56422 * string/test-strcasestr.c: New file.
56423 * string/test-strstr.c: New file.
56424 * string/Makefile (strop-tests): Add strstr and strcasestr.
56425 * string/str-two-way.h: Don't undefine MAX.
56426 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56427
f6a31e0e
AS
564282010-07-21 Andreas Schwab <schwab@redhat.com>
56429
56430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56431 strcasestr-nonascii.
56432 (CFLAGS-strcasestr-nonascii.c): Define.
56433 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56435 Remove unused attribute.
56436
5dbc3b6c
RM
564372010-07-20 Roland McGrath <roland@redhat.com>
56438
56439 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56440 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56441 ld.so.cache was broken. With it, there is no way to disable dsocaps
56442 like LD_HWCAP_MASK can disable hwcaps.
56443
23d101d8
EPM
564442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56445
56446 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56447
cc9f2e47
UD
564482010-07-16 Ulrich Drepper <drepper@redhat.com>
56449
56450 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56451 call in strcasestr.
56452 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56453 __strcasestr_sse42_nonascii.
56454 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56455 strcasestr-nonascii.c.
56456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56457
77c1b069
LM
564582010-06-15 Luis Machado <luisgpm@br.ibm.com>
56459
56460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56464
440566c3
UD
564652010-07-09 Ulrich Drepper <drepper@redhat.com>
56466
56467 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56468 fcntl.
56469
5be9d05d
AS
564702010-07-06 Andreas Schwab <schwab@redhat.com>
56471
c30b7ee2 56472 [BZ #11577]
5be9d05d
AS
56473 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56474 dl_signal_cerror.
56475
8a492a67
UD
564762010-07-06 Ulrich Drepper <drepper@redhat.com>
56477
56478 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56479 _PC_PIPE_BUF using F_GETPIPE_SZ.
56480
713df3d5
RM
564812010-07-05 Roland McGrath <roland@redhat.com>
56482
56483 * manual/arith.texi (Rounding Functions): Fix rint description
56484 implicit in round description.
56485
702e8f14
UD
564862010-07-02 Ulrich Drepper <drepper@redhat.com>
56487
56488 * elf/Makefile: Fix linking for a few tests to make recent linker
56489 happy.
56490
52ed8be9
AS
564912010-06-30 Andreas Schwab <schwab@redhat.com>
56492
56493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56494 $(common-objpfx)libc_nonshared.a.
56495
f47c9a11
LM
564962010-06-21 Luis Machado <luisgpm@br.ibm.com>
56497
56498 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56499 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56500 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56501 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56502 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56503 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56505 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56520 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56521 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56522 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56523 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56524 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56525 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56526 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56527 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56528 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56529 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56530 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56531 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56546
6fb8cbcb
L
565472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56548
56549 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56550 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56551 * string/memmove.c (memmove): Renamed to ...
56552 (MEMMOVE): ...this. Default to memmove.
56553 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56554 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56555 (END_CHK): Define.
56556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56557 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56558 mempcpy-ssse3-back memmove-ssse3-back.
56559 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56562 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56563 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56564 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56565 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56566 * sysdeps/x86_64/multiarch/memmove.c: New file.
56567 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56568 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56569 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56570 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56571 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56573 Define.
56574 (index_Fast_Copy_Backward): Define.
56575 (HAS_ARCH_FEATURE): Define.
56576 (HAS_FAST_REP_STRING): Define.
56577 (HAS_FAST_COPY_BACKWARD): Define.
56578
4e733bac 565792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56580
56581 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56582 Restore proper fallback handling.
56583
63c4ed22
UD
565842010-06-19 Ulrich Drepper <drepper@redhat.com>
56585
ac2b484c
UD
56586 [BZ #11701]
56587 * posix/group_member.c (__group_member): Correct checking loop.
56588
63c4ed22
UD
56589 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56590 OOM in getpwuid_r correctly. Return error number when the caller
56591 should return, otherwise -1.
56592 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56593 call returning > 0 value.
56594 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56595
765ade4b
AS
565962010-06-07 Andreas Schwab <schwab@redhat.com>
56597
56598 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56599 libc_nonshared.a from targets in modules-names.
56600
80da2e09
KS
566012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56602
56603 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56604 requires it.
56605
158db122
LM
566062010-06-10 Luis Machado <luisgpm@br.ibm.com>
56607
56608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56609 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56612
caa78cf8
AS
566132010-06-02 Andreas Schwab <schwab@redhat.com>
56614
56615 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56616
b2ef2c01
UD
566172010-06-14 Ulrich Drepper <drepper@redhat.com>
56618
56619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56620 and F_GETPIPE_SZ.
56621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56627
fbd643b6
RM
566282010-06-14 Roland McGrath <roland@redhat.com>
56629
56630 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56631
f32f2869
JJ
566322010-06-07 Jakub Jelinek <jakub@redhat.com>
56633
56634 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56635 __REDIRECT followed by __THROW.
56636 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56637 * posix/getopt.h (getopt): Likewise.
56638
2a50c078
EPM
566392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56640
56641 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56642 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56643 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56644 in AT_FLAGS.
56645 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56646 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56647
eb5ad2eb
LM
566482010-05-28 Luis Machado <luisgpm@br.ibm.com>
56649
56650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56651
3c88fe1e
L
566522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56653
56654 [BZ #11640]
56655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56656 Properly check family and model.
56657
d2f73151
TY
566582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56659
56660 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56661
ebd2e13d
LM
566622010-05-24 Luis Machado <luisgpm@br.ibm.com>
56663
56664 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56665
b32b8b45
UD
566662010-05-21 Ulrich Drepper <drepper@redhat.com>
56667
56668 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56669 symbol reference.
56670
9acbe24d
AS
566712010-05-19 Andreas Schwab <schwab@redhat.com>
56672
56673 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56674 symbol reference.
56675
f0ccf6ea
AS
566762010-05-21 Andreas Schwab <schwab@redhat.com>
56677
3d04ff3a
AS
56678 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56679 and internal_recvmmsg.
56680 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56681 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56682 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56683 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56684
f0ccf6ea
AS
56685 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56686 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56687 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56688
5b08ac57
AS
566892010-05-20 Andreas Schwab <schwab@redhat.com>
56690
56691 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56692
4828935d
LM
566932010-05-17 Luis Machado <luisgpm@br.ibm.com>
56694
56695 POWER7 optimizations.
56696 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56697 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56698
373d545e
UD
566992010-05-19 Ulrich Drepper <drepper@redhat.com>
56700
56701 * version.h: Update for 2.13 development version.
56702
21a2b1ae
AS
567032010-05-12 Andrew Stubbs <ams@codesourcery.com>
56704
56705 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56706 exceptions. Return 0.
56707
3f7dcb2b
RM
567082010-05-07 Roland McGrath <roland@redhat.com>
56709
56710 * elf/ldconfig.c (main): Add a const.
56711
5f24d53a 567122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56713
a160f8d8
UD
56714 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56715 (args_options): Add no-idn option.
56716 (ahosts_keys_int): Add idn_flags to ai_flags.
56717 (parse_option): Handle 'i' option to clear idn_flags.
56718
5f24d53a
UD
56719 * malloc/malloc.c (_int_free): Possible race in the most recently
56720 added check. Only act on the data if no current modification
56721 happened.
265bb1ce
UD
56722
56723See ChangeLog.17 for earlier changes.